/* DSB V7 Production responsive layer — public storefront only */
:root{--v7-orange:#ff6a00;--v7-black:#090a0b;--v7-ink:#15171a;--v7-muted:#68707a;--v7-line:#e4e7ea;--v7-surface:#fff;--v7-soft:#f5f6f7}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
img,video,svg,canvas{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}

/* Storefront header + navigation */
.shop-header,.commerce-header{position:sticky!important;top:0!important;z-index:1000!important;width:100%}
.shop-announcement{position:relative;z-index:1001}
.commerce-header-main{max-width:1440px;margin:0 auto}
.shop-search{min-width:0}
.shop-search input{min-width:0;width:100%}
.commerce-priority-nav,.seo-nav{scrollbar-width:none}
.commerce-priority-nav::-webkit-scrollbar,.seo-nav::-webkit-scrollbar{display:none}
.header-dropdown{max-height:min(70vh,620px);overflow:auto;overscroll-behavior:contain}

/* Drawer/modal safety */
.cart-drawer,.cart-clean,.checkout-modal,.modal,.smx-modal{max-width:100vw!important}
.cart-drawer,.cart-clean{height:min(100dvh,100vh)}
.checkout-modal,.modal,.smx-modal{max-height:calc(100dvh - 24px);overflow:auto}

/* Public catalogue/product cards */
.catalog-grid,.products-grid,.product-grid,.cards-grid{align-items:stretch}
.card,.ux-card,.product-card{min-width:0}
.card img,.ux-card img,.product-card img{object-fit:contain}

/* SEO public pages */
.seo-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.seo-header{position:sticky;top:0;z-index:900}
.seo-header-in{min-width:0}
.seo-nav{min-width:0}
.seo-category,.seo-brand-pill,.seo-btn{min-width:0}

/* Product page */
.product-page-header{position:sticky;top:0;z-index:950;backdrop-filter:saturate(130%) blur(14px)}
.product-page-main{width:min(1220px,calc(100% - 40px));margin-inline:auto}
.product-page-content{min-width:0}
.product-page-info,.product-page-media{min-width:0}
.product-page-media img{object-fit:contain;max-height:560px}
.product-page-actions{flex-wrap:wrap}
.product-page-buy{min-width:0}

/* Forms/access pages */
input,select,textarea{max-width:100%}

@media (max-width:1180px){
  .commerce-header-main{padding-inline:20px!important}
  .commerce-priority-nav{padding-inline:20px!important;overflow-x:auto;white-space:nowrap;justify-content:flex-start!important}
  .ref-hero-inner,.acambaro-hero-inner{width:min(100% - 40px,1180px)!important}
  .catalog,.catalog-shell,.section-shell{width:min(100% - 40px,1180px)!important}
  .seo-wrap{width:min(100% - 40px,1120px)}
}

@media (min-width:821px) and (max-width:1100px){
  /* Tablet landscape / compact desktop */
  .commerce-header-main{display:grid!important;grid-template-columns:auto minmax(320px,1fr) auto!important;gap:14px!important}
  .shop-brand img,.commerce-brand img{max-width:154px!important}
  .commerce-header-actions{gap:7px!important}
  .commerce-header-actions a,.commerce-header-actions button{min-width:42px!important}
  .ref-hero{min-height:500px!important}
  .ref-hero-inner{min-height:500px!important;grid-template-columns:minmax(360px,.9fr) 1.1fr!important}
  .ref-hero-copy{max-width:540px!important;padding-block:58px!important}
  .ref-hero-copy h1{font-size:clamp(38px,5vw,58px)!important;line-height:.98!important}
  .ref-hero-trust{grid-template-columns:repeat(3,1fr)!important;gap:10px!important}
  .catalog-grid,.products-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .seo-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .seo-two{grid-template-columns:1.15fr .85fr!important;gap:28px!important}
  .product-page-content{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:36px!important}
}

@media (max-width:820px){
  body{padding-bottom:env(safe-area-inset-bottom)}
  .shop-announcement{font-size:11px!important;line-height:1.25!important;padding:8px 12px!important;text-align:center}
  .commerce-header-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"brand actions" "search search"!important;padding:11px 16px 12px!important;gap:10px 12px!important}
  .shop-brand,.commerce-brand{grid-area:brand;min-width:0!important}
  .shop-brand img,.commerce-brand img{width:auto!important;max-width:150px!important;max-height:38px!important}
  .commerce-header-actions{grid-area:actions;justify-self:end;gap:4px!important}
  .commerce-header-actions .commerce-action-copy,.commerce-header-actions small,.commerce-header-actions b:not(.commerce-cart-count){display:none!important}
  .commerce-header-actions a,.commerce-header-actions button{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;display:grid!important;place-items:center!important;border-radius:10px!important}
  .shop-search,.commerce-search{grid-area:search;width:100%!important;max-width:none!important;margin:0!important}
  .shop-search input{height:43px!important;font-size:16px!important}
  .shop-search button{width:46px!important;min-width:46px!important;height:43px!important}
  .shop-search-hints{display:none!important}
  .commerce-category-bar{overflow:hidden!important}
  .commerce-category-bar>.commerce-header-main,.commerce-category-bar>.shop-wrap{padding:0!important}
  .commerce-priority-nav{overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:0!important;padding:0 12px!important;white-space:nowrap!important}
  .commerce-priority-nav>a,.commerce-priority-nav>button,.header-nav-button,.commerce-all-categories{flex:0 0 auto!important;min-height:44px!important;padding:0 13px!important;font-size:12px!important;scroll-snap-align:start}
  .header-dropdown{position:fixed!important;left:10px!important;right:10px!important;top:auto!important;width:auto!important;max-width:none!important;border-radius:14px!important;max-height:62dvh!important}
  .commerce-mega-layout{grid-template-columns:1fr!important}
  .header-dropdown-grid,.shop-category-grid,.header-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ref-hero,.acambaro-hero{min-height:560px!important}
  .ref-hero-inner,.acambaro-hero-inner{width:100%!important;min-height:560px!important;display:flex!important;align-items:flex-end!important;padding:0 20px 32px!important}
  .ref-hero-copy,.acambaro-hero-copy{width:100%!important;max-width:640px!important;padding:0!important;position:relative;z-index:2}
  .ref-hero-copy h1,.acambaro-hero-copy h1{font-size:clamp(34px,8vw,50px)!important;line-height:.98!important;max-width:620px!important}
  .ref-hero-copy p,.acambaro-hero-copy p{font-size:15px!important;max-width:560px!important}
  .ref-hero-art,.acambaro-hero-art{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .ref-hero-trust{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .ref-hero-trust>div{padding:10px!important}
  .ref-hero-trust small{display:none!important}
  .catalog,.catalog-shell,.section-shell{width:calc(100% - 28px)!important}
  .catalog-grid,.products-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .filter-row,.catalog-tools,.catalog-toolbar{overflow-x:auto!important;flex-wrap:nowrap!important;overscroll-behavior-inline:contain}
  .filter-row>* ,.catalog-tools>* ,.catalog-toolbar>*{flex:0 0 auto}
  .seo-wrap{width:calc(100% - 32px)}
  .seo-header-in{display:flex!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important}
  .seo-nav{order:3;width:100%;display:flex!important;gap:4px!important;overflow-x:auto!important;white-space:nowrap!important;padding-bottom:2px}
  .seo-nav a{flex:0 0 auto;padding:10px 11px!important}
  .seo-two{grid-template-columns:1fr!important;gap:20px!important}
  .seo-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .seo-footer-in{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  .seo-footer-links{display:flex!important;overflow-x:auto!important;white-space:nowrap!important;gap:16px!important}
  .product-page-main{width:calc(100% - 28px);padding-block:22px!important}
  .product-page-content{grid-template-columns:1fr!important;gap:24px!important}
  .product-page-media{min-height:330px!important}
  .product-page-media img{max-height:390px!important}
  .product-page-header{padding-inline:16px!important}
  .product-page-brand span{display:none!important}
  .product-page-actions a{font-size:12px!important}
  .product-page-buy{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important}
  .product-page-buy .btn,.product-page-buy button:not(.product-page-qty button){min-height:46px!important}
  .customer-profile-hero{grid-template-columns:1fr!important}
}

@media (max-width:640px){
  .commerce-header-main{padding-inline:12px!important}
  .shop-brand img,.commerce-brand img{max-width:132px!important}
  .commerce-header-actions a,.commerce-header-actions button{width:39px!important;min-width:39px!important;height:39px!important}
  .commerce-priority-nav{padding-inline:8px!important}
  .header-dropdown{left:7px!important;right:7px!important;max-height:68dvh!important}
  .header-dropdown-grid,.shop-category-grid,.header-brand-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .ref-hero,.acambaro-hero{min-height:610px!important}
  .ref-hero-inner,.acambaro-hero-inner{min-height:610px!important;padding:0 16px 24px!important}
  .ref-hero-copy h1,.acambaro-hero-copy h1{font-size:clamp(32px,10vw,44px)!important}
  .ref-hero-copy p,.acambaro-hero-copy p{font-size:14px!important;line-height:1.55!important}
  .ref-hero-actions,.acambaro-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .ref-hero-actions a,.ref-hero-actions button,.acambaro-hero-actions a,.acambaro-hero-actions button{width:100%!important;justify-content:center!important;min-height:46px!important}
  .ref-hero-trust{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  .ref-hero-trust>div{display:flex!important;align-items:center!important;gap:9px!important;padding:8px 10px!important}
  .catalog,.catalog-shell,.section-shell{width:calc(100% - 20px)!important}
  .catalog-grid,.products-grid,.product-grid{gap:9px!important}
  .card,.ux-card,.product-card{border-radius:13px!important}
  .card-body,.ux-card .card-body,.product-card-body{padding:10px!important}
  .card h3,.ux-card h3,.product-card h3{font-size:12px!important;line-height:1.25!important}
  .price-row strong,.product-price{font-size:17px!important}
  .card .btn,.ux-card .btn,.product-card .btn{min-height:40px!important;font-size:11px!important;padding-inline:8px!important}
  .seo-wrap{width:calc(100% - 24px)}
  .seo-top{font-size:11px!important;text-align:center}
  .seo-header-in{padding-block:10px!important}
  .seo-nav{margin-inline:-2px}
  .seo-hero{padding-block:42px!important}
  .seo-hero h1{font-size:clamp(31px,9vw,43px)!important;line-height:1.02!important}
  .seo-category-grid{grid-template-columns:1fr!important}
  .seo-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .seo-btn{width:100%!important;justify-content:center!important;text-align:center!important}
  .product-page-header{min-height:64px!important;gap:10px!important}
  .product-page-main{width:calc(100% - 20px)}
  .product-page-media{min-height:280px!important;border-radius:16px!important}
  .product-page-info h1{font-size:clamp(25px,7vw,34px)!important}
  .product-page-price{font-size:27px!important}
  .product-page-buy{grid-template-columns:1fr!important}
  .product-page-qty{width:fit-content}
  .product-page-links{display:grid!important;grid-template-columns:1fr!important}
  .checkout-modal,.modal,.smx-modal{width:calc(100vw - 12px)!important;margin:6px!important;border-radius:16px!important}
}

@media (max-width:390px){
  .commerce-header-main{grid-template-columns:minmax(0,1fr) auto!important;padding-inline:9px!important}
  .shop-brand img,.commerce-brand img{max-width:116px!important}
  .commerce-header-actions a,.commerce-header-actions button{width:36px!important;min-width:36px!important;height:36px!important}
  .catalog-grid,.products-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  .card-body,.ux-card .card-body,.product-card-body{padding:8px!important}
  .card h3,.ux-card h3,.product-card h3{font-size:11px!important}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
