/* Shared responsive hardening for storefront and platform admin. */
html{max-width:100%;overflow-x:hidden}body{max-width:100%;overflow-x:hidden}img,svg,video,iframe{max-width:100%}input,select,textarea,button{max-width:100%}
.checkout-steps{display:flex;align-items:center;justify-content:center;gap:0;margin:0 auto 28px;padding:0;list-style:none}.checkout-steps span{display:flex;align-items:center;gap:8px;color:#7a8b85;font-size:.72rem;font-weight:750}.checkout-steps span:not(:last-child):after{width:70px;height:1px;margin:0 14px;background:#cbd8d3;content:""}.checkout-steps b{display:grid;width:28px;height:28px;place-items:center;border:1px solid #b9cbc4;border-radius:50%;background:#fff;font-size:.68rem}.checkout-steps .is-active{color:#006b49}.checkout-steps .is-active b,.checkout-steps .is-done b{border-color:#007a51;background:#007a51;color:#fff}.checkout-steps .is-done{color:#315d4e}

@media(max-width:760px){
  /* Public storefront: centered, compact and touch friendly. */
  .shell{width:min(100% - 24px,1180px)}
  .header__main{position:relative;justify-items:center;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}
  .header__main>.brand{grid-column:2;justify-self:center}.header__main>.brand img{width:min(190px,58vw)}
  .menu-toggle{grid-column:3;grid-row:1;justify-self:end;width:44px;height:44px;padding:0}
  .search{grid-column:1/-1;width:100%}
  .nav__inner{text-align:center}.nav__inner>a,.nav__consult{justify-content:center}
  .hero__content,.shop-intro>div,.shop-help__inner,.product-buybox,.product-planner__copy,.account-intro{text-align:center}
  .hero__content{display:grid;justify-items:center}.hero__buttons{margin-inline:auto}.hero__trust{justify-content:center}
  .section-heading,.daily-deal__heading,.configurator-heading{align-items:center!important;text-align:center}.section-heading>div,.daily-deal__heading>div,.configurator-heading>div{width:100%}
  .section-heading>a{align-self:center}.eyebrow{justify-content:center}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{height:180px;text-align:center}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-card{min-height:350px;text-align:center}.product-card__image{height:165px;margin:7px 7px 0}.product-card__body{align-items:center;padding:12px 9px}
  .product-card h3{width:100%;min-height:2.7em!important;font-size:.78rem}.product-card .price{justify-content:center}.product-card .price__amount,.product-card .price__currency{font-size:1.12rem}.product-card .product-tax{font-size:.54rem}.product-card .product-stock{justify-content:center;font-size:.61rem}.product-card .stars{font-size:.66rem}.product-card .add-cart{width:100%;min-height:40px;padding-inline:5px;font-size:.64rem}
  .benefits>div{justify-content:center;text-align:left}
  .story__visual>div{text-align:center}.story__visual .button{margin-inline:auto}
  .newsletter__inner{text-align:center}.newsletter form{margin-inline:auto}
  .footer__cta,.footer__about,.footer__grid>div,.footer__bottom{align-items:center;text-align:center}.footer__cta>a{justify-content:center}.footer__about>p{margin-inline:auto}.footer__links a{justify-content:center}.footer__bottom>div{justify-content:center}
  .shop-intro{padding-top:76px}.breadcrumbs{justify-content:center;flex-wrap:wrap}.shop-toolbar{align-items:center;text-align:center}.shop-toolbar>div{justify-content:center;width:100%}.shop-toolbar label{justify-content:center}.active-filters{justify-content:center}
  .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.shop-card{min-height:365px}.shop-card .product-card__image{height:155px;margin:7px 7px 0}.shop-card .product-card__body{padding:11px 8px}.shop-card h3{font-size:.76rem!important}.shop-card .add-cart{font-size:.62rem}
  .product-breadcrumbs{justify-content:flex-start}.product-buybox{display:grid;justify-items:center}.product-summary{max-width:600px}.product-rating,.product-highlights,.color-options{justify-content:center}.product-option,.product-purchase{width:100%;text-align:left}.product-related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-related .product-card__image{height:165px!important}
  .checkout-shell{width:min(100% - 24px,1440px)}.checkout-header__inner{justify-content:center;gap:18px;text-align:center}.checkout-header img{width:min(190px,52vw)}.checkout-heading{text-align:center}.cart-grid,.checkout-grid{width:100%}.panel,.summary{min-width:0}.coupon{display:grid;grid-template-columns:minmax(0,1fr) auto}.checkout-success{padding:34px 18px}
  .account-layout{margin-inline:auto;text-align:center}.account-benefits>div{text-align:left}.account-card{text-align:left}
  .blog-overview-hero,.blog-section-head,.blog-card__body,.article-hero__copy,.article-not-found{text-align:center}.blog-eyebrow,.article-meta{justify-content:center}.blog-section-head p,.article-lead{margin-inline:auto!important;text-align:center!important}.blog-topic-box div{justify-content:center}.blog-card__more{justify-content:center}.article-breadcrumbs{justify-content:center}.article-hero__image{margin-inline:auto}.blog-content{text-align:left}
}

@media(max-width:470px){
  .shell{width:min(100% - 18px,1180px)}
  .servicebar__inner{font-size:.58rem}.brand img{width:min(175px,56vw)}
  .hero{height:auto;min-height:590px}.hero__content{padding-block:65px 45px}.hero h1{font-size:clamp(2rem,10.5vw,2.65rem)}.hero__lead{font-size:.9rem}.hero__buttons{width:100%}
  .category-card{height:155px}.category-card h3{font-size:.8rem}
  .product-grid,.shop-product-grid,.product-related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .product-card,.shop-card,.product-related .product-card{min-height:330px!important}.product-card__image,.shop-card .product-card__image,.product-related .product-card__image{height:135px!important;margin:6px 6px 0!important}
  .product-card__body,.shop-card .product-card__body{padding:10px 7px!important}.product-card h3,.shop-card h3{min-height:2.8em!important;font-size:.72rem!important;overflow-wrap:anywhere}.product-card .price__amount,.product-card .price__currency,.shop-card .price__amount,.shop-card .price__currency{font-size:1rem}.product-card .product-tax,.shop-card .product-tax{font-size:.49rem}.product-card .product-stock,.shop-card .product-stock{font-size:.56rem}.product-card .stars,.shop-card .stars{font-size:.61rem}.product-card .add-cart,.shop-card .add-cart{min-height:38px;font-size:.58rem}
  .favorite{width:32px;height:32px;right:9px;top:9px;font-size:1.05rem}.product-promo-badge{left:9px;top:9px;padding:4px 6px;font-size:9px}
  .shop-toolbar label{align-items:stretch;flex-direction:column}.shop-toolbar select{width:100%}.shop-filters{width:100vw}
  .product-gallery__main{height:300px}.product-detail{gap:24px}.product-buybox h1{font-size:1.75rem}.product-highlights{grid-template-columns:1fr;text-align:left}.color-options{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cart-line{grid-template-columns:68px minmax(0,1fr) 32px;gap:10px}.cart-line img{width:68px;height:64px}.cart-line h3{font-size:14px}.coupon{grid-template-columns:1fr}.coupon button{min-height:46px}.checkout-header__inner{flex-direction:column}.checkout-header a{font-size:.78rem}.checkout-heading h1{font-size:32px}.checkout-heading p{font-size:14px}
  .checkout-steps{margin-bottom:22px}.checkout-steps span{gap:5px;font-size:.58rem}.checkout-steps span:not(:last-child):after{width:18px;margin-inline:5px}.checkout-steps b{width:24px;height:24px}
  .blog-overview-hero h1,.article-hero h1{font-size:clamp(31px,10vw,38px)}.blog-overview-hero p,.article-lead{font-size:15px}.blog-card__body{padding:20px 16px}.blog-content{padding:23px 17px;font-size:15px}.blog-content h2{font-size:24px}
}

@media(max-width:820px){
  /* Admin: no clipped panels, dialogs or tables on phones/tablets. */
  .admin-app{overflow-x:hidden}.admin-main{width:100%;max-width:100%;box-sizing:border-box}.admin-topbar{justify-content:center}.sidebar-toggle{flex:0 0 42px;width:42px;height:42px}.admin-topbar__actions{flex:0 0 auto}
  .admin-heading,.product-dashboard-heading,.orders-heading,.invoice-heading,.customer-detail-head{text-align:center;align-items:center!important}.admin-heading>div,.product-dashboard-heading>div,.orders-heading>div{justify-content:center}.admin-heading>div:last-child,.product-dashboard-heading>div:last-child{justify-content:center}
  .admin-card,.dashboard-card,.settings-card,.newsletter-editor,.newsletter-list,.social-editor,.social-list{min-width:0}
  .admin-table,.dashboard-table-wrap,.newsletter-table-wrap,.customer-table-wrap,.orders-table-wrap,.invoice-index-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  dialog{max-width:calc(100vw - 12px)!important;margin:auto}.invoice-builder-dialog>form{max-width:100%}.invoice-builder-layout{min-width:0}.invoice-builder-controls{min-width:0}.invoice-product-suggestions{position:fixed;left:12px!important;right:12px!important;top:20vh!important;width:auto!important;max-height:58vh}
}

@media(max-width:600px){
  .admin-main{padding:22px 10px 42px}.admin-heading h1,.product-dashboard-heading h1,.orders-heading h1{font-size:1.8rem}.admin-heading p,.product-dashboard-heading p,.orders-heading p{font-size:.74rem;line-height:1.55}
  .admin-heading>div:last-child,.product-dashboard-heading>div:last-child{display:grid!important;width:100%;grid-template-columns:1fr}.admin-heading .primary-action,.admin-heading .secondary-action,.product-dashboard-heading .primary-action,.product-dashboard-heading .secondary-action{width:100%;box-sizing:border-box}
  .dashboard-kpis{grid-template-columns:1fr 1fr!important;gap:9px}.dashboard-kpis article{display:grid;justify-items:center;min-height:145px;padding:15px 9px;text-align:center}.dashboard-kpis article>i{width:44px;height:44px;flex-basis:44px}.dashboard-kpis div{justify-items:center;grid-template-columns:1fr}.dashboard-kpis span,.dashboard-kpis strong,.dashboard-kpis em,.dashboard-kpis small{grid-column:1}.dashboard-kpis span{font-size:12px}.dashboard-kpis strong{font-size:22px}.dashboard-kpis em{font-size:12px}
  .dashboard-card>header{text-align:center;align-items:center!important}.dashboard-chart-legend{justify-content:center}.dashboard-bar-chart{overflow-x:auto}.dashboard-bars{min-width:520px}.dashboard-shortcuts{grid-template-columns:1fr!important}
  .newsletter-tabs,.customer-detail-tabs,.order-detail-tabs{justify-content:flex-start;overflow-x:auto}.newsletter-tabs a,.customer-detail-tabs a,.order-detail-tabs button{flex:0 0 auto;white-space:nowrap}
  .newsletter-sendbar,.social-editor>footer{align-items:stretch!important}.newsletter-test-form{grid-template-columns:1fr!important}.newsletter-sendbar button,.social-editor>footer button{width:100%}
  .newsletter-recipient-table-panel{overflow:hidden}.newsletter-recipient-table{min-width:680px}.newsletter-recipient-footer{align-items:center;flex-direction:column;gap:5px;text-align:center}
  .invoice-builder-dialog{height:calc(100dvh - 8px)!important}.invoice-builder-head{text-align:center}.invoice-builder-item{grid-template-columns:1fr!important}.invoice-builder-item>*{grid-column:1!important}.invoice-builder-item>[data-remove-invoice-item]{justify-self:end;margin:0}.invoice-builder-dialog>form>footer{display:grid;grid-template-columns:1fr 1fr;padding:10px}.invoice-builder-dialog>form>footer button{width:100%}
}
