/* LOVEWE storefront — design tokens & layout
   Typography and rhythm follow Apple.com conventions:
   system font stack, 980px reading measure, 1200px grids, generous vertical space. */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #fbfbfd;
  --blue: #3B9BD8;
  --blue-dark: #2a7fb8;
  --green: #7DBB3C;
  --green-dark: #5f9a2a;
  --radius: 18px;
  --radius-s: 12px;
  --nav-h: 48px;
  --measure: 980px;
  --wide: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b; --line: #424245;
    --bg: #000000; --bg-2: #161617; --bg-3: #0d0d0e;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wide), 100% - 32px); margin-inline: auto; }
.measure { width: min(var(--measure), 100% - 32px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; height: 100%; flex: none; }
.nav-logo img { height: 22px; width: auto; max-width: none; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: 13px; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.nav-right a { color: var(--ink); }
.pill-loc {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink); font-size: 12px; border: 0; white-space: nowrap;
}
.pill-loc span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.pill-loc .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cart-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; }
.cart-count[data-n="0"] { display: none; }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; color: var(--ink); }
@media (max-width: 833px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav-logo img { height: 18px; }
  .nav-right { gap: 10px; }
  .nav-burger { width: 32px; }
  .pill-loc span:last-child { max-width: 96px; }
  .nav.open .nav-links { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-size: 17px; font-weight: 500; border: 1px solid transparent; transition: transform .15s var(--ease), background .15s; text-decoration: none !important; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-lg { padding: 16px 30px; font-size: 19px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow::after { content: " ›"; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; background: var(--bg-2); overflow: hidden; }
.hero h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 700; letter-spacing: -0.035em; }
.hero .sub { font-size: clamp(19px, 2.4vw, 28px); color: var(--ink-2); margin: 14px auto 0; max-width: 34ch; line-height: 1.25; }
.hero .cta { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hero-media { margin: 44px auto 0; width: min(1100px, 100%); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; position: relative; aspect-ratio: 16 / 9; background: #000; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-eyebrow { display: inline-block; font-size: 13px; color: var(--green-dark); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Section rhythm ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: clamp(17px, 2vw, 21px); margin-top: 10px; }
.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }

/* ---------- Video product cards ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vcard { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); color: inherit; display: block; text-decoration: none !important; transition: transform .25s var(--ease); }
.vcard:hover { transform: translateY(-3px); }
.vcard .media { position: relative; aspect-ratio: 16 / 10; background: #dfe1e5; overflow: hidden; }
.vcard .media img, .vcard .media video { width: 100%; height: 100%; object-fit: cover; }
.vcard .media video { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.vcard.playing .media video { opacity: 1; }
.vcard .dur { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; padding: 3px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.vcard .play { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: #000; }
.vcard .badge { position: absolute; left: 12px; top: 12px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.vcard .body { padding: 18px 20px 22px; }
.vcard h3 { font-size: 21px; font-weight: 600; }
.vcard .cat { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.vcard .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.vcard .price { font-size: 17px; font-weight: 600; }
.vcard .rent { font-size: 14px; color: var(--ink-2); }
.vcard .chapters { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.vcard .chapters span { font-size: 11px; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

/* ---------- Trust strip ---------- */
.trust { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust article { padding: 28px; border-radius: var(--radius); background: var(--bg); }
.trust h3 { font-size: 19px; margin-bottom: 8px; }
.trust p { color: var(--ink-2); font-size: 15px; }
.trust .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; margin-bottom: 16px; color: var(--blue); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps article { padding: 32px 28px; border-radius: var(--radius); background: var(--bg-2); }
.steps article::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ---------- Warehouse block ---------- */
.wh-hero { display: grid; gap: 28px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 833px) { .wh-hero { grid-template-columns: 1fr; } }
.wh-map { border-radius: var(--radius); background: var(--bg-2); padding: 12px; }
.wh-map svg { width: 100%; height: auto; }
.wh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wh-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--bg-2); font-size: 15px; }
.wh-list li.near { outline: 2px solid var(--green); }
.wh-list .meta { color: var(--ink-2); font-size: 13px; }
.nearest-card { border-radius: var(--radius); padding: 28px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }
.nearest-card h3 { font-size: 26px; }
.nearest-card p { opacity: .9; margin-top: 6px; }
.nearest-card .big { font-size: 40px; font-weight: 700; letter-spacing: -.03em; margin-top: 10px; }
.wh-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.wh-card { padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.wh-card h3 { font-size: 21px; }
.wh-card .flag { font-size: 28px; margin-bottom: 8px; }
.wh-card dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; }
.wh-card dt { color: var(--ink-3); }
.wh-card dd { margin: 0; }

/* ---------- Product page ---------- */
.p-hero { background: var(--bg-2); padding: 40px 0 0; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.p-top { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); align-items: start; }
.p-top > * { min-width: 0; }
@media (max-width: 1023px) { .p-top { grid-template-columns: 1fr; } .buy-box { position: static; } }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player .poster-btn { position: absolute; inset: 0; border: 0; background: transparent; padding: 0; cursor: pointer; }
.player .poster-btn img { width: 100%; height: 100%; object-fit: cover; }
.player .poster-btn .ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; color: #000; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.player.started .poster-btn { display: none; }
.chapter-bar { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.chapter-bar::-webkit-scrollbar { display: none; }
.chapter-bar button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.chapter-bar button .t { color: var(--ink-3); font-variant-numeric: tabular-nums; font-size: 12px; }
.chapter-bar button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chapter-bar button.active .t { color: inherit; opacity: .7; }
.buy-box { position: sticky; top: calc(var(--nav-h) + 16px); border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); padding: 26px; }
.buy-box h1 { font-size: 30px; }
.buy-box .headline { color: var(--ink-2); margin-top: 6px; font-size: 17px; }
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.mode label { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; cursor: pointer; display: block; }
.mode label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode .m-title { font-size: 14px; font-weight: 600; }
.mode .m-price { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -.02em; }
.mode .m-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.compare { font-size: 13px; color: var(--ink-3); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); font-size: 20px; }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; background: transparent; color: var(--ink); }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.fulfil { margin-top: 18px; font-size: 14px; color: var(--ink-2); display: grid; gap: 8px; }
.fulfil strong { color: var(--ink); }
.fulfil .row { display: flex; gap: 10px; align-items: flex-start; }
.fulfil .row svg { flex: 0 0 18px; margin-top: 2px; color: var(--green-dark); }
.p-nav { position: sticky; top: var(--nav-h); z-index: 40; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.p-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; height: 48px; align-items: center; }
.p-nav ul::-webkit-scrollbar { display: none; }
.p-nav a { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.p-nav a.active { color: var(--ink); font-weight: 600; }
.p-section { padding: 72px 0; scroll-margin-top: calc(var(--nav-h) * 2 + 8px); }
.p-section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 12px; }
.p-section .lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 60ch; }
.p-section .jump { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 15px; }
.two { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 32px; }
@media (max-width: 833px) { .two { grid-template-columns: 1fr; } }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check li::before { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; background: var(--green); margin-top: 2px; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='10' fill='black'/><path d='M6 10.5l2.5 2.5L14 7.5' stroke='white' stroke-width='2' fill='none'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><circle cx='10' cy='10' r='10' fill='black'/><path d='M6 10.5l2.5 2.5L14 7.5' stroke='white' stroke-width='2' fill='none'/></svg>") center/contain no-repeat; }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; font-size: 15px; }
.spec dt { color: var(--ink-3); }
.spec dd { margin: 0; }
.steps-ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: a; }
.steps-ol li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; font-size: 17px; }
.steps-ol li::before { counter-increment: a; content: counter(a); width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-weight: 700; color: var(--blue); }
.delivery-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; }
.delivery-cards article { padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.delivery-cards .n { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.delivery-cards .l { color: var(--ink-2); font-size: 14px; }
.transcript { margin-top: 32px; }
.transcript details { border-top: 1px solid var(--line); }
.transcript summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
.transcript p { color: var(--ink-2); padding-bottom: 16px; }
.related { margin-top: 20px; }

/* ---------- Cart / checkout ---------- */
.cart { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); align-items: start; }
@media (max-width: 1023px) { .cart { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { border-radius: var(--radius-s); aspect-ratio: 16/10; object-fit: cover; }
.cart-line h3 { font-size: 17px; }
.cart-line .sub { color: var(--ink-2); font-size: 14px; }
.cart-line .rm { background: none; border: 0; color: var(--blue); font-size: 13px; padding: 0; margin-top: 6px; }
.summary { border-radius: var(--radius); background: var(--bg-2); padding: 26px; position: sticky; top: calc(var(--nav-h) + 16px); }
.summary h2 { font-size: 22px; margin-bottom: 16px; }
.summary .row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 19px; font-weight: 600; }
.fulfil-choice { display: grid; gap: 10px; margin: 18px 0; }
.fulfil-choice label { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; cursor: pointer; background: var(--bg); display: grid; gap: 4px; position: relative; }
.fulfil-choice label:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fulfil-choice input[type=radio] { position: absolute; opacity: 0; }
.fulfil-choice .t { font-weight: 600; font-size: 15px; }
.fulfil-choice .s { font-size: 13px; color: var(--ink-2); }
.fulfil-choice select { width: 100%; margin-top: 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font: inherit; color: var(--ink); }
.pay-logos { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pay-logos span { font-size: 11px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }
.empty { text-align: center; padding: 80px 0; color: var(--ink-2); }
.notice { border-radius: var(--radius-s); padding: 14px 16px; background: #fff7e6; color: #7a4b00; font-size: 14px; }
@media (prefers-color-scheme: dark) { .notice { background: #2a2210; color: #f2c46d; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: 20px; max-width: 70ch; }

/* ---------- CTA band ---------- */
.band { text-align: center; padding: 96px 0; background: var(--ink); color: var(--bg); }
.band h2 { font-size: clamp(32px, 5vw, 56px); }
.band p { color: color-mix(in srgb, var(--bg) 70%, transparent); margin: 12px auto 0; max-width: 50ch; font-size: 19px; }

/* ---------- Footer ---------- */
footer { background: var(--bg-2); color: var(--ink-2); font-size: 12px; padding: 32px 0 40px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-grid h4 { color: var(--ink); font-size: 12px; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink-2); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s var(--ease); z-index: 60; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Product listing filters ---------- */
.filters { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.filters a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink); }
.filters a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

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

/* ---------- returns: product note + order page ---------- */
[hidden] { display: none !important; }
.ret-note { font-size: 12px; color: var(--ink-3); margin-top: 12px; line-height: 1.45; }
.order-page { display: flex; flex-direction: column; gap: 16px; }
.o-head h2 { font-size: 32px; letter-spacing: -.5px; }
.o-eyebrow { font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.o-card { background: var(--bg-2); border-radius: var(--radius); padding: 20px; }
.o-card h2 { font-size: 24px; margin-bottom: 6px; }
.o-card h3 { font-size: 19px; margin-bottom: 8px; }
.o-sub { font-size: 14px; color: var(--ink-2); margin: 4px 0; }
.o-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.o-line:last-of-type { border-bottom: 0; }
.o-line img { width: 88px; height: 55px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.o-amt { font-weight: 600; white-space: nowrap; }
.o-note { font-size: 14px; margin-top: 10px; }
.o-status { font-size: 14px; margin: 2px 0 8px; padding: 8px 12px; border-radius: 10px; background: var(--bg); }
.o-status.s-refunded, .o-status.s-closed { color: #2e7d32; }
.o-status.s-awaiting_payment, .o-status.s-rejected { color: #c0352b; }
.o-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.o-form label { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.o-form input, .o-form select, .o-form textarea { font: inherit; font-size: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); width: 100%; }
.o-form .qty input { width: 48px; padding: 8px 0; text-align: center; border: 0; background: transparent; }
.o-addr { font-size: 13px; color: var(--ink-2); background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 0; }
.o-addr span { color: var(--ink-3); }
.o-rline { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.o-total { display: flex; justify-content: space-between; font-size: 16px; margin-top: 10px; }
.o-msg { font-size: 14px; color: var(--ink-2); min-height: 1em; }
.o-stage { display: flex; flex-wrap: wrap; gap: 6px; }
.o-chip { position: relative; font-size: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; max-width: 200px; overflow: hidden; }
.o-chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-chip i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--blue); }
.o-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.o-files img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; display: block; }
.o-files video { width: 200px; max-height: 200px; border-radius: 10px; background: #000; }
.o-foot { font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 600px) { .o-line { grid-template-columns: 64px 1fr; } .o-line img { width: 64px; height: 40px; } .o-amt { grid-column: 2; } }
