/* TECHNO-LEX-informed storefront structure for SmartTech.
   White-only presentation. Seasonal decoration remains opt-in. */

:root {
  --sf-bg: #f2f6fb;
  --sf-surface: #ffffff;
  --sf-soft: #f7f9fc;
  --sf-soft-blue: #edf4ff;
  --sf-ink: #101828;
  --sf-muted: #667085;
  --sf-line: #e4e9f1;
  --sf-blue: #075bd8;
  --sf-blue-strong: #0049bf;
  --sf-blue-soft: #e8f1ff;
  --sf-green: #15803d;
  --sf-shadow: 0 12px 32px rgba(16, 38, 73, .07);
  --sf-radius: 18px;
}

html[data-theme="light"], body[data-theme="light"] { color-scheme: light; }
body[data-theme="light"] {
  --bg: var(--sf-bg);
  --surface: var(--sf-surface);
  --surface2: var(--sf-soft);
  --text: var(--sf-ink);
  --muted: var(--sf-muted);
  --line: var(--sf-line);
  --accent: var(--sf-blue);
  --accent2: #4f8fe8;
  --glow: rgba(7, 91, 216, .14);
  --nav: rgba(255, 255, 255, .96);
  --shadow: var(--sf-shadow);
  background: var(--sf-bg) !important;
  color: var(--sf-ink) !important;
}
body { background: var(--sf-bg) !important; color: var(--sf-ink) !important; }
body:before, body:after { display: none !important; }
.app { max-width: 1240px !important; margin: 0 auto !important; padding: 0 24px 70px !important; }
@media (min-width: 920px) { .app { max-width: 1240px !important; padding-left: 32px !important; padding-right: 32px !important; } }

/* Header */
header.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 80;
  height: auto !important;
  min-height: 76px !important;
  margin: 0 -32px 22px !important;
  padding: 0 32px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sf-line) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 4px 18px rgba(16, 38, 73, .04) !important;
  backdrop-filter: blur(14px) !important;
}
.header-inner { max-width: 1240px; height: 76px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.brand { flex: 0 0 auto; min-width: 170px !important; flex-direction: row !important; align-items: center !important; gap: 9px !important; background: none; color: var(--sf-ink) !important; padding: 0; }
.brand-emblem { width: 36px; height: 36px; border-radius: 11px; background: var(--sf-blue); display: grid; place-items: center; overflow: hidden; }
.brand-emblem img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.brand-wordmark { font-size: 20px !important; font-weight: 800 !important; letter-spacing: -.7px !important; line-height: 1.1; }
.brand-kicker { color: var(--sf-muted) !important; font-size: 7px !important; letter-spacing: 1.35px !important; }
.header-catalog { position: relative; flex: 0 0 auto; }
.catalog-button { min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--sf-blue); color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 7px 16px rgba(7, 91, 216, .2); }
.catalog-button:hover { background: var(--sf-blue-strong); }
.catalog-grid-icon { font-size: 16px; }
.catalog-caret { font-size: 14px; opacity: .8; }
.catalog-menu { position: absolute; top: calc(100% + 8px); left: 0; width: min(720px, 80vw); padding: 16px; border: 1px solid var(--sf-line); border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgba(16, 38, 73, .16); z-index: 90; }
.catalog-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--sf-line); margin-bottom: 10px; }
.catalog-menu-head strong { font-size: 13px; }
.catalog-menu-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.catalog-menu-items button { min-height: 38px; text-align: left; padding: 0 10px; border-radius: 9px; color: var(--sf-ink); background: transparent; font-size: 12px; }
.catalog-menu-items button:hover { background: var(--sf-soft-blue); color: var(--sf-blue); }
.global-search { flex: 1 1 380px; min-width: 160px; height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--sf-line); border-radius: 13px; background: var(--sf-soft); }
.global-search:focus-within { border-color: #a9c8f5; background: #fff; box-shadow: 0 0 0 4px rgba(7, 91, 216, .08); }
.global-search-icon { color: var(--sf-muted); font-size: 19px; }
.global-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--sf-ink); font-size: 13px; }
.global-search input::placeholder { color: #8792a5; }
.header-phone { flex: 0 0 auto; display: flex; flex-direction: column; text-decoration: none; color: var(--sf-ink); line-height: 1.2; }
.header-phone strong { font-size: 13px; font-weight: 800; white-space: nowrap; }
.header-phone small { font-size: 9px; color: var(--sf-muted); margin-top: 3px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-actions .icon-btn { width: 42px; height: 42px; border-radius: 12px; background: var(--sf-soft); color: var(--sf-ink); box-shadow: none; border: 1px solid transparent; }
.header-actions .icon-btn:hover { background: var(--sf-soft-blue); color: var(--sf-blue); border-color: #d7e5fb; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.count { background: var(--sf-blue); color: #fff; }

/* Shared surfaces */
.home-wrap, .catalog-wrap, .catalog-screen > .catalog-wrap { max-width: 1240px; margin: 0 auto; }
.eyebrow { color: var(--sf-blue) !important; letter-spacing: 1.5px !important; font-size: 9px !important; font-weight: 800 !important; }
h1, h2, h3, strong, .price { color: var(--sf-ink); }
.subtitle, .muted, .info-card p, .benefit-card p, .promo-card p { color: var(--sf-muted) !important; }
.section-head { margin: 34px 0 15px !important; }
.section-head h2 { font-size: 22px !important; letter-spacing: -.5px; }
.text-btn { color: var(--sf-blue) !important; font-weight: 800; background: none; }
.primary { min-height: 44px; border-radius: 12px !important; background: var(--sf-blue) !important; color: #fff !important; box-shadow: 0 7px 18px rgba(7, 91, 216, .18) !important; font-size: 12px !important; }
.primary:hover { background: var(--sf-blue-strong) !important; transform: translateY(-1px); }
.hero-ghost { min-height: 44px; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--sf-ink); border: 1px solid #cbd7e8; font-weight: 800; font-size: 12px; }
.hero-ghost:hover { border-color: var(--sf-blue); color: var(--sf-blue); }
.page-heading { margin: 4px 0 14px; }
.home-headline { margin: 7px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; font-weight: 700; letter-spacing: -.4px; }
.home-headline span { color: var(--sf-muted); font-weight: 500; }

/* Hero */
.hero { min-height: 420px !important; margin: 10px 0 18px !important; padding: 40px 42px 58px !important; border-radius: 28px !important; border: 1px solid #dbe7f7; color: var(--sf-ink) !important; background: linear-gradient(120deg, #edf4ff 0%, #f6f8ff 55%, #eef5ff 100%) !important; box-shadow: 0 16px 46px rgba(32, 74, 132, .08) !important; }
.hero:after { display: none !important; }
.hero:before { background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%) !important; width: 380px; height: 380px; right: -110px; top: -120px; }
.hero-copy { width: 53% !important; max-width: 530px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.8); color: #31724a; font-size: 10px; font-weight: 800; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #2bb673; display: inline-block; }
.hero h1 { margin: 16px 0 12px !important; font-size: clamp(32px, 4.5vw, 54px) !important; line-height: .98 !important; letter-spacing: -2.2px !important; color: var(--sf-ink) !important; }
.hero h1 em { font-style: normal; color: var(--sf-blue) !important; }
.hero-price-line { font-size: 16px; color: var(--sf-muted); margin-bottom: 12px; }
.hero-price-line b { color: var(--sf-ink); font-size: 20px; }
.hero p { max-width: 420px; color: var(--sf-muted) !important; font-size: 12px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.hero-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 440px; margin-top: 24px; }
.hero-mini button { min-height: 54px; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.9); border-radius: 10px; background: rgba(255,255,255,.7); color: var(--sf-ink); text-align: left; font-size: 10px; font-weight: 700; }
.hero-mini button:hover { background: #fff; border-color: #bcd4f5; }
.hero-mini img { width: 37px; height: 37px; object-fit: contain; border-radius: 6px; background: #fff; }
.hero-mini b { display: block; font-size: 10px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hero-mini small { display: block; color: var(--sf-blue); font-size: 10px; margin-top: 2px; }
.hero-art { right: 2% !important; bottom: 4% !important; width: 46% !important; height: 84% !important; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; transform: none !important; filter: drop-shadow(0 22px 22px rgba(20, 44, 86, .15)) !important; animation: none !important; }
.hero-art-label { position: absolute; right: 4%; bottom: 2%; display: flex; flex-direction: column; align-items: flex-end; color: #315173; font-size: 9px; letter-spacing: 1.2px; }
.hero-art-label b { font-size: 12px; letter-spacing: .5px; }
.hero-orbit { border-color: rgba(7,91,216,.12) !important; }
.hero-tabs { position: absolute; left: 42px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 3px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.78); }
.hero-tabs button { min-height: 36px; padding: 0 15px; border-radius: 999px; background: transparent; color: var(--sf-muted); font-size: 11px; font-weight: 800; }
.hero-tabs button:hover, .hero-tabs button.active { background: #fff; color: var(--sf-ink); box-shadow: 0 3px 9px rgba(20,44,86,.08); }

/* Trust and categories */
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 0 0 6px; }
.trust-card { min-height: 72px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid var(--sf-line); border-radius: 14px; background: #fff; box-shadow: 0 5px 15px rgba(16,38,73,.035); }
.trust-icon { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 9px; background: #fff5d8; color: #d69a19; font-size: 15px; }
.trust-card:nth-child(2) .trust-icon { background: #e9f8ef; color: #1a9b52; }
.trust-card:nth-child(3) .trust-icon { background: #fff0e4; color: #df7b2b; }
.trust-card:nth-child(4) .trust-icon { background: #eef3ff; color: var(--sf-blue); }
.trust-card strong { display: block; font-size: 11px; line-height: 1.3; }
.trust-card small { display: block; color: var(--sf-muted); font-size: 9px; line-height: 1.35; margin-top: 3px; }
.category-grid { display: grid !important; grid-template-columns: repeat(8, minmax(0,1fr)) !important; gap: 9px !important; }
.category-tile { position: relative !important; height: auto !important; min-height: 112px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 11px 6px !important; border: 1px solid #edf0f5 !important; border-radius: 15px !important; background: #fff !important; box-shadow: 0 5px 15px rgba(16,38,73,.035) !important; overflow: hidden; }
.category-tile:before, .category-tile:after { display: none !important; }
.category-tile:hover { transform: translateY(-3px); border-color: #cfe0f7 !important; box-shadow: 0 12px 24px rgba(16,38,73,.09) !important; }
.category-photo { width: 65px !important; height: 65px !important; object-fit: contain !important; border-radius: 12px; background: var(--sf-soft-blue); padding: 5px; }
.category-tile:nth-child(5n+2) .category-photo { background: #fff0f3; }
.category-tile:nth-child(5n+3) .category-photo { background: #eef8ef; }
.category-tile:nth-child(5n+4) .category-photo { background: #fff6e8; }
.category-tile:nth-child(5n) .category-photo { background: #f2efff; }
.category-label { position: static !important; display: block !important; color: var(--sf-ink) !important; font-size: 10px !important; line-height: 1.25; text-align: center; }
.category-label b { font-weight: 800; }
.category-label small, .category-label i { display: none !important; }

/* Product grid and cards */
.products { display: grid !important; grid-template-columns: repeat(5, minmax(0,1fr)) !important; gap: 13px !important; perspective: none !important; }
.product { min-width: 0; display: flex; flex-direction: column; padding: 0 !important; border: 1px solid var(--sf-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 5px 18px rgba(16,38,73,.045) !important; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.product:hover { transform: translateY(-3px) !important; box-shadow: 0 14px 28px rgba(16,38,73,.1) !important; border-color: #cfdcf0 !important; }
.product-image { height: 180px !important; margin: 9px 9px 0 !important; border: 0 !important; border-radius: 12px !important; background: linear-gradient(145deg,#f6f8fc,#edf3fb) !important; overflow: hidden; }
.product-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; mix-blend-mode: multiply !important; padding: 10px; transition: transform .3s; }
.product:hover .product-image img { transform: scale(1.04); }
.favorite { right: 8px !important; top: 8px !important; width: 44px !important; height: 44px !important; border-radius: 50% !important; background: rgba(255,255,255,.94) !important; color: #7d8ba0 !important; font-size: 20px !important; box-shadow: 0 4px 12px rgba(16,38,73,.11) !important; }
.favorite.on { color: #ef5b76 !important; }
.product-info { padding: 11px 12px 12px !important; display: flex; flex-direction: column; flex: 1; }
.product-name { min-height: 34px !important; padding: 0 !important; color: var(--sf-ink) !important; font-size: 12px !important; line-height: 1.35 !important; font-weight: 800 !important; text-align: left !important; background: transparent !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-name:hover { color: var(--sf-blue) !important; }
.product-card-category { color: var(--sf-muted) !important; font-size: 9px !important; margin-top: 5px; letter-spacing: 0 !important; }
.product-stock { min-height: 15px; margin-top: 6px !important; color: var(--sf-green) !important; font-size: 9px !important; font-weight: 700; }
.product-stock:before { background: var(--sf-green) !important; box-shadow: none !important; }
.product-stock.is-out { color: var(--sf-muted) !important; }
.product-bottom { margin-top: auto !important; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.price { font-size: 15px !important; letter-spacing: -.2px; }
.product-old-price { color: #98a2b3; font-size: 10px; text-decoration: line-through; margin-left: 4px; }
.add { width: 44px !important; height: 44px !important; flex: 0 0 44px; border-radius: 50% !important; background: #0b1d36 !important; color: #fff !important; box-shadow: none !important; font-size: 20px; }
.add:hover { background: var(--sf-blue) !important; transform: none !important; }
.product-variants { display: flex; gap: 4px; align-items: center; margin-top: 6px; min-height: 14px; flex-wrap: wrap; }
.variant-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #d5ddea; background: #fff; display: inline-block; }
.variant-dot.active { outline: 2px solid var(--sf-blue); outline-offset: 1px; }
.product-variant-text { color: var(--sf-muted); font-size: 9px; margin-left: 3px; }

/* Collections, promos, info */
.collection-block { margin-top: 30px; }
.collection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.collection-head h2 { margin: 0; font-size: 21px; letter-spacing: -.5px; }
.collection-head .collection-count { color: var(--sf-muted); font-size: 10px; margin-left: 7px; }
.collection-head a, .collection-head button { color: var(--sf-blue); font-size: 11px; font-weight: 800; background: none; }
.promo-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 32px; }
.promo-card { min-height: 225px; padding: 28px 30px; border-radius: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.promo-blue { background: linear-gradient(120deg,#075bd8,#2e78dd); color: #fff; }
.promo-blue .eyebrow { color: #cfe3ff !important; }
.promo-blue h2 { color: #fff; font-size: 28px; line-height: 1.05; letter-spacing: -1px; margin: 9px 0; }
.promo-blue p { color: #d9e9ff !important; max-width: 380px; font-size: 11px; line-height: 1.55; }
.promo-blue .primary { background: #fff !important; color: var(--sf-blue) !important; margin-top: 10px; box-shadow: none !important; }
.promo-soft { background: #fff; border: 1px solid var(--sf-line); }
.promo-soft h2 { font-size: 28px; line-height: 1.05; letter-spacing: -1px; margin: 9px 0; }
.promo-soft p { font-size: 11px; line-height: 1.55; max-width: 280px; }
.promo-link { margin-top: 10px; min-height: 42px; padding: 0 15px; border: 1px solid #cbd9eb; border-radius: 11px; background: #fff; color: var(--sf-blue); font-weight: 800; font-size: 11px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.benefit-card { min-height: 150px; padding: 20px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(16,38,73,.035); }
.benefit-icon { display: block; color: var(--sf-blue) !important; font-size: 22px; margin-bottom: 15px; }
.benefit-card strong { display: block; font-size: 12px; margin-bottom: 6px; }
.benefit-card p { margin: 0; font-size: 10px; line-height: 1.55; }
.store-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; margin-top: 32px; padding: 24px; border: 1px solid var(--sf-line); border-radius: 22px; background: #fff; box-shadow: var(--sf-shadow); }
.store-panel-copy { padding: 10px 8px; }
.store-panel h2 { font-size: 27px; letter-spacing: -.7px; margin: 10px 0; }
.store-panel p { color: var(--sf-muted); font-size: 11px; line-height: 1.6; }
.store-facts { margin: 18px 0; display: grid; gap: 12px; }
.store-facts dt { color: var(--sf-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .9px; font-weight: 800; }
.store-facts dd { margin: 3px 0 0; font-size: 12px; font-weight: 700; }
.store-facts a { color: var(--sf-blue); text-decoration: none; }
.store-map-wrap { position: relative; min-height: 300px; border-radius: 15px; background: #eaf0f7; overflow: hidden; }
.store-map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--sf-muted); background: linear-gradient(135deg,#f1f5fb,#e5edf7); text-align: center; padding: 20px; }
.store-map-placeholder span { color: var(--sf-blue); font-size: 28px; }
.store-map-placeholder strong { color: var(--sf-ink); font-size: 13px; }
.store-map-placeholder small { font-size: 10px; max-width: 220px; line-height: 1.5; }
.delivery-support-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.info-card { padding: 24px; border: 1px solid var(--sf-line); border-radius: 18px; background: #fff; box-shadow: 0 4px 14px rgba(16,38,73,.035); }
.info-card h2 { margin: 8px 0; font-size: 20px; }
.info-card p { font-size: 11px; line-height: 1.55; }
.support-contacts { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.support-contacts a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #d6e3f4; border-radius: 9px; color: var(--sf-blue); text-decoration: none; font-size: 10px; font-weight: 800; background: var(--sf-soft-blue); }

/* Catalog */
.catalog-screen .catalog-wrap { padding-top: 8px; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; color: var(--sf-muted); font-size: 10px; margin: 5px 0 14px; }
.breadcrumbs button { background: none; color: var(--sf-blue); font-size: 10px; padding: 0; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.catalog-heading h1 { margin: 6px 0 4px !important; font-size: 34px !important; letter-spacing: -1.2px !important; }
.catalog-heading .subtitle { margin: 0; font-size: 12px; }
.catalog-search-row { display: flex; align-items: center; gap: 12px; margin: 17px 0 11px; }
.catalog-search-row .search-wrap { flex: 1; height: 47px; margin: 0 !important; border-radius: 12px !important; box-shadow: none !important; background: #fff; }
.search-wrap { border: 1px solid var(--sf-line) !important; box-shadow: none !important; }
.search-wrap:focus-within { border-color: #a9c8f5 !important; box-shadow: 0 0 0 4px rgba(7,91,216,.08) !important; }
.sort-control { display: flex; align-items: center; gap: 8px; color: var(--sf-muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.sort-control select { height: 44px; padding: 0 11px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font-size: 11px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 3px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--sf-line) !important; border-radius: 999px !important; background: #fff !important; color: var(--sf-muted) !important; box-shadow: none !important; font-size: 10px !important; }
.chip.active { background: var(--sf-ink) !important; color: #fff !important; border-color: var(--sf-ink) !important; }
.catalog-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 20px; align-items: start; }
.catalog-sidebar { position: sticky; top: 94px; padding: 16px; border: 1px solid var(--sf-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(16,38,73,.035); }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 11px; border-bottom: 1px solid var(--sf-line); }
.filter-head strong { font-size: 13px; }
.filter-head .text-btn { font-size: 10px; }
.filter-group { padding: 14px 0; border-bottom: 1px solid var(--sf-line); }
.filter-group > strong { display: block; font-size: 11px; margin-bottom: 9px; }
.filter-links { display: grid; gap: 2px; }
.filter-links button { min-height: 34px; text-align: left; padding: 0 8px; border-radius: 7px; background: transparent; color: var(--sf-muted); font-size: 10px; display: flex; justify-content: space-between; gap: 8px; }
.filter-links button:hover { background: var(--sf-soft-blue); color: var(--sf-blue); }
.filter-links button.active { color: var(--sf-blue); background: var(--sf-soft-blue); font-weight: 800; }
.filter-links button span { color: #98a2b3; }
.filter-check { min-height: 38px; display: flex; align-items: center; gap: 8px; color: var(--sf-ink); font-size: 11px; }
.filter-check input { width: 17px; height: 17px; accent-color: var(--sf-blue); }
.price-filter { display: flex; align-items: center; gap: 5px; }
.price-filter input { width: 100%; min-width: 0; height: 37px; padding: 0 7px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-soft); color: var(--sf-ink); font-size: 10px; }
.price-filter span { color: var(--sf-muted); }
.filter-group .admin-btn { margin-top: 7px; min-height: 37px; font-size: 10px; }
.filter-note { padding-top: 12px; color: var(--sf-muted); font-size: 9px; line-height: 1.5; }
.catalog-results { min-width: 0; }
.catalog-toolbar { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.result-count { color: var(--sf-ink); font-size: 11px; font-weight: 800; }
.catalog-sort-note { color: var(--sf-muted); font-size: 9px; }
.catalog-products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 24px 0 6px; flex-wrap: wrap; }
.pagination button { min-width: 38px; height: 38px; padding: 0 9px; border: 1px solid var(--sf-line); border-radius: 9px; background: #fff; color: var(--sf-ink); font-size: 11px; font-weight: 800; }
.pagination button.active { background: var(--sf-blue); border-color: var(--sf-blue); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.mobile-only { display: none; }
.filter-toggle { min-height: 40px; padding: 0 12px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; color: var(--sf-ink); font-size: 11px; font-weight: 800; }

/* Product detail */
#productDetailModal, .admin-modal, .dialog-card { color: var(--sf-ink); }
#productDetailModal { background: rgba(9, 23, 44, .52) !important; padding: 18px !important; }
.product-dialog { width: min(100%, 980px) !important; max-height: 92vh; overflow: auto; background: #fff !important; border-radius: 20px !important; padding: 20px !important; box-shadow: 0 28px 80px rgba(9,23,44,.3) !important; }
.product-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: var(--sf-muted); font-size: 10px; }
.product-breadcrumbs button { background: none; color: var(--sf-blue); font-size: 10px; padding: 0; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 25px; margin-top: 15px; }
.product-gallery { min-width: 0; }
.gallery-main { width: 100% !important; height: auto !important; max-height: 420px; object-fit: contain; border-radius: 15px; background: linear-gradient(145deg,#f6f8fc,#edf3fb); padding: 18px; }
.gallery-thumbs { display: flex; gap: 7px; margin-top: 9px; }
.gallery-thumb { width: 58px !important; height: 58px !important; padding: 4px; border: 1px solid var(--sf-line) !important; border-radius: 9px; background: #fff; overflow: hidden; }
.gallery-thumb.active { border-color: var(--sf-blue) !important; box-shadow: 0 0 0 2px rgba(7,91,216,.12); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info-panel { padding: 4px 0; }
.product-info-panel .product-card-category { margin: 0 0 6px; font-size: 10px; }
.product-info-panel h2 { margin: 0 0 10px !important; font-size: 25px !important; line-height: 1.16; letter-spacing: -.7px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; color: var(--sf-muted); font-size: 10px; }
.product-meta .sku { background: var(--sf-soft); padding: 4px 7px; border-radius: 6px; }
.product-modal-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 13px 0; }
.product-modal-price-row .price { font-size: 29px !important; letter-spacing: -1px; }
.product-modal-price-row .old-price { color: #98a2b3; text-decoration: line-through; font-size: 13px; }
.product-stock-pill { padding: 5px 8px; border-radius: 999px; background: #eaf8ef; color: var(--sf-green); font-size: 10px; font-weight: 800; }
.product-stock-pill.out { background: var(--sf-soft); color: var(--sf-muted); }
.product-description { color: var(--sf-muted) !important; font-size: 11px !important; line-height: 1.65 !important; white-space: pre-wrap; }
.product-specs { display: grid; grid-template-columns: minmax(90px,.7fr) 1.3fr; gap: 0; margin: 16px 0; border-top: 1px solid var(--sf-line); }
.product-specs dt, .product-specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--sf-line); font-size: 10px; }
.product-specs dt { color: var(--sf-muted); }
.product-specs dd { color: var(--sf-ink); font-weight: 700; }
.product-variant-picker { margin: 12px 0; }
.product-variant-picker strong { display: block; font-size: 10px; margin-bottom: 6px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-option { min-height: 34px; padding: 0 10px; border: 1px solid var(--sf-line); border-radius: 8px; background: #fff; color: var(--sf-ink); font-size: 10px; }
.variant-option.active { border-color: var(--sf-blue); color: var(--sf-blue); background: var(--sf-soft-blue); font-weight: 800; }
.product-quantity { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--sf-line); border-radius: 9px; overflow: hidden; }
.product-quantity button { width: 38px; height: 38px; background: var(--sf-soft); color: var(--sf-ink); font-size: 17px; }
.product-quantity span { min-width: 32px; text-align: center; font-size: 12px; font-weight: 800; }
.product-buy-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.product-buy-row .primary { flex: 1; min-width: 150px; }
.favorite-detail { width: 44px; height: 44px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; color: #7d8ba0; font-size: 21px; }
.favorite-detail.on { color: #ef5b76; border-color: #f2c7d1; }
.related-products { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--sf-line); }
.related-products h3 { font-size: 16px; margin: 0 0 10px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.related-card { padding: 8px; border: 1px solid var(--sf-line); border-radius: 10px; background: #fff; text-align: left; }
.related-card img { width: 100%; height: 65px; object-fit: contain; background: var(--sf-soft); border-radius: 7px; }
.related-card strong { display: block; margin-top: 6px; font-size: 9px; line-height: 1.3; }
.related-card small { display: block; color: var(--sf-blue); font-size: 10px; font-weight: 800; margin-top: 4px; }
.dialog-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }

/* Cart, profile, assistant */
.cart-screen, .profile-screen, #technoScreen { max-width: 980px; margin: 0 auto; }
#cartScreen h1, #profileScreen h1 { font-size: 32px; letter-spacing: -1px; }
.cart-item, .cart-total, .empty, .profile-hero, .stat, .menu-row, .assistant-shell { background: #fff !important; border-color: var(--sf-line) !important; box-shadow: 0 5px 18px rgba(16,38,73,.045) !important; }
.cart-item { border: 1px solid var(--sf-line); border-radius: 14px !important; }
.cart-thumb { background: var(--sf-soft) !important; }
.cart-total { border: 1px solid var(--sf-line); border-radius: 16px !important; }
.total-line.final { color: var(--sf-ink) !important; }
.cart-qty-btn { min-width: 40px; min-height: 40px; }
.profile-hero { background: linear-gradient(120deg,#edf4ff,#f8faff) !important; color: var(--sf-ink) !important; border: 1px solid #dce8f8 !important; }
.profile-hero p, .user-tag { color: var(--sf-muted) !important; }
.avatar { background: var(--sf-blue) !important; color: #fff !important; border: 0 !important; }
.stat { border: 1px solid var(--sf-line); border-radius: 14px !important; }
.menu-row { border: 1px solid var(--sf-line); border-radius: 12px !important; min-height: 58px; }
.menu-icon { background: var(--sf-soft-blue) !important; color: var(--sf-blue) !important; }
.settings-panel { background: var(--sf-soft) !important; border-color: var(--sf-line) !important; }
.assistant-shell { border: 1px solid var(--sf-line); border-radius: 18px !important; }
.assistant-head { border-color: var(--sf-line) !important; }
.assistant-avatar { background: var(--sf-blue) !important; box-shadow: none !important; }
.assistant-messages { background: #fff; }
.assistant-bot { background: var(--sf-soft) !important; color: var(--sf-ink) !important; }
.assistant-user { background: var(--sf-blue) !important; }
.assistant-input { background: #fff !important; border-color: var(--sf-line) !important; color: var(--sf-ink) !important; }
.assistant-send { background: var(--sf-blue) !important; }
.assistant-suggestion { background: #fff !important; border-color: var(--sf-line) !important; color: var(--sf-ink) !important; }
.assistant-status[data-mode="local"] { color: #a35b00 !important; }

/* Footer */
footer.site-footer { max-width: 1240px; margin: 36px auto 0; border-top: 1px solid var(--sf-line); background: transparent !important; color: var(--sf-ink) !important; padding: 26px 0 10px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 25px; }
.footer-brand-block p { color: var(--sf-muted); font-size: 11px; line-height: 1.6; max-width: 300px; }
.footer-brand .brand-kicker { color: var(--sf-muted) !important; }
.footer-column h3 { font-size: 11px; margin: 0 0 9px; }
.footer-links { display: grid; gap: 5px; }
.footer-links button { min-height: 30px; text-align: left; background: none; color: var(--sf-muted); font-size: 10px; padding: 0; }
.footer-links button:hover { color: var(--sf-blue); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 18px; margin-top: 15px; border-top: 1px solid var(--sf-line); color: var(--sf-muted); font-size: 9px; }
.footer-signature { color: var(--sf-muted); font-size: 9px; margin-top: 10px; }
.footer-garland { display: none; }

/* Admin surfaces remain light and usable */
.admin-modal { background: var(--sf-bg) !important; color: var(--sf-ink) !important; }
.admin-card, .admin-filters { background: #fff !important; border-color: var(--sf-line) !important; box-shadow: 0 4px 14px rgba(16,38,73,.04) !important; }
.admin-input { background: var(--sf-soft) !important; border-color: var(--sf-line) !important; color: var(--sf-ink) !important; }
.admin-btn { background: var(--sf-blue) !important; }
.admin-btn.secondary { background: var(--sf-soft) !important; color: var(--sf-ink) !important; }
.admin-tabs button { background: var(--sf-soft) !important; color: var(--sf-ink) !important; }
.admin-tabs button.active { background: var(--sf-blue) !important; color: #fff !important; }
.admin-detail-card { background: #fff !important; color: var(--sf-ink) !important; }
.admin-close { background: var(--sf-soft) !important; color: var(--sf-ink) !important; }

/* Seasonal decoration sits above the storefront only when enabled. */
.seasonal-decor { z-index: 0 !important; }
.winter-garland { z-index: 1 !important; }

/* Responsive */
@media (max-width: 1180px) {
  .products, .catalog-products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
@media (max-width: 1000px) {
  header.site-header { margin-left: -24px !important; margin-right: -24px !important; padding-left: 24px !important; padding-right: 24px !important; }
  .header-inner { gap: 11px; }
  .header-phone { display: none; }
  .global-search { flex-basis: 240px; }
  .hero { min-height: 390px !important; padding: 32px 28px 58px !important; }
  .hero-copy { width: 56% !important; }
  .hero h1 { font-size: 42px !important; }
  .hero-tabs { left: 28px; }
  .products, .catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .catalog-layout { grid-template-columns: 210px minmax(0,1fr); gap: 15px; }
  .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .store-panel { grid-template-columns: 1fr; }
  .store-map-wrap { min-height: 250px; }
}
@media (max-width: 760px) {
  .app { padding: 0 14px 92px !important; }
  header.site-header { margin: 0 -14px 14px !important; padding: 0 14px !important; min-height: 64px !important; }
  .header-inner { height: 64px; gap: 8px; }
  .brand { min-width: 0 !important; }
  .brand-emblem { width: 31px; height: 31px; border-radius: 9px; }
  .brand-emblem img { width: 26px; height: 26px; }
  .brand-wordmark { font-size: 17px !important; }
  .brand-kicker { display: none; }
  .catalog-button { padding: 0 10px; min-height: 40px; font-size: 11px; }
  .catalog-grid-icon { display: none; }
  .global-search { height: 40px; flex-basis: 0; min-width: 0; padding: 0 9px; }
  .global-search input { font-size: 11px; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .header-actions .header-profile, .header-actions .header-favorite { display: none; }
  .catalog-menu { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
  .catalog-menu-items { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-heading { margin-top: 0; }
  .home-headline { font-size: 16px; }
  .home-headline span { display: block; margin-top: 2px; }
  .hero { min-height: 440px !important; margin-top: 5px !important; padding: 24px 19px 62px !important; border-radius: 20px !important; }
  .hero-copy { width: 100% !important; max-width: none; }
  .hero h1 { font-size: 36px !important; letter-spacing: -1.6px !important; max-width: 270px; }
  .hero p { max-width: 280px; font-size: 11px; }
  .hero-art { width: 45% !important; height: 48% !important; right: -4% !important; top: 7% !important; bottom: auto !important; opacity: .9; }
  .hero-art-label { display: none; }
  .hero-mini { max-width: 100%; margin-top: 16px; grid-template-columns: 1fr 1fr; }
  .hero-tabs { left: 19px; bottom: 14px; max-width: calc(100% - 38px); overflow-x: auto; flex-wrap: nowrap; }
  .hero-tabs button { padding: 0 11px; min-height: 34px; white-space: nowrap; }
  .trust-row { gap: 7px; }
  .trust-card { min-height: 66px; padding: 10px; }
  .trust-card strong { font-size: 10px; }
  .trust-card small { font-size: 8px; }
  .section-head { margin: 26px 0 12px !important; }
  .section-head h2 { font-size: 19px !important; }
  .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 7px !important; }
  .category-tile { min-height: 98px; padding: 8px 4px !important; }
  .category-photo { width: 54px !important; height: 54px !important; }
  .category-label { font-size: 9px !important; }
  .products, .catalog-products { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 8px !important; }
  .product-image { height: 142px !important; margin: 7px 7px 0 !important; }
  .product-info { padding: 8px 9px 9px !important; }
  .product-name { font-size: 11px !important; min-height: 31px !important; }
  .price { font-size: 13px !important; }
  .product-old-price { font-size: 9px; }
  .favorite { width: 44px !important; height: 44px !important; right: 5px !important; top: 5px !important; }
  .promo-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
  .promo-card { min-height: 185px; padding: 22px; border-radius: 17px; }
  .promo-blue h2, .promo-soft h2 { font-size: 25px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .benefit-card { min-height: 130px; padding: 13px; }
  .benefit-icon { font-size: 18px; margin-bottom: 9px; }
  .benefit-card strong { font-size: 10px; }
  .benefit-card p { font-size: 9px; }
  .store-panel { padding: 15px; border-radius: 17px; }
  .store-panel h2 { font-size: 22px; }
  .store-map-wrap { min-height: 220px; }
  .delivery-support-row { grid-template-columns: 1fr; gap: 8px; }
  .info-card { padding: 17px; }
  .catalog-heading { align-items: center; }
  .catalog-heading h1 { font-size: 27px !important; }
  .catalog-heading .subtitle { display: none; }
  .mobile-only { display: inline-flex; align-items: center; gap: 5px; }
  .catalog-search-row { flex-wrap: wrap; gap: 8px; }
  .catalog-search-row .search-wrap { flex-basis: 100%; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; }
  .catalog-layout { grid-template-columns: 1fr; gap: 10px; }
  .catalog-sidebar { display: none; position: fixed; z-index: 100; inset: 70px 10px 70px; overflow: auto; border-radius: 17px; }
  body.filters-open .catalog-sidebar { display: block; }
  .catalog-sort-note { display: none; }
  .catalog-toolbar { min-height: 25px; }
  .pagination { margin-top: 17px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 12px; }
  .product-dialog { padding: 13px !important; border-radius: 16px !important; }
  .gallery-main { max-height: 280px; padding: 9px; }
  .product-info-panel h2 { font-size: 21px !important; }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cart-screen, .profile-screen, #technoScreen { max-width: 100%; }
  #cartScreen h1, #profileScreen h1 { font-size: 27px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand-block { grid-column: 1 / -1; }
  footer.site-footer { margin-top: 24px; padding-bottom: 4px; }
  .bottom-nav { z-index: 110; }
}
@media (max-width: 360px) {
  .brand-wordmark { font-size: 15px !important; }
  .catalog-button { padding: 0 8px; font-size: 10px; }
  .header-actions .icon-btn { width: 37px; height: 37px; }
  .hero h1 { font-size: 32px !important; }
  .products, .catalog-products { grid-template-columns: 1fr 1fr !important; }
  .product-image { height: 126px !important; }
  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Reputation and information pages */
.trust-rating { text-decoration: none; color: inherit; }
.trust-rating:hover { border-color: #cfe0f7; }
.reviews-section { margin-top: 24px; padding: 22px; border: 1px solid var(--sf-line); border-radius: 20px; background: #fff; box-shadow: var(--sf-shadow); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.reviews-head h2 { margin: 7px 0 5px; font-size: 22px; letter-spacing: -.5px; }
.reviews-head p { margin: 0; color: var(--sf-muted); font-size: 10px; line-height: 1.5; }
.reviews-link { color: var(--sf-blue); font-size: 10px; font-weight: 800; white-space: nowrap; text-decoration: none; }
.reviews-widget-wrap { height: 430px; border-radius: 13px; overflow: hidden; background: var(--sf-soft); }
.reviews-widget-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(9,23,44,.52); }
.info-dialog { width: min(100%, 620px); max-height: 85vh; overflow: auto; background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 24px 70px rgba(9,23,44,.28); }
.info-dialog .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.info-dialog .dialog-title { margin: 6px 0 0; font-size: 25px; }
.info-body { color: var(--sf-muted); font-size: 12px; line-height: 1.7; margin-top: 12px; }
.info-body p { margin: 0 0 10px; }
.info-body a { color: var(--sf-blue); }
.info-contact-block { padding: 13px; border-radius: 10px; background: var(--sf-soft); }
#productDetailClose { min-width: 44px; min-height: 44px; }
@media (max-width: 760px) {
  .reviews-head { display: block; }
  .reviews-link { display: inline-block; margin-top: 8px; }
  .reviews-widget-wrap { height: 360px; }
  .reviews-section { padding: 15px; border-radius: 17px; }
}

/* Admin Excel import */
.admin-import-mapping { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.admin-import-map { padding: 4px 7px; border-radius: 6px; background: var(--sf-soft); color: var(--sf-muted); font-size: 9px; }
.admin-import-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 10px; }
.admin-import-table th, .admin-import-table td { padding: 8px 7px; border-bottom: 1px solid var(--sf-line); text-align: left; vertical-align: top; }
.admin-import-table th { color: var(--sf-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .6px; }
.admin-import-action { display: inline-block; padding: 3px 6px; border-radius: 5px; font-size: 9px; font-weight: 800; }
.admin-import-action.create { background: #e9f8ef; color: var(--sf-green); }
.admin-import-action.update { background: var(--sf-soft-blue); color: var(--sf-blue); }
.admin-import-action.error { background: #fff0f3; color: #b42342; }
@media (max-width: 380px) { .header-inner .global-search { display: none; } }
@media (max-width: 900px) { .header-actions .header-profile, .header-actions .header-favorite { display: none; } }


/* High-specificity storefront overrides for legacy inline hero rules. */
body[data-theme="light"] .storefront-home .hero {
  color: var(--sf-ink) !important;
  background: linear-gradient(120deg, #edf4ff 0%, #f7f9ff 55%, #eaf3ff 100%) !important;
  border: 1px solid #dbe7f7 !important;
  box-shadow: 0 16px 46px rgba(32,74,132,.08) !important;
}
body[data-theme="light"] .storefront-home .hero:before { background: radial-gradient(circle, rgba(255,255,255,.95), transparent 65%) !important; }
body[data-theme="light"] .storefront-home .hero h1 { color: var(--sf-ink) !important; }
body[data-theme="light"] .storefront-home .hero h1 em { color: var(--sf-blue) !important; }
body[data-theme="light"] .storefront-home .hero p, body[data-theme="light"] .storefront-home .hero-price-line { color: var(--sf-muted) !important; }
body[data-theme="light"] .storefront-home .hero-price-line b { color: var(--sf-ink) !important; }
body[data-theme="light"] .storefront-home .hero-badge { background: rgba(255,255,255,.86) !important; color: #31724a !important; }
body[data-theme="light"] .storefront-home .hero-copy { width: auto !important; max-width: 560px !important; }
body[data-theme="light"] .storefront-home .hero-art { position: relative !important; width: 100% !important; height: auto !important; right: auto !important; bottom: auto !important; min-height: 280px !important; }
body[data-theme="light"] .storefront-home .hero-art img { width: 100% !important; height: auto !important; max-height: 390px !important; object-fit: contain !important; opacity: 1 !important; transform: none !important; filter: drop-shadow(0 22px 22px rgba(20,44,86,.12)) !important; animation: none !important; }
body[data-theme="light"] .storefront-home .hero-mini button { background: rgba(255,255,255,.82) !important; color: var(--sf-ink) !important; border-color: rgba(255,255,255,.95) !important; }
body[data-theme="light"] .storefront-home .hero-mini small { color: var(--sf-blue) !important; }
body[data-theme="light"] .storefront-home .hero-tabs { background: rgba(255,255,255,.8) !important; }
body[data-theme="light"] .storefront-home .hero-tabs button { color: var(--sf-muted) !important; }
body[data-theme="light"] .storefront-home .hero-tabs button.active, body[data-theme="light"] .storefront-home .hero-tabs button:hover { color: var(--sf-ink) !important; background: #fff !important; }
@media (max-width: 760px) {
  body[data-theme="light"] .storefront-home .hero { min-height: 430px !important; padding: 24px 19px 62px !important; border-radius: 20px !important; }
  body[data-theme="light"] .storefront-home .hero-copy { width: 100% !important; max-width: none !important; }
  body[data-theme="light"] .storefront-home .hero-art { width: 100% !important; min-height: 190px !important; margin-top: 4px !important; }
  body[data-theme="light"] .storefront-home .hero-art img { max-height: 220px !important; }
  body[data-theme="light"] .storefront-home .hero h1 { color: var(--sf-ink) !important; }
}
.brand-copy { display: flex !important; flex-direction: column !important; align-items: flex-start !important; line-height: 1.1 !important; }
html { background: #f7f9ff !important; }
body { background-color: #f7f9ff !important; }
@media (max-width: 760px) { .chips { flex-wrap: wrap !important; overflow: visible !important; } }
[hidden] { display: none !important; }
#productDetailModal {
  position: fixed !important; inset: 0 !important; z-index: 10000 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 16px !important; background: rgba(9,23,44,.55) !important; overflow: auto !important;
}
#productDetailModal .product-dialog { width: min(1100px, 100%) !important; max-height: 92vh !important; padding: 20px !important; }
@media (max-width: 760px) {
  #productDetailModal { padding: 8px !important; align-items: flex-start !important; }
  #productDetailModal .product-dialog { max-height: none !important; padding: 14px !important; border-radius: 18px !important; }
}
.site-footer .footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)) !important; align-items: start !important; }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr !important; } }
body .hero-tabs {
  position: static !important; width: max-content !important; max-width: 100% !important;
  margin: 14px 0 0 !important; padding: 4px !important; overflow-x: auto !important;
  background: #fff !important; border: 1px solid var(--sf-line) !important;
  box-shadow: 0 3px 10px rgba(20,44,86,.05) !important;
}
body .hero-tabs button { min-height: 38px !important; padding: 0 18px !important; }
.hero h2 { margin: 16px 0 12px !important; font-size: clamp(32px, 4.5vw, 54px) !important; line-height: .98 !important; letter-spacing: -2.2px !important; color: var(--sf-ink) !important; }
.hero h2 em { font-style: normal; color: var(--sf-blue) !important; }
@media (max-width: 760px) { .hero h2 { font-size: 36px !important; letter-spacing: -1.6px !important; max-width: 270px; } }
@media (max-width: 380px) { .hero h2 { font-size: 32px !important; } }
.home-headline { font-size: clamp(19px, 1.8vw, 24px) !important; line-height: 1.35 !important; letter-spacing: -.4px !important; margin: 7px 0 0 !important; }
@media (max-width: 760px) { .home-headline { font-size: 17px !important; } }
.header .global-search, header .global-search { flex: 1 1 320px !important; max-width: 560px !important; }
body .category-tile { aspect-ratio: auto !important; min-height: 112px !important; }
body .category-tile .category-photo { position: static !important; inset: auto !important; width: 65px !important; height: 65px !important; object-fit: contain !important; z-index: auto !important; border-radius: 50% !important; }
body .category-tile .category-label { position: static !important; left: auto !important; right: auto !important; bottom: auto !important; z-index: auto !important; color: var(--sf-ink) !important; text-shadow: none !important; text-align: center !important; font-size: 10px !important; }
@media (max-width: 760px) { body .category-tile .category-photo { width: 54px !important; height: 54px !important; } }
body .category-tile span {
  position: static !important; left: auto !important; right: auto !important; bottom: auto !important;
  margin-top: 7px !important; padding: 0 !important; color: var(--sf-ink) !important;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  text-shadow: none !important; font-size: 10px !important; text-align: center !important;
}
.header-inner { width: 100% !important; max-width: 1240px !important; }
.home-intro > .eyebrow { display: none !important; }
@media (min-width: 1100px) {
  #homeProducts.products { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
}
.product .product-add, .product .add-btn, .product .product-plus, .product [data-action="add-to-cart"] {
  background: var(--sf-blue) !important; color: #fff !important;
}
.product .add { background: var(--sf-blue) !important; color: #fff !important; box-shadow: 0 7px 16px rgba(7,91,216,.22) !important; }
.product .product-name { color: var(--sf-ink) !important; }
.product .product-card-category { color: var(--sf-muted) !important; }
.catalog-directory { margin: 14px 0 8px; }
.catalog-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 12px; }
.catalog-directory .category-tile { min-height: 118px !important; }
@media (max-width: 760px) { .catalog-directory-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; } }
.site-footer { background: #0b1b36 !important; color: #eaf1fb !important; }
.site-footer .footer-main { grid-template-columns: 1.5fr repeat(3, minmax(0,1fr)) !important; gap: 28px !important; }
.site-footer .footer-brand .brand-wordmark { color: #fff !important; }
.site-footer .footer-brand .brand-kicker,
.site-footer .footer-brand-block p,
.site-footer .footer-signature,
.site-footer .footer-links button,
.site-footer .footer-meta { color: #a9b9d0 !important; }
.site-footer .footer-column h3 { color: #8fa3bf !important; text-transform: uppercase; letter-spacing: 1.1px; font-size: 10px !important; }
.site-footer .footer-links button:hover { color: #fff !important; }
.site-footer .footer-meta { border-top-color: rgba(255,255,255,.14) !important; }
@media (max-width: 760px) {
  .site-footer .footer-main { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
}
.storefront-home .page-heading > .eyebrow { display: none !important; }
@media (max-width: 760px) {
  body[data-theme="light"] .storefront-home .hero-art { min-height: 150px !important; }
  body[data-theme="light"] .storefront-home .hero-art img { max-height: 170px !important; }
}
@media (min-width: 1200px) {
  .bottom-nav { display: none !important; }
  body { padding-bottom: 0 !important; }
}
@media (max-width: 1023px) {
  body { padding-bottom: 86px; }
}
footer.site-footer {
  max-width: none !important; width: 100% !important;
  margin: 36px 0 0 !important;
  padding: 34px max(24px, calc((100vw - 1176px) / 2)) 16px !important;
  border-top: 0 !important; border-radius: 0 !important;
  background: #0b1b36 !important; color: #eaf1fb !important;
}
@media (max-width: 760px) {
  footer.site-footer { padding: 26px 18px 14px !important; }
}
footer.site-footer {
  width: auto !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(24px, calc((100vw - 1176px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1176px) / 2)) !important;
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap !important; height: auto !important; padding-bottom: 8px; row-gap: 6px; }
  .global-search { order: 20; flex: 1 0 100% !important; width: 100% !important; max-width: none !important; height: 42px !important; margin: 0 !important; }
  .global-search input { display: block !important; }
  .header-actions { order: 3; margin-left: auto; }
  .header-catalog { order: 2; }
  .storefront-home .hero { display: flex !important; flex-direction: column; }
  .storefront-home .hero-art { order: -1; margin: 0 auto 4px; }
}
