:root {
      --bg: #0b1220;
      --surface: #0f172a;
      --fg: #f8fafc;
      --muted: #94a3b8;
      --border: #1e293b;
      --accent: #2563eb;
      --action: #22c55e;
      --danger: #ef4444;
      --warn: #f59e0b;
      --accent-on: #ffffff;
      --surface-2: #111c32;
      --chip: #17233b;
      --shadow: rgba(0, 0, 0, 0.24);
      --overlay: rgba(2, 6, 23, 0.72);
      --focus-ring: #60a5fa;
      --font-display: "Nike Futura ND", "Helvetica Now Display Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --font-body: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
      --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
      --fs-h1: clamp(40px, 5.8vw, 82px);
      --fs-h2: clamp(30px, 4vw, 48px);
      --fs-h3: 22px;
      --fs-lead: 18px;
      --fs-body: 16px;
      --fs-meta: 13px;
      --gap-xs: 8px;
      --gap-sm: 12px;
      --gap-md: 20px;
      --gap-lg: 32px;
      --gap-xl: 56px;
      --gap-2xl: 88px;
      --container: 1440px;
      --gutter: clamp(16px, 4vw, 48px);
      --radius: 14px;
      --radius-lg: 22px;
      --radius-pill: 30px;
      --motion-fast: 120ms;
      --motion-base: 220ms;
      --motion-slow: 360ms;
      --motion-stagger: 52ms;
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-press: cubic-bezier(0.2, 0, 0, 1);
    }

    [data-theme="light"] {
      --bg: #f8fafc;
      --surface: #ffffff;
      --fg: #0b1220;
      --muted: #475569;
      --border: #e2e8f0;
      --surface-2: #f1f5f9;
      --chip: #eef4ff;
      --shadow: rgba(15, 23, 42, 0.10);
      --overlay: rgba(248, 250, 252, 0.78);
      --focus-ring: #2563eb;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
    body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
    body.menu-open, body.cart-open, body.product-modal-open, body.filters-open { overflow: hidden; }
    img, svg { display: block; max-width: 100%; }
    a { color: inherit; text-decoration: none; }
    button, input, select, textarea { font: inherit; }
    button { cursor: pointer; }
    p { text-wrap: pretty; }
    h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
    .skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--fg); color: var(--bg); font-weight: 900; transform: translateY(-160%); transition: transform var(--motion-base) var(--ease-out); }
    .skip-link:focus-visible { transform: translateY(0); outline: 3px solid var(--focus-ring); outline-offset: 2px; }
    .container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); min-width: 0; }
    .section { padding-block: clamp(48px, 8vw, var(--gap-2xl)); }
    .section + .section { border-top: 1px solid var(--border); }
    .stack { display: flex; flex-direction: column; gap: var(--gap-md); }
    .row { display: flex; align-items: center; gap: var(--gap-md); }
    .row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
    .grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: var(--gap-lg); align-items: start; }
    .h1, h1 { font-size: var(--fs-h1); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; margin: 0; }
    .h2, h2 { font-size: var(--fs-h2); line-height: 0.98; letter-spacing: -0.03em; text-transform: uppercase; margin: 0; }
    .h3, h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
    .lead { font-size: var(--fs-lead); color: var(--muted); max-width: 58ch; margin: 0; }
    .eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0; }
    .meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
    .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
    .promo-bar { background: var(--fg); color: var(--bg); font-size: 12px; font-weight: 700; text-align: center; padding: 8px var(--gutter); letter-spacing: 0.02em; }
    .topnav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklch, var(--bg) 94%, transparent); border-bottom: 1px solid var(--border); }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topnav { background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
    .topnav-inner { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: var(--gap-md); padding-block: 14px; }
    .logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; }
    .logo > span:last-child { display: grid; gap: 2px; line-height: 1.05; }
    .logo-tagline { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; }
    .logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; overflow: hidden; }
    .logo-mark.has-image { background: var(--surface); border: 1px solid var(--border); }
    .logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .desktop-nav { display: flex; justify-content: center; gap: var(--gap-lg); }
    .desktop-nav a, .mobile-menu a { color: var(--muted); font-size: 14px; font-weight: 700; }
    .desktop-nav a:hover, .mobile-menu a:hover { color: var(--fg); }
    .nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--gap-xs); }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: var(--radius-pill); border: 1px solid transparent; font-size: 15px; font-weight: 800; transition: transform var(--motion-fast) var(--ease-press), background-color var(--motion-base) var(--ease-out), border-color var(--motion-base) var(--ease-out), opacity var(--motion-base) var(--ease-out); }
    .btn:active { transform: translateY(1px); }
    .btn:focus-visible, .input:focus-visible, .textarea:focus-visible, .select:focus-visible, .tag:focus-visible, .category-card:focus-visible, .product-image:focus-visible, .qty button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
    .btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.58; transform: none; }
    a.btn[aria-disabled="true"] { pointer-events: none; }
    .btn-primary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
    .btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, var(--fg)); }
    .btn-action { background: var(--action); color: var(--accent-on); border-color: var(--action); }
    .btn-action:hover { background: color-mix(in oklch, var(--action) 86%, var(--fg)); }
    .btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
    .btn-secondary:hover { border-color: var(--fg); background: var(--surface-2); }
    .btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 12px; }
    .btn-ghost:hover { background: var(--surface-2); }
    .icon-btn { width: 44px; height: 44px; border-radius: 50%; padding: 0; position: relative; }
    .theme-toggle { overflow: hidden; isolation: isolate; }
    .theme-icon { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: rotate(-90deg) scale(0.72); transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-slow) var(--ease-enter); }
    .theme-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
    .theme-toggle[data-theme-icon="sun"] .theme-icon-sun,
    .theme-toggle[data-theme-icon="moon"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
    .theme-toggle[data-theme-icon="sun"] .theme-icon-moon { transform: rotate(90deg) scale(0.72); }
    .theme-toggle[data-theme-icon="moon"] .theme-icon-sun { transform: rotate(-90deg) scale(0.72); }
    .cart-count { position: absolute; top: -4px; right: -2px; min-width: 20px; height: 20px; border-radius: 50%; background: var(--action); color: var(--accent-on); display: grid; place-items: center; font-size: 11px; font-weight: 900; }
    .mobile-only { display: none; }
    .search-wrap { position: relative; width: min(360px, 100%); }
    .search-wrap input { padding-left: 42px; }
    .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
    .input, .textarea, .select { width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--fg); }
    .textarea { min-height: 96px; resize: vertical; }
    .field { display: flex; flex-direction: column; gap: 6px; }
    .field label { font-size: 13px; font-weight: 800; color: var(--muted); }
    .hero { padding-block: clamp(24px, 4vw, 42px); }
    .hero-frame { border: 1px solid var(--border); border-radius: calc(var(--radius-lg) + 8px); background: radial-gradient(circle at 42% 42%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 30%), linear-gradient(145deg, color-mix(in oklch, var(--surface-2) 76%, transparent), var(--surface)); box-shadow: 0 24px 80px var(--shadow); padding: clamp(12px, 1.6vw, 18px); }
    .hero-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(360px, 1.28fr) minmax(260px, .72fr); gap: var(--gap-sm); align-items: stretch; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr); gap: var(--gap-lg); align-items: stretch; }
    .hero-copy { background: color-mix(in oklch, var(--surface) 80%, transparent); border: 1px solid color-mix(in oklch, var(--border) 86%, transparent); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 22px 70px var(--shadow); }
    .hero-copy h1 { max-width: 10.6ch; margin-block: 8px 10px; overflow-wrap: anywhere; word-break: normal; }
    .hero-cta { display: flex; flex-wrap: wrap; gap: var(--gap-sm); margin-top: 12px; }
    .hero-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-xs); margin-top: 10px; }
    .hero-benefits span { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; background: color-mix(in oklch, var(--surface-2) 82%, transparent); display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 3px 8px; align-items: center; }
    .hero-benefits .landing-icon { grid-row: 1 / span 2; width: 36px; height: 36px; }
    .hero-benefits strong { display: block; font-size: 13px; line-height: 1.15; }
    .hero-benefits small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 11px; line-height: 1.35; }
    .hero-visual { min-height: 300px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: radial-gradient(circle at 72% 22%, color-mix(in oklch, var(--accent) 36%, transparent), transparent 28%), linear-gradient(145deg, var(--surface-2), var(--surface)); position: relative; box-shadow: 0 22px 70px var(--shadow); }
    .product-stage { position: absolute; inset: 28px; display: grid; grid-template-columns: 1fr 0.85fr; gap: var(--gap-md); align-items: end; }
    .featured-pack { width: 100%; height: 100%; min-height: 260px; border-radius: var(--radius); background: linear-gradient(150deg, color-mix(in oklch, var(--accent) 34%, var(--surface)), color-mix(in oklch, var(--action) 24%, var(--surface-2))); background-size: cover; background-position: center; display: grid; align-content: end; justify-items: start; gap: var(--gap-sm); padding: 18px; overflow: hidden; position: relative; isolation: isolate; }
    .featured-pack::before { content: ""; position: absolute; width: 360px; height: 180px; border: 1px solid color-mix(in oklch, var(--fg) 18%, transparent); border-radius: 999px; transform: rotate(-22deg); top: 96px; left: -22px; z-index: 0; }
    .featured-pack::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.45)); opacity: 0; pointer-events: none; z-index: 0; }
    .featured-pack.has-hero-image::before { opacity: 0; }
    .featured-pack.has-hero-image::after { opacity: 1; }
    .hero-media-badge { position: relative; z-index: 1; display: inline-flex; align-items: center; max-width: min(100%, 32ch); padding: 7px 12px; border: 1px solid color-mix(in oklch, #ffffff 22%, transparent); border-radius: var(--radius-pill); background: rgba(2, 6, 23, 0.55); color: #f8fafc; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hero-trust-badges { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--gap-sm); padding: 10px; border: 1px solid color-mix(in oklch, #ffffff 16%, transparent); border-radius: var(--radius-lg); background: rgba(2, 6, 23, 0.48); }
    .trust-badge { display: inline-flex; align-items: center; gap: 8px; color: #f8fafc; font-size: 13px; font-weight: 900; }
    .trust-badge .landing-icon { width: 30px; height: 30px; color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
    .trust-badge .landing-icon svg { width: 17px; height: 17px; }
    .mini-stack { display: grid; gap: var(--gap-sm); align-content: stretch; }
    .mini-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; background: color-mix(in oklch, var(--surface) 94%, transparent); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
    .mini-card h3 { font-size: 15px; }
    .mini-card p { margin: 3px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
    .landing-icon { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--accent); background: color-mix(in oklch, var(--accent) 18%, transparent); }
    .landing-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .hero-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: color-mix(in oklch, var(--surface) 78%, transparent); }
    .hero-info-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; }
    .hero-info-card + .hero-info-card { border-left: 1px solid var(--border); padding-left: 10px; }
    .hero-info-card h3 { font-size: 14px; text-transform: none; letter-spacing: 0; }
    .hero-info-card p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
    .hero-info-card a { display: inline-flex; margin-top: 5px; color: var(--accent); font-weight: 800; font-size: 13px; }
    .hero-info-card .store-badge { margin-top: 7px; width: fit-content; }
    @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .mini-card { background: color-mix(in oklch, var(--surface) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } }
    .pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; background: color-mix(in oklch, var(--accent) 14%, transparent); color: var(--accent); border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }
    .tag { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; background: var(--chip); color: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 13px; font-weight: 800; }
    .tag.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
    .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 16px 42px var(--shadow); }
    .card-flat { background: transparent; border: 0; padding: 0; box-shadow: none; }
    .category-card, .promo-card, .event-card { min-height: 210px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(145deg, var(--surface-2), var(--surface)); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: transform var(--motion-base) var(--ease-enter), border-color var(--motion-base) var(--ease-out), background-color var(--motion-base) var(--ease-out); text-align: left; color: var(--fg); contain: layout paint; }
    @media (hover: hover) and (pointer: fine) { .category-card:hover, .promo-card:hover, .event-card:hover, .product-card:hover { transform: translate3d(0, -2px, 0); border-color: color-mix(in oklch, var(--fg) 36%, var(--border)); } .category-card:hover, .promo-card:hover, .event-card:hover, .product-card:hover, .btn:hover { will-change: transform; } }
    .visual-orb { width: 112px; height: 112px; align-self: flex-end; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--accent-on), color-mix(in oklch, var(--accent) 42%, var(--surface)) 42%, var(--surface-2)); border: 1px solid var(--border); }
    .catalog-section { background: radial-gradient(circle at 70% 8%, color-mix(in oklch, var(--accent) 14%, transparent), transparent 34%), linear-gradient(180deg, transparent, color-mix(in oklch, var(--surface-2) 22%, transparent)); }
    .catalog-shell { gap: 18px; }
    .catalog-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-lg); align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
    .catalog-heading { display: grid; gap: 8px; min-width: 0; }
    .catalog-heading h2 { max-width: 760px; font-size: clamp(32px, 4.5vw, 60px); line-height: .95; }
    .catalog-heading .result-meta { margin: 0; }
    .catalog-refresh { min-width: 210px; box-shadow: 0 16px 42px color-mix(in oklch, var(--accent) 34%, transparent); }
    .catalog-trust-note { margin: 2px 0 0; color: var(--muted); text-align: center; font-weight: 700; }
    .product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
    .product-card { background: linear-gradient(180deg, color-mix(in oklch, var(--surface-2) 54%, transparent), var(--surface)); border: 1px solid color-mix(in oklch, var(--fg) 14%, var(--border)); border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--motion-base) var(--ease-enter), border-color var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out); box-shadow: 0 14px 36px var(--shadow); contain: layout paint; }
    .product-image { width: 100%; aspect-ratio: 4 / 3; border: 0; color: var(--fg); background: radial-gradient(circle at 50% 72%, color-mix(in oklch, var(--accent) 22%, transparent), transparent 34%), linear-gradient(145deg, var(--surface-2), color-mix(in oklch, var(--accent) 12%, var(--surface))); display: grid; place-items: center; position: relative; overflow: hidden; }
    .product-card .product-image img { object-fit: contain; padding: 10px; }
    .product-image::before { content: ""; position: absolute; width: 68%; height: 38%; border-radius: 999px; border: 1px solid color-mix(in oklch, var(--fg) 20%, transparent); transform: rotate(-22deg); }
    .product-initial { position: relative; font-family: var(--font-display); font-size: clamp(54px, 7vw, 88px); line-height: 1; letter-spacing: -0.08em; text-transform: uppercase; }
    .product-body { padding: 14px; display: grid; gap: 9px; border-top: 1px solid color-mix(in oklch, var(--fg) 10%, transparent); }
    .product-title { display: flex; justify-content: space-between; gap: var(--gap-sm); align-items: start; }
    .product-title h3 { display: -webkit-box; min-height: 42px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 18px; line-height: 1.15; text-transform: uppercase; }
    .product-price-row { display: flex; align-items: baseline; gap: 8px; }
    .price { font-weight: 900; font-size: 22px; }
    .old-price { color: var(--muted); text-decoration: line-through; font-size: 13px; }
    .stock { color: var(--action); font-size: 12px; font-weight: 900; display: inline-flex; align-items: center; gap: 7px; }
    .stock.out { color: var(--danger); }
    .stock-dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 0 3px color-mix(in oklch, var(--surface-2) 70%, transparent); }
    .product-actions { display: grid; grid-template-columns: 1fr 42px; gap: var(--gap-xs); align-items: center; margin-top: 4px; }
    .product-actions .btn { width: 100%; }
    .result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap-xs); color: var(--muted); }
    .status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 4px color-mix(in oklch, var(--action) 16%, transparent); }
    .result-meta.failed .status-dot { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in oklch, var(--danger) 16%, transparent); }
    .filters { position: sticky; top: 92px; }
    .filter-row { display: grid; grid-template-columns: minmax(280px, 1.6fr) repeat(4, minmax(140px, .8fr)); gap: var(--gap-sm); align-items: center; }
    .catalog-section .input,
    .catalog-section .select { min-height: 54px; border-radius: 16px; background: color-mix(in oklch, var(--surface) 86%, transparent); }
    .catalog-section .quick-tags { gap: 10px; }
    .catalog-section .tag { min-height: 40px; padding-inline: 16px; background: color-mix(in oklch, var(--surface-2) 82%, transparent); }
    .catalog-section .tag.active { background: var(--accent); color: var(--accent-on); border-color: var(--accent); box-shadow: 0 10px 28px color-mix(in oklch, var(--accent) 28%, transparent); }
    .checkbox-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
    .state-box { display: none; min-height: 260px; place-items: center; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 32px; }
    .state-box.active { display: grid; }
    .loader { width: 48px; height: 48px; border-radius: 50%; border: 4px solid var(--border); border-top-color: var(--accent); animation: spin 1.1s linear infinite; margin: 0 auto 18px; will-change: transform; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .detail-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: var(--gap-lg); }
    .detail-media { min-height: 520px; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface-2), color-mix(in oklch, var(--accent) 18%, var(--surface))); display: grid; place-items: center; border: 1px solid var(--border); overflow: hidden; }
    .detail-media .product-initial { font-size: clamp(110px, 18vw, 220px); }
    .load-more-wrap { display: flex; justify-content: center; padding-top: var(--gap-md); }
    .product-modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: clamp(16px, 4vw, 40px); background: var(--overlay); }
    .product-modal.open { display: grid; }
    .product-modal-card { width: min(1340px, 100%); max-height: min(860px, calc(100vh - 32px)); overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: 0 28px 90px var(--shadow); position: relative; }
    .product-modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; background: color-mix(in oklch, var(--surface) 86%, transparent); }
    .product-modal .detail-shell { padding: clamp(18px, 3vw, 40px); }
    .product-modal .detail-media { min-height: clamp(320px, 48vw, 630px); }
    .qty { display: inline-grid; grid-template-columns: 44px 56px 44px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
    .qty button { height: 44px; border: 0; background: transparent; color: var(--fg); font-weight: 900; }
    .qty button:disabled { cursor: not-allowed; color: var(--muted); opacity: 0.48; }
    .qty span, .qty input { text-align: center; border: 0; background: transparent; color: var(--fg); font-weight: 900; }
    .cart-panel { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); background: var(--surface); z-index: 60; border-left: 1px solid var(--border); transform: translate3d(104%, 0, 0); transition: transform var(--motion-slow) var(--ease-enter); display: grid; grid-template-rows: auto 1fr auto; box-shadow: -24px 0 80px var(--shadow); contain: layout paint; }
    .cart-panel.open { transform: translate3d(0, 0, 0); will-change: transform; }
    .scrim { position: fixed; inset: 0; background: var(--overlay); z-index: 50; opacity: 0; pointer-events: none; transition: opacity var(--motion-base) var(--ease-out); }
    .scrim.open { opacity: 1; pointer-events: auto; }
    .cart-head, .cart-foot { padding: 20px; border-bottom: 1px solid var(--border); }
    .cart-head.row-between { flex-direction: row; align-items: center; justify-content: space-between; }
    #closeCart { flex: 0 0 44px; width: 44px; min-width: 44px; max-width: 44px; height: 44px; align-self: center; }
    .cart-foot { border-bottom: 0; border-top: 1px solid var(--border); }
    .cart-list { padding: 20px; overflow: auto; display: grid; gap: var(--gap-sm); align-content: start; }
    .cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: var(--gap-sm); align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); }
    .thumb { width: 70px; height: 70px; border-radius: var(--radius); background: var(--surface-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; font-weight: 900; }
    .summary-line { display: flex; justify-content: space-between; gap: var(--gap-md); margin-top: 10px; color: var(--muted); }
    .summary-line strong { color: var(--fg); }
    .checkout-hint { border: 1px solid color-mix(in oklch, var(--accent) 32%, var(--border)); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); border-radius: var(--radius); padding: 12px; }
    .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr); gap: var(--gap-lg); }
    .form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-md); }
    .success-box { display: none; border: 1px solid color-mix(in oklch, var(--action) 42%, var(--border)); background: color-mix(in oklch, var(--action) 12%, var(--surface)); border-radius: var(--radius-lg); padding: 22px; }
    .success-box.active { display: block; }
    .store-badge { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid color-mix(in oklch, var(--action) 32%, var(--border)); background: color-mix(in oklch, var(--action) 10%, transparent); color: var(--action); font-family: var(--font-mono); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
    .store-badge::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; box-shadow: 0 0 0 4px color-mix(in oklch, var(--action) 18%, transparent); }
    .product-card[data-live="true"] .product-image { background: radial-gradient(circle at 68% 24%, color-mix(in oklch, var(--action) 28%, transparent), transparent 34%), linear-gradient(145deg, var(--surface-2), color-mix(in oklch, var(--accent) 14%, var(--surface))); }
    .order-loading { opacity: .7; pointer-events: none; }
    .mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 70; padding: 18px var(--gutter); transform: translate3d(0, -104%, 0); transition: transform var(--motion-slow) var(--ease-enter); display: grid; align-content: start; gap: var(--gap-lg); contain: layout paint; }
    .mobile-menu.open { transform: translate3d(0, 0, 0); will-change: transform; }
    .catalog-mobile-actions, .mobile-filter-actions, .mobile-bottom-nav { display: none; }
    .floating-whatsapp {
      position: fixed;
      right: clamp(16px, 3vw, 30px);
      bottom: clamp(18px, 3vw, 30px);
      z-index: 46;
      width: 58px;
      height: 58px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      color: #ffffff;
      background: linear-gradient(145deg, #2f80ff, #16a34a);
      border: 1px solid color-mix(in oklch, #ffffff 22%, transparent);
      box-shadow: 0 18px 42px color-mix(in oklch, var(--action) 34%, transparent), 0 0 0 8px color-mix(in oklch, var(--accent) 10%, transparent);
      transition: transform var(--motion-base) var(--ease-enter), opacity var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out);
      animation: floatingWhatsAppIn var(--motion-slow) var(--ease-enter) both;
    }
    .floating-whatsapp svg {
      width: 31px;
      height: 31px;
      fill: currentColor;
    }
    .floating-whatsapp:hover {
      transform: translateY(-2px) scale(1.04);
      box-shadow: 0 22px 52px color-mix(in oklch, var(--action) 42%, transparent), 0 0 0 10px color-mix(in oklch, var(--accent) 12%, transparent);
    }
    .floating-whatsapp:active { transform: translateY(0) scale(.96); }
    .floating-whatsapp:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
    body.cart-open .floating-whatsapp,
    body.menu-open .floating-whatsapp,
    body.product-modal-open .floating-whatsapp,
    body.filters-open .floating-whatsapp {
      opacity: 0;
      transform: translate3d(0, 18px, 0) scale(.88);
      pointer-events: none;
    }
    @keyframes floatingWhatsAppIn {
      from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.84); }
      to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
    .hidden { display: none !important; }
    .product-image img, .detail-media img { width: 100%; height: 100%; object-fit: cover; }
    @media (max-width: 1120px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .hero-grid, .detail-shell, .checkout-grid { grid-template-columns: 1fr; } .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); } .hero-layout .mini-stack { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-info-card + .hero-info-card { border-left: 0; padding-left: 0; } .hero-visual { min-height: 300px; } }
    @media (max-width: 920px) { .grid-2, .grid-3, .grid-4, .grid-2-1 { grid-template-columns: 1fr; } .desktop-nav, .desktop-search { display: none; } .mobile-only { display: inline-flex; } .topnav-inner { grid-template-columns: auto 1fr auto; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .filter-row { grid-template-columns: 1fr; } .filters { position: static; } .hero-layout { grid-template-columns: 1fr; } .product-stage { position: relative; inset: auto; grid-template-columns: 1fr; padding: 20px; } .hero-visual { min-height: auto; } .featured-pack { min-height: 260px; } .pagefoot .row-between { align-items: flex-start; flex-direction: column; } .product-modal { padding: 10px; } .product-modal-card { max-height: calc(100vh - 20px); } }
    @media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .hero-copy { padding: 24px; } .row-between { align-items: flex-start; flex-direction: column; } .nav-actions { gap: 6px; } .logo span:last-child { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cart-item { grid-template-columns: 56px 1fr; } .cart-item > .row { grid-column: 1 / -1; justify-content: space-between; } .thumb { width: 56px; height: 56px; } }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; } .category-card, .promo-card, .event-card, .product-card, .cart-panel, .mobile-menu, .loader, .btn { will-change: auto !important; } }
.quick-tags,
.contact-actions { flex-wrap: wrap; }
.btn-spaced { margin-top: 18px; }
.error-message { color: var(--danger); }
.cart-checkout { width: 100%; margin-top: 16px; }
.related-products { flex-wrap: wrap; margin-top: 12px; }

@media (max-width: 920px) {
  .section { padding-block: clamp(36px, 7vw, 64px); }
  .catalog-head { grid-template-columns: 1fr; gap: 14px; padding-bottom: 16px; }
  .catalog-heading h2 { font-size: clamp(30px, 8vw, 46px); }
  .catalog-refresh { width: 100%; min-width: 0; }
  .quick-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .quick-tags .tag { flex: 0 0 auto; scroll-snap-align: start; }
  .load-more-wrap .btn { min-width: min(360px, 100%); }
}

@media (max-width: 640px) {
  :root {
    --fs-h1: clamp(38px, 13vw, 58px);
    --fs-h2: clamp(25px, 8vw, 34px);
    --fs-h3: 18px;
    --fs-lead: 15px;
    --fs-body: 15px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gutter: 16px;
  }

  html { scroll-padding-top: 76px; }
  body { max-width: 100%; padding-bottom: calc(96px + env(safe-area-inset-bottom)); overflow-x: hidden; }
  main,
  section,
  .container,
  .topnav-inner,
  .hero-grid,
  .product-stage,
  .checkout-grid,
  .product-grid,
  .filter-row,
  .row,
  .row-between { max-width: 100%; min-width: 0; }
  body.cart-open .mobile-bottom-nav,
  body.menu-open .mobile-bottom-nav,
  body.product-modal-open .mobile-bottom-nav,
  body.filters-open .mobile-bottom-nav { transform: translate3d(0, 112%, 0); pointer-events: none; }
  body.filters-open .scrim { opacity: 1; pointer-events: auto; }

  .promo-bar { padding-block: calc(6px + env(safe-area-inset-top) / 2) 6px; font-size: 11px; }
  .topnav-inner { min-height: 58px; padding-block: 8px; gap: 8px; }
  .logo { gap: 8px; font-size: 15px; min-width: 0; }
  .logo-mark { width: 30px; height: 30px; font-size: 10px; flex: 0 0 auto; }
  .nav-actions .icon-btn { width: 38px; height: 38px; min-height: 38px; }
  .cart-count { top: -5px; right: -5px; }
  .btn { min-height: 46px; padding: 11px 16px; }
  .hero-cta .btn,
  .contact-actions .btn,
  #confirmOrder,
  .load-more-wrap .btn { width: 100%; }

  .mobile-bottom-nav {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
    padding: 8px;
    border: 1px solid color-mix(in oklch, var(--fg) 11%, var(--border));
    border-radius: 28px;
    background:
      radial-gradient(circle at 50% 0%, color-mix(in oklch, var(--accent) 16%, transparent), transparent 58%),
      color-mix(in oklch, var(--surface) 88%, transparent);
    box-shadow: 0 20px 60px var(--shadow), 0 0 0 1px color-mix(in oklch, #ffffff 4%, transparent) inset;
    animation: mobileNavIn var(--motion-slow) var(--ease-enter) both;
    transition: transform var(--motion-base) var(--ease-out), opacity var(--motion-base) var(--ease-out), border-color var(--motion-base) var(--ease-out);
  }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .mobile-bottom-nav { backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); }
  }
  .floating-whatsapp {
    right: 16px;
    bottom: calc(104px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-width: 0;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: var(--muted);
    display: grid;
    grid-template-rows: 32px auto;
    gap: 3px;
    place-items: center;
    min-height: 58px;
    padding: 5px 2px 8px;
    font: inherit;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1;
    position: relative;
    transition: color var(--motion-base) var(--ease-out), transform var(--motion-fast) var(--ease-press), background-color var(--motion-base) var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bottom-nav a::after,
  .mobile-bottom-nav button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0;
    transform: translateX(-50%) scaleX(.35);
    transition: opacity var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-out);
  }
  .mobile-bottom-nav a:active,
  .mobile-bottom-nav button:active { transform: translateY(1px) scale(.97); }
  .mobile-bottom-nav .nav-icon-shell {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    position: relative;
    color: var(--fg);
    transition: color var(--motion-base) var(--ease-out), background-color var(--motion-base) var(--ease-out), box-shadow var(--motion-base) var(--ease-out), transform var(--motion-base) var(--ease-enter);
  }
  .mobile-bottom-nav .nav-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .mobile-bottom-nav .nav-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-bottom-nav a:focus-visible,
  .mobile-bottom-nav button:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
  .mobile-bottom-nav a.active,
  .mobile-bottom-nav button.active {
    color: var(--accent);
  }
  .mobile-bottom-nav a.active::after,
  .mobile-bottom-nav button.active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
  .mobile-bottom-nav a.active .nav-icon-shell,
  .mobile-bottom-nav button.active .nav-icon-shell {
    color: var(--accent-on);
    background: linear-gradient(145deg, color-mix(in oklch, var(--accent) 92%, #ffffff), var(--accent));
    box-shadow: 0 10px 24px color-mix(in oklch, var(--accent) 42%, transparent);
    transform: translateY(-3px) scale(1.08);
  }
  .mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding-inline: 4px;
    border: 2px solid var(--surface);
    border-radius: 999px;
    background: var(--action);
    color: var(--accent-on);
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
  }
  @keyframes mobileNavIn {
    from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  }

  .mobile-menu { padding: calc(18px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom)); gap: 18px; }
  .mobile-menu a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--border); }

  .section { padding-block: 34px; }
  .hero { padding-block: 22px 34px; }
  .hero-frame { padding: 12px; border-radius: 24px; }
  .hero-layout { gap: 12px; }
  .hero-copy { padding: 22px; border-radius: 20px; }
  .hero-copy h1 { max-width: 100%; margin-block: 12px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 8px; }
  .hero-benefits span { padding: 10px 12px; }
  .hero-layout .mini-stack { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { min-height: 360px; border-radius: 20px; }
  .product-stage { padding: 14px; gap: 12px; }
  .featured-pack { min-height: 210px; padding: 18px; }
  .hero-media-badge { max-width: 100%; font-size: 10px; }
  .mini-card { padding: 14px; }
  .hero-info-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 20px; }
  .hero-info-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .hero-info-card + .hero-info-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 10px; }
  .hero-info-card .landing-icon { width: 44px; height: 44px; }

  .row-between { gap: 12px; }
  .row-between > .btn,
  .row-between > a.btn,
  #refreshCatalog { width: 100%; }
  .card, .category-card, .promo-card, .event-card { border-radius: 20px; padding: 18px; }
  .category-card, .promo-card, .event-card { min-height: 170px; }
  .visual-orb { width: 82px; height: 82px; }

  .catalog-mobile-actions { display: flex; }
  .catalog-mobile-actions .btn { width: 100%; }
  .filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .filter-row .search-wrap { width: 100%; }
  .filter-row > select {
    display: none;
  }
  .mobile-filter-actions {
    display: none;
  }
  body.filters-open .filter-row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: grid;
    padding: 58px 16px 88px;
    border: 1px solid var(--border);
    border-radius: 28px 28px 0 0;
    background: var(--surface);
    box-shadow: 0 -18px 60px var(--shadow);
    max-height: min(74vh, 560px);
    overflow: auto;
  }
  body.filters-open .filter-row::before {
    content: "Filtros";
    position: absolute;
    left: 18px;
    top: 18px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
  }
  body.filters-open .filter-row > .search-wrap { display: none; }
  body.filters-open .filter-row > select { display: block; }
  body.filters-open .mobile-filter-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 76;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, var(--surface) 18%);
  }

  .quick-tags { width: 100%; max-width: 100%; margin-inline: 0; padding-inline: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 18px; box-shadow: 0 10px 28px var(--shadow); }
  .product-body { padding: 12px; gap: 9px; }
  .product-title { display: block; }
  .product-title h3 {
    display: -webkit-box;
    min-height: 39px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
  }
  .product-title .pill { margin-top: 7px; }
  .product-card .meta {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 20px;
  }
  .price { font-size: 16px; }
  .stock { display: inline-flex; min-height: 18px; }
  .product-actions { grid-template-columns: 1fr 42px; }
  .product-actions .icon-btn { width: 42px; height: 42px; min-height: 42px; }
  .state-box { min-height: 180px; padding: 22px; }
  .loader { width: 38px; height: 38px; margin-bottom: 12px; }
  .result-meta { font-size: 13px; }

  .product-modal {
    align-items: end;
    padding: 0;
    background: var(--overlay);
  }
  .product-modal.open { display: grid; }
  .product-modal-card {
    width: 100%;
    max-height: calc(96dvh - env(safe-area-inset-top));
    border-radius: 28px 28px 0 0;
    border-inline: 0;
    border-bottom: 0;
  }
  .product-modal-close { top: 12px; right: 12px; }
  .product-modal .detail-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 14px calc(96px + env(safe-area-inset-bottom));
  }
  .product-modal .detail-media {
    min-height: auto;
    aspect-ratio: 1 / .82;
    border-radius: 22px;
  }
  .product-modal .card { box-shadow: none; }
  .product-modal .card > .row {
    position: sticky;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    margin-inline: -10px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: color-mix(in oklch, var(--surface) 94%, transparent);
    box-shadow: 0 12px 34px var(--shadow);
  }
  .product-modal #addDetail { width: 100%; }
  .related-products { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .related-products .tag { flex: 0 0 auto; }

  .cart-panel {
    inset: 0;
    width: 100%;
    border-left: 0;
    transform: translate3d(0, 104%, 0);
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding-top: env(safe-area-inset-top);
  }
  .cart-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--surface);
  }
  .cart-head, .cart-foot { padding: 16px; }
  .cart-foot {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    background: var(--surface);
  }
  .cart-list { padding: 14px; }
  .cart-item {
    grid-template-columns: 56px 1fr;
    align-items: start;
    padding: 10px;
  }
  .cart-item > .row {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }
  .thumb { width: 56px; height: 56px; font-size: 23px; }

  .checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .checkout-grid > aside { order: -1; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .input, .textarea, .select { min-height: 48px; font-size: 16px; }
  #confirmOrder {
    position: sticky;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 4;
    box-shadow: 0 12px 34px var(--shadow);
  }

  .pagefoot { padding-block: 32px 96px; }
}

@media (max-width: 390px) {
  :root { --gutter: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .mini-stack { display: grid; }
  .hero-visual { min-height: auto; }
  .featured-pack { min-height: 240px; }
  .mobile-bottom-nav { left: 6px; right: 6px; gap: 2px; padding: 6px; border-radius: 24px; }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button { min-height: 54px; font-size: 9.5px; }
  .mobile-bottom-nav .nav-icon-shell { width: 29px; height: 29px; }
  .mobile-bottom-nav .nav-icon { width: 20px; height: 20px; }
  .floating-whatsapp { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); width: 54px; height: 54px; }
  .floating-whatsapp svg { width: 29px; height: 29px; }
  .product-actions { grid-template-columns: 1fr auto; }
}
