:root{
  --storefront-ink:#111827;
  --storefront-soft:#5b6474;
  --storefront-line:#d6dbe4;
  --storefront-surface:#ffffff;
  --storefront-surface-alt:#f7f9fc;
  --storefront-accent:#c62828;
  --storefront-accent-deep:#8b171c;
  --storefront-accent-soft:#fff2f2;
  --storefront-success:#177245;
  --storefront-success-soft:#ecfdf3;
  --storefront-shadow:0 22px 50px rgba(15, 23, 42, .08);
  --storefront-radius:24px;
  --storefront-width:min(1380px, calc(100vw - 48px));
  --storefront-bg-theme:#eef2f7;
}

body{
  font-family:"Segoe UI", "Trebuchet MS", sans-serif;
  color:var(--storefront-ink);
  background:
    radial-gradient(circle at top left, rgba(198, 40, 40, .08), transparent 26%),
    linear-gradient(180deg, #f6f7fb 0%, var(--storefront-bg-theme) 100%);
}

main{
  display:block;
}

.site-header.storefront-header{
  position:sticky;
  top:0;
  z-index:80;
  display:block;
  padding:0;
  background:rgba(255, 255, 255, .94);
  border-bottom:1px solid rgba(214, 219, 228, .9);
  box-shadow:0 16px 40px rgba(15, 23, 42, .06);
  backdrop-filter:blur(16px);
}

.header-primary,
.header-secondary,
.mega-menu-shell,
.section-shell,
.hero-shell,
.store-copy-shell,
.footer-shell{
  width:var(--storefront-width);
  margin:0 auto;
}

.header-primary{
  display:grid;
  grid-template-columns:auto minmax(260px, 1fr) auto auto;
  align-items:center;
  gap:18px;
  padding:16px 0 14px;
}

.header-secondary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 0 14px;
}

.brand{
  min-width:auto;
  gap:16px;
}

.brand img{
  width:96px;
  height:64px;
  border-radius:18px;
  object-fit:contain;
  background:#fff;
  box-shadow:0 10px 24px rgba(15, 23, 42, .08);
}

.brand strong{
  font-size:1.35rem;
  line-height:1.05;
}

.brand span{
  margin-top:4px;
  font-size:.82rem;
  letter-spacing:.02em;
}

.top-search.storefront-search{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(180px, .72fr);
  align-items:center;
  width:100%;
  max-width:none;
  border:1px solid var(--storefront-line);
  border-radius:999px;
  overflow:hidden;
  background:var(--storefront-surface);
  box-shadow:0 14px 30px rgba(15, 23, 42, .06);
}

.top-search.storefront-search input,
.top-search.storefront-search select,
.search-panel input,
.search-panel select{
  background:transparent;
  border:0;
  color:var(--storefront-ink);
}

.top-search.storefront-search select{
  border-left:1px solid var(--storefront-line);
}

.header-actions{
  gap:12px;
}

.mode-btn{
  background:#f3f4f6;
  border:1px solid var(--storefront-line);
}

.wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #16944f, var(--storefront-success));
  color:#fff;
  padding:13px 18px;
  border-radius:999px;
  font-size:.93rem;
}

.main-nav{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:10px;
  min-width:0;
  max-width:none;
  flex:1 1 auto;
  overflow-x:auto;
  white-space:nowrap;
}

.main-nav a,
.mega-menu-trigger{
  position:relative;
  border:0;
  background:transparent;
  padding:8px 11px;
  border-radius:999px;
  font-weight:800;
  font-size:.88rem;
  color:var(--storefront-ink);
  cursor:pointer;
  transition:background-color .2s ease, color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.mega-menu-trigger:hover,
.mega-menu-trigger:focus-visible,
.mega-menu-trigger.active{
  background:var(--storefront-accent-soft);
  color:var(--storefront-accent);
}

.header-shortcuts{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--storefront-soft);
  font-size:.92rem;
  font-weight:700;
}

.mega-menu-panel{
  border-top:1px solid rgba(214, 219, 228, .9);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
}

.mega-menu-panel[hidden]{
  display:none;
}

.mega-menu-shell{
  padding:22px 0 28px;
}

.mega-menu-lead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.mega-menu-lead h2{
  margin:0;
  font-size:1.4rem;
}

.mega-menu-lead p{
  margin:6px 0 0;
  color:var(--storefront-soft);
}

.mega-menu-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.mega-menu-card{
  background:var(--storefront-surface);
  border:1px solid var(--storefront-line);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--storefront-shadow);
}

.mega-menu-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.mega-menu-card h3{
  margin:0;
  font-size:1.02rem;
}

.mega-menu-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:30px;
  border-radius:999px;
  background:var(--storefront-accent-soft);
  color:var(--storefront-accent);
  font-size:.76rem;
  font-weight:900;
}

.mega-menu-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.mega-menu-links button,
.mega-menu-more{
  border:1px solid var(--storefront-line);
  background:#fff;
  border-radius:999px;
  padding:9px 13px;
  color:#1d4ed8;
  font-weight:800;
  cursor:pointer;
}

.hero-shell{
  display:grid;
  grid-template-columns:minmax(0, 1.15fr) minmax(360px, .85fr);
  gap:28px;
  padding:36px 0 0;
}

.hero-copy,
.hero-showcase,
.section-surface,
.store-copy-shell,
.footer-shell{
  background:var(--storefront-surface);
  border:1px solid rgba(214, 219, 228, .9);
  box-shadow:var(--storefront-shadow);
}

.hero-copy{
  position:relative;
  overflow:hidden;
  padding:42px;
  border-radius:32px;
  background:
    radial-gradient(circle at top right, rgba(198, 40, 40, .22), transparent 34%),
    linear-gradient(145deg, #0f172a 0%, #111827 44%, #3b0e12 100%);
  color:#fff;
}

.hero-copy::after{
  content:"";
  position:absolute;
  inset:auto -60px -90px auto;
  width:240px;
  height:240px;
  border-radius:50%;
  background:rgba(255,255,255,.07);
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero-copy h1{
  margin:18px 0 14px;
  font-size:clamp(2.2rem, 5vw, 4.25rem);
  line-height:.98;
  letter-spacing:-.05em;
}

.hero-copy p{
  color:rgba(255,255,255,.82);
  font-size:1rem;
  line-height:1.65;
  margin:0;
}

.hero-actions{
  margin:24px 0 26px;
}

.hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:28px;
}

.hero-metrics article{
  padding:16px 18px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.hero-metrics b{
  display:block;
  font-size:1.35rem;
  margin-bottom:6px;
}

.hero-showcase{
  display:grid;
  gap:16px;
  padding:18px;
  border-radius:32px;
  background:linear-gradient(180deg, #fff, #f8fafc);
}

.hero-showcase-main{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  min-height:380px;
}

.hero-showcase-main img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-showcase-main figcaption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  padding:16px 18px;
  border-radius:20px;
  background:rgba(17, 24, 39, .72);
  color:#fff;
  backdrop-filter:blur(12px);
}

.hero-showcase-main strong{
  display:block;
  font-size:1.1rem;
  margin-bottom:4px;
}

.hero-showcase-rail{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.hero-showcase-rail article{
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--storefront-line);
}

.hero-showcase-rail img{
  width:100%;
  height:132px;
  object-fit:cover;
}

.hero-showcase-rail div{
  padding:14px;
}

.hero-showcase-rail b{
  display:block;
  font-size:.96rem;
  margin-bottom:4px;
}

.page-section{
  padding:32px 0 0;
}

.section-shell{
  display:block;
}

.section-surface{
  border-radius:30px;
  padding:28px;
}

.product-section .section-surface{
  padding:14px;
}

.product-section .catalog-breadcrumb{
  margin-bottom:8px;
}

.product-section .section-head{
  margin-bottom:8px;
}

.product-section .section-head h2{
  margin:0;
  font-size:1.5rem;
}

.product-section .section-head p{
  margin:3px 0 0;
  font-size:.8rem;
  line-height:1.35;
}

.section-head{
  align-items:flex-end;
  margin-bottom:22px;
}

.section-head p,
.section-head.center p,
.store-copy-shell p,
.footer-shell p{
  color:var(--storefront-soft);
}

.section-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}

.section-kicker{
  color:var(--storefront-accent);
}

.category-spotlight-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.main-category-card.storefront-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  padding:22px;
  border-radius:24px;
  border:1px solid var(--storefront-line);
  background:linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow:none;
}

.main-category-card.storefront-card span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:18px;
  background:var(--storefront-accent-soft);
  font-size:1.8rem;
}

.category-icon-shell img{
  width:30px;
  height:30px;
  object-fit:contain;
}

.category-icon-text{
  line-height:1;
}

.main-category-card.storefront-card b{
  font-size:1.1rem;
  margin:0;
}

.main-category-card.storefront-card small{
  display:block;
  color:var(--storefront-soft);
  line-height:1.55;
}

.category-preview{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.category-preview em{
  font-style:normal;
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#f7f8fb;
  color:#334155;
  font-size:.8rem;
  font-weight:700;
}

.brand-strip.storefront-brand-strip{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:14px;
  padding:0;
  overflow:visible;
}

.brand-strip.storefront-brand-strip button{
  min-width:0;
  max-width:none;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  gap:10px;
  min-height:112px;
  border-radius:22px;
  padding:18px;
  background:linear-gradient(160deg, #fff, #f4f7fb);
  color:var(--storefront-ink);
  border:1px solid var(--storefront-line);
  box-shadow:none;
}

.brand-strip.storefront-brand-strip button span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:14px;
  background:#111827;
  color:#fff;
  font-size:1rem;
}

.brand-strip.storefront-brand-strip button strong{
  font-size:.98rem;
  line-height:1.3;
  text-align:left;
}

.brand-strip.storefront-brand-strip button img{
  width:40px;
  height:40px;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
}

.home-grid,
.product-grid,
.collection-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

.collection-grid .product-card,
.product-grid .product-card{
  height:100%;
}

.product-card.storefront-product-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--storefront-line);
  box-shadow:none;
  background:linear-gradient(180deg, #fff, #fbfcfe);
  min-height:322px;
}

.product-card.storefront-product-card:hover{
  transform:translateY(-4px);
  border-color:#b7c2d4;
}

.product-image{
  position:relative;
  aspect-ratio:1/1;
  height:auto;
  flex:0 0 auto;
  overflow:hidden;
  background:#fff;
}

.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
}

.product-badge-stack{
  position:absolute;
  left:14px;
  top:14px;
  right:14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.product-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.badge,
.stock-badge,
.utility-chip{
  position:static;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  padding:7px 11px;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.02em;
}

.badge{
  background:var(--storefront-accent);
  color:#fff;
}

.badge.badge-promo{
  background:#111827;
}

.stock-badge{
  background:var(--storefront-success-soft);
  color:var(--storefront-success);
}

.product-utility{
  position:absolute;
  right:14px;
  bottom:14px;
  display:flex;
  gap:8px;
}

.product-utility button{
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(255,255,255,.92);
  color:#111827;
  border-radius:50%;
  cursor:pointer;
  font-weight:900;
  box-shadow:0 8px 20px rgba(15, 23, 42, .12);
}

.product-utility button.active{
  color:var(--storefront-accent);
}

.product-info{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:11px 11px 9px;
  min-height:0;
  height:100%;
  overflow:hidden;
}

.product-copy{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  gap:3px;
}

.product-meta{
  min-height:16px;
  font-size:.64rem;
  line-height:1.2;
  color:var(--storefront-accent);
}

.product-info h3,
.product-title{
  margin:0;
  min-height:calc(1.3em * 2);
  max-height:calc(1.3em * 2);
  font-size:.86rem;
  line-height:1.3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-line,
.product-code-line,
.product-summary{
  margin:0;
  min-height:auto;
  color:var(--storefront-soft);
  line-height:1.3;
  font-size:.74rem;
}

.brand-line{
  display:flex;
  align-items:center;
  gap:8px;
  overflow:hidden;
}

.brand-label{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
}

.brand-inline-logo{
  width:18px;
  height:18px;
  border-radius:4px;
  background:#fff;
  object-fit:contain;
  flex:0 0 18px;
}

.price{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin:0;
  min-height:28px;
  font-size:1rem;
  color:#111827;
}

.price del{
  color:#94a3b8;
  font-size:.8rem;
}

.stock{
  margin:0;
  min-height:18px;
  color:var(--storefront-soft);
  font-size:.74rem;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.variant-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  overflow:hidden;
  white-space:normal;
  max-height:22px;
}

.variant-chip-list span{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  background:#f8fafc;
  color:#475569;
  font-size:.68rem;
  font-weight:700;
}

.product-actions.v10{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:6px;
  margin-top:6px;
}

.product-actions.v10 button,
.product-actions.v10 a{
  min-width:0;
  height:32px;
  min-height:32px;
  padding:0 6px;
  border-radius:9px;
  font-size:.63rem;
  font-weight:800;
  text-align:center;
  justify-content:center;
}

.product-actions.v10 button{
  background:#111827;
  color:#fff;
}

.product-actions.v10 a{
  background:linear-gradient(135deg, #16944f, var(--storefront-success));
  color:#fff;
}

.search-panel{
  display:grid;
  grid-template-columns:minmax(240px, 1.4fr) repeat(2, minmax(180px, 1fr));
  gap:6px;
  min-width:0;
}

.catalog-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  color:var(--storefront-soft);
  font-size:.88rem;
  font-weight:700;
}

.catalog-breadcrumb button,
.catalog-breadcrumb span{
  border:0;
  background:transparent;
  padding:0;
  color:inherit;
  font:inherit;
}

.catalog-breadcrumb button{
  cursor:pointer;
}

.catalog-breadcrumb .current{
  color:var(--storefront-accent);
}

.search-assist{
  margin:6px 0 8px;
  padding:9px;
  border:1px solid var(--storefront-line);
  border-radius:14px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
}

.brand-filter-visual{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin:6px 0 0;
}

.brand-filter-visual button{
  border:1px solid var(--storefront-line);
  background:#fff;
  border-radius:999px;
  padding:5px 8px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:.74rem;
  cursor:pointer;
}

.brand-filter-visual button.active{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.brand-filter-visual img,
.brand-filter-visual .brand-filter-fallback{
  width:20px;
  height:20px;
  border-radius:6px;
  background:#fff;
  object-fit:contain;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.72rem;
}

.assist-head,
.assist-grid,
.assist-list,
.chip-cloud,
.advanced-filter-grid,
.active-filter-chips,
.finder-grid,
.compare-grid,
.modal-share-actions,
.modal-breadcrumb,
.modal-meta-grid,
.related-grid,
.product-card-extra,
.product-utility{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.assist-head{
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.assist-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
  margin-top:8px;
}

.assist-group strong{
  display:block;
  margin-bottom:4px;
  font-size:.8rem;
}

.assist-clear,
.finder-reset,
.compare-action,
.share-copy-btn,
.share-wa-btn,
.share-facebook-btn{
  border:1px solid var(--storefront-line);
  background:#fff;
  color:var(--storefront-ink);
  border-radius:999px;
  padding:7px 11px;
  font-size:.78rem;
  font-weight:800;
  cursor:pointer;
}

.assist-list button,
.chip-cloud button,
.active-filter-chips button,
.toggle-chip,
.finder-grid select,
.finder-grid button,
.advanced-filter-grid select,
.advanced-filter-grid input{
  border:1px solid var(--storefront-line);
  background:#fff;
  border-radius:16px;
  color:var(--storefront-ink);
}

.assist-list button,
.chip-cloud button,
.active-filter-chips button{
  padding:7px 11px;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
}

.assist-list button mark,
.product-title mark,
.brand-line mark,
.product-meta mark,
.product-code-line mark,
.product-summary mark{
  background:#fee2e2;
  color:#991b1b;
  padding:0 2px;
  border-radius:4px;
}

.advanced-filter-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:6px;
  margin-bottom:8px;
}

.advanced-filter-grid select,
.advanced-filter-grid input,
.finder-grid select,
.finder-grid button{
  width:100%;
  min-height:36px;
  padding:7px 9px;
  font-size:.8rem;
  font-weight:700;
}

.toggle-chip{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  min-width:132px;
  width:min(100%, 152px);
  justify-self:center;
  padding:4px 8px;
  font-size:.72rem;
  line-height:1.1;
  text-align:center;
  font-weight:800;
  cursor:pointer;
  gap:5px;
  border-radius:12px;
}

.toggle-chip input{
  accent-color:var(--storefront-accent);
  margin:0;
}

.active-filter-chips{
  margin:0 0 8px;
}

.active-filter-chips button{
  background:var(--storefront-accent-soft);
  color:var(--storefront-accent);
}

.finder-surface{
  overflow:hidden;
}

.finder-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.finder-status,
.load-more-status{
  margin-top:14px;
  color:var(--storefront-soft);
  font-weight:700;
}

.product-summary{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

/* compare/copy controls removed from product card for final compact UI */

.compare-toggle.active{
  background:#111827;
  color:#fff;
}

.compare-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}

.compare-card{
  border:1px solid var(--storefront-line);
  border-radius:24px;
  padding:18px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
}

.compare-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  margin-bottom:12px;
  background:#f3f4f6;
}

.compare-card h3{
  margin:0 0 10px;
  font-size:1rem;
  line-height:1.4;
}

.compare-card p,
.compare-card li,
.finder-status,
.load-more-status{
  line-height:1.55;
}

.compare-card ul{
  margin:0;
  padding-left:18px;
  color:var(--storefront-soft);
}

.product-sentinel{
  width:100%;
  min-height:2px;
}

.skeleton-card{
  border-radius:24px;
  border:1px solid var(--storefront-line);
  overflow:hidden;
  background:#fff;
}

.skeleton-thumb,
.skeleton-line{
  background:linear-gradient(90deg, #eef2f7 0%, #f8fafc 50%, #eef2f7 100%);
  background-size:200% 100%;
  animation:skeletonPulse 1.1s linear infinite;
}

.skeleton-thumb{
  aspect-ratio:1/1;
}

.skeleton-body{
  padding:16px;
}

.skeleton-line{
  height:12px;
  border-radius:999px;
  margin-bottom:10px;
}

.skeleton-line.wide{ width:100%; }
.skeleton-line.mid{ width:76%; }
.skeleton-line.short{ width:48%; }

@keyframes skeletonPulse{
  from{ background-position:200% 0; }
  to{ background-position:-200% 0; }
}

.mobile-sticky-bar{
  display:none;
}

.modal-breadcrumb{
  align-items:center;
  color:var(--storefront-soft);
  font-size:.82rem;
  font-weight:700;
  margin-bottom:14px;
}

.modal-gallery{
  display:grid;
  gap:12px;
  min-width:0;
}

.modal-gallery-hero{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#f3f4f6;
  min-height:320px;
  max-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-gallery-hero img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .25s ease;
  cursor:zoom-in;
}

.modal-main-content{
  min-width:0;
}

.modal-related-stack{
  grid-column:1 / -1;
  display:grid;
  gap:14px;
  margin-top:6px;
}

.modal-gallery-hero.zoomed img{
  transform:scale(1.55);
  cursor:zoom-out;
}

.variant-gallery{
  display:flex;
  flex-wrap:nowrap;
  overflow:auto;
  gap:10px;
  padding-bottom:4px;
}

.modal-meta-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:16px 0;
}

.meta-box,
.related-block{
  border:1px solid var(--storefront-line);
  border-radius:20px;
  padding:14px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
}

.meta-box img{
  display:block;
  width:100%;
  max-width:180px;
  height:auto;
  object-fit:contain;
}

.modal-share-actions a,
.modal-share-actions button{
  text-decoration:none;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}

.related-product-card{
  border:1px solid var(--storefront-line);
  border-radius:24px;
  padding:12px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  min-height:322px;
}

.related-product-card img{
  width:100%;
  aspect-ratio:1/1;
  height:auto;
  border-radius:14px;
  object-fit:contain;
  margin-bottom:10px;
  background:#fff;
}

.related-product-card strong{
  display:block;
  font-size:.82rem;
  line-height:1.4;
  margin-bottom:6px;
  min-height:calc(1.4em * 2);
  max-height:calc(1.4em * 2);
  overflow:hidden;
}

.related-product-card span{
  display:block;
  color:var(--storefront-soft);
  font-size:.72rem;
}

.empty-state.compact-empty{
  padding:22px;
  font-size:.92rem;
}

.search-panel input,
.search-panel select{
  border:1px solid var(--storefront-line);
  border-radius:16px;
  padding:14px 16px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15, 23, 42, .05);
}

.result-bar{
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
  font-size:.84rem;
}

.result-actions{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:max-content;
  align-items:center;
  gap:8px;
}

.result-bar button{
  border-radius:999px;
  padding:6px 9px;
  min-height:30px;
  font-size:.72rem;
  font-weight:800;
}

.product-section .search-panel input,
.product-section .search-panel select{
  min-height:36px;
  padding:7px 9px;
  border-radius:12px;
}

.product-section .search-panel input{
  padding-left:12px;
}

.showcase-banner{
  display:grid;
  grid-template-columns:minmax(0, 1.25fr) minmax(280px, .75fr);
  gap:18px;
}

.promo-feature,
.promo-aside{
  border:1px solid var(--storefront-line);
  border-radius:24px;
  padding:24px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
}

.promo-feature{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:18px;
  align-items:end;
}

.promo-feature .eyebrow-chip,
.promo-aside .eyebrow-chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  background:var(--storefront-accent-soft);
  color:var(--storefront-accent);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.promo-feature h2,
.promo-aside h3{
  margin:14px 0 10px;
}

.promo-feature p,
.promo-aside p{
  margin:0;
  color:var(--storefront-soft);
  line-height:1.65;
}

.promo-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.promo-metrics{
  display:grid;
  gap:10px;
}

.promo-metrics article{
  padding:14px 16px;
  border-radius:18px;
  background:#111827;
  color:#fff;
}

.promo-metrics b{
  display:block;
  font-size:1.05rem;
  margin-bottom:4px;
}

.promo-banner-grid.inline-promo-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}

.promo-banner-card{
  border-radius:20px;
  border:1px solid #f8d7da;
  background:linear-gradient(180deg, #fff7f7, #fff);
  box-shadow:none;
}

.store-copy-shell,
.footer-shell{
  border-radius:30px;
  padding:28px;
}

.store-section{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  gap:26px;
}

.store-mosaic{
  background:var(--storefront-surface);
  border:1px solid var(--storefront-line);
  border-radius:30px;
  box-shadow:var(--storefront-shadow);
  padding:18px;
}

.site-footer{
  background:transparent;
  padding:32px 0 40px;
}

.footer-shell{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:24px;
}

#siteLogoFooter{
  width:96px;
  height:56px;
  object-fit:contain;
  margin:12px 0;
}

.footer-shell .footer-version{
  grid-column:1 / -1;
}

.product-modal{
  backdrop-filter:blur(8px);
}

.modal-box{
  border:1px solid rgba(214, 219, 228, .9);
  width:min(1140px, calc(100vw - 32px));
  max-width:min(1140px, calc(100vw - 32px));
}

.modal-product{
  display:grid;
  grid-template-columns:minmax(320px, .92fr) minmax(0, 1.08fr);
  gap:20px;
  align-items:start;
}

body.dark{
  background:linear-gradient(180deg, #080b11, #10131a);
}

body.dark .site-header.storefront-header,
body.dark .hero-showcase,
body.dark .hero-copy,
body.dark .section-surface,
body.dark .store-mosaic,
body.dark .store-copy-shell,
body.dark .footer-shell,
body.dark .mega-menu-card,
body.dark .promo-feature,
body.dark .promo-aside,
body.dark .product-card.storefront-product-card{
  border-color:#263041;
}

body.dark .site-header.storefront-header,
body.dark .mega-menu-panel,
body.dark .hero-showcase,
body.dark .section-surface,
body.dark .store-mosaic,
body.dark .store-copy-shell,
body.dark .footer-shell,
body.dark .mega-menu-card,
body.dark .promo-feature,
body.dark .promo-aside,
body.dark .product-card.storefront-product-card,
body.dark .brand-strip.storefront-brand-strip button,
body.dark .main-category-card.storefront-card,
body.dark .search-panel input,
body.dark .search-panel select,
body.dark .top-search.storefront-search,
body.dark .top-search.storefront-search input,
body.dark .top-search.storefront-search select{
  background:#10151f;
  color:#f8fafc;
}

body.dark .top-search.storefront-search select,
body.dark .search-panel input,
body.dark .search-panel select,
body.dark .mega-menu-links button,
body.dark .mega-menu-more,
body.dark .category-preview em,
body.dark .variant-chip-list span{
  border-color:#263041;
  background:#0f1724;
  color:#d6dde9;
}

body.dark .brand-line,
body.dark .product-summary,
body.dark .product-code-line,
body.dark .section-head p,
body.dark .store-copy-shell p,
body.dark .footer-shell p,
body.dark .header-shortcuts,
body.dark .mega-menu-lead p,
body.dark .promo-feature p,
body.dark .promo-aside p,
body.dark .stock,
body.dark .result-bar,
body.dark .brand span{
  color:#94a3b8;
}

body.dark .main-nav a,
body.dark .mega-menu-trigger,
body.dark .brand strong,
body.dark .price,
body.dark .product-title,
body.dark .section h2,
body.dark .mega-menu-card h3,
body.dark .hero-showcase-rail b{
  color:#f8fafc;
}

body.dark .mode-btn{
  background:#0f1724;
  color:#f8fafc;
}

body.dark .search-assist,
body.dark .compare-card,
body.dark .related-product-card,
body.dark .meta-box,
body.dark .related-block,
body.dark .skeleton-card,
body.dark .assist-list button,
body.dark .chip-cloud button,
body.dark .active-filter-chips button,
body.dark .toggle-chip,
body.dark .compare-toggle,
body.dark .product-link-btn,
body.dark .assist-clear,
body.dark .finder-reset,
body.dark .share-copy-btn,
body.dark .share-wa-btn,
body.dark .share-facebook-btn{
  background:#10151f;
  border-color:#263041;
  color:#f8fafc;
}

body.dark .active-filter-chips button,
body.dark .compare-toggle.active{
  background:#f8fafc;
  color:#0f172a;
}

body.dark .result-bar button,
body.dark .product-actions.v10 button,
body.dark .promo-metrics article,
body.dark .brand-strip.storefront-brand-strip button span{
  background:#f8fafc;
  color:#0f172a;
}

body.dark .product-actions.v10 a,
body.dark .wa-btn{
  color:#fff;
}

@media(max-width:1440px){
  .mega-menu-grid,
  .category-spotlight-grid,
  .brand-strip.storefront-brand-strip,
  .home-grid,
  .product-grid,
  .collection-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}

@media(max-width:1100px){
  .header-primary{
    grid-template-columns:auto 1fr auto;
  }

  .header-primary .menu-toggle{
    order:3;
  }

  .header-primary .header-actions{
    order:4;
    grid-column:1 / -1;
    justify-content:flex-end;
  }

  .header-secondary{
    flex-direction:column;
    align-items:stretch;
  }

  .header-shortcuts{
    justify-content:space-between;
  }

  .hero-shell,
  .showcase-banner,
  .store-section{
    grid-template-columns:1fr;
  }

  .hero-showcase-main{
    min-height:320px;
  }

  .mega-menu-grid,
  .category-spotlight-grid,
  .brand-strip.storefront-brand-strip,
  .home-grid,
  .product-grid,
  .collection-grid,
  .promo-banner-grid.inline-promo-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .search-panel{
    grid-template-columns:1fr;
  }

  .advanced-filter-grid,
  .finder-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .compare-grid,
  .related-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .modal-product{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:820px){
  .site-header.storefront-header{
    padding:0;
  }

  .header-primary,
  .header-secondary,
  .mega-menu-shell,
  .section-shell,
  .hero-shell,
  .store-copy-shell,
  .footer-shell{
    width:min(100vw - 28px, 100% - 28px);
  }

  .header-primary{
    grid-template-columns:auto auto;
    gap:12px;
    padding:14px 0 12px;
  }

  .brand{
    grid-column:1 / 2;
  }

  .top-search.storefront-search{
    grid-column:1 / -1;
    order:4;
    grid-template-columns:1fr;
    border-radius:22px;
  }

  .top-search.storefront-search select{
    border-left:0;
    border-top:1px solid var(--storefront-line);
  }

  .header-actions{
    order:2;
    grid-column:auto;
    justify-content:flex-end;
  }

  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .main-nav{
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:0;
  }

  .main-nav.open{
    display:flex;
    white-space:normal;
    overflow:visible;
  }

  .main-nav a,
  .mega-menu-trigger{
    width:100%;
    text-align:left;
    border-radius:16px;
    background:#fff;
    border:1px solid var(--storefront-line);
    white-space:normal;
  }

  .header-shortcuts{
    display:none;
  }

  .mega-menu-shell{
    padding:16px 0 22px;
  }

  .mega-menu-grid,
  .category-spotlight-grid,
  .brand-strip.storefront-brand-strip,
  .promo-banner-grid.inline-promo-grid,
  .hero-metrics,
  .footer-shell,
  .assist-grid,
  .compare-grid,
  .related-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .hero-showcase,
  .section-surface,
  .store-copy-shell,
  .footer-shell,
  .store-mosaic{
    border-radius:24px;
    padding:22px;
  }

  .hero-showcase-main{
    min-height:280px;
  }

  .promo-feature{
    grid-template-columns:1fr;
  }

  .advanced-filter-grid,
  .finder-grid,
  .modal-meta-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .result-actions{
    display:flex;
    flex-wrap:wrap;
  }

  .modal-product{
    grid-template-columns:1fr;
  }

  .modal-gallery-hero{
    min-height:260px;
    max-height:360px;
  }

  .mobile-sticky-bar{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:72;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    padding:8px;
    border-radius:18px;
    background:rgba(17, 24, 39, .94);
    box-shadow:0 20px 40px rgba(0,0,0,.26);
  }

  .mobile-sticky-bar button,
  .mobile-sticky-bar a{
    min-height:46px;
    border:0;
    border-radius:14px;
    background:#fff;
    color:#111827;
    font-weight:900;
    text-align:center;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 10px;
  }

  .mobile-sticky-bar a{
    background:linear-gradient(135deg, #16944f, var(--storefront-success));
    color:#fff;
  }
}

@media(max-width:680px){
  .top-notice{
    padding:10px 14px;
  }

  .brand img{
    width:82px;
    height:56px;
  }

  .brand strong{
    font-size:1.1rem;
  }

  .wa-btn{
    font-size:.82rem;
    padding:11px 14px;
  }

  .hero-copy h1{
    font-size:2rem;
  }

  .hero-showcase-rail{
    grid-template-columns:1fr;
  }

  .mega-menu-grid,
  .category-spotlight-grid,
  .brand-strip.storefront-brand-strip,
  .promo-banner-grid.inline-promo-grid,
  .footer-shell,
  .assist-grid,
  .compare-grid,
  .related-grid,
  .advanced-filter-grid,
  .finder-grid,
  .modal-meta-grid{
    grid-template-columns:1fr;
  }

  .home-grid,
  .product-grid,
  .collection-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .product-card.storefront-product-card{
    min-height:320px;
    max-height:320px;
  }

  .product-image{
    height:166px;
    flex:0 0 166px;
  }

  .result-bar,
  .section-title-row{
    display:block;
  }

  .result-actions{
    margin-top:12px;
  }

  .product-actions.v10{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
  }

  .product-actions.v10 button,
  .product-actions.v10 a{
    font-size:.7rem;
    padding:0 8px;
  }

  .related-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:520px){
  .modal-box{
    width:min(100vw - 18px, 100% - 18px);
    max-width:min(100vw - 18px, 100% - 18px);
  }

  .related-grid{
    grid-template-columns:1fr;
  }
}
