/* Global-only correction. Country/Regional shared styles remain unchanged. */
.global-plan-page .country-top{overflow:hidden !important;}
.global-plan-page .plans-title-row{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  gap:14px 28px !important;
  min-width:0 !important;
}
.global-plan-page .plans-title-row > div:first-child{
  flex:0 1 auto !important;
  min-width:0 !important;
  max-width:100%;
}
.global-plan-page .global-tabs-track{
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
  padding:4px 4px 8px;
}
.global-plan-page .global-tabs-track .plan-tabs{
  display:flex !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  width:max-content !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  gap:8px !important;
}
.global-plan-page .plan-tabs .unlimited-tier-tabs{
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.global-plan-page .plan-tabs .unlimited-tier-tabs[hidden],
.global-plan-page .plan-tabs .tier-tab[hidden]{
  display:none !important;
}
/* Narrow layouts wrap the whole group below the heading, never below the plan list.
   Only the filter strip scrolls horizontally; the page must not grow wider. */
@media(max-width:1100px){
  .global-plan-page .global-tabs-track{flex-basis:100%;}
}
@media(max-width:700px){
  .global-plan-page .product-layout{grid-template-columns:minmax(0,1fr) !important;}
  .global-plan-page .plan-list-column,
  .global-plan-page .selection-panel{min-width:0 !important;max-width:100%;}
  .global-plan-page .selection-panel{position:static !important;}
}
@media(prefers-reduced-motion:reduce){
  .global-plan-page .plan-tabs .unlimited-tier-tabs,
  .global-plan-page #unlimitedTab::after{transition:none !important;}
}
