/* Calm storefront: generous white space, one neutral type family, photos framed 4:5 on soft surfaces, orange kept for small signals. */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #fafafa;
  --elevated: #ffffff;
  --text: #1d1d1f;
  --text-2: #4a4a4f;
  --text-3: #7a7a80;
  --border: #e6e6ea;
  --border-strong: #d2d2d7;
  --accent: #f86808;
  --accent-text: #c24e00;
  --accent-soft: #fff2e8;
  --btn: #c24e00;
  --btn-text: #ffffff;
  --btn-hover: #a34100;
  --ok: #1a7f45;
  --ok-soft: #e9f6ef;
  --warn: #b45309;
  --warn-soft: #fff6e5;
  --danger: #c0352b;
  --danger-soft: #fdecea;
  --wa: #128c4a;
  --art-ink: #1d1d1f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --overlay: rgba(0, 0, 0, 0.32);
  --font: "Geist", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c; --surface: #17171a; --surface-2: #121214; --elevated: #1c1c1f;
    --text: #f5f5f7; --text-2: #c7c7cc; --text-3: #8e8e93; --border: #2a2a2e; --border-strong: #3a3a3e;
    --accent: #ff7a1a; --accent-text: #ff9b52; --accent-soft: #2b1a0c;
    --btn: #ff7a1a; --btn-text: #140a02; --btn-hover: #ff9442;
    --ok: #4cc38a; --ok-soft: #10261a; --warn: #f0a945; --warn-soft: #2a1f0c; --danger: #ff6b5e; --danger-soft: #2c1210; --wa: #3fd17e;
    --art-ink: #e5e5ea; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4); --overlay: rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0c; --surface: #17171a; --surface-2: #121214; --elevated: #1c1c1f;
  --text: #f5f5f7; --text-2: #c7c7cc; --text-3: #8e8e93; --border: #2a2a2e; --border-strong: #3a3a3e;
  --accent: #ff7a1a; --accent-text: #ff9b52; --accent-soft: #2b1a0c;
  --btn: #ff7a1a; --btn-text: #140a02; --btn-hover: #ff9442;
  --ok: #4cc38a; --ok-soft: #10261a; --warn: #f0a945; --warn-soft: #2a1f0c; --danger: #ff6b5e; --danger-soft: #2c1210; --wa: #3fd17e;
  --art-ink: #e5e5ea; --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4); --overlay: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ne"] body { line-height: 1.75; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; text-wrap: balance; }
html[lang="ne"] h1, html[lang="ne"] h2, html[lang="ne"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 96px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent-text); }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 56ch; }
.muted { color: var(--text-3); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* Announcement */
.announce { background: #c24e00; color: #ffffff; font-size: 13px; font-weight: 600; text-align: center; letter-spacing: 0.01em; }
.announce .wrap { padding-block: 9px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light, :root[data-theme="dark"] .footer-logo .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark, :root[data-theme="dark"] .footer-logo .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light, :root:not([data-theme="light"]) .footer-logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark, :root:not([data-theme="light"]) .footer-logo .logo-dark { display: block; }
}
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 15px; color: var(--text-2); padding-block: 6px; position: relative; }
.main-nav a:hover { color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.search { position: relative; width: 280px; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 40px; border: 1px solid transparent; border-radius: 999px; background: var(--surface); font-size: 15px; }
.search input:focus { outline: none; border-color: var(--border-strong); background: var(--bg); }
.search input::placeholder { color: var(--text-3); }
.search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-3); pointer-events: none; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 340px; background: var(--elevated); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; z-index: 70; max-height: 70vh; overflow-y: auto; }
.suggest-label { font-size: 12px; font-weight: 600; color: var(--text-3); padding: 8px 10px 4px; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); }
.suggest a[aria-selected="true"], .suggest a:hover { background: var(--surface); }
.suggest .thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface); }
.suggest .s-name { font-weight: 500; line-height: 1.3; }
.suggest .s-name mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.suggest .s-meta { font-size: 14px; color: var(--text-3); white-space: nowrap; }
.suggest-empty { padding: 14px 10px; color: var(--text-3); font-size: 15px; }

.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: var(--text); flex-shrink: 0; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }
.count-dot { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.lang-btn { height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.lang-btn:hover { background: var(--surface); color: var(--text); }
.menu-btn, .search-btn { display: none; }
.mobile-panel { display: none; }

@media (max-width: 1080px) { .search { width: 220px; } .main-nav { gap: 20px; } }
@media (max-width: 920px) {
  .main-nav, .header-tools .search { display: none; }
  .menu-btn, .search-btn { display: grid; }
  .header-row { height: 60px; gap: 12px; }
  .brand img { height: 30px; }
  .mobile-panel[data-open="true"] { display: block; border-top: 1px solid var(--border); background: var(--bg); max-height: calc(100dvh - 60px); overflow-y: auto; }
  .mobile-panel .wrap { display: grid; gap: 8px; padding-block: 16px 28px; }
  .mobile-panel .search { width: 100%; margin-bottom: 8px; }
  .mobile-panel .search input { height: 46px; }
  .mobile-panel nav { display: grid; }
  .mobile-panel nav a { font-size: 22px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--border); letter-spacing: -0.01em; }
  .mobile-panel nav a[aria-current="page"] { color: var(--accent-text); }
}
@media (max-width: 400px) { .lang-btn { padding: 0 8px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--btn); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { background: var(--surface); }
.btn-soft { background: var(--surface); color: var(--text); }
.btn-soft:hover { background: var(--border); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { opacity: 0.9; }
.btn-danger { background: transparent; border-color: var(--border-strong); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.text-link { color: var(--accent-text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.text-link:hover svg { transform: translateX(3px); }
.text-btn { border: 0; background: none; padding: 0; color: var(--text-3); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.text-btn:hover { color: var(--text); }

/* Sections */
.section { padding-block: 96px; }
.section-sm { padding-block: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.surface-band { background: var(--surface-2); }
@media (max-width: 760px) { .section { padding-block: 64px; } .section-sm { padding-block: 44px; } }

/* Hero */
.hero { padding-block: 64px 88px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 600; letter-spacing: -0.035em; margin-top: 14px; }
html[lang="ne"] .hero h1 { font-size: clamp(38px, 5vw, 62px); }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-media { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; max-width: 100%; }
.hero-media .tile { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); position: relative; }
.hero-media .tile:first-child { grid-row: 1 / 3; }
.hero-media .tile .media { aspect-ratio: auto; height: 100%; border-radius: 0; }
.hero-media .tile .tile-label { position: absolute; left: 14px; bottom: 14px; background: var(--elevated); color: var(--text); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow); }
@media (max-width: 920px) {
  .hero { padding-block: 36px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { aspect-ratio: 4 / 3; }
}

/* Trust */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.trust-item .ti { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--text); }
.trust-item .ti svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-weight: 600; font-size: 15px; }
.trust-item span { font-size: 14px; color: var(--text-3); }
@media (max-width: 920px) { .trust-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .trust-row { grid-template-columns: 1fr; } }

/* Media frames */
.media { position: relative; aspect-ratio: 4 / 5; width: 100%; background: var(--surface); border-radius: var(--r); overflow: hidden; }
.media.square { aspect-ratio: 1 / 1; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease, transform 0.5s ease; }
.media img[data-fit="contain"] { object-fit: contain; padding: 6%; }
.media img:not([src]) { opacity: 0; }
.media .art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--art-ink); }
.media .art svg { width: 58%; height: 58%; }
.media.has-photo .art { display: none; }

/* Categories */
.cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card { display: grid; gap: 14px; }
.cat-card .media { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.cat-card .media img, .cat-card .media .art svg { transition: transform 0.5s ease; }
.cat-card:hover .media img, .cat-card:hover .media .art svg { transform: scale(1.04); }
.cat-card h3 { font-size: 17px; font-weight: 600; }
.cat-card p { font-size: 14px; color: var(--text-3); margin-top: -10px; }
@media (max-width: 980px) { .cat-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); font-size: 15px; cursor: pointer; white-space: nowrap; color: var(--text); }
.pill:hover { border-color: var(--text-3); }
.pill[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pill .n { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pill[aria-pressed="true"] .n { color: inherit; opacity: 0.7; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }
.card { display: grid; gap: 14px; align-content: start; min-width: 0; }
.card-mw { position: relative; }
.card-mw > a { display: block; }
.card .media img, .card .media .art svg { transition: transform 0.6s ease; }
.card:hover .media img, .card:hover .media .art svg { transform: scale(1.03); }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--accent-soft); color: var(--accent-text); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.card-badge.sale { background: var(--accent); color: #fff; }
.card-badge.out { background: var(--text); color: var(--bg); }
.quick-add { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--elevated); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.quick-add svg { width: 18px; height: 18px; }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .quick-add { opacity: 1; transform: none; } }
.card-info { display: grid; gap: 4px; }
.card-title { font-size: 16px; font-weight: 500; line-height: 1.35; }
.card-title:hover { color: var(--accent-text); }
.price-row { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price { font-weight: 700; font-size: 16px; color: var(--accent-text); }
.price-was { color: var(--text-3); text-decoration: line-through; font-size: 14px; }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.stock { font-size: 13px; font-weight: 500; }
.stock.low { color: var(--warn); }
.stock.out { color: var(--text-3); }
.stock.ok { color: var(--ok); }

/* Feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-art { border-radius: var(--r-lg); background: var(--surface); aspect-ratio: 5 / 4; max-width: 100%; display: grid; place-items: center; color: var(--art-ink); overflow: hidden; }
.feature-art svg { width: 82%; height: 82%; }
.feature h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 12px; }
.feature .lead { margin-top: 18px; }
@media (max-width: 920px) { .feature { grid-template-columns: 1fr; gap: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step { display: grid; gap: 10px; align-content: start; }
.step-n { width: 32px; height: 32px; border-radius: 999px; background: var(--surface); display: grid; place-items: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; margin-top: 6px; }
.step p { color: var(--text-2); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* CTA band */
.cta-band { border-radius: 28px; background: var(--surface); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-band p { color: var(--text-2); margin-top: 8px; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; border-radius: 22px; } }

/* Page head */
.page-head { padding-block: 48px 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; }
.page-head .lead { margin-top: 14px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--text-3); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }

/* Shop */
.shop { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-bottom: 96px; }
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); align-self: start; display: grid; gap: 32px; }
.filter-group h3 { font-size: 13px; font-weight: 600; color: var(--text-3); margin-bottom: 10px; letter-spacing: 0.02em; }
.filter-list { display: grid; gap: 2px; }
.filter-list button { display: flex; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: transparent; text-align: left; padding: 7px 10px; margin-inline: -10px; width: calc(100% + 20px); border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--text-2); }
.filter-list button:hover { background: var(--surface); color: var(--text); }
.filter-list button[aria-pressed="true"] { color: var(--text); font-weight: 600; background: var(--surface); }
.filter-list .n { color: var(--text-3); font-variant-numeric: tabular-nums; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.toolbar .count { color: var(--text-3); font-size: 15px; }
.select { height: 40px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 0 38px 0 16px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a7a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 15px; appearance: none; cursor: pointer; font-size: 15px; color: var(--text); }
.m-filters { display: none; }
.empty { border-radius: var(--r-lg); background: var(--surface-2); padding: 56px 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty .empty-art { width: 120px; height: 120px; color: var(--art-ink); }
.empty h3 { font-size: 22px; }
.empty p { color: var(--text-3); max-width: 44ch; }
.load-more { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 920px) {
  .shop { grid-template-columns: 1fr; gap: 0; }
  .filters { display: none; }
  .m-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
  .m-filters::-webkit-scrollbar { display: none; }
}

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; padding-bottom: 96px; align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.gallery .media.main { border-radius: var(--r-lg); }
.thumbs { display: grid; gap: 10px; align-content: start; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .thumbs { display: none; }
.thumbs button { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; outline-offset: 2px; }
.thumbs button .media { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--border); }
.thumbs button[aria-pressed="true"] .media { box-shadow: 0 0 0 2px var(--text); }
.pdp-info { display: grid; gap: 28px; min-width: 0; }
.pdp-info h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; margin-top: 8px; }
.pdp-price { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; margin-top: 14px; }
.pdp-price .price { font-size: 24px; }
.pdp-price .save { color: var(--accent-text); font-weight: 500; font-size: 15px; }
.pdp-blurb { font-size: 17px; color: var(--text-2); max-width: 52ch; }
.opt-label { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.opt-label span { font-weight: 400; color: var(--text-3); margin-left: 6px; }
.swatch-row { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); position: relative; }
.swatch-btn[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--text); border-radius: 50%; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 20px; border-radius: 999px; color: var(--text); }
.qty button:hover { background: var(--surface); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-stack { display: grid; gap: 10px; }
.box { border-radius: var(--r-lg); background: var(--surface-2); padding: 22px; display: grid; gap: 14px; }
.box h3 { font-size: 16px; }
.assure { display: grid; gap: 14px; }
.assure div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--text-2); }
.assure svg { width: 20px; height: 20px; color: var(--text); margin-top: 2px; }
details.acc { border-top: 1px solid var(--border); }
details.acc:last-of-type { border-bottom: 1px solid var(--border); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 500; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary svg { width: 18px; height: 18px; color: var(--text-3); transition: transform 0.2s ease; }
details.acc[open] summary svg { transform: rotate(45deg); }
details.acc .acc-body { padding-bottom: 20px; color: var(--text-2); font-size: 15px; display: grid; gap: 10px; }
details.acc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.sticky-buy { display: none; }
@media (max-width: 920px) {
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 56px); order: 2; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); gap: 14px; align-items: center; padding: 10px max(20px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
  .sticky-buy .price { font-size: 18px; }
  .sticky-buy .btn { flex: 1; }
  .with-sticky { padding-bottom: 76px; }
}

/* Forms */
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--text-3); }
.input, .textarea { width: 100%; height: 48px; border: 1px solid var(--border-strong); border-radius: 12px; padding: 0 14px; background: var(--bg); font-size: 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus { outline: none; border-color: var(--text-3); box-shadow: 0 0 0 4px var(--surface); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.field.invalid .input, .field.invalid .textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.loc { position: relative; }
.loc-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--elevated); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; padding: 6px; }
.loc-list button { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); }
.loc-list button[aria-selected="true"], .loc-list button:hover { background: var(--surface); }
.loc-list .l-name { font-weight: 500; }
.loc-list .l-dist { font-size: 13px; color: var(--text-3); display: block; }
.loc-list .l-price { font-size: 13px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.loc-list .l-group { font-size: 12px; font-weight: 600; color: var(--text-3); padding: 8px 12px 4px; }
.loc-empty { padding: 12px; color: var(--text-3); font-size: 14px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; border: 1px solid var(--border-strong); border-radius: var(--r); padding: 16px; cursor: pointer; display: grid; gap: 4px; background: var(--bg); transition: border-color 0.15s ease, background-color 0.15s ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--text-3); }
.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice.static { cursor: default; }
.choice .c-title { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.choice .c-sub { font-size: 14px; color: var(--text-3); }
.choice .c-price { font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }
.switch-row { display: flex; gap: 12px; align-items: center; cursor: pointer; font-weight: 500; }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--border-strong); transition: background 0.2s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.note { border-radius: var(--r); padding: 14px 16px; background: var(--surface); font-size: 14px; color: var(--text-2); display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.note svg { width: 18px; height: 18px; margin-top: 2px; color: var(--text); }
.note.accent { background: var(--accent-soft); }
.note.accent svg { color: var(--accent-text); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; padding-bottom: 96px; align-items: start; }
.co-main { display: grid; gap: 48px; min-width: 0; }
.co-section { display: grid; gap: 20px; }
.co-section + .co-section { border-top: 1px solid var(--border); padding-top: 40px; }
.co-section h2 { font-size: 22px; display: flex; gap: 12px; align-items: center; }
.co-section h2 .step-n { width: 28px; height: 28px; font-size: 13px; }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); border-radius: var(--r-lg); background: var(--surface-2); padding: 28px; display: grid; gap: 20px; }
.summary h2 { font-size: 20px; }
.lines { display: grid; gap: 16px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; }
.line .media { width: 64px; border-radius: 10px; }
.line .l-name { font-weight: 500; line-height: 1.3; font-size: 15px; }
.line .l-meta { font-size: 13px; color: var(--text-3); }
.line .l-price { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.line-controls { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; height: 30px; }
.mini-qty button { width: 28px; height: 100%; border: 0; background: transparent; cursor: pointer; border-radius: 999px; color: var(--text); }
.mini-qty output { min-width: 18px; text-align: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.totals { display: grid; gap: 10px; border-top: 1px solid var(--border); padding-top: 18px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.totals .muted-row { color: var(--text-3); }
.totals .grand { font-weight: 600; font-size: 18px; padding-top: 6px; }
.totals .now { color: var(--accent-text); font-weight: 600; }
.pay-qr { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.qr-frame { width: 220px; aspect-ratio: 1; padding: 10px; box-sizing: border-box; border-radius: var(--r); background: #fff; border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-frame .qr-empty { display: grid; gap: 8px; justify-items: center; color: #7a7a80; font-size: 13px; text-align: center; padding: 16px; }
.qr-frame .qr-empty svg { width: 56px; height: 56px; color: #1d1d1f; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.copy-row code { font-family: var(--mono); font-size: 15px; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.seg button[aria-pressed="true"] { background: var(--elevated); color: var(--accent-text); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
@media (max-width: 1000px) { .checkout { grid-template-columns: 1fr; gap: 40px; } .summary { position: static; } }
@media (max-width: 560px) { .pay-qr { grid-template-columns: 1fr; } .qr-frame { width: 100%; max-width: 260px; justify-self: center; } }

/* Confirm + track */
.narrow { max-width: 720px; margin-inline: auto; }
.confirm { display: grid; gap: 28px; padding-bottom: 96px; }
.confirm h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.03em; }
.order-id { display: inline-flex; gap: 12px; align-items: center; font-family: var(--mono); font-weight: 600; font-size: 18px; background: var(--surface); border-radius: 10px; padding: 8px 14px; margin-top: 16px; }
.wa-card { border-radius: var(--r-lg); border: 1px solid var(--border); padding: 28px; display: grid; gap: 16px; }
.wa-card h2 { font-size: 22px; }
.wa-card p { color: var(--text-2); }
.wa-preview { background: var(--surface-2); border-radius: 12px; padding: 16px; font-size: 14px; white-space: pre-wrap; max-height: 240px; overflow-y: auto; font-variant-numeric: tabular-nums; color: var(--text-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; position: relative; padding-bottom: 24px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--border); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .t-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--text-3); z-index: 1; }
.timeline .t-dot svg { width: 14px; height: 14px; }
.timeline .done .t-dot { background: var(--text); color: var(--bg); }
.timeline .done::before { background: var(--text); }
.timeline .now .t-dot { background: var(--accent); color: #fff; }
.timeline .t-title { font-weight: 600; }
.timeline .t-sub { color: var(--text-3); font-size: 14px; }
.timeline .todo .t-title { color: var(--text-3); font-weight: 500; }
.timeline .bad .t-dot { background: var(--danger); color: #fff; }

/* About */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; padding-block: 56px 96px; }
.about-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; margin-top: 14px; }
.about-hero .lead { margin-top: 22px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.value { display: grid; gap: 10px; align-content: start; }
.value .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.value .ti svg { width: 20px; height: 20px; }
.value h3 { font-size: 20px; margin-top: 8px; }
.value p { color: var(--text-2); }
.prose { max-width: 64ch; display: grid; gap: 18px; font-size: 18px; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 4px; }
@media (max-width: 880px) { .about-hero, .values { grid-template-columns: 1fr; gap: 36px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; padding-bottom: 96px; align-items: start; }
.c-list { display: grid; gap: 0; }
.c-item { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--border); }
.c-item:first-child { padding-top: 0; }
.c-item .ti { width: 44px; height: 44px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; }
.c-item .ti svg { width: 20px; height: 20px; }
.c-item h3 { font-size: 15px; font-weight: 500; color: var(--text-3); }
.c-item .c-value { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; user-select: all; }
.c-item p { color: var(--text-2); margin-top: 4px; }
.c-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.map-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.map-card svg { width: 100%; height: auto; }
.map-foot { padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--border); }
.msg-form { display: grid; gap: 18px; margin-top: 48px; }
.msg-form h2 { font-size: 22px; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; gap: 48px; } .map-card { position: static; } }

/* Help */
.docs { display: grid; grid-template-columns: 200px 1fr; gap: 72px; padding-bottom: 96px; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); align-self: start; display: grid; gap: 2px; }
.toc a { padding: 7px 12px; margin-inline: -12px; border-radius: 8px; font-size: 15px; color: var(--text-2); }
.toc a:hover { background: var(--surface); color: var(--text); }
.toc a.active { color: var(--text); font-weight: 600; background: var(--surface); }
.doc-body { display: grid; gap: 72px; min-width: 0; }
.doc-section { display: grid; gap: 16px; scroll-margin-top: 100px; }
.doc-section h2 { font-size: clamp(26px, 3vw, 32px); }
.doc-section h3 { font-size: 18px; margin-top: 8px; }
.doc-section p, .doc-section li { color: var(--text-2); font-size: 16px; max-width: 68ch; }
.doc-section ol, .doc-section ul { padding-left: 20px; margin: 0; display: grid; gap: 10px; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: var(--r); max-height: 520px; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; font-size: 15px; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { position: sticky; top: 0; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--text-3); z-index: 1; }
table.data td.r, table.data th.r { text-align: right; }
table.data tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 920px) {
  .docs { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .toc a { white-space: nowrap; margin: 0; background: var(--surface); }
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-block: 64px 48px; }
.footer-logo img { height: 34px; width: auto; }
.footer-logo .logo-dark { display: none; }
.footer-brand p { color: var(--text-3); margin-top: 16px; max-width: 34ch; font-size: 15px; }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-3); font-size: 15px; }
.footer-col a:hover { color: var(--text); }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 36px; border-top: 1px solid var(--border); }
.newsletter h3 { font-size: 20px; }
.newsletter p { color: var(--text-3); margin-top: 4px; font-size: 15px; }
.nl-form { display: flex; gap: 10px; }
.nl-form .input { border-radius: 999px; flex: 1; min-width: 0; }
.nl-msg { font-size: 14px; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; flex-wrap: wrap; align-items: center; }
.pay-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-tags span { border: 1px solid var(--border-strong); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 500; color: var(--text-2); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-legal a:hover { color: var(--text); }
@media (max-width: 920px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .nl-form { flex-direction: column; } .nl-form .input { flex: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; background: var(--btn); color: var(--btn-text); border-radius: 999px; padding: 8px 8px 8px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); font-size: 15px; max-width: calc(100vw - 32px); }
.toast a { background: var(--bg); color: var(--text); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; }


/* Cart button */
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.cart-btn:hover { background: var(--surface); }
.cart-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-btn svg { width: 21px; height: 21px; flex-shrink: 0; }
.cart-btn .count-dot { position: static; margin-left: -2px; }
@media (max-width: 560px) {
  .cart-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .cart-label { display: none; }
  .cart-btn .count-dot { position: absolute; top: 3px; right: 0; margin: 0; }
}

/* Home page banners */
.promo { padding-top: 20px; }
.promo-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.promo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; }
.promo-track::-webkit-scrollbar { display: none; }
.promo-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; }
.promo-media { display: block; }
.promo-media img { display: block; width: 100%; height: auto; }
.promo-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--elevated); border-top: 1px solid var(--border); }
.promo-caption > div { display: grid; gap: 2px; min-width: 0; }
.promo-caption strong { font-size: 17px; }
.promo-caption span { color: var(--text-2); font-size: 14px; }
.promo-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--elevated); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0.92; }
.promo-nav:hover { opacity: 1; }
.promo-nav svg { width: 20px; height: 20px; }
.promo-nav.prev { left: 12px; }
.promo-nav.next { right: 12px; }
.promo-dots { display: flex; justify-content: center; gap: 4px; padding-top: 10px; }
.promo-dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.promo-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); transition: width 0.2s ease, background-color 0.2s ease; }
.promo-dots button[aria-current="true"]::before { width: 22px; background: var(--text); }
@media (max-width: 640px) {
  .promo { padding-top: 12px; }
  .promo-frame { border-radius: var(--r); }
  .promo-nav { display: none; }
  .promo-caption { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
}

/* Track my order CTA */
.track-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; transition: border-color 0.15s ease, background-color 0.15s ease; }
.track-cta svg { width: 18px; height: 18px; color: var(--accent-text); flex-shrink: 0; }
.track-cta:hover { border-color: var(--text); }
.track-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.track-cta[aria-current="page"] { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.track-cta[aria-current="page"] svg { color: inherit; }
.track-cta-short { display: none; }
@media (max-width: 1240px) and (min-width: 921px) { .search { width: 200px; } .main-nav { gap: 18px; } }
@media (max-width: 1040px) and (min-width: 921px) { .track-cta-long { display: none; } .track-cta-short { display: inline; } .search { width: 170px; } }
@media (max-width: 920px) { .track-cta-long { display: none; } .track-cta-short { display: inline; } }
.panel-tools { display: none; }
@media (max-width: 560px) {
  .header-tools { gap: 2px; }
  .header-tools > .lang-btn, .header-tools > [data-theme-toggle] { display: none; }
  .icon-btn { width: 44px; height: 44px; }
  .track-cta { height: 44px; padding: 0 12px 0 10px; gap: 6px; margin-right: 2px; }
  .panel-tools { display: flex; gap: 8px; align-items: center; padding-top: 12px; }
  .panel-tools .lang-btn { height: 44px; border: 1px solid var(--border); }
}
@media (max-width: 360px) { .brand img { height: 26px; width: auto; } .track-cta { padding: 0 10px 0 8px; } }

/* Touch targets and overflow */
html, body { overflow-x: clip; }
img, picture, video { max-width: 100%; }
.media picture { display: contents; }
@media (pointer: coarse) {
  .quick-add { width: 44px; height: 44px; }
  .text-btn { min-height: 44px; padding-inline: 4px; }
  .mini-qty button, .qty button { min-width: 44px; min-height: 44px; }
  .pill, .seg button, .lang-btn, select { min-height: 44px; }
  .swatch-row button, .swatch-row label { min-width: 44px; min-height: 44px; }
  .check, .switch-row { min-height: 44px; }
  .brand, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 760px) { .grid { gap: 24px 12px; } .card-title { font-size: 15px; } }
@media (max-width: 380px) { .grid { gap: 20px 10px; } .card-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; } }

/* Notes */
.note.success { background: var(--ok-soft); }
.note.success svg { color: var(--ok); }
.note.danger { background: var(--danger-soft); color: var(--text); }
.note.danger svg { color: var(--danger); }
.note .btn { grid-column: 2; justify-self: start; }

/* Loading skeletons */
.skeleton { display: block; border-radius: 8px; background: var(--surface); animation: pulse 1.2s ease-in-out infinite; }
.skeleton-stack, .track-card[aria-busy="true"] { display: grid; gap: 16px; }
.skeleton-steps { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; }
.skeleton.s-circle { width: 32px; height: 32px; border-radius: 50%; }
@keyframes pulse { 50% { opacity: 0.45; } }

/* Tracking page */
.track-main { display: grid; gap: 32px; min-width: 0; }
.track-head { display: grid; gap: 12px; }
.track-head > * { max-width: 720px; }
.track-head h1 { font-size: clamp(32px, 5vw, 48px); }
.delivered-by { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 14px; margin-top: 4px; }
.delivered-by img { width: 32px; height: 32px; border-radius: 6px; }
.delivered-by strong { color: var(--text); font-weight: 600; }
.track-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; padding-block: 48px 96px; }
.track-body { display: grid; gap: 24px; min-width: 0; }
#result { display: grid; gap: 24px; }
.partner-card { position: sticky; top: 96px; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--elevated); }
.partner-card picture, .partner-card picture img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.partner-body { padding: 20px 22px 24px; display: grid; gap: 14px; }
.partner-head { display: flex; gap: 12px; align-items: center; }
.partner-head img { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.partner-head h2 { font-size: 19px; margin-top: 2px; }
.partner-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.partner-points li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.partner-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin: 8px 0 0 4px; }
@media (max-width: 920px) {
  .track-layout { grid-template-columns: 1fr; gap: 32px; }
  .partner-card { position: static; display: grid; grid-template-columns: 200px 1fr; align-items: center; }
  .partner-card picture, .partner-card picture img { height: 100%; }
}
@media (max-width: 560px) { .partner-card { grid-template-columns: 1fr; } }
.track-card { display: grid; gap: 28px; }
.track-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.track-card-head h2 { font-size: 22px; margin-top: 4px; }
.track-card-head .awb { text-align: right; }
.track-card-head .awb .mono { font-size: 18px; font-weight: 600; }
.mono { font-family: var(--mono); }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ok); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.totals > div > span:last-child { white-space: nowrap; }

.ncm-branch { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-2); margin: 0; }
.ncm-branch svg { width: 16px; height: 16px; flex-shrink: 0; }
.ncm-branch a { color: var(--text); font-weight: 600; text-decoration: underline; }

.pay-acct { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); }
.pay-acct .label { font-size: 12px; color: var(--text-3); }

.about-cover { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); aspect-ratio: 1; }
.about-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

.track-cta { border-color: var(--accent); }
.track-cta:hover { background: var(--accent-soft); border-color: var(--accent); }
.section-head h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 10px; }

/* Stepper */
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); counter-reset: step; }
.stepper li { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding-inline: 4px; }
.stepper li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--border); }
.stepper li:first-child::before { display: none; }
.stepper li.done::before, .stepper li.now::before, .stepper li.bad::before { background: var(--text); }
.stepper .s-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text-3); position: relative; z-index: 1; }
.stepper .s-dot svg { width: 15px; height: 15px; }
.stepper .done .s-dot { background: var(--text); color: var(--bg); }
.stepper .now .s-dot { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper .bad .s-dot { background: var(--danger); color: #fff; }
.stepper .s-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
.stepper .todo .s-label { color: var(--text-3); font-weight: 500; }
.stepper .s-time { font-size: 12px; color: var(--text-3); line-height: 1.35; }
@media (max-width: 640px) {
  .stepper { grid-template-columns: 1fr; gap: 0; }
  .stepper li { grid-template-columns: 32px 1fr; justify-items: start; text-align: left; column-gap: 14px; row-gap: 2px; padding: 0 0 20px; }
  .stepper li::before { top: -20px; bottom: auto; left: 15px; right: auto; width: 2px; height: 20px; }
  .stepper .s-dot { grid-row: span 2; }
  .stepper li:last-child { padding-bottom: 0; }
  .track-card-head .awb { text-align: left; }
}

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

.stars{display:inline-flex;gap:2px;vertical-align:-3px}.stars span{display:inline-flex;color:var(--border-strong)}.stars span.on{color:var(--accent-text)}.stars svg{width:16px;height:16px;fill:currentColor;stroke:none}
.reviews{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.review{border:1px solid var(--border);border-radius:16px;padding:18px}.review p{margin:8px 0 0}
.rate-box{margin-top:16px}.rate-form{border-top:1px solid var(--border);padding-top:14px;margin-top:14px;display:grid;gap:10px}
.star-pick{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:4px}.star-pick input{position:absolute;opacity:0;pointer-events:none}.star-pick span{display:inline-flex;cursor:pointer;color:var(--border-strong)}.star-pick svg{width:28px;height:28px;fill:currentColor;stroke:none}
.star-pick label:has(input:checked) span,.star-pick label:has(input:checked)~label span,.star-pick label:hover span,.star-pick label:hover~label span{color:var(--accent-text)}
.star-pick input:focus-visible+span{outline:2px solid var(--accent-text);outline-offset:2px;border-radius:4px}
