:root {
  --bg: #07080c;
  --card: rgba(18, 21, 30, .9);
  --line: rgba(255,255,255,.08);
  --text: #eceaf3;
  --muted: #8d8998;
  --mint: #7cffb2;
  --violet: #c4a7ff;
  --rose: #ff6b8a;
  --warn: #ffc857;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 20px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", system-ui, sans-serif;
  --max: 1220px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.page {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(7,8,12,.55) 0%, rgba(7,8,12,.72) 45%, rgba(7,8,12,.92) 100%),
    radial-gradient(900px 500px at 10% -10%, rgba(124,255,178,.14), transparent 50%),
    radial-gradient(800px 500px at 110% 10%, rgba(196,167,255,.12), transparent 45%),
    url('../img/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 720px) {
  .page { background-attachment: scroll; }
}
.wrap, .container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.flash {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 14px; margin: 16px 0; border: 1px solid var(--line);
}
.flash-ok { background: rgba(124,255,178,.1); color: var(--mint); }
.flash-err { background: rgba(255,107,138,.12); color: var(--rose); }
.flash-close { background: none; border: 0; color: inherit; font-size: 18px; }

.header, .site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7,8,12,.72);
  border-bottom: 1px solid var(--line);
}
.header-row, .header-grid {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px;
  align-items: center; min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: .1em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--mint), var(--violet));
}
.logo-text span, .logo small { display: block; font-family: var(--font); letter-spacing: 0; font-size: 10px; color: var(--muted); font-weight: 500; }
.nav, .header-nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.nav a, .header-nav a, .nav-drawer a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600;
}
.nav a:hover, .nav a.is-active, .nav-drawer a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-drawer { display: none; }
.nav-drawer-top { display: none; }
.header-actions, .header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn, .cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
}
.cart-count {
  min-width: 22px; height: 22px; border-radius: 999px; background: var(--mint); color: #07140e;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.search-form { display: flex; }
.search-form input { width: 160px; background: transparent; border: 0; outline: 0; padding: 0 8px; }
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent;
}
.age-strip {
  background: #0a0c12; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 12px; text-align: center;
  padding: max(6px, env(safe-area-inset-top, 0px)) 8px 6px;
}
.age-strip b { color: var(--rose); }

.hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 56px 0 28px;
}
.eyebrow {
  color: var(--mint); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02; margin: 12px 0 16px; letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.lead { color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px; border: 0; font-weight: 700;
}
.btn-mint, .btn-neon { background: var(--mint); color: #07140e; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.hero-visual { position: relative; min-height: 380px; }
.orb { position: absolute; filter: blur(20px); width: 220px; height: 220px; border-radius: 50%; }
.orb-a { background: #7cffb2; right: 20px; top: 20px; opacity: .18; }
.orb-b { background: #c4a7ff; left: 30px; bottom: 40px; opacity: .16; }
.stack { position: relative; z-index: 1; display: grid; gap: 14px; }
.stack-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 16px; display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center;
  box-shadow: var(--shadow);
}
.stack-card:nth-child(2) { transform: translateX(28px); }
.stack-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 16px; }
.price { font-family: var(--display); font-size: 16px; color: var(--mint); }

.section { padding: 28px 0 12px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 32px); margin: 0; }
.muted { color: var(--muted); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  position: relative; overflow: hidden; min-height: 180px; border-radius: 24px; padding: 22px;
  border: 1px solid var(--line); background: linear-gradient(160deg, #151924, #0d1018);
}
.cat:nth-child(1) { background: linear-gradient(160deg, #163328, #0d1018); }
.cat:nth-child(2) { background: linear-gradient(160deg, #2a1c3d, #0d1018); }
.cat:nth-child(3) { background: linear-gradient(160deg, #3a1824, #0d1018); }
.cat h3 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; }
.cat p { margin: 0; color: var(--muted); max-width: 260px; }
.cat em { position: absolute; right: 18px; bottom: 14px; font-style: normal; color: var(--mint); font-weight: 800; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s transform, .2s border-color;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,255,178,.28); }
.card-media { position: relative; aspect-ratio: 4/5; background: #0b0d13; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 8px;
  border-radius: 999px; background: #0b0d13; border: 1px solid var(--line);
}
.badge-hit { background: var(--mint); color: #07140e; border: 0; }
.badge-sale { background: var(--rose); color: #1a060c; border: 0; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.card-body h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }
.card-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 8px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 12px; margin-right: 6px; }
.add {
  width: 40px; height: 40px; border-radius: 12px; border: 0;
  background: var(--mint); color: #07140e; font-size: 22px; font-weight: 700;
}

.why, .reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why-item, .review {
  padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.review { background: var(--card); }
.stars { color: var(--warn); letter-spacing: 2px; margin-bottom: 8px; }

.crumbs { color: var(--muted); font-size: 13px; margin: 18px 0; }
.crumbs a:hover { color: var(--mint); }
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding-bottom: 40px; }
.filters {
  position: sticky; top: 92px; align-self: start;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px;
}
.filters label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 6px; }
.filters input, .filters select, .field, .area {
  width: 100%; background: #0b0d13; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; outline: none;
}
.filter-actions { display: grid; gap: 8px; margin-top: 14px; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.pager a, .pager span {
  min-width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line);
}
.pager .is-current { background: var(--mint); color: #07140e; border: 0; font-weight: 800; }

.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; padding: 20px 0 40px; }
.product-gallery {
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
}
.product-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.product-info h1 { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); margin: 8px 0 10px; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0; }
.product-price .now { font-family: var(--display); font-size: 32px; color: var(--mint); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.spec {
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.02);
}
.spec small { display: block; color: var(--muted); }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 18px; }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; outline: 0; }
.desc { color: #cfcbd8; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.split { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; padding-bottom: 40px; }
.form-grid { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.total-row { display: flex; justify-content: space-between; margin: 8px 0; }
.total-row b { font-size: 22px; color: var(--mint); }
.auth-card {
  width: min(440px, 100%); margin: 40px auto; padding: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
}
.auth-card h1 { font-family: var(--display); margin-top: 0; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }
.page-content { max-width: 760px; padding-bottom: 50px; }
.page-content h1 { font-family: var(--display); }

.footer, .site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: rgba(0,0,0,.25); padding: 36px 0 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { margin: 0 0 10px; font-family: var(--display); font-size: 14px; letter-spacing: .08em; }
.footer a, .footer p { color: var(--muted); display: block; margin: 6px 0; }
.footer a:hover { color: var(--mint); }
.copy, .footer-copy {
  color: #5f5c68; font-size: 12px; margin-top: 24px; display: flex; justify-content: space-between; gap: 12px;
}

.age-gate {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(5,6,10,.86); backdrop-filter: blur(16px);
  display: grid; place-items: center; padding: 20px;
}
.age-gate[hidden] {
  display: none !important;
}
.age-box {
  width: min(460px, 100%); background: #12151e; border: 1px solid var(--line);
  border-radius: 28px; padding: 28px; text-align: center; box-shadow: var(--shadow);
}
.age-box h2 { font-family: var(--display); margin: 8px 0 10px; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.age-kicker { color: var(--rose); font-weight: 800; letter-spacing: .2em; }

.toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  background: #151924; border: 1px solid rgba(124,255,178,.3);
  color: var(--mint); padding: 12px 16px; border-radius: 14px;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease;
  max-width: calc(100vw - 32px);
}
.toast.show { transform: none; opacity: 1; }

.page-title { font-family: var(--display); margin: 0; font-size: clamp(24px, 6vw, 36px); }
.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.filters-toggle { display: none; }
.filters-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}
.filters-top h3 { margin: 0; font-size: 16px; }
.filters-close {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.06); color: var(--text); font-size: 22px;
}
.filters-backdrop, .nav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 200;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-backdrop[hidden], .filters-backdrop[hidden], .nav-drawer[hidden] { display: none !important; }
.nav-close {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.06); color: var(--text); font-size: 28px; line-height: 1;
}
.nav-mobile-only, .search-mobile, .show-sm, .cart-mobile { display: none; }
.hide-sm { display: inline; }
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qty-field { width: 80px; }
.burger span {
  display: block; width: 18px; height: 2px; background: var(--text); margin: 3px auto;
  transition: .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

body.nav-open, body.filters-open { overflow: hidden; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .header-row, .header-grid {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 20px;
  }
  .product, .split, .footer-grid, .cats, .why, .reviews {
    grid-template-columns: 1fr 1fr;
  }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .search-desktop { display: none !important; }
  .burger { display: grid; place-items: center; }
  .nav-desktop { display: none !important; }
  .nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    max-width: 100vw;
    height: 100%;
    height: 100dvh;
    z-index: 210;
    margin: 0;
    background: #0c0e14;
    border-left: 1px solid var(--line);
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -24px 0 60px rgba(0,0,0,.55);
  }
  .nav-drawer.is-open {
    display: flex !important;
  }
  .nav-drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: .06em;
  }
  .nav-drawer a {
    padding: 14px;
    font-size: 16px;
    border-radius: 14px;
    white-space: nowrap;
  }
  .search-mobile {
    display: block;
    margin-top: 12px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
  }
  .search-mobile input {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 12px;
  }
  .stack-card:nth-child(2) { transform: none; }
  .filters-toggle { display: inline-flex; min-height: 44px; align-items: center; }
  .filters {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(360px, 92vw);
    z-index: 210;
    border-radius: 0;
    margin: 0;
    overflow-y: auto;
    max-height: none;
    align-self: auto;
    background: #0c0e14;
    border: 0;
    border-right: 1px solid var(--line);
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 20px 0 60px rgba(0,0,0,.45);
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform .25s ease;
    pointer-events: none;
    visibility: hidden;
  }
  .filters.is-open {
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }
  .filters-backdrop {
    z-index: 200;
  }
  .filters-close { display: grid; place-items: center; }
  .layout { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 720px) {
  .wrap, .container { width: min(var(--max), calc(100% - 24px)); }
  .header-row, .header-grid {
    grid-template-columns: 1fr auto; gap: 10px; min-height: 60px;
  }
  .logo small, .logo-tag { display: none; }
  .logo img { width: 32px; height: 32px; }
  .icon-account.hide-sm { display: none; }
  .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; align-items: center; }
  .icon-btn, .cart-btn, .burger {
    min-width: 44px; min-height: 44px; justify-content: center; padding: 0 10px;
  }
  .cart-btn { gap: 6px; }
  .cart-ico, .ico { display: block; flex-shrink: 0; }

  .age-strip {
    font-size: 11px; padding: 8px 12px; line-height: 1.35;
  }

  .crumbs { font-size: 12px; line-height: 1.4; word-break: break-word; }

  .hero {
    grid-template-columns: 1fr; gap: 22px; padding: 28px 0 12px;
  }
  .hero h1 { font-size: clamp(28px, 9vw, 40px); }
  .lead { font-size: 15px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: calc(50% - 6px); min-height: 48px; }
  .hero-visual { min-height: auto; }
  .stack-card {
    grid-template-columns: 64px 1fr auto; padding: 12px; gap: 10px;
  }
  .stack-card img { width: 64px; height: 64px; border-radius: 12px; }

  .cats, .why, .reviews, .product, .split, .form-row, .specs, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cats { gap: 10px; }
  .cat { min-height: 120px; padding: 18px; }
  .cat h3 { font-size: 22px; }
  .why { gap: 10px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; gap: 6px; }
  .card-body h3 { font-size: 13px; line-height: 1.25; }
  .pill { font-size: 10px; padding: 2px 6px; }
  .price { font-size: 13px; }
  .add { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .badge { font-size: 10px; }

  .product { gap: 18px; padding: 8px 0 28px; }
  .product-gallery { border-radius: 20px; }
  .product-price .now { font-size: 26px; }
  .qty-row {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 18px 0 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(12, 14, 20, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
  }
  .qty-row .btn { width: 100%; min-height: 48px; }
  .qty { justify-content: space-between; }
  .qty button { width: 48px; height: 48px; }
  .qty input { width: 56px; font-size: 16px; }

  .cart-table-desktop { display: none; }
  .cart-mobile { display: grid; gap: 12px; }
  .cart-m-card {
    display: grid; grid-template-columns: 88px 1fr; gap: 12px;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .cart-m-card:last-child { border-bottom: 0; padding-bottom: 0; }
  .cart-m-img img { width: 88px; height: 110px; object-fit: cover; border-radius: 14px; }
  .cart-m-body { display: grid; gap: 8px; align-content: start; }
  .cart-m-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .cart-m-qty .field { width: 72px; font-size: 16px; }
  .cart-summary {
    position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 20;
    box-shadow: 0 -10px 40px rgba(0,0,0,.35);
  }
  .split > .box:last-child {
    position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 15;
  }
  .btn, .field, .area, .filters input, .filters select {
    font-size: 16px; /* iOS zoom prevention */
  }
  .btn { min-height: 48px; }

  .box { padding: 16px; border-radius: 18px; }
  .auth-card { margin: 24px auto; padding: 20px; width: 100%; }
  .section { padding: 18px 0 8px; }
  .section-head { flex-wrap: wrap; gap: 8px; }
  .footer, .site-footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
  .copy, .footer-copy { flex-direction: column; }

  .age-box { padding: 22px 18px; border-radius: 22px; }
  .age-actions { flex-direction: column; }
  .age-actions .btn { width: 100%; }

  .toast {
    right: 12px; left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .page { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .pager a, .pager span { min-width: 44px; height: 44px; }
  .check { font-size: 13px; }
}

@media (max-width: 420px) {
  .grid { gap: 8px; }
  .card-body h3 { font-size: 12px; }
  .meta { display: none; }
  .hero-actions .btn { width: 100%; min-width: 100%; }
  .cart-m-card { grid-template-columns: 72px 1fr; }
  .cart-m-img img { width: 72px; height: 90px; }
}

