/* ==========================================================================
   Bhom Nutrition — storefront UI (HealthKart-style layout)
   ========================================================================== */

:root {
    --brand: #eb881f;
    --brand-dark: #cf7110;
    --brand-soft: #fff4e8;
    --ink: #14141a;
    --ink-2: #3d3d48;
    --muted: #6b6b78;
    --line: #e7e7ec;
    --bg: #f4f5f7;
    --card: #ffffff;
    --green: #128a4f;
    --green-soft: #e7f6ee;
    --red: #d93a3a;
    --dark: #0d0d12;
    --dark-2: #1a1a22;
    --teal: #25c7b0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 16, 24, .06), 0 2px 8px rgba(16, 16, 24, .05);
    --shadow-lg: 0 12px 32px rgba(16, 16, 24, .14);
    --container: 1280px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-fill { fill: currentColor; }
.muted { color: var(--muted); }
.center { text-align: center; }
.green { color: var(--green); }
.only-sm { display: none !important; }
.page-pad { padding-top: 24px; padding-bottom: 56px; }
.narrow { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, transform .1s;
    background: #ececf0; color: var(--ink);
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.icon-btn {
    display: inline-grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 50%; background: transparent; color: inherit;
}
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--brand); color: #fff; font-size: 13px; font-weight: 500; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar-inner > span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 15px; height: 15px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { text-decoration: underline; }

.header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.menu-toggle { display: none; }
.logo img { height: 52px; width: auto; }

.search { flex: 1; position: relative; display: flex; align-items: center; max-width: 640px; }
.search > .icon { position: absolute; left: 14px; color: var(--muted); }
.search input {
    width: 100%; height: 44px; padding: 0 110px 0 42px; border-radius: 10px; border: 0;
    background: #fff; color: var(--ink); outline: none;
}
.search input:focus { box-shadow: 0 0 0 3px rgba(235,136,31,.45); }
.search .btn { position: absolute; right: 4px; height: 36px; padding: 0 18px; }
.suggest {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60;
}
.suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.is-active { background: var(--brand-soft); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; }
.suggest span { flex: 1; min-width: 0; font-size: 14px; }
.suggest small { display: block; color: var(--muted); font-size: 12px; }
.suggest b { font-size: 14px; }
.suggest .suggest-all { justify-content: center; color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.suggest .suggest-empty { padding: 14px; color: var(--muted); font-size: 14px; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.action {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500;
}
.action:hover { background: rgba(255,255,255,.08); }
.action .icon { width: 22px; height: 22px; }
.cart-count {
    position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
    display: grid; place-items: center; line-height: 1;
}
.cart-count:empty, .cart-count[data-zero] { display: none; }

/* Category nav + mega menu */
.catnav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.catnav-inner { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav-link {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 6px;
    font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.catnav-link:hover, .catnav-link.active { color: var(--brand-dark); background: var(--brand-soft); }
.catnav-link .icon { width: 16px; height: 16px; }
.catnav-link.hot { color: var(--red); margin-left: auto; }
.mega-trigger { font-weight: 700; color: var(--ink); }
.mega { position: static; }
.mega-panel {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(var(--container), 100%);
    display: grid; grid-template-columns: 1fr 1fr 280px; gap: 24px; padding: 24px;
    background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s;
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel { opacity: 1; visibility: visible; }
.mega-col h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 8px; }
.mega-col h4:not(:first-child) { margin-top: 18px; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 14px; }
.mega-col a:hover { background: var(--bg); color: var(--brand-dark); }
.mega-col a .icon { color: var(--brand); width: 17px; height: 17px; }
.mega-col small { margin-left: auto; color: var(--muted); font-size: 12px; }
.mega-promo {
    border-radius: var(--radius); padding: 24px; color: #fff;
    background: linear-gradient(145deg, var(--dark), #3a2410 120%);
    display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.mega-promo span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.mega-promo strong { font-size: 30px; line-height: 1.05; }
.mega-promo em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(10,10,15,.5); z-index: 90; }
.drawer {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; z-index: 100;
    transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; padding-bottom: 24px;
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--dark); color: #fff; }
.drawer-head img { height: 40px; width: auto; }
.drawer-login { display: flex; align-items: center; gap: 10px; margin: 12px 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); font-weight: 600; color: var(--brand-dark); }
.drawer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 16px 16px 6px; }
.drawer > a:not(.drawer-login) { display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 15px; }
.drawer > a:not(.drawer-login):hover { background: var(--bg); }
.drawer > a .icon { color: var(--brand); }

/* ---------- Generic sections ---------- */
.section { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.section-head h2 .icon { color: var(--brand); width: 22px; height: 22px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.section-head.center { justify-content: center; text-align: center; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; color: var(--brand-dark); white-space: nowrap; }
.link-more:hover { text-decoration: underline; }
.link-more .icon { width: 16px; height: 16px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* ---------- Hero carousel ---------- */
.hero { position: relative; margin-top: 16px; }
.hero-track { position: relative; height: 380px; border-radius: 16px; overflow: hidden; background: var(--dark); }
.slide {
    position: absolute; inset: 0; display: flex; align-items: center; gap: 24px; padding: 0 64px;
    opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,12,.85) 0%, rgba(8,8,12,.55) 45%, rgba(8,8,12,0) 75%); }
.slide-copy { position: relative; z-index: 1; color: #fff; max-width: 520px; display: grid; gap: 12px; justify-items: start; }
.slide-copy h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.slide-copy p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 440px; }
.slide-copy .btn { margin-top: 8px; }
.slide-product { position: relative; z-index: 1; margin-left: auto; height: 86%; aspect-ratio: 1; display: grid; place-items: center; }
.slide-product::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: rgba(255,255,255,.12); }
.slide-product img { position: relative; max-height: 92%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); border-radius: 12px; }
.theme-teal { background: radial-gradient(circle at 75% 50%, #1f8f86 0%, #0f3d42 55%, #0b1f24 100%); }
.theme-orange { background: radial-gradient(circle at 75% 50%, #f2a04a 0%, #b9560c 50%, #3b1a05 100%); }
.theme-orange .kicker { color: #ffe1bd; }
.theme-orange .btn-primary { background: #fff; color: var(--brand-dark); }
.theme-dark { background: radial-gradient(circle at 75% 50%, #3a3a4a 0%, #15151c 60%, #0b0b10 100%); }
.hero-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
    border: 0; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
    z-index: 2;
}
.hero-btn.prev { left: 28px; }
.hero-btn.next { right: 28px; }
.dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: width .25s, background .25s; }
.dots button.is-active { width: 26px; background: var(--brand); }

.marquee { background: var(--dark); color: #fff; overflow: hidden; margin-top: 20px; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { padding: 14px 32px; font-weight: 800; letter-spacing: .14em; font-size: 15px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--brand); margin-left: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category circles ---------- */
.cat-circles { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.cat-circle { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 8px 4px; border-radius: var(--radius); }
.cat-img {
    width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden;
    display: grid; place-items: center; border: 2px solid var(--line); transition: border-color .2s, transform .2s;
}
.cat-img img { width: 78%; height: 78%; object-fit: contain; }
.cat-circle:hover .cat-img { border-color: var(--brand); transform: translateY(-3px); }
.cat-circle strong { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cat-circle small { font-size: 12px; color: var(--muted); }

/* ---------- Product card ---------- */
.card {
    position: relative; display: flex; flex-direction: column; background: var(--card);
    border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge-off {
    position: absolute; top: 10px; left: 0; background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
    padding: 3px 10px 3px 8px; border-radius: 0 12px 12px 0;
}
.wish {
    position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
    background: rgba(255,255,255,.95); color: var(--muted); display: grid; place-items: center; z-index: 1;
}
.wish .icon { width: 17px; height: 17px; }
.wish:hover { color: var(--red); }
.wish.is-on { color: var(--red); }
.wish.is-on .icon { fill: currentColor; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.card-brand { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card-title {
    font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.card-title:hover { color: var(--brand-dark); }
.rating-chip {
    display: inline-flex; align-items: center; gap: 3px; align-self: flex-start;
    background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
}
.rating-chip .icon { width: 11px; height: 11px; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.price { font-size: 18px; font-weight: 800; }
.mrp { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.off { font-size: 13px; font-weight: 700; color: var(--green); }
.btn-cart { margin-top: 6px; width: 100%; background: var(--brand-soft); color: var(--brand-dark); border-color: transparent; padding: 9px; }
.btn-cart .icon { width: 16px; height: 16px; }
.btn-cart:hover { background: var(--brand); color: #fff; }
.btn-cart.is-added { background: var(--green); color: #fff; }
.card.is-oos .card-media img { opacity: .45; }
.oos-label { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }

/* ---------- Rails ---------- */
.rail { position: relative; }
.rail-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-btn {
    position: absolute; top: 38%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: opacity .2s;
}
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }

.deals { background: linear-gradient(180deg, #fff1e1 0%, var(--bg) 100%); margin-top: 8px; }
.countdown { font-variant-numeric: tabular-nums; color: #fff; background: var(--ink); padding: 2px 8px; border-radius: 4px; margin-left: 4px; }

/* ---------- Goals ---------- */
.goals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.goal { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.goal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.goal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); z-index: -1; }
.goal:hover img { transform: scale(1.06); }
.goal-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: grid; gap: 4px; }
.goal-copy strong { font-size: 20px; font-weight: 800; }
.goal-copy span { font-size: 13px; color: rgba(255,255,255,.8); }
.goal-copy em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--brand); display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; }
.goal-copy em .icon { width: 15px; height: 15px; }

/* ---------- Promos ---------- */
.promo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promo {
    position: relative; overflow: hidden; border-radius: 16px; padding: 28px; min-height: 180px;
    display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #fff;
}
.promo strong { font-size: 26px; font-weight: 800; max-width: 60%; line-height: 1.15; }
.promo > span:not(.kicker) { color: rgba(255,255,255,.8); max-width: 60%; font-size: 14px; }
.promo-ship { background: linear-gradient(120deg, #0f3d42, #1f8f86); }
.promo-ship .kicker { color: #9ff1e3; }
.promo-icon { position: absolute; right: 24px; bottom: 50%; transform: translateY(50%); width: 120px; height: 120px; opacity: .25; stroke-width: 1.4; }
.promo-combo { background: linear-gradient(120deg, var(--dark), #4a2a0a); }
.promo-combo img { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 38%; max-height: 88%; object-fit: contain; border-radius: 10px; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; text-align: center;
    display: grid; gap: 4px; transition: border-color .2s, box-shadow .2s;
}
.brand-tile strong { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.brand-tile span { font-size: 12px; color: var(--muted); }
.brand-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }

/* ---------- Why / trust ---------- */
.why { background: #fff; border-top: 1px solid var(--line); margin-top: 16px; padding: 44px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid-lg { grid-template-columns: repeat(3, 1fr); }
.why-item { background: var(--bg); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.why-item .icon { width: 30px; height: 30px; color: var(--brand); }
.why-item strong { font-size: 16px; }
.why-item span { color: var(--muted); font-size: 14px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.trust-item .icon { width: 28px; height: 28px; color: var(--green); }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 12px; color: var(--muted); }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--brand); color: #fff; }
.newsletter-inner { display: flex; align-items: center; gap: 24px; padding: 28px 16px; flex-wrap: wrap; }
.newsletter-inner > div { flex: 1 1 260px; }
.newsletter h3 { font-size: 22px; font-weight: 800; }
.newsletter p { opacity: .9; font-size: 14px; }
.newsletter-form { display: flex; gap: 8px; flex: 1 1 320px; }
.newsletter-form input { flex: 1; min-width: 0; height: 46px; border-radius: var(--radius-sm); border: 0; padding: 0 14px; color: var(--ink); }
.newsletter .btn-primary { background: var(--dark); }
.newsletter .btn-primary:hover { background: #000; }

.footer { background: var(--dark); color: #c9c9d3; padding-top: 48px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid > div > a { display: block; padding: 4px 0; }
.footer a:hover { color: var(--brand); }
.footer-brand img { width: 160px; border-radius: 8px; margin-bottom: 14px; }
.footer-brand p { max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); color: #fff; }
.socials a:hover { background: var(--brand); color: #fff; }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { color: var(--brand); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #23232c; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: #8d8d99; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay b { background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 4px; }

.bottom-nav { display: none; }

.toast {
    position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200;
    background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg);
    font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
    animation: toast-in .25s ease;
}
.toast a { color: var(--brand); font-weight: 700; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); padding: 14px 0; }
.crumbs .icon { width: 14px; height: 14px; }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs span { color: var(--ink); font-weight: 500; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: calc(var(--header-h) + 12px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.filters-head strong { display: flex; align-items: center; gap: 8px; }
.filters-head a { color: var(--brand-dark); font-size: 13px; font-weight: 600; }
.fgroup { border-bottom: 1px solid var(--line); padding: 4px 16px 12px; }
.fgroup summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 10px 0; display: flex; justify-content: space-between; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: "−"; color: var(--muted); }
.fgroup:not([open]) summary::after { content: "+"; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); margin: 0; flex-shrink: 0; }
.check span { flex: 1; }
.check small { color: var(--muted); font-size: 12px; }
.brand-search { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; margin-bottom: 6px; font-size: 13px; }
.brand-list { max-height: 220px; overflow-y: auto; }

.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.results-head h1 { font-size: 24px; font-weight: 800; }
.results-head p { color: var(--muted); font-size: 14px; }
.results-tools { display: flex; gap: 10px; align-items: center; }
.sort-form label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort-form select { height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; background: #fff; color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; background: #fff; border: 1px solid var(--brand); color: var(--brand-dark); border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip .icon { width: 14px; height: 14px; }
.chip-clear { border-color: var(--line); color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pager a.is-active, .pager a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 56px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.empty > .icon { width: 48px; height: 48px; color: var(--brand); }
.empty p { color: var(--muted); max-width: 380px; }
.empty .btn { margin-top: 8px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-width: 0; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 16px); }
.thumbs { display: grid; gap: 10px; align-content: start; max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.thumb { width: 76px; height: 76px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 4px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.is-active { border-color: var(--brand); }
.main-img { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 24px; background: #fff; }
.main-img > img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.buybox { display: grid; gap: 14px; align-content: start; }
.pdp-brand { color: var(--brand-dark); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.buybox h1 { font-size: 22px; font-weight: 700; line-height: 1.35; }
.pdp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pdp-price .price { font-size: 30px; }
.pdp-price .mrp, .pdp-price .off { font-size: 16px; }
.tax-note { font-size: 13px; color: var(--muted); margin-top: -8px; }
.tax-note b { color: var(--green); }
.variant { display: grid; gap: 8px; }
.variant-label { font-size: 14px; color: var(--muted); }
.variant-label b { color: var(--ink); }
.variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 8px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; }
.opt:hover { border-color: var(--ink-2); }
.opt.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 150px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; height: 48px; }
.qty button { width: 40px; height: 100%; border: 0; background: var(--bg); display: grid; place-items: center; }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.offers { border: 1px dashed var(--brand); background: var(--brand-soft); border-radius: var(--radius); padding: 14px 16px; }
.offers h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.offers h3 .icon { color: var(--brand-dark); }
.offers ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pincode label { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.pincode-row { display: flex; gap: 8px; }
.pincode-row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; }
.pincode-row input:focus { border-color: var(--brand); outline: none; }
.pincode-msg { font-size: 13px; margin-top: 8px; color: var(--green); font-weight: 500; }
.pincode-msg.is-error { color: var(--red); }
.pdp-trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pdp-trust li { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.pdp-trust .icon { width: 26px; height: 26px; color: var(--green); }

.pdp-tabs { margin-top: 20px; }
.tab-list { display: flex; gap: 4px; border-bottom: 2px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list button { border: 0; background: none; padding: 12px 18px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab-list button.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.tab-panel { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 24px; }
.prose { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.prose > * + * { margin-top: 12px; }
.prose h1 { font-size: 28px; color: var(--ink); margin-bottom: 4px; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 22px; font-size: 18px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--brand-dark); text-decoration: underline; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 200px; color: var(--muted); font-weight: 500; background: var(--bg); }
.sticky-buy { display: none; }

/* ---------- Cart ---------- */
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-bottom: 32px; }
.cart-items { display: grid; gap: 14px; }
.cart-head h1 { font-size: 24px; font-weight: 800; }
.cart-head h1 span { color: var(--muted); font-weight: 500; font-size: 16px; }
.ship-progress { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.ship-progress p { margin-bottom: 8px; }
.ship-progress .bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .3s; }
.cart-list { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-item img { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px; background: #fff; }
.cart-item-info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.cart-item-info small { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 600; }
.cart-item-info a { font-weight: 600; font-size: 15px; }
.cart-item-info a:hover { color: var(--brand-dark); }
.cart-item-info .variant-note { font-size: 13px; color: var(--muted); }
.cart-item-side { display: grid; justify-items: end; align-content: space-between; gap: 10px; }
.cart-item-side .qty { height: 38px; }
.cart-item-side .qty button { width: 34px; }
.cart-item-side .qty input { width: 36px; }
.remove { border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px; }
.remove:hover { color: var(--red); }
.summary { position: sticky; top: calc(var(--header-h) + 12px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.summary h2 { font-size: 18px; }
.summary dl { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.summary dl div { display: flex; justify-content: space-between; }
.summary dd { margin: 0; font-weight: 600; }
.summary .total { border-top: 1px dashed var(--line); padding-top: 12px; font-size: 17px; font-weight: 800; }
.summary .total dd { font-weight: 800; }
.save-note { background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: var(--radius-sm); }
.save-note:empty { display: none; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; text-transform: uppercase; }
.summary .trust { grid-template-columns: 1fr 1fr; margin-top: 4px; gap: 8px; }
.summary .trust-item { padding: 10px; gap: 8px; }
.summary .trust-item .icon { width: 22px; height: 22px; }
.summary .trust-item span { display: none; }
.cart-page.is-empty { grid-template-columns: 1fr; }
.cart-page.is-empty .summary, .cart-page.is-empty .ship-progress { display: none; }

/* ---------- Forms, auth, misc pages ---------- */
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.field input, .field textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; font-weight: 400; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(235,136,31,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form-card h2 { font-size: 20px; margin-bottom: 16px; }
.page-intro { margin-bottom: 24px; max-width: 680px; }
.page-intro.center { margin-inline: auto; display: grid; justify-items: center; }
.page-intro h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.page-intro p { color: var(--muted); }
.big-icon { width: 48px; height: 48px; color: var(--brand); margin-bottom: 10px; }

.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 920px; margin-top: 24px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); padding: 0; }
.auth-art { position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; padding: 28px; isolation: isolate; }
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.85)); z-index: -1; }
.auth-art h2 { font-size: 26px; margin-bottom: 12px; }
.auth-art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.auth-art li { display: flex; gap: 8px; align-items: center; }
.auth-art li .icon { color: var(--brand); }
.auth-card { padding: 40px 32px; display: grid; gap: 14px; align-content: center; }
.auth-card h1 { font-size: 24px; font-weight: 800; }
.phone-input { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.phone-input b { padding: 0 12px; color: var(--muted); border-right: 1px solid var(--line); }
.phone-input input { border: 0 !important; box-shadow: none !important; }
.phone-input:focus-within { border-color: var(--brand); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fine { font-size: 12px; color: var(--muted); }
.fine a { color: var(--brand-dark); text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-card > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); }
.contact-card strong { display: block; }
.contact-card span { display: block; color: var(--muted); font-size: 13px; }
.contact-card b { display: block; margin-top: 4px; color: var(--ink); }
a.contact-card:hover { border-color: var(--brand); }

.timeline { list-style: none; margin: 24px 0 8px; padding: 0 0 0 8px; }
.timeline li { position: relative; padding: 0 0 22px 28px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.timeline li.done { border-left-color: var(--green); }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: 14px; }

.page-hero { position: relative; color: #fff; padding: 96px 0; isolation: isolate; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,12,.9), rgba(8,8,12,.4)); z-index: -1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin: 8px 0 12px; }
.page-hero p { max-width: 560px; font-size: 17px; color: rgba(255,255,255,.85); }
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-split h2 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.about-split p { color: var(--ink-2); font-size: 16px; }
.about-img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; }
.about-stats { display: flex; gap: 32px; margin: 24px 0; }
.about-stats strong { display: block; font-size: 32px; font-weight: 800; color: var(--brand); }
.about-stats span { color: var(--muted); font-size: 14px; }

.policy { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.policy-nav { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: calc(var(--header-h) + 12px); }
.policy-nav a { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.policy-nav a:hover { background: var(--bg); }
.policy-nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.policy .prose { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .rail-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
    .grid { grid-template-columns: repeat(3, 1fr); }
    .cat-circles { grid-template-columns: repeat(9, 104px); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .brands { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .rail-btn.prev { left: -6px; }
    .rail-btn.next { right: -6px; }
}

@media (max-width: 900px) {
    :root { --header-h: 60px; }
    .only-sm { display: inline-flex !important; }
    .hide-sm { display: none !important; }
    .topbar .topbar-links { display: none; }
    .topbar-inner { justify-content: center; }

    .header-inner { flex-wrap: wrap; height: auto; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
    .menu-toggle { display: inline-grid; margin-left: -8px; }
    .logo img { height: 42px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .search input { height: 42px; padding-right: 16px; }
    .search .btn { display: none; }
    .action { padding: 6px 8px; }
    .action span { display: none; }
    .cart-count { top: 0; right: 0; }
    .header { position: relative; }
    .catnav { display: none; }

    .hero { margin-top: 12px; }
    .hero-track { height: 340px; }
    .slide { padding: 24px; flex-direction: column-reverse; justify-content: center; text-align: left; gap: 8px; align-items: flex-start; }
    .slide-copy { gap: 8px; }
    .slide-copy p { font-size: 14px; }
    .slide-product { position: absolute; right: -24px; top: 10px; height: 52%; margin: 0; opacity: .9; }
    .slide-copy { z-index: 2; }
    .slide--product .slide-copy { margin-top: auto; }
    .hero-btn { display: none; }

    .section { padding: 20px 0; }
    .section-head h2 { font-size: 19px; }
    .rail-track { grid-auto-columns: calc((100% - 2 * 12px) / 2.4); gap: 12px; }
    .rail-btn { display: none; }
    .goals { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .promo-duo { grid-template-columns: 1fr; }
    .brands { grid-template-columns: repeat(3, 1fr); }
    .why-grid, .why-grid-lg { grid-template-columns: repeat(2, 1fr); }
    .trust { grid-template-columns: repeat(2, 1fr); }

    .listing { grid-template-columns: minmax(0, 1fr); }
    .filters {
        position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; z-index: 100; border-radius: 16px 16px 0 0;
        transform: translateY(105%); transition: transform .25s ease;
    }
    .filters.is-open { transform: none; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .results-head { flex-wrap: wrap; }

    .pdp { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 20px; }
    .gallery { position: static; grid-template-columns: minmax(0, 1fr); }
    .thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; }
    .thumb { width: 64px; height: 64px; }
    .pdp-trust { grid-template-columns: repeat(2, 1fr); }
    .sticky-buy {
        display: flex; position: fixed; left: 0; right: 0; bottom: 60px; z-index: 70; background: #fff; padding: 10px 16px;
        border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .sticky-buy .price { font-size: 20px; margin-right: 6px; }
    .spec th { width: 120px; }

    .cart-page { grid-template-columns: minmax(0, 1fr); }
    .summary { position: static; }
    .auth { grid-template-columns: 1fr; }
    .auth-art { min-height: 220px; }
    .auth-card { padding: 28px 20px; }
    .contact-grid, .about-split, .policy { grid-template-columns: 1fr; }
    .policy-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
    .policy-nav a { white-space: nowrap; }
    .policy .prose { padding: 20px; }

    .footer-grid { gap: 24px; }
    body { padding-bottom: 60px; }
    .bottom-nav {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        background: #fff; border-top: 1px solid var(--line); height: 60px;
    }
    .bottom-nav a { position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--muted); }
    .bottom-nav a.active { color: var(--brand-dark); }
    .bottom-nav .icon { width: 22px; height: 22px; }
    .bottom-nav .cart-count { top: 6px; right: calc(50% - 22px); }
    .toast { bottom: 76px; }
    body:has(.sticky-buy) .toast { bottom: 140px; }
}

@media (max-width: 560px) {
    .hero-track { height: 380px; }
    .slide-product { height: 44%; right: -12px; }
    .rail-track { grid-auto-columns: 46%; }
    .brands { grid-template-columns: repeat(2, 1fr); }
    .why-grid, .why-grid-lg, .trust { grid-template-columns: 1fr; }
    .goal { aspect-ratio: 3 / 4; }
    .goal-copy { padding: 12px; }
    .goal-copy strong { font-size: 16px; }
    .goal-copy span { display: none; }
    .promo strong { font-size: 21px; max-width: 64%; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-body { padding: 10px; }
    .price { font-size: 16px; }
    .btn-cart { font-size: 13px; padding: 8px 6px; }
    .cart-item { grid-template-columns: 72px 1fr; }
    .cart-item img { width: 72px; height: 72px; }
    .cart-item-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .field-row { grid-template-columns: 1fr; }
    .buy-row .qty { width: 100%; justify-content: space-between; }
    .buy-row .qty input { flex: 1; }
    .newsletter-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
