/* AUZAN STORE — Precision Storefront V4
   Loaded after style.css. This file intentionally owns the storefront layout
   so earlier legacy CSS cannot change the premium marketplace proportions. */

.storefront-v4{
  --v4-green:#008b67;
  --v4-green-dark:#007557;
  --v4-green-soft:#edf9f5;
  --v4-navy:#0b1f3a;
  --v4-text:#142238;
  --v4-muted:#7b8da5;
  --v4-line:#dce5ec;
  --v4-bg:#f7fafc;
  --v4-orange:#ff9700;
  background:#fff !important;
  color:var(--v4-text) !important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.storefront-v4 *{box-sizing:border-box}
.storefront-v4 .container{width:min(1360px,calc(100% - 36px)) !important;margin-inline:auto !important}
.storefront-v4 .hidden{display:none !important}

/* ===== Header ===== */
.storefront-v4 .premium-market-header{
  position:sticky !important;top:0 !important;z-index:45 !important;
  background:rgba(255,255,255,.98) !important;
  border-bottom:1px solid #e5edf2 !important;
  box-shadow:0 2px 10px rgba(11,31,58,.035) !important;
  backdrop-filter:blur(16px) !important;
}
.storefront-v4 .market-header-wrap{padding:0 !important}
.storefront-v4 .market-nav{
  height:72px !important;display:grid !important;
  grid-template-columns:230px minmax(360px,1fr) auto !important;
  align-items:center !important;gap:22px !important;
}
.storefront-v4 .market-brand{display:flex !important;align-items:center !important;gap:10px !important;min-width:0 !important}
.storefront-v4 .market-brand .brand-logo{width:42px !important;height:42px !important;object-fit:contain !important;flex:0 0 auto !important}
.storefront-v4 .market-brand-copy{display:flex !important;flex-direction:column !important;line-height:1.05 !important;min-width:0 !important}
.storefront-v4 .market-brand-copy strong{font-size:1.05rem !important;font-weight:950 !important;letter-spacing:-.035em !important;color:var(--v4-navy) !important;text-transform:uppercase !important;white-space:nowrap !important}
.storefront-v4 .market-brand-copy small{font-size:.63rem !important;color:#718299 !important;margin-top:3px !important;font-weight:650 !important}
.storefront-v4 .market-search{height:44px !important;display:grid !important;grid-template-columns:38px minmax(0,1fr) auto !important;align-items:center !important;border:1px solid #d8e3ea !important;background:#fff !important;border-radius:12px !important;overflow:hidden !important;box-shadow:0 2px 7px rgba(11,31,58,.035) !important}
.storefront-v4 .market-search-icon{position:relative !important;width:38px !important;height:100% !important;display:block !important;font-size:0 !important}
.storefront-v4 .market-search-icon::before{content:"";position:absolute;width:10px;height:10px;border:1.7px solid #8394a9;border-radius:50%;left:15px;top:13px}
.storefront-v4 .market-search-icon::after{content:"";position:absolute;width:6px;height:1.7px;background:#8394a9;transform:rotate(45deg);left:24px;top:24px;border-radius:2px}
.storefront-v4 .market-search .input{height:42px !important;padding:0 8px !important;border:0 !important;box-shadow:none !important;background:transparent !important;font-size:.82rem !important;color:var(--v4-text) !important;min-width:0 !important}
.storefront-v4 .market-search .input::placeholder{color:#8b9aab !important}
.storefront-v4 .market-search-btn{height:44px !important;min-width:92px !important;padding:0 18px !important;border:0 !important;border-radius:0 !important;background:linear-gradient(135deg,var(--v4-green),var(--v4-green-dark)) !important;color:#fff !important;font-size:.78rem !important;font-weight:900 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:6px !important}
.storefront-v4 .market-search-btn span{display:none !important}
.storefront-v4 .market-desktop-links{display:flex !important;align-items:center !important;gap:8px !important}
.storefront-v4 .market-desktop-links .nav-link{padding:9px 8px !important;border-radius:9px !important;color:#223149 !important;font-size:.72rem !important;font-weight:850 !important;background:transparent !important}
.storefront-v4 .market-login-btn,.storefront-v4 .market-register-btn{height:40px !important;padding:0 15px !important;border-radius:10px !important;font-size:.72rem !important;font-weight:900 !important;box-shadow:none !important}
.storefront-v4 .market-login-btn{background:#fff !important;border:1px solid #d9e3ea !important;color:var(--v4-navy) !important}
.storefront-v4 .market-register-btn{background:var(--v4-green) !important;border:1px solid var(--v4-green) !important;color:#fff !important}
.storefront-v4 .market-icon-btn{width:40px !important;height:40px !important;border:1px solid #dbe4eb !important;background:#fff !important;border-radius:10px !important;display:grid !important;place-items:center !important;color:var(--v4-navy) !important;box-shadow:none !important;position:relative !important;padding:0 !important}
.storefront-v4 .market-icon-btn svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.storefront-v4 .badge-count{right:-4px !important;top:-6px !important;min-width:17px !important;height:17px !important;border-radius:999px !important;font-size:.54rem !important;background:var(--v4-green) !important;border:2px solid #fff !important}
.storefront-v4 .market-mobile-actions,.storefront-v4 .mobile-search-row{display:none !important}

/* ===== Hero / Banner ===== */
.storefront-v4 .market-hero-section{padding:14px 0 0 !important}
.storefront-v4 .market-hero-section .promo-slider{
  height:202px !important;min-height:202px !important;border-radius:18px !important;overflow:hidden !important;
  border:1px solid #d9eee6 !important;background:#f0faf6 !important;
  box-shadow:0 7px 22px rgba(0,139,103,.055) !important;
}
.storefront-v4 .market-hero-section .promo-track{height:100% !important}
.storefront-v4 .market-hero-section .promo-slide{
  height:202px !important;min-height:202px !important;width:100% !important;
  display:grid !important;grid-template-columns:1.08fr .92fr !important;align-items:stretch !important;
  background:linear-gradient(105deg,#f8fffc 0%,#effaf6 52%,#e8f8f1 100%) !important;color:var(--v4-navy) !important;
  position:relative !important;overflow:hidden !important;
}
.storefront-v4 .market-hero-section .promo-slide::after{content:"" !important;position:absolute !important;inset:0 !important;background:radial-gradient(circle at 82% 12%,rgba(0,139,103,.13),transparent 28%),radial-gradient(circle at 12% 95%,rgba(0,139,103,.08),transparent 30%) !important;pointer-events:none !important}
.storefront-v4 .market-hero-section .promo-content{position:relative !important;z-index:3 !important;padding:24px 34px 22px 78px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;align-items:flex-start !important;max-width:none !important;color:var(--v4-navy) !important}
.storefront-v4 .market-hero-section .promo-content>span{display:inline-flex !important;padding:4px 9px !important;border-radius:999px !important;background:#dff3eb !important;border:1px solid #c4eadc !important;color:var(--v4-green) !important;font-size:.54rem !important;font-weight:950 !important;letter-spacing:.14em !important}
.storefront-v4 .market-hero-section .promo-content h2{margin:8px 0 7px !important;max-width:570px !important;font-size:2.02rem !important;line-height:1.02 !important;letter-spacing:-.052em !important;color:var(--v4-navy) !important;font-style:normal !important}
.storefront-v4 .market-hero-section .promo-content h2 em{font-style:normal !important;color:var(--v4-green) !important}
.storefront-v4 .market-hero-section .promo-content p{margin:0 0 11px !important;max-width:550px !important;font-size:.76rem !important;line-height:1.5 !important;color:#53667c !important}
.storefront-v4 .market-hero-cta,.storefront-v4 .market-hero-section .promo-content .btn{min-height:34px !important;padding:8px 13px !important;border:0 !important;border-radius:8px !important;background:var(--v4-green) !important;color:#fff !important;font-size:.66rem !important;font-weight:900 !important;box-shadow:none !important}
.storefront-v4 .hero-trust-mini{display:flex !important;gap:7px !important;flex-wrap:wrap !important;margin-top:10px !important}
.storefront-v4 .hero-trust-mini span{display:inline-flex !important;align-items:center !important;gap:4px !important;padding:4px 7px !important;border-radius:999px !important;background:#fff !important;border:1px solid #dcebe5 !important;color:#345267 !important;font-size:.49rem !important;font-weight:800 !important}
.storefront-v4 .promo-brand-visual{position:relative !important;z-index:2 !important;padding:20px 72px 20px 6px !important;display:flex !important;align-items:center !important}
.storefront-v4 .hero-showcase{height:154px !important;min-height:154px !important;width:100% !important;border-radius:18px !important;border:1px solid rgba(0,139,103,.18) !important;background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(223,246,236,.82)) !important;position:relative !important;overflow:hidden !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8) !important}
.storefront-v4 .hero-showcase::before,.storefront-v4 .hero-showcase::after{content:"";position:absolute;border-radius:50%;background:rgba(0,139,103,.08)}
.storefront-v4 .hero-showcase::before{width:120px;height:120px;right:-38px;top:-45px}.storefront-v4 .hero-showcase::after{width:85px;height:85px;left:-30px;bottom:-28px}
.storefront-v4 .hero-showcase-logo{position:absolute !important;left:17px !important;top:14px !important;display:flex !important;align-items:center !important;gap:6px !important;color:var(--v4-navy) !important;font-size:.57rem !important;font-weight:950 !important}
.storefront-v4 .hero-showcase-logo img{width:25px !important;height:25px !important;object-fit:contain !important}
.storefront-v4 .hero-showcase-cards{position:absolute !important;left:36% !important;top:28px !important;display:grid !important;grid-template-columns:repeat(2,72px) !important;gap:9px !important;transform:rotate(-2deg) !important}
.storefront-v4 .hero-showcase-cards span{height:46px !important;border-radius:10px !important;display:grid !important;place-items:center !important;color:#fff !important;font-size:.56rem !important;font-weight:950 !important;box-shadow:0 8px 15px rgba(11,31,58,.09) !important}
.storefront-v4 .hero-showcase-cards span:nth-child(1){background:linear-gradient(135deg,#16a7df,#4f2dcc) !important}.storefront-v4 .hero-showcase-cards span:nth-child(2){background:#00634d !important}.storefront-v4 .hero-showcase-cards span:nth-child(3){background:#101b30 !important}.storefront-v4 .hero-showcase-cards span:nth-child(4){background:#fff !important;color:#2563eb !important;border:1px solid #dce5ec !important}
.storefront-v4 .hero-showcase-copy{position:absolute !important;right:18px !important;bottom:17px !important;text-align:right !important;display:flex !important;flex-direction:column !important;color:#0b6b51 !important}.storefront-v4 .hero-showcase-copy b{font-size:.66rem !important}.storefront-v4 .hero-showcase-copy small{font-size:.45rem !important;color:#657d8d !important;margin-top:3px !important}
.storefront-v4 .promo-arrow{width:34px !important;height:34px !important;border-radius:50% !important;background:rgba(255,255,255,.92) !important;border:1px solid #dce7ec !important;color:var(--v4-navy) !important;box-shadow:0 4px 13px rgba(11,31,58,.08) !important;z-index:8 !important}.storefront-v4 .promo-arrow.prev{left:12px !important}.storefront-v4 .promo-arrow.next{right:12px !important}
.storefront-v4 .promo-slider.single .promo-arrow{display:none !important}.storefront-v4 .promo-dots{bottom:7px !important;z-index:8 !important}.storefront-v4 .promo-dot{width:7px !important;height:7px !important;background:#bcc8d0 !important;border:0 !important}.storefront-v4 .promo-dot.active{width:22px !important;border-radius:999px !important;background:#09b588 !important}
/* Real uploaded banners keep their artwork. */
.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg){display:block !important;background:#eaf5f1 !important}
.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg)::after{background:linear-gradient(90deg,rgba(5,35,32,.72) 0%,rgba(5,35,32,.38) 38%,rgba(5,35,32,.04) 72%) !important;z-index:1 !important}
.storefront-v4 .market-hero-section .promo-slide-bg{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;object-fit:cover !important}
.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content{height:100% !important;max-width:52% !important;color:#fff !important}.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content h2{font-size:1.85rem !important;color:#fff !important}.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content p{color:rgba(255,255,255,.86) !important}

/* ===== Top selling ===== */
.storefront-v4 .top-selling-section{padding:14px 0 0 !important}
.storefront-v4 .top-selling-shell{border:1px solid #f3d27a !important;background:linear-gradient(100deg,#fffdf8,#fff,#f7fffc) !important;border-radius:15px !important;padding:10px 12px 11px !important;box-shadow:0 4px 12px rgba(11,31,58,.025) !important}
.storefront-v4 .top-selling-head{margin:0 0 8px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important}
.storefront-v4 .top-selling-title{display:flex !important;align-items:center !important;gap:9px !important}.storefront-v4 .top-selling-title h3{font-size:.85rem !important;letter-spacing:-.025em !important;margin:0 !important;color:var(--v4-navy) !important}
.storefront-v4 .top-selling-badge{padding:4px 8px !important;border-radius:7px !important;background:linear-gradient(90deg,var(--v4-orange),#12a870) !important;color:#fff !important;font-size:.54rem !important;font-weight:950 !important;letter-spacing:.04em !important}
.storefront-v4 .top-selling-all{border:0 !important;background:transparent !important;color:var(--v4-green) !important;font-size:.62rem !important;font-weight:900 !important;padding:2px !important}
.storefront-v4 .top-selling-list{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:8px !important;overflow:visible !important}
.storefront-v4 .top-selling-item{position:relative !important;min-width:0 !important;height:57px !important;display:grid !important;grid-template-columns:48px minmax(0,1fr) !important;grid-template-rows:1fr auto !important;column-gap:8px !important;row-gap:1px !important;align-items:center !important;padding:5px 7px !important;border:1px solid #dce5ec !important;border-radius:11px !important;background:#fff !important;box-shadow:none !important;text-align:left !important;overflow:hidden !important}
.storefront-v4 .top-selling-item img{grid-row:1/3 !important;width:46px !important;height:46px !important;border-radius:8px !important;object-fit:cover !important;background:#f1f4f7 !important}
.storefront-v4 .top-rank{left:2px !important;top:2px !important;padding:2px 4px !important;border-radius:999px !important;background:var(--v4-orange) !important;font-size:.45rem !important;color:#fff !important;font-weight:950 !important}
.storefront-v4 .top-selling-copy{min-width:0 !important;align-self:end !important}.storefront-v4 .top-selling-copy strong{font-size:.63rem !important;line-height:1.15 !important;color:var(--v4-navy) !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}.storefront-v4 .top-selling-copy span{margin-top:3px !important;font-size:.61rem !important;color:var(--v4-green) !important;font-weight:950 !important}
.storefront-v4 .top-selling-item>small{grid-column:2 !important;justify-self:end !important;align-self:start !important;font-size:.5rem !important;color:#98a5b6 !important;margin-top:-14px !important;white-space:nowrap !important}

/* ===== Catalogue heading / controls ===== */
.storefront-v4 .market-products-section{padding:18px 0 48px !important;background:#fff !important}
.storefront-v4 .market-product-head{display:flex !important;align-items:end !important;justify-content:space-between !important;gap:18px !important;margin-bottom:12px !important}
.storefront-v4 .market-products-toolbar{display:block !important;margin:0 !important;min-width:270px !important}.storefront-v4 .market-kicker{font-size:.56rem !important;color:var(--v4-green) !important;font-weight:950 !important;letter-spacing:.18em !important}.storefront-v4 .market-products-toolbar h2{font-size:1.34rem !important;line-height:1.1 !important;margin:5px 0 4px !important;letter-spacing:-.035em !important;color:var(--v4-navy) !important}.storefront-v4 .market-products-toolbar p{font-size:.68rem !important;line-height:1.35 !important;color:#77899f !important;margin:0 !important}.storefront-v4 .catalog-result-count{display:none !important}
.storefront-v4 .catalog-compact-controls{display:grid !important;grid-template-columns:210px 170px 180px 86px !important;gap:8px !important;align-items:center !important;width:auto !important;margin:0 !important}
.storefront-v4 .catalog-inline-search,.storefront-v4 .compact-control,.storefront-v4 .compact-filter-button{height:40px !important;border:1px solid #dce5ec !important;border-radius:10px !important;background:#fff !important;box-shadow:none !important}
.storefront-v4 .catalog-inline-search{display:grid !important;grid-template-columns:34px minmax(0,1fr) !important;align-items:center !important;padding:0 8px !important}.storefront-v4 .catalog-inline-search span{font-size:.82rem !important;color:#7f90a3 !important;text-align:center !important}.storefront-v4 .catalog-inline-search input{height:38px !important;border:0 !important;outline:0 !important;background:transparent !important;min-width:0 !important;font-size:.65rem !important;color:var(--v4-text) !important}
.storefront-v4 .compact-control{display:grid !important;grid-template-columns:30px minmax(0,1fr) 12px !important;gap:6px !important;align-items:center !important;padding:3px 8px !important;cursor:pointer !important}.storefront-v4 .compact-control-icon{width:28px !important;height:28px !important;border-radius:8px !important;background:#eaf8f3 !important;color:var(--v4-green) !important;display:grid !important;place-items:center !important;font-size:.72rem !important}.storefront-v4 .compact-control-copy{display:flex !important;flex-direction:column !important;min-width:0 !important}.storefront-v4 .compact-control-copy small{font-size:.43rem !important;line-height:1 !important;color:#9aabba !important;font-weight:900 !important;text-transform:uppercase !important;letter-spacing:.08em !important;margin-bottom:2px !important}.storefront-v4 .compact-control-copy select{appearance:none !important;width:100% !important;border:0 !important;outline:0 !important;background:transparent !important;color:var(--v4-navy) !important;font-size:.62rem !important;font-weight:900 !important;padding:0 !important;min-width:0 !important}.storefront-v4 .compact-chevron{font-size:.68rem !important;color:#8da0b4 !important}.storefront-v4 .compact-filter-button{display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:5px !important;color:var(--v4-green) !important;border-color:#9bd8c4 !important;background:#f4fcf9 !important;font-size:.61rem !important;font-weight:900 !important;padding:0 11px !important}

/* ===== Product grid: exact compact marketplace density ===== */
.storefront-v4 .product-grid,.storefront-v4 .product-grid.view-list{
  display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:10px !important;
  align-items:start !important;
}
.storefront-v4 .marketplace-product-card{
  width:auto !important;min-width:0 !important;border:1px solid #dfe7ed !important;border-radius:12px !important;background:#fff !important;
  box-shadow:0 3px 11px rgba(11,31,58,.045) !important;overflow:hidden !important;display:flex !important;flex-direction:column !important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease !important;
}
.storefront-v4 .marketplace-product-card:hover{transform:translateY(-2px) !important;border-color:#bfd8ce !important;box-shadow:0 9px 22px rgba(11,31,58,.075) !important}
.storefront-v4 .marketplace-product-card>.product-image{
  width:100% !important;height:auto !important;min-height:0 !important;aspect-ratio:16/9 !important;flex:0 0 auto !important;
  padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;background:#f2f5f7 !important;overflow:hidden !important;position:relative !important;
}
.storefront-v4 .marketplace-product-card>.product-image>img{
  display:block !important;width:100% !important;height:100% !important;min-width:100% !important;max-width:none !important;max-height:none !important;
  object-fit:cover !important;object-position:center !important;padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:#f3f5f7 !important;
}
.storefront-v4 .marketplace-product-card .product-badge-stack{left:7px !important;top:7px !important;gap:4px !important}.storefront-v4 .product-promo-badge,.storefront-v4 .marketplace-product-card .product-tag{padding:4px 8px !important;border-radius:999px !important;background:linear-gradient(90deg,#ff1467,#ff3152) !important;color:#fff !important;font-size:.52rem !important;font-weight:950 !important;box-shadow:0 3px 9px rgba(255,20,103,.18) !important}.storefront-v4 .soldout-image-badge{right:7px !important;top:7px !important;font-size:.5rem !important;padding:4px 7px !important;border-radius:999px !important}
.storefront-v4 .marketplace-product-card>.product-body{padding:10px 10px 11px !important;display:flex !important;flex-direction:column !important;flex:1 !important;min-width:0 !important}
.storefront-v4 .marketplace-product-card .product-name{margin:0 0 7px !important;min-height:2.5em !important;max-height:2.5em !important;font-size:.74rem !important;line-height:1.25 !important;font-weight:900 !important;letter-spacing:-.018em !important;color:var(--v4-navy) !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}
.storefront-v4 .market-card-price{display:flex !important;align-items:end !important;justify-content:flex-start !important;border:0 !important;padding:0 !important;gap:6px !important}.storefront-v4 .market-card-price>div{display:flex !important;align-items:baseline !important;gap:7px !important;min-width:0 !important}.storefront-v4 .market-card-price strong{font-size:.9rem !important;line-height:1.1 !important;color:var(--v4-green) !important;font-weight:950 !important;letter-spacing:-.03em !important;white-space:nowrap !important}.storefront-v4 .market-card-price small{font-size:.52rem !important;color:#9eacbc !important;text-decoration:line-through !important;margin:0 !important;white-space:nowrap !important}.storefront-v4 .market-card-price>span{display:none !important}
.storefront-v4 .market-card-stats{display:flex !important;align-items:center !important;gap:6px !important;margin:5px 0 0 !important;color:#8393a7 !important;font-size:.53rem !important;line-height:1.2 !important}.storefront-v4 .market-card-stats i{display:block !important;width:1px !important;height:9px !important;background:#d8e1e8 !important;flex:0 0 auto !important}.storefront-v4 .market-card-stats span{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.storefront-v4 .market-rating-row{display:flex !important;align-items:center !important;gap:4px !important;flex-wrap:nowrap !important;padding:5px 0 0 !important;color:#8796a9 !important;font-size:.52rem !important;overflow:hidden !important}.storefront-v4 .market-rating-row .card-rating{color:#c17a00 !important;font-weight:900 !important;white-space:nowrap !important}.storefront-v4 .verified-mini{display:none !important}
.storefront-v4 .market-card-actions{display:grid !important;grid-template-columns:minmax(0,1.35fr) minmax(62px,.7fr) !important;gap:6px !important;margin-top:8px !important}.storefront-v4 .market-add-cart-btn,.storefront-v4 .marketplace-product-card .btn-restock-card,.storefront-v4 .market-detail-link{min-height:32px !important;height:32px !important;border-radius:8px !important;padding:0 7px !important;font-size:.55rem !important;font-weight:900 !important;box-shadow:none !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;white-space:nowrap !important}.storefront-v4 .market-add-cart-btn{background:linear-gradient(135deg,var(--v4-green),var(--v4-green-dark)) !important;color:#fff !important;border:1px solid var(--v4-green) !important}.storefront-v4 .market-detail-link{background:#fff !important;color:var(--v4-navy) !important;border:1px solid #dce5ec !important}.storefront-v4 .marketplace-product-card .btn-restock-card{background:#fff8e9 !important;color:#8a5a00 !important;border:1px solid #f0d28e !important}

/* ===== Guide / footer ===== */
.storefront-v4 .info-accordion-section{padding:22px 0 50px !important;background:#f8fafb !important;border-top:1px solid #edf1f4 !important}.storefront-v4 .info-section-heading h2{font-size:1.35rem !important;margin:5px 0 !important}.storefront-v4 .info-section-heading p{font-size:.72rem !important}.storefront-v4 .info-accordion-list{gap:9px !important}.storefront-v4 .info-accordion{border-radius:13px !important}.storefront-v4 .info-accordion summary{padding:13px 15px !important}.storefront-v4 .info-summary-icon{width:36px !important;height:36px !important;border-radius:10px !important}.storefront-v4 .info-summary-copy strong{font-size:.8rem !important}.storefront-v4 .info-summary-copy small{font-size:.65rem !important}
.storefront-v4 .footer{background:#0d1d32 !important;color:#dfe8ef !important}.storefront-v4 .footer-grid{padding-block:32px !important}

/* ===== Related products ===== */
.storefront-v4 .related-products-grid{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:9px !important}.storefront-v4 .related-product-card{border-radius:10px !important;border:1px solid #e0e7ed !important;box-shadow:none !important}.storefront-v4 .related-image{aspect-ratio:16/9 !important;background:#f2f5f7 !important}.storefront-v4 .related-image img{width:100% !important;height:100% !important;object-fit:cover !important;padding:0 !important}.storefront-v4 .related-copy{padding:8px !important}.storefront-v4 .related-copy>strong{font-size:.65rem !important}.storefront-v4 .related-copy b{font-size:.72rem !important}

/* PWA browser install is still available, but the auto popup is intentionally hidden for a clean storefront. */
.storefront-v4 #pwaInstallPopup{display:none !important}
.storefront-v4 .floating-user-tools{right:18px !important;bottom:18px !important;z-index:40 !important}.storefront-v4 .whatsapp-tool{padding:7px 13px 7px 7px !important;border-radius:999px !important;background:#0cab6c !important;box-shadow:0 9px 24px rgba(0,139,103,.22) !important;font-size:.72rem !important}.storefront-v4 .floating-tool-icon{width:34px !important;height:34px !important;font-size:.65rem !important}.storefront-v4 .floating-tool-label{font-size:.7rem !important}

/* ===== Mobile: mirrors the generated target ===== */
@media(max-width:880px){
  .storefront-v4{padding-bottom:66px !important;background:#fff !important}
  .storefront-v4 .container{width:calc(100% - 20px) !important}
  .storefront-v4 .market-nav{height:64px !important;display:flex !important;justify-content:space-between !important;gap:8px !important}
  .storefront-v4 .market-brand{gap:7px !important}.storefront-v4 .market-brand .brand-logo{width:38px !important;height:38px !important}.storefront-v4 .market-brand-copy strong{font-size:.92rem !important}.storefront-v4 .market-brand-copy small{font-size:.55rem !important;margin-top:2px !important}
  .storefront-v4 .desktop-market-search,.storefront-v4 .market-desktop-links{display:none !important}
  .storefront-v4 .market-mobile-actions{display:flex !important;align-items:center !important;gap:6px !important;margin-left:auto !important}.storefront-v4 .market-mobile-actions .market-icon-btn{display:grid !important;width:38px !important;height:38px !important;border-radius:10px !important}.storefront-v4 .market-mobile-actions .market-icon-btn svg{width:18px !important;height:18px !important}.storefront-v4 .mobile-search-row{display:block !important;padding:0 0 10px !important}.storefront-v4 .mobile-search-row .market-search{height:44px !important;border-radius:11px !important}.storefront-v4 .mobile-search-row .market-search .input{height:42px !important;font-size:.72rem !important}.storefront-v4 .mobile-search-row .market-search-btn{height:44px !important;min-width:82px !important;padding:0 13px !important;font-size:.69rem !important}
  .storefront-v4 .mobile-menu-panel{top:105px !important;border-radius:12px !important;box-shadow:0 16px 34px rgba(11,31,58,.14) !important}

  .storefront-v4 .market-hero-section{padding-top:8px !important}.storefront-v4 .market-hero-section .promo-slider{height:154px !important;min-height:154px !important;border-radius:13px !important}.storefront-v4 .market-hero-section .promo-slide{height:154px !important;min-height:154px !important;grid-template-columns:1.08fr .92fr !important}.storefront-v4 .market-hero-section .promo-content{padding:12px 5px 15px 15px !important}.storefront-v4 .market-hero-section .promo-content>span{font-size:.37rem !important;padding:3px 5px !important}.storefront-v4 .market-hero-section .promo-content h2{font-size:1.04rem !important;margin:5px 0 5px !important;max-width:190px !important}.storefront-v4 .market-hero-section .promo-content p{font-size:.48rem !important;line-height:1.35 !important;margin-bottom:7px !important;max-width:200px !important}.storefront-v4 .market-hero-cta,.storefront-v4 .market-hero-section .promo-content .btn{min-height:26px !important;padding:5px 8px !important;font-size:.43rem !important;border-radius:6px !important}.storefront-v4 .hero-trust-mini{margin-top:6px !important;gap:3px !important;max-width:215px !important}.storefront-v4 .hero-trust-mini span{font-size:.32rem !important;padding:2px 4px !important}.storefront-v4 .hero-trust-mini span:nth-child(4){display:none !important}
  .storefront-v4 .promo-brand-visual{padding:10px 9px 13px 0 !important}.storefront-v4 .hero-showcase{height:121px !important;min-height:121px !important;border-radius:11px !important}.storefront-v4 .hero-showcase-logo{left:8px !important;top:7px !important;font-size:.35rem !important;gap:3px !important}.storefront-v4 .hero-showcase-logo img{width:17px !important;height:17px !important}.storefront-v4 .hero-showcase-cards{left:28% !important;top:25px !important;grid-template-columns:repeat(2,43px) !important;gap:5px !important}.storefront-v4 .hero-showcase-cards span{height:28px !important;border-radius:6px !important;font-size:.34rem !important}.storefront-v4 .hero-showcase-copy{right:6px !important;bottom:7px !important}.storefront-v4 .hero-showcase-copy b{font-size:.36rem !important}.storefront-v4 .hero-showcase-copy small{font-size:.27rem !important}.storefront-v4 .promo-arrow{display:none !important}.storefront-v4 .promo-dots{bottom:4px !important}.storefront-v4 .promo-dot{width:5px !important;height:5px !important}.storefront-v4 .promo-dot.active{width:15px !important}
  .storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content{max-width:62% !important;padding:12px 16px !important}.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content h2{font-size:.9rem !important}.storefront-v4 .market-hero-section .promo-slide:has(.promo-slide-bg) .promo-content p{font-size:.46rem !important}

  .storefront-v4 .top-selling-section{padding-top:9px !important}.storefront-v4 .top-selling-shell{padding:8px !important;border-radius:12px !important}.storefront-v4 .top-selling-head{margin-bottom:6px !important}.storefront-v4 .top-selling-title{gap:6px !important}.storefront-v4 .top-selling-title h3{font-size:.68rem !important}.storefront-v4 .top-selling-badge{font-size:.4rem !important;padding:3px 6px !important}.storefront-v4 .top-selling-all{font-size:.45rem !important}.storefront-v4 .top-selling-list{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:5px !important}.storefront-v4 .top-selling-item:nth-child(n+4){display:none !important}.storefront-v4 .top-selling-item{height:57px !important;grid-template-columns:37px minmax(0,1fr) !important;padding:4px !important;column-gap:5px !important;border-radius:9px !important}.storefront-v4 .top-selling-item img{width:36px !important;height:36px !important;border-radius:7px !important}.storefront-v4 .top-rank{font-size:.35rem !important;padding:2px 3px !important}.storefront-v4 .top-selling-copy strong{font-size:.45rem !important;line-height:1.15 !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}.storefront-v4 .top-selling-copy span{font-size:.44rem !important;margin-top:2px !important}.storefront-v4 .top-selling-item>small{font-size:.34rem !important;margin-top:-10px !important}

  .storefront-v4 .market-products-section{padding:16px 0 30px !important}.storefront-v4 .market-product-head{display:block !important;margin-bottom:9px !important}.storefront-v4 .market-products-toolbar{display:flex !important;justify-content:space-between !important;align-items:flex-start !important;gap:10px !important}.storefront-v4 .market-products-toolbar h2{font-size:1.08rem !important;margin:4px 0 3px !important}.storefront-v4 .market-products-toolbar p{font-size:.56rem !important;max-width:270px !important}.storefront-v4 .market-kicker{font-size:.42rem !important}.storefront-v4 .catalog-compact-controls{margin-top:9px !important;width:100% !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 72px !important;gap:6px !important}.storefront-v4 .catalog-inline-search{display:none !important}.storefront-v4 .compact-control,.storefront-v4 .compact-filter-button{height:38px !important;border-radius:9px !important}.storefront-v4 .compact-control{grid-template-columns:25px minmax(0,1fr) 10px !important;padding:3px 6px !important}.storefront-v4 .compact-control-icon{width:24px !important;height:24px !important;font-size:.58rem !important;border-radius:7px !important}.storefront-v4 .compact-control-copy small{display:none !important}.storefront-v4 .compact-control-copy select{font-size:.54rem !important}.storefront-v4 .compact-chevron{font-size:.53rem !important}.storefront-v4 .compact-filter-button{font-size:.52rem !important;padding:0 7px !important}

  .storefront-v4 .product-grid,.storefront-v4 .product-grid.view-list{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important}.storefront-v4 .marketplace-product-card{border-radius:10px !important}.storefront-v4 .marketplace-product-card>.product-image{aspect-ratio:16/9 !important;height:auto !important;min-height:0 !important}.storefront-v4 .marketplace-product-card>.product-image>img{object-fit:cover !important;padding:0 !important}.storefront-v4 .marketplace-product-card>.product-body{padding:7px 7px 8px !important}.storefront-v4 .marketplace-product-card .product-name{font-size:.58rem !important;line-height:1.22 !important;min-height:2.45em !important;max-height:2.45em !important;margin-bottom:5px !important}.storefront-v4 .market-card-price>div{gap:5px !important}.storefront-v4 .market-card-price strong{font-size:.72rem !important}.storefront-v4 .market-card-price small{font-size:.41rem !important}.storefront-v4 .market-card-stats{font-size:.4rem !important;gap:4px !important;margin-top:4px !important}.storefront-v4 .market-card-stats i{height:7px !important}.storefront-v4 .market-rating-row{font-size:.39rem !important;padding-top:4px !important;gap:3px !important}.storefront-v4 .market-card-actions{grid-template-columns:minmax(0,1.25fr) 52px !important;gap:5px !important;margin-top:6px !important}.storefront-v4 .market-add-cart-btn,.storefront-v4 .marketplace-product-card .btn-restock-card,.storefront-v4 .market-detail-link{height:28px !important;min-height:28px !important;border-radius:7px !important;font-size:.43rem !important;padding:0 4px !important}.storefront-v4 .product-promo-badge,.storefront-v4 .marketplace-product-card .product-tag{font-size:.38rem !important;padding:3px 5px !important}.storefront-v4 .marketplace-product-card .product-badge-stack{left:5px !important;top:5px !important}

  .storefront-v4 .related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:7px !important}.storefront-v4 .related-image{aspect-ratio:16/9 !important}
  .storefront-v4 .info-accordion-section{padding:18px 0 26px !important}.storefront-v4 .info-section-heading h2{font-size:1.05rem !important}.storefront-v4 .info-section-heading p{font-size:.6rem !important}.storefront-v4 .info-accordion summary{padding:10px !important}.storefront-v4 .info-summary-icon{width:31px !important;height:31px !important}.storefront-v4 .info-summary-copy strong{font-size:.68rem !important}.storefront-v4 .info-summary-copy small{font-size:.52rem !important}

  .storefront-v4 .bottom-tabs{display:grid !important;grid-template-columns:repeat(4,1fr) !important;position:fixed !important;left:0 !important;right:0 !important;bottom:0 !important;height:62px !important;z-index:60 !important;padding:3px 8px calc(3px + env(safe-area-inset-bottom)) !important;background:rgba(255,255,255,.985) !important;border-top:1px solid #dfe7ed !important;box-shadow:0 -6px 18px rgba(11,31,58,.07) !important;backdrop-filter:blur(15px) !important}.storefront-v4 .bottom-tab{border:0 !important;background:transparent !important;color:#73849a !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;gap:2px !important;font-size:.45rem !important;font-weight:800 !important}.storefront-v4 .bottom-tab.active{color:var(--v4-green) !important}.storefront-v4 .bottom-icon{height:20px !important;display:grid !important;place-items:center !important}.storefront-v4 .bottom-icon svg{width:19px !important;height:19px !important;stroke:currentColor !important;fill:none !important;stroke-width:1.8 !important;stroke-linecap:round !important;stroke-linejoin:round !important}
  .storefront-v4 .floating-user-tools{right:12px !important;bottom:72px !important}.storefront-v4 .whatsapp-tool{width:48px !important;height:48px !important;padding:5px !important;border-radius:50% !important;display:grid !important;place-items:center !important}.storefront-v4 .floating-tool-icon{width:38px !important;height:38px !important}.storefront-v4 .floating-tool-label{display:none !important}
  .storefront-v4 .footer{display:none !important}
}

@media(max-width:390px){
  .storefront-v4 .container{width:calc(100% - 16px) !important}
  .storefront-v4 .market-brand-copy strong{font-size:.82rem !important}.storefront-v4 .market-brand-copy small{font-size:.49rem !important}.storefront-v4 .market-brand .brand-logo{width:34px !important;height:34px !important}.storefront-v4 .market-mobile-actions .market-icon-btn{width:35px !important;height:35px !important}.storefront-v4 .market-mobile-actions{gap:4px !important}
  .storefront-v4 .market-hero-section .promo-slider,.storefront-v4 .market-hero-section .promo-slide{height:145px !important;min-height:145px !important}.storefront-v4 .market-hero-section .promo-content h2{font-size:.94rem !important}.storefront-v4 .market-hero-section .promo-content p{font-size:.44rem !important}.storefront-v4 .hero-showcase{height:112px !important;min-height:112px !important}.storefront-v4 .hero-showcase-cards{left:25% !important;grid-template-columns:repeat(2,39px) !important}.storefront-v4 .hero-showcase-cards span{height:25px !important}
  .storefront-v4 .top-selling-item{height:54px !important}.storefront-v4 .top-selling-item img{width:34px !important;height:34px !important}.storefront-v4 .top-selling-item{grid-template-columns:35px minmax(0,1fr) !important}
  .storefront-v4 .catalog-compact-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px !important}.storefront-v4 .compact-filter-button b{display:none !important}.storefront-v4 .marketplace-product-card .product-name{font-size:.54rem !important}.storefront-v4 .market-card-price strong{font-size:.68rem !important}.storefront-v4 .market-card-actions{grid-template-columns:minmax(0,1.25fr) 48px !important}
}

/* V4.1 mobile precision corrections */
@media(max-width:880px){
  .storefront-v4 .bottom-tabs{
    left:0 !important;right:0 !important;bottom:0 !important;
    width:100% !important;max-width:none !important;
    transform:none !important;border-radius:0 !important;
    gap:0 !important;margin:0 !important;
  }
  .storefront-v4 .top-selling-item{
    height:62px !important;
    grid-template-rows:auto auto auto !important;
  }
  .storefront-v4 .top-selling-item img{grid-row:1/4 !important}
  .storefront-v4 .top-selling-item>small{
    grid-column:2 !important;grid-row:3 !important;
    justify-self:start !important;align-self:start !important;
    margin:0 !important;font-size:.32rem !important;line-height:1 !important;
  }
}
@media(max-width:390px){
  .storefront-v4 .catalog-compact-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 72px !important}
  .storefront-v4 .compact-filter-button b{display:inline !important}
}


/* ===== V5 Banner Sync: admin preview = storefront ===== */
.storefront-v4 .market-hero-section.banner-section-disabled{display:none!important}
.storefront-v4 .market-hero-section .promo-slider{height:auto!important;min-height:0!important;aspect-ratio:6/1!important}
.storefront-v4 .market-hero-section .promo-track,.storefront-v4 .market-hero-section .promo-slide{height:100%!important;min-height:0!important}
.storefront-v4 .market-hero-section .promo-media{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important}
.storefront-v4 .market-hero-section .promo-slide-bg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.storefront-v4 .market-hero-section .promo-slide-artwork{display:block!important;background:#edf7f3!important}
.storefront-v4 .market-hero-section .promo-slide-artwork::after{display:none!important}
.storefront-v4 .market-hero-section .promo-slide-click{position:absolute!important;inset:0!important;z-index:5!important;display:block!important}
.storefront-v4 .market-hero-section .promo-slide-overlay{display:block!important;background:#eaf5f1!important}
.storefront-v4 .market-hero-section .promo-slide-overlay::after{content:""!important;display:block!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(5,35,32,.76) 0%,rgba(5,35,32,.42) 40%,rgba(5,35,32,.06) 75%)!important;z-index:1!important}
.storefront-v4 .market-hero-section .promo-slide-overlay .promo-content{height:100%!important;max-width:54%!important;color:#fff!important}
.storefront-v4 .market-hero-section .promo-slide-overlay .promo-content h2{font-size:1.72rem!important;color:#fff!important}
.storefront-v4 .market-hero-section .promo-slide-overlay .promo-content p{color:rgba(255,255,255,.88)!important}
.storefront-v4 .market-hero-section .promo-slide-template{display:grid!important;grid-template-columns:1.08fr .92fr!important}
@media(max-width:760px){
  .storefront-v4 .market-hero-section .promo-slider{aspect-ratio:20/7!important;height:auto!important;min-height:0!important;border-radius:13px!important}
  .storefront-v4 .market-hero-section .promo-slide{height:100%!important;min-height:0!important}
  .storefront-v4 .market-hero-section .promo-slide-template{grid-template-columns:1.08fr .92fr!important}
  .storefront-v4 .market-hero-section .promo-slide-overlay .promo-content{max-width:68%!important;padding:12px 16px!important}
  .storefront-v4 .market-hero-section .promo-slide-overlay .promo-content h2{font-size:.9rem!important}
  .storefront-v4 .market-hero-section .promo-slide-overlay .promo-content p{font-size:.46rem!important}
}

.storefront-v4 .market-hero-section.banner-loading .promo-slider{opacity:0!important}
.storefront-v4 .market-hero-section .promo-slider{transition:opacity .16s ease!important}
