:root {
  --bg: #eef1f4;
  --bg-deep: #e4e8ed;
  --surface: #ffffff;
  --ink: #12171e;
  --muted: #5a6572;
  --line: #d8dee6;
  --line-strong: #c5ced8;
  --brand: #0c1c2c;
  --accent: #1e6b4f;
  --accent-hover: #185a42;
  --accent-soft: #e6f3ed;
  --warn: #9a3412;
  --warn-bg: #fff4ed;
  --ok: #166534;
  --ok-bg: #ecfdf3;
  --shadow: 0 1px 2px rgba(12, 28, 44, 0.04), 0 8px 24px rgba(12, 28, 44, 0.06);
  --shadow-lg: 0 4px 12px rgba(12, 28, 44, 0.06), 0 20px 48px rgba(12, 28, 44, 0.08);
  --r: 10px;
  --r-lg: 14px;
  --pad: clamp(1rem, 3vw, 1.75rem);
  --max: 1120px;
  --header-h: 68px;
  --topbar-h: 36px;
  --font: "Figtree", system-ui, sans-serif;
  --disp: "Sora", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--disp); letter-spacing: -0.03em; line-height: 1.15; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Top utility bar */
.topbar {
  height: var(--topbar-h);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-hide-sm { display: none; }

@media (min-width: 720px) {
  .topbar-hide-sm { display: inline; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--brand);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(12, 28, 44, 0.12), inset 0 0 0 1px rgba(12, 28, 44, 0.06);
  flex-shrink: 0;
}

.brand-word {
  line-height: 1;
}

.brand-sub {
  display: inline;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 0.05rem;
  padding: 0.22rem 0.4rem;
  border-radius: 6px;
  background: var(--accent-soft);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg);
}

@media (min-width: 800px) {
  .nav { display: flex; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 800px) {
  .header-actions { margin-left: 0.5rem; }
}

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.cart-trigger:hover { border-color: var(--line-strong); background: var(--bg); }

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Stock alert */
.stock-alert {
  background: var(--warn-bg);
  border-bottom: 1px solid #f0d0bc;
  color: var(--warn);
  font-size: 0.84rem;
}

.stock-alert-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
}

.stock-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(154, 52, 18, 0.45);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(154, 52, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(154, 52, 18, 0); }
}

.stock-alert-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
}

.stock-alert-sep { opacity: 0.4; }
.stock-alert strong { color: var(--ink); }

.stock-bar {
  flex: 1;
  min-width: 80px;
  max-width: 140px;
  height: 4px;
  border-radius: 99px;
  background: rgba(154, 52, 18, 0.15);
  overflow: hidden;
  margin-left: auto;
}

.stock-bar-fill {
  height: 100%;
  background: var(--warn);
  border-radius: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-secondary:hover { background: var(--bg); color: var(--ink); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0.4rem 0.8rem; font-size: 0.82rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Breadcrumb / intro */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem var(--pad) 3.5rem;
}

.breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--accent); }

.page-intro {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
}

.page-intro > p {
  margin: 0;
  color: var(--muted);
}

/* Product page */
.product-hero {
  padding: 1.5rem 0 2.5rem;
}

.product-grid {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.product-media { min-width: 0; }

.product-stage {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
}

.product-stage > #galleryMain,
.product-stage > .gallery-video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-stage img {
  mix-blend-mode: multiply;
}

.product-stage.is-video {
  padding: 0;
  background: #0c1c2c;
}

.product-stage.is-video .gallery-video {
  mix-blend-mode: normal;
  background: #0c1c2c;
  z-index: 1;
}

.gallery-video {
  display: block;
  border: 0;
}

#galleryMain[hidden],
.gallery-video[hidden] {
  display: none !important;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.thumb-video img {
  mix-blend-mode: normal;
  object-fit: cover;
}

.thumb-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(12, 28, 44, 0.72);
  pointer-events: none;
}

.thumb-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

.thumb.is-active,
.thumb:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.product-info { min-width: 0; }

.product-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--brand);
}

.product-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
}

.quick-specs > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.quick-specs dt {
  margin: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 650;
}

.quick-specs dd {
  margin: 0.15rem 0 0;
  font-family: var(--disp);
  font-weight: 650;
  font-size: 0.92rem;
}

.buy-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 1.15rem;
  display: grid;
  gap: 0.9rem;
}

.buy-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
}

.price-was {
  font-family: var(--disp);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  letter-spacing: -0.02em;
}

.price {
  display: inline-block;
  font-family: var(--disp);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--warn);
  line-height: 1;
}

.price-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.price-save {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.stock-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.stock-pill-warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.buy-meta {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.buy-meta li {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.buy-meta ul { margin: 0; padding: 0; display: grid; gap: 0.4rem; }

.buy-meta svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
}

.buy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}

.qty button {
  width: 40px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
}

.qty button:hover { background: var(--surface); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }

.qty input {
  width: 42px;
  height: 46px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 650;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.buy-hint {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Trust strip */
.trust-strip {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.9rem 1rem;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  font-family: var(--disp);
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* About product */
.prose-block {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .prose-block {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
}

.prose-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.prose-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.prose-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.prose-card p:last-child { margin-bottom: 0; }

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.feature-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.feature-list span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Specs */
.specs-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

.specs-table th {
  width: 42%;
  color: var(--muted);
  font-weight: 550;
  background: #f8fafb;
}

.specs-table td { font-weight: 600; }

.specs-note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.specs-note a { color: var(--accent); }

/* Calculator */
.calc {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .calc {
    grid-template-columns: 1fr 1.1fr;
    gap: 1.25rem;
  }
}

.calc-inputs,
.calc-results {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.calc-inputs {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field > span {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea,
.checkout-form-page input,
.checkout-form-page select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.checkout-form-page input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 107, 79, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.field-grid {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.calc-metric {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
}

.calc-metric span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.calc-metric strong {
  font-family: var(--disp);
  font-size: 1.05rem;
}

.calc-metric strong.accent { color: var(--accent); }
.calc-metric strong.negative { color: var(--warn); }

.calc-disclaimer {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Batches */
.batches-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.no-preorder {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}

.batch-months {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .batch-months { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .batch-months { grid-template-columns: repeat(6, 1fr); }
}

.batch-months li {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-weight: 650;
  font-size: 0.88rem;
}

/* Payment */
.pay-methods {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pay-methods { grid-template-columns: repeat(3, 1fr); }
}

.pay-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.pay-chip .pay-icon {
  grid-row: 1 / span 2;
}

.pay-chip strong {
  display: block;
  font-family: var(--disp);
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.pay-chip span {
  font-size: 0.85rem;
  color: var(--muted);
}

.fulfil-path {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  display: grid;
  gap: 1.75rem;
  border-top: 1px solid var(--line);
  position: relative;
}

@media (min-width: 860px) {
  .fulfil-path {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 2.25rem 0 0.25rem;
    border-top: 0;
  }

  .fulfil-path::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0.2rem;
    right: 0.2rem;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--accent) 0%,
      var(--line-strong) 28%,
      var(--line-strong) 72%,
      var(--accent) 100%
    );
    opacity: 0.85;
  }
}

.fulfil-path li {
  position: relative;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 0.35rem;
  align-content: start;
  transition: transform 0.35s var(--ease);
}

@media (min-width: 860px) {
  .fulfil-path li:hover {
    transform: translateY(-3px);
  }
}

.fulfil-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  margin-bottom: 0.85rem;
}

@media (max-width: 859px) {
  .fulfil-path {
    padding-left: 1.35rem;
  }

  .fulfil-path::before {
    content: "";
    position: absolute;
    top: 1.65rem;
    bottom: 0.5rem;
    left: 0.3rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--line-strong));
  }

  .fulfil-mark {
    position: absolute;
    left: -1.2rem;
    top: 0.35rem;
    margin: 0;
  }
}

.fulfil-index {
  margin: 0;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand);
  opacity: 0.18;
}

.fulfil-path strong {
  display: block;
  font-family: var(--disp);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.fulfil-path li > span:not(.fulfil-mark) {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.55rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.15rem 1rem;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-weight: 400;
  color: var(--muted);
  font-size: 1.2rem;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.75rem var(--pad) 1.75rem;
  margin-top: 0;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-grid strong {
  display: block;
  color: #fff;
  font-family: var(--disp);
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.footer-domain {
  margin: -0.25rem 0 0.65rem !important;
  color: #7ed4b0;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-grid p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  margin-top: 0.35rem;
}

.footer-grid a:hover { color: #fff; }

.footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 28, 44, 0.45);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(100vw - 1rem, 400px);
  max-width: 100%;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.drawer.is-open { transform: translateX(0); }

.drawer-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.drawer-head h2,
.modal-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.drawer-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  min-height: 0;
}

.drawer-foot {
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2rem 0.5rem;
  font-size: 0.9rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.cart-line img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px;
}

.cart-line-meta {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.cart-line h3 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.3;
}

.cart-line .price {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent);
  font-family: var(--font);
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-controls button {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  border-radius: 7px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.qty-controls span {
  min-width: 1rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 650;
}

.remove-line {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.cart-total strong {
  font-family: var(--disp);
  color: var(--brand);
}

/* Checkout */
.checkout-layout {
  display: grid;
  gap: 1.15rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

#checkoutFormWrap[hidden],
#checkoutEmpty[hidden],
#orderConfirm[hidden] {
  display: none !important;
}

.checkout-form-page,
.summary-panel {
  min-width: 0;
  width: 100%;
}

.panel {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

.panel-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.panel-note a { color: var(--accent); }
.panel-note.center { text-align: center; }

.checkout-form-page {
  display: grid;
  gap: 1.15rem;
}

.pay-options {
  display: grid;
  gap: 0.5rem;
}

.pay-options-stack { grid-template-columns: 1fr; }

.pay-option { cursor: pointer; position: relative; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }

.pay-option-ui {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pay-option-wide {
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.85rem !important;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.pay-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

.pay-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pay-option input:checked + .pay-option-ui {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: var(--accent-soft);
}

.pay-option-ui strong { font-family: var(--disp); }
.pay-option-ui em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}

.check-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}

.check-row a { color: var(--accent); }
.check-row input { margin-top: 0.2rem; }

.summary-panel { position: relative; }

.summary-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding-bottom: 0.85rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.summary-product {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}

.summary-product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px;
}

.summary-product strong {
  display: block;
  font-size: 0.88rem;
  font-family: var(--disp);
  line-height: 1.3;
}

.summary-product span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.summary-line > span {
  font-weight: 650;
  white-space: nowrap;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.summary-total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
}

.summary-total strong {
  font-family: var(--disp);
  color: var(--brand);
}

.summary-note {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.5rem;
  }

  .checkout-form-page {
    grid-column: 1;
    grid-row: 1;
  }

  .summary-panel {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    align-self: start;
  }
}

@media (max-width: 899px) {
  .field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .summary-line { grid-template-columns: 1fr; }
  .summary-line > span { justify-self: start; }
}

.empty-state {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.empty-state h2 {
  margin: 0 0 0.4rem;
  font-family: var(--disp);
}

.empty-state p { color: var(--muted); margin: 0 0 1.25rem; }

.confirm-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
  box-shadow: var(--shadow);
}

.confirm-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  font-weight: 700;
}

.confirm-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.confirm-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
}

.confirm-facts {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0;
}

.confirm-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.confirm-facts dt { color: var(--muted); }
.confirm-facts dd {
  margin: 0;
  font-weight: 650;
  text-align: right;
  max-width: 62%;
  word-break: break-word;
}

.wallet-box {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.muted { color: var(--muted); }
.muted.small { font-size: 0.82rem; }
.order-id { color: var(--accent); }

/* Post-order payment confirmation */
#orderConfirm:not([hidden]) {
  display: block;
  margin-bottom: 2rem;
}

.pay-confirm {
  display: grid;
  gap: 1rem;
}

.pay-confirm-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--ok-bg);
  border: 1px solid #bbf7d0;
  border-radius: var(--r-lg);
}

.pay-confirm-banner h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  color: var(--brand);
}

.pay-confirm-banner p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pay-confirm-check {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.pay-confirm-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .pay-confirm-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    align-items: start;
  }
}

.pay-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}

.pay-panel-main { display: grid; gap: 1.15rem; }

.pay-panel-side h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.pay-amount-block {
  padding: 1.1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(160deg, #0c1c2c 0%, #14324a 100%);
  color: #fff;
}

.pay-amount-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.pay-amount-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.pay-btc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.pay-btc-row[hidden] {
  display: none !important;
}

.pay-btc-main {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.pay-amount-btc {
  font-size: clamp(1.2rem, 3vw, 1.55rem) !important;
  word-break: break-all;
}

.pay-amount {
  font-family: var(--disp);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.pay-amount-block .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.pay-amount-block .btn-ghost:hover,
.pay-amount-block .btn-ghost.is-copied {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.pay-amount-note {
  margin: 0.7rem 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.pay-method-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.pay-method-chip strong {
  display: block;
  font-family: var(--disp);
  font-size: 0.98rem;
}

.pay-method-chip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.pay-wallet-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pay-wallet-layout {
    grid-template-columns: auto 1fr;
    align-items: start;
  }
}

.pay-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  width: fit-content;
  margin: 0 auto;
}

.pay-qr {
  width: 180px;
  height: 180px;
  border-radius: 8px;
}

.pay-qr-wrap span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.pay-wallet-copy {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.pay-wallet-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-wallet-copy .btn-primary {
  justify-self: start;
}

.pay-warn {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: var(--warn);
  background: var(--warn-bg);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  line-height: 1.45;
}

.pay-waiting {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #c5ddd3;
  background: linear-gradient(135deg, #f3faf6 0%, #e8f5ef 100%);
}

.pay-waiting-radar {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.pay-waiting-ring,
.pay-waiting-core {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pay-waiting-core {
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 107, 79, 0.18);
  animation: pay-core-pulse 1.6s ease-in-out infinite;
}

.pay-waiting-ring {
  border: 2px solid rgba(30, 107, 79, 0.45);
  animation: pay-ring-expand 2.4s ease-out infinite;
}

.pay-waiting-ring:nth-child(1) { animation-delay: 0s; }
.pay-waiting-ring:nth-child(2) { animation-delay: 0.8s; }
.pay-waiting-ring:nth-child(3) { animation-delay: 1.6s; }

@keyframes pay-ring-expand {
  0% {
    width: 12px;
    height: 12px;
    opacity: 0.7;
  }
  100% {
    width: 56px;
    height: 56px;
    opacity: 0;
  }
}

@keyframes pay-core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}

.pay-waiting-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.pay-waiting-copy strong {
  font-family: var(--disp);
  font-size: 0.98rem;
  color: var(--brand);
}

.pay-waiting-copy p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.pay-waiting-dots {
  display: inline-flex;
  gap: 0.28rem;
  margin-top: 0.35rem;
}

.pay-waiting-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  animation: pay-dot 1.2s ease-in-out infinite;
}

.pay-waiting-dots i:nth-child(2) { animation-delay: 0.2s; }
.pay-waiting-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes pay-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 520px) {
  .pay-waiting {
    flex-direction: column;
    text-align: center;
  }
}

.pay-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  counter-reset: paystep;
}

.pay-steps li {
  counter-increment: paystep;
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.pay-steps li::before {
  content: counter(paystep);
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.pay-steps strong { color: var(--ink); }

.pay-side-note {
  margin: 0.85rem 0 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.pay-side-note p { margin: 0; }

.btn.is-copied {
  border-color: var(--ok);
  color: var(--ok);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.confirm-actions .btn {
  flex: 1 1 auto;
  text-align: center;
  justify-content: center;
}

/* Legal prose */
.legal-main .prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.prose h2 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p, .prose li {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose ul { padding-left: 1.15rem; }
.prose strong { color: var(--ink); }

/* CTA band */
.cta-band {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.25rem 0;
}

.cta-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.92rem;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--brand);
}

.cta-band .btn-primary:hover {
  background: var(--accent-soft);
  color: var(--brand);
}

/* Track order */
.track-layout {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
}

.track-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.9rem;
}

.track-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.track-hint {
  margin: -0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.track-result {
  display: grid;
  gap: 1rem;
}

.track-status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid #c5e4d5;
}

.track-status-banner strong {
  display: block;
  font-family: var(--disp);
  font-size: 1.05rem;
  color: var(--brand);
}

.track-status-banner span {
  font-size: 0.84rem;
  color: var(--muted);
}

.track-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #c5e4d5;
}

.track-meta {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.track-meta div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.track-meta dt { color: var(--muted); margin: 0; }
.track-meta dd { margin: 0; font-weight: 650; word-break: break-word; }

@media (max-width: 520px) {
  .track-meta div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.track-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.track-timeline li {
  position: relative;
  padding: 0 0 1.15rem 1.55rem;
  border-left: 2px solid var(--line);
  margin-left: 0.55rem;
}

.track-timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.track-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-strong);
}

.track-timeline li.is-done::before {
  background: var(--accent);
  border-color: var(--accent);
}

.track-timeline li.is-current::before {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 107, 79, 0.2);
}

.track-timeline strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.track-timeline span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.track-error {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.9rem;
  border: 1px solid #f0d0bc;
}

.track-help {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.track-help a { color: var(--accent); }

/* FAQ page */
.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}

.faq-toc a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.faq-toc a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.faq-page {
  display: grid;
  gap: 1.75rem;
  max-width: 800px;
}

.faq-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.faq-more {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Full cart page */
.cart-page {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 920px) {
  .cart-page {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.5rem;
  }
}

.cart-page-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.cart-table-wrap {
  padding: 0;
  overflow: hidden;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cart-table thead {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.cart-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 700;
}

.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.cart-table tbody tr:last-child td { border-bottom: none; }

.cart-page-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
}

.cart-page-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 4px;
}

.cart-page-item a {
  color: var(--ink);
  text-decoration: none;
}

.cart-page-item a:hover { color: var(--accent); }

.cart-page-item strong {
  display: block;
  font-family: var(--disp);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-page-item span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.cart-page-price {
  display: grid;
  gap: 0.15rem;
}

.cart-compare {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.82rem;
}

.cart-page-qty { justify-content: flex-start; }

.cart-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.cart-summary .btn-block + .btn-block { margin-top: 0; }

.cart-trigger {
  text-decoration: none;
}

@media (max-width: 760px) {
  .cart-table thead { display: none; }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .cart-table tr:last-child { border-bottom: none; }

  .cart-table td {
    padding: 0.45rem 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .cart-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 700;
  }

  .cart-table td[data-label="Item"] {
    display: block;
    padding-bottom: 0.75rem;
  }

  .cart-table td[data-label="Item"]::before { display: none; }

  .cart-summary { position: static; }
}

/* Contact page */
.contact-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .contact-warranty {
    grid-column: 1 / -1;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}

.contact-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.contact-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-channels {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-channels li {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contact-channels strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.contact-channels a,
.contact-channels span {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-channels a:hover { color: var(--accent); }

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form .field-grid {
  gap: 0.75rem;
}

.contact-success {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid #bbf7d0;
  font-size: 0.9rem;
}

.contact-error {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid #f0d0bc;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.warranty-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .warranty-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.warranty-steps li {
  padding: 0.9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.warranty-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.warranty-steps strong {
  display: block;
  margin: 0.25rem 0 0.3rem;
  font-size: 0.92rem;
}

.warranty-steps span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.warranty-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.warranty-table th,
.warranty-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.warranty-table tr:last-child th,
.warranty-table tr:last-child td { border-bottom: none; }

.warranty-table th {
  color: var(--muted);
  font-weight: 550;
  width: 65%;
}

.warranty-table td { font-weight: 650; }

.contact-notice {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid #f0d0bc;
  font-size: 0.88rem;
  font-weight: 600;
}


