/* ==========================================================================
   ElasmoBand — design system
   ========================================================================== */
:root {
  --orange: #f26a1b;
  --orange-600: #d9560c;
  --orange-50: #fff1e8;
  --navy: #0a1c26;
  --navy-2: #0f2a38;
  --navy-3: #163a4c;
  --teal: #17b3a3;
  --teal-50: #e6f7f5;
  --sand: #f6f4f1;
  --ink: #1b2328;
  --muted: #5b6870;
  --line: #e4e1dc;
  --white: #ffffff;
  --danger: #c62f2f;
  --danger-50: #fdeeee;
  --success: #138a5e;
  --success-50: #e7f6ef;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 28, 38, 0.06), 0 8px 24px rgba(10, 28, 38, 0.06);
  --shadow-lg: 0 24px 60px rgba(10, 28, 38, 0.18);
  --container: 1200px;
  --gutter: 16px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-600); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, 0.12); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sand); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: 0.9rem; }
.btn-lg { min-height: 56px; padding: 0 1.8em; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link { color: var(--orange-600); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35em; }
.link:hover { text-decoration: underline; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: #cfe3ea; font-size: 0.84rem; }
.announce .container { display: flex; gap: 24px; justify-content: center; align-items: center; min-height: 36px; overflow: hidden; }
.announce span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.announce .icon { color: var(--teal); width: 16px; height: 16px; }
@media (max-width: 720px) { .announce span:not(:first-child) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--navy); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; line-height: 1; }
.brand-text { line-height: 1.05; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.main-nav a:hover { background: var(--sand); }
.main-nav a[aria-current='page'] { color: var(--orange-600); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font: inherit; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.icon-btn:hover { background: var(--sand); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 0.72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.menu-toggle { display: none; }
.header-buy { display: inline-flex; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-buy { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 20px; display: none; margin: 0; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 8px; font-size: 1.05rem; border-radius: 10px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 400px) { .lang-btn span { display: none; } .brand small { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: #e6eef2; }
.section-dark .muted { color: #9fb4bf; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #9fb4bf; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--teal); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, #1b4a5f 0%, var(--navy-2) 45%, var(--navy) 100%); color: #fff; }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero-waves { position: absolute; inset: auto 0 0 0; height: 60%; opacity: 0.22; pointer-events: none; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); display: block; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #c7d9e0; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-price { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; color: #c7d9e0; font-size: 0.9rem; }
.hero-price strong { font-size: 1.6rem; color: #fff; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; font-weight: 600; }
.badges .icon { color: var(--teal); width: 16px; height: 16px; }
.hero-media { position: relative; }
.hero-media .frame { position: relative; border-radius: 28px; overflow: hidden; background: #eceef0; box-shadow: var(--shadow-lg); aspect-ratio: 858 / 900; max-width: 520px; margin-left: auto; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: -8px; bottom: 32px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: 0.85rem; font-weight: 700; }
.hero-chip b { font-size: 1.4rem; color: var(--orange); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-media .frame { margin: 0 auto; max-width: 440px; }
  .hero-chip { left: 8px; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; }
.trust .icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; flex: none; }
.trust strong { display: block; font-size: 0.95rem; }
.trust span { font-size: 0.84rem; color: var(--muted); }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card .icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); margin-bottom: 18px; }
.card .icon-wrap .icon { width: 26px; height: 26px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.step::before { counter-increment: step; content: '0' counter(step); display: block; font-size: 0.85rem; font-weight: 800; color: var(--teal); letter-spacing: 0.1em; margin-bottom: 18px; }
.step h3 { color: #fff; }
.step p { color: #a9bdc7; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.media-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.media-card figcaption { padding: 12px 18px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }

.parts { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.parts li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.parts .num { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--orange-600); color: var(--orange-600); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem; }
.parts h3 { margin: 4px 0 4px; }
.parts p { margin: 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.chips .icon { color: var(--teal); width: 18px; height: 18px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat { padding: 32px; border-radius: var(--radius-lg); background: var(--navy-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.stat .value { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -0.04em; }
.stat .value small { font-size: 1.1rem; color: #fff; letter-spacing: 0; margin-left: 6px; font-weight: 700; }
.stat .label { font-size: 1.15rem; font-weight: 700; color: #fff; margin-top: 8px; }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }
.note { font-size: 0.85rem; color: var(--muted); }
.section-dark .note { color: #8ea5b1; }

.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #ff8a3d 100%); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; color: #fff; }
.cta-band p { margin: 0; color: #fff3ea; }

/* ---------- Alerts / disclaimer ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sand); font-size: 0.95rem; }
.alert .icon { margin-top: 2px; }
.alert-warn { background: var(--orange-50); border-color: #f8c9a8; }
.alert-warn .icon { color: var(--orange-600); }
.alert-error { background: var(--danger-50); border-color: #f1b9b9; color: #7d1d1d; }
.alert-success { background: var(--success-50); border-color: #a9dcc5; color: #0d5c3f; }
.alert ul { margin: 6px 0 0; }
.disclaimer { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--orange); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Page header ---------- */
.page-hero { background: var(--sand); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #33414a; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; background: #eceef0; border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.thumbs button { display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; }
.thumbs button[aria-current='true'] { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) { .product-info { position: static; } }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.product-info .subtitle { color: var(--muted); font-size: 1.1rem; margin-bottom: 18px; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-row .muted { font-size: 0.9rem; }
.stock { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 700; font-size: 0.92rem; margin: 6px 0 18px; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--success-50); }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.buy-box { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin-bottom: 14px; }
.buy-box .btn { flex: 1 1 200px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 48px; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--sand); }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tip { font-size: 0.88rem; color: var(--muted); }
.mini-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.mini-trust li { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--sand); }
.mini-trust .icon { color: var(--orange-600); width: 18px; height: 18px; }

.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 0.96rem; }
.specs th { color: var(--muted); font-weight: 600; width: 42%; padding-right: 16px; }
.tabs-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .tabs-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field .req { color: var(--orange-600); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfcac3; border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 179, 163, 0.18); }
.field.has-error .input { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 0.85rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.check a { color: var(--orange-600); font-weight: 700; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.radio-pill input { accent-color: var(--orange); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; padding: 0; }
.corporate-fields[hidden] { display: none; }

/* ---------- Cart / checkout ---------- */
.layout-aside { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } }
.summary { background: var(--sand); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.25rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; padding-left: 16px; text-align: right; font-weight: 700; }
.summary .total { font-size: 1.25rem; border-top: 1px solid var(--line); padding-top: 12px; color: var(--ink); font-weight: 800; }
.summary-line { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.summary-line img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.summary-line .qty-badge { font-size: 0.85rem; color: var(--muted); }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }
.cart-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.cart-item .actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.cart-item .line-total { font-weight: 800; font-size: 1.1rem; }
.btn-text { border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.88rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 8px 4px; }
.btn-text:hover { color: var(--danger); }
@media (max-width: 520px) { .cart-item { grid-template-columns: 72px 1fr; } .cart-item img { width: 72px; height: 72px; } .cart-item .line-total { grid-column: 2; } }
.empty-state { text-align: center; padding: 64px 0; }
.empty-state .icon { width: 56px; height: 56px; color: var(--muted); margin: 0 auto 16px; }

.pay-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; }
.pay-frame iframe { width: 100%; min-height: 600px; border: 0; }
.mock-pay { border: 2px dashed var(--orange); border-radius: var(--radius-lg); padding: 28px; background: var(--orange-50); }
.mock-pay form { display: inline-block; margin: 8px 8px 0 0; }

.result { max-width: 640px; margin: 0 auto; text-align: center; }
.result .badge-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.result .badge-icon .icon { width: 40px; height: 40px; }
.result .ok { background: var(--success-50); color: var(--success); }
.result .bad { background: var(--danger-50); color: var(--danger); }
.order-no { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--sand); padding: 8px 14px; border-radius: 10px; font-weight: 700; letter-spacing: 0.04em; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.contact-list .icon-wrap { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); display: grid; place-items: center; }
.contact-list strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--orange-600); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bdc7; padding: 64px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 32px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8ea5b1; }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #c7d9e0; }
.site-footer a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.footer-disclaimer { margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.82rem; color: #8ea5b1; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; }

/* ---------- Error page ---------- */
.error-page { text-align: center; padding: 96px 0; }
.error-page .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -0.05em; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-weight: 600; max-width: calc(100% - 32px); }
.toast .icon { color: var(--teal); }
.toast a { color: var(--orange); font-weight: 800; }

/* ---------- Safety ---------- */
.warn-card { border-left: 4px solid var(--orange); }
.warn-card .icon-wrap { background: var(--orange-50); color: var(--orange-600); }
.tips { list-style: none; padding: 0; display: grid; gap: 12px; }
.tips li { display: flex; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.tips .icon { color: var(--teal); margin-top: 2px; }

/* ---------- Admin ---------- */
.admin { background: var(--sand); min-height: 100vh; }
.admin-header { background: var(--navy); color: #fff; }
.admin-header .container { display: flex; align-items: center; gap: 20px; height: 60px; overflow-x: auto; white-space: nowrap; }
.admin-header a { color: #c7d9e0; text-decoration: none; font-weight: 600; }
.admin-header a:hover, .admin-header a[aria-current='page'] { color: #fff; }
.admin main { padding: 32px 0 64px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table th { background: #faf9f7; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.table td.wrap { white-space: normal; min-width: 240px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: var(--sand); }
.pill-paid { background: var(--success-50); color: var(--success); }
.pill-shipped, .pill-delivered { background: var(--teal-50); color: #0c776c; }
.pill-failed, .pill-cancelled { background: var(--danger-50); color: var(--danger); }
.pill-pending_payment { background: var(--orange-50); color: var(--orange-600); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kpi b { display: block; font-size: 1.6rem; }
.kpi span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 28px; }
.flex-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center-row { justify-content: center; }
.error { color: var(--danger); font-size: 0.85rem; margin-top: 4px; }
.legal-note { font-size: 0.85rem; color: var(--muted); border-left: 3px solid var(--orange); padding-left: 12px; }
.stock.out { color: var(--danger); }
.stock.out::before { box-shadow: 0 0 0 4px var(--danger-50); }
.footer-links { display: inline-flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; }
.footer-links .icon { width: 16px; height: 16px; }
.admin-login { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; }
.admin-login:hover { border-color: var(--orange); }
.field-legend { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
