/* ================= Vinteloom — Vintage Watch Shop ================= */
:root {
  --bg: #0b0805;
  --bg-2: #140d07;
  --panel: rgba(18, 12, 7, .88);
  --ink: #0e0905;
  --text: #e9dcc4;
  --text-2: #cbbda4;
  --muted: #a8977c;
  --dim: #6d5d47;
  --gold: #d8bb82;
  --gold-2: #b8955a;
  --gold-3: #f0d9a8;
  --line: rgba(184, 149, 90, .22);
  --line-2: rgba(184, 149, 90, .45);
  --wood-1: #24160b;
  --wood-2: #3a2414;
  --wood-3: #2d1c0f;
  --wood-edge: #4d321c;
  /* real wood (Poly Haven "Rosewood Veneer 1", CC0, toned like an old French polish),
     vertical and horizontal grain, plus the gilt used for the trim */
  --wood-v: url(/images/wood-v.webp);
  --wood-h: url(/images/wood-h.webp);
  --gilt: linear-gradient(90deg, #6e5229, #d8b46a 20%, #8a6a34 45%, #e6c784 70%, #7a5c2e);
  --brass: linear-gradient(160deg, #d9bf86 0%, #a8844b 45%, #c9aa6e 70%, #8d6c38 100%);
  --danger: #d48a6a;
  --fa: "Jost", system-ui, sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body {
  font-family: var(--fa);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-3); }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--gold-2); color: var(--bg); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.latin { font-family: var(--serif); direction: ltr; unicode-bidi: isolate; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, #2a1b0f 0%, #140d07 55%, #0b0805 100%) fixed;
  overflow-x: hidden;
}
#app { flex: 1; outline: none; }
.store-loading { display: none; }
.store-starting .seo-prerender { display: none; }
.store-starting .store-loading {
  display: grid; place-items: center; min-height: min(60vh, 32rem);
  padding: 24px; color: var(--muted); font-size: 14px;
}

/* ---------------- Header ---------------- */
.site-header {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 32px 0;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 3px; direction: ltr; }
.logo-diamond { width: 9px; height: 9px; border: 1px solid var(--gold-2); transform: rotate(45deg); margin-bottom: 5px; }
.logo-name { font-family: var(--display); font-size: 30px; letter-spacing: 6px; color: var(--gold); line-height: 1; }
.logo-tag { font-family: var(--display); font-size: 10px; letter-spacing: 4px; color: var(--muted); }

.header-icons { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: #cdb991; cursor: pointer;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(184, 149, 90, .12); color: var(--gold-3); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--gold-2); color: var(--bg);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.menu-btn { display: none; }
.lang-switch { display: flex; gap: 4px; font-size: 12px; letter-spacing: 1.5px; }
.lang-switch button { padding: 6px 10px; background: transparent; color: #cdb991; border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; }
.lang-switch button:hover { color: var(--gold-3); }
.lang-switch button.on { background: var(--gold-2); color: var(--bg-2); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-icons { justify-content: flex-end; }

.main-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 36px;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(184, 149, 90, .18);
  font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
}
.main-nav a { color: #cdb991; position: relative; padding: 2px 0; }
.main-nav a::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-3); }

/* ---------------- Generic ---------------- */
.container { max-width: 1100px; margin: 0 auto; padding: 36px 28px 80px; }
.panel { background: var(--panel); border: 1px solid var(--line); }
.page-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--text); }
.page-sub { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.ornament { display: flex; align-items: center; gap: 12px; color: var(--gold-2); margin: 0 0 18px; }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.ornament span { width: 9px; height: 9px; border: 1px solid var(--gold); transform: rotate(45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px;
  font-size: 14px; letter-spacing: .5px;
  cursor: pointer; border-radius: 0;
  transition: filter .2s, background .2s, color .2s;
}
.btn-gold { background: linear-gradient(160deg, #d9bf86, #a8844b); border: 1px solid #6e5229; color: #1e1309; font-weight: 500; }
.btn-gold:hover { filter: brightness(1.1); color: #1e1309; }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--gold); }
.btn-ghost:hover { background: rgba(184, 149, 90, .12); color: var(--gold-3); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-sm { padding: 7px 14px; font-size: 12px; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  padding: 11px 12px;
  background: var(--ink); border: 1px solid rgba(184, 149, 90, .3);
  color: var(--text); font-size: 15px; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 84px; }
.field .err { color: var(--danger); font-size: 12px; min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state .big-icon { width: 70px; height: 70px; margin: 0 auto 18px; color: var(--gold-2); }
.empty-state .big-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; }
.empty-state h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 0 24px; }

.view-enter { animation: viewIn .45s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------- Showcase (home) ---------------- */
.showcase-wrap {
  max-width: 1180px; margin: 0 auto;
  padding: 40px 24px 40px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px;
  gap: 20px; align-items: center;
}
.vit-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vit-arrow {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20, 13, 7, .6); border: 1px solid var(--line-2); color: var(--gold);
  cursor: pointer; transition: background .2s;
}
.vit-arrow:hover { background: rgba(184, 149, 90, .15); }
.vit-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.vit-hint { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); text-align: center; line-height: 1.9; max-width: 90px; }

.vit-counter { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vit-num { font-family: var(--display); font-size: 20px; color: var(--gold); }
.vit-total { font-family: var(--display); font-size: 13px; color: var(--muted); }
.vit-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(184, 149, 90, .35); border: 0; padding: 0; cursor: pointer; transition: all .3s; }
.vit-dot.on { width: 10px; height: 10px; background: var(--gold); }
.vit-line { width: 1px; height: 80px; background: linear-gradient(var(--gold-2), transparent); }

.cabinet { position: relative; max-width: 820px; width: 100%; margin: 0 auto; }
.cab-top {
  position: relative; height: 36px; margin: 0 -18px;
  background:
    linear-gradient(rgba(255, 220, 170, .22), rgba(255, 220, 170, .04) 18%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .55)),
    var(--wood-h) center / 520px auto, #2a190c;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 225, 180, .25), inset 0 -1px 0 rgba(0, 0, 0, .6);
}
/* gilt-bronze mounts on the four corners of the cabinet front */
.cab-inner::before, .cab-inner::after {
  content: ""; position: absolute; left: -11px; right: -11px; height: 60px; pointer-events: none; z-index: 4;
}
.cab-inner::before { top: -11px; background: url(/images/ormolu-tl.svg) left top / 60px no-repeat, url(/images/ormolu-tr.svg) right top / 60px no-repeat; }
.cab-inner::after { bottom: -11px; background: url(/images/ormolu-bl.svg) left bottom / 60px no-repeat, url(/images/ormolu-br.svg) right bottom / 60px no-repeat; }
/* moulding under the crown */
.cab-top::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: -9px; height: 9px;
  background:
    var(--gilt) left bottom / 100% 2px no-repeat,
    linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .7)), var(--wood-h) center / 520px auto;
  box-shadow: inset 0 1px 0 rgba(255, 225, 180, .18), 0 3px 6px rgba(0, 0, 0, .5);
}
/* gilt bead along the crown */
.cab-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px;
  background: var(--gilt); opacity: .75; box-shadow: 0 1px 1px rgba(0, 0, 0, .6);
}
.cab-body {
  position: relative; padding: 58px 26px 26px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, .12) 50%, rgba(0, 0, 0, 0) 94%, rgba(0, 0, 0, .55) 100%),
    radial-gradient(ellipse 60% 30% at 50% 0%, rgba(255, 215, 160, .14), transparent 70%),
    var(--wood-v) center top / 460px auto, var(--wood-2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .7), inset 1px 0 0 rgba(255, 225, 180, .12), inset -1px 0 0 rgba(0, 0, 0, .7);
}
.cab-bottom {
  position: relative; height: 42px; margin: 0 -18px;
  background:
    linear-gradient(rgba(255, 220, 170, .16), rgba(0, 0, 0, .05) 22%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .7)),
    var(--wood-h) center / 520px auto, #1c1108;
  border-radius: 0 0 2px 2px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 225, 180, .22);
}
/* moulding above the plinth */
.cab-bottom::before {
  content: ""; position: absolute; left: 8px; right: 8px; top: -8px; height: 8px;
  background:
    var(--gilt) left top / 100% 2px no-repeat,
    linear-gradient(rgba(255, 220, 170, .15), rgba(0, 0, 0, .45)), var(--wood-h) center / 520px auto;
  box-shadow: inset 0 1px 0 rgba(255, 225, 180, .2);
}
/* gilt bead along the plinth */
.cab-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px;
  background: var(--gilt); opacity: .65; box-shadow: 0 1px 1px rgba(0, 0, 0, .6);
}
.plate {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  min-width: 300px; padding: 12px 48px;
  background: var(--brass);
  border: 2px solid #6e5229; border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 240, 200, .5);
  text-align: center; z-index: 3;
}
.plate::before, .plate::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3px;
  border-radius: 50%; background: #5a4220;
}
.plate::before { left: 14px; }
.plate::after { right: 14px; }
.plate-text {
  font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: 3px;
  color: #2a1a0c; text-shadow: 0 1px 0 rgba(255, 235, 190, .5); line-height: 1.1;
  direction: ltr;
}
.cab-inner {
  position: relative; padding: 34px 16px 16px;
  background: var(--ink);
  /* bevelled wooden frame around the glass */
  border: 6px solid transparent;
  border-image: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .2)) 1;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .8), 0 0 0 3px #a8844a, 0 0 0 4px rgba(0, 0, 0, .7), 0 1px 0 4px rgba(255, 225, 180, .1);
}
.cab-light {
  position: absolute; top: 8px; width: 46px; height: 7px; border-radius: 50%;
  background: #fff3d6; box-shadow: 0 0 18px 6px rgba(255, 220, 160, .5);
}
.cab-light.l { left: 22%; }
.cab-light.r { right: 22%; }
.cab-glass {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 240, 215, .05) 18%, transparent 26%, transparent 60%, rgba(255, 240, 215, .035) 68%, transparent 74%);
}
.slots {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px;
  /* shelves and dividers: the same wood, in the shade of the cabinet */
  background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .62)), var(--wood-h) center / 520px auto, #22150b;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7);
}
.slots.switching { animation: slotsIn .5s ease both; }
@keyframes slotsIn { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }

.slot {
  position: relative; display: block;
  aspect-ratio: 136 / 196;
  background: radial-gradient(ellipse at 50% 35%, #2b2219 0%, #15100b 75%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.slot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.62) saturate(.85);
  transition: filter .45s ease, transform .45s ease;
}
.slot .s-light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 222, 165, .55), rgba(255, 200, 130, .12) 55%, transparent 80%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .45s ease;
}
.slot .s-ring { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(216, 187, 130, 0); transition: box-shadow .45s ease; }
.slot .s-tag {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  padding: 6px 8px; background: rgba(14, 9, 5, .88); border: 1px solid rgba(184, 149, 90, .5);
  text-align: center; opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease; pointer-events: none;
}
.s-tag .n, .s-tag .p { display: block; }
.s-tag .n { font-size: 13px; color: var(--text); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-tag .p { font-size: 11px; color: var(--gold); }
.slot:hover img, .slot:focus-visible img { filter: brightness(1.18) contrast(1.06) saturate(1.1); transform: scale(1.04); }
.slot:hover .s-light, .slot:focus-visible .s-light { opacity: 1; }
.slot:hover .s-ring, .slot:focus-visible .s-ring { box-shadow: inset 0 0 0 1px rgba(216, 187, 130, .55); }
.slot:hover .s-tag, .slot:focus-visible .s-tag { opacity: 1; transform: none; }
.slot:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

.sold-badge {
  position: absolute; top: 10px; right: -30px; z-index: 2;
  width: 110px; padding: 2px 0; transform: rotate(45deg);
  background: #6e2a1a; color: #f3d9c6; font-size: 10px; text-align: center; letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.slot.sold img { filter: brightness(.4) saturate(.4) grayscale(.4); }

.slot.empty .pillow {
  position: absolute; inset: 18% 20% 22%;
  border-radius: 40% 40% 12% 12%;
  background: linear-gradient(#2a2017, #1a130d); box-shadow: 0 6px 12px rgba(0, 0, 0, .6);
}
.slot.empty .lbl { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--dim); }

@media (hover: none) {
  .slot img { filter: brightness(.9) saturate(.95); }
  .slot .s-tag { opacity: 1; transform: none; padding: 3px 4px; left: 4px; right: 4px; bottom: 4px; }
}

.vit-info {
  max-width: 940px; margin: 0 auto 70px; padding: 0 24px;
}
.vit-info .panel { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); }
.vit-info .cell { padding: 26px 24px; border-inline-end: 1px solid rgba(184, 149, 90, .15); }
.vit-info .cell:last-child { border-inline-end: 0; }
.vit-info .brand-name { font-size: 26px; font-family: var(--serif); font-weight: 500; color: var(--text); margin: 0 0 6px; }
.vit-info .brand-desc { font-size: 13px; line-height: 2; color: var(--muted); margin: 0; }
.vit-info .brand-count { margin-top: 10px; font-size: 12px; color: var(--gold); }
.feature { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.feature svg { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.1; margin-bottom: 6px; }
.feature .ft { font-size: 14px; color: var(--gold); }
.feature .fd { font-size: 12px; line-height: 1.9; color: var(--muted); }

/* ---------------- Collection grid ---------------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; background: transparent; border: 1px solid var(--line); color: var(--muted);
  font-size: 13px; cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--gold-3); border-color: var(--line-2); }
.chip.on { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); }
.sort-select { padding: 8px 12px; background: var(--ink); border: 1px solid var(--line); color: var(--text); font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  color: inherit; transition: border-color .3s, transform .3s;
}
.card { position: relative; }
.card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.card-link:hover { color: inherit; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); color: inherit; }
.card .thumb { position: relative; overflow: hidden; aspect-ratio: 136 / 160; background: var(--ink); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.88); transition: filter .4s, transform .4s; }
.card:hover .thumb img { filter: brightness(1.1); transform: scale(1.04); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.card .c-name { font-size: 15px; color: var(--text); }
.card .c-sub { font-size: 12px; color: var(--muted); }
.card .c-price { margin-top: 6px; font-size: 15px; color: var(--gold); }
.card.sold .c-price { color: var(--dim); text-decoration: line-through; }

.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14, 9, 5, .72); border: 1px solid var(--line-2); color: var(--gold);
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.fav-btn:hover { background: rgba(184, 149, 90, .2); transform: scale(1.06); }
.fav-btn.on svg, .fav-wide.on svg { fill: currentColor; }
.fav-wide.on { color: var(--gold-3); border-color: var(--gold); }
.card .sold-badge { right: auto; left: -30px; transform: rotate(-45deg); }

/* sections below the showcase */
.arrivals { max-width: 1100px; margin: 0 auto 80px; padding: 0 28px; }
.related { padding: 0; margin: 70px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-h { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--text); }
.section-head .page-sub { margin: 2px 0 0; }

/* ---------------- Detail ---------------- */
.crumbs { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs .path { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs .path .cur { color: var(--text); }
.crumbs .nav-btns { display: flex; gap: 10px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.frame {
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 10%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, .12) 90%, rgba(0, 0, 0, .55)),
    var(--wood-v) center / 460px auto, var(--wood-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 225, 180, .15), inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.frame .frame-img { box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 0 3px #a8844a, 0 0 0 4px rgba(0, 0, 0, .7); }
.frame-img { position: relative; background: var(--ink); overflow: hidden; }
.zoom-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.frame-img img { width: 100%; aspect-ratio: 136 / 196; object-fit: cover; display: block; filter: brightness(1.08) contrast(1.04); }
.frame-img .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 222, 165, .35), transparent 75%); mix-blend-mode: screen; }
.img-arrow {
  position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(14, 9, 5, .7); border: 1px solid rgba(184, 149, 90, .5); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.img-arrow:hover { background: rgba(184, 149, 90, .25); }
.img-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.img-arrow.prev { left: 10px; }
.img-arrow.next { right: 10px; }
.img-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 12px; letter-spacing: 2px; color: var(--gold); direction: ltr; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button {
  width: 64px; aspect-ratio: 136 / 196; padding: 0; border: 0; cursor: pointer; background: var(--ink);
  outline: 1px solid rgba(184, 149, 90, .2); outline-offset: 2px; opacity: .55; transition: opacity .3s, outline-color .3s;
}
.thumbs button:hover { opacity: 1; }
.thumbs button.on { outline-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.info { display: flex; flex-direction: column; gap: 22px; }
.info .code { font-family: var(--display); font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.info h1 { margin: 6px 0 4px; font-size: 38px; font-family: var(--serif); font-weight: 500; line-height: 1.3; color: var(--text); }
.info .sub { font-size: 14px; color: var(--muted); }
.info .price { font-size: 26px; color: var(--gold); font-weight: 500; }
.info .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.info .desc { margin: 0; font-size: 15px; line-height: 2.1; color: var(--text-2); }
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: 1px solid var(--line); }
.specs > div { padding: 14px 0; border-bottom: 1px solid rgba(184, 149, 90, .15); display: flex; flex-direction: column; gap: 2px; }
.specs .k { font-size: 12px; color: var(--muted); }
.specs .v { font-size: 15px; color: var(--text); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.notice { font-size: 13px; color: var(--muted); line-height: 2; padding: 12px 16px; border-inline-start: 2px solid var(--gold-2); background: rgba(184, 149, 90, .06); }
.notice a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Cart / Checkout ---------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(184, 149, 90, .15); }
.cart-item img { width: 70px; height: 96px; object-fit: cover; background: var(--ink); display: block; }
.cart-item .n { color: var(--text); font-size: 15px; }
.cart-item .s { color: var(--muted); font-size: 12px; }
.cart-item .pr { color: var(--gold); font-size: 14px; margin-top: 4px; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }
.summary { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.summary .row { display: flex; justify-content: space-between; color: var(--muted); }
.summary .row.total { color: var(--text); font-size: 17px; padding-top: 10px; border-top: 1px solid var(--line); }
.summary .row.total span:last-child { color: var(--gold); }

.checkout { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.checkout h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

.order-done { max-width: 640px; margin: 0 auto; text-align: center; }
.order-done .check { width: 74px; height: 74px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.order-done .check svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.order-code { display: inline-block; margin: 8px 0 20px; padding: 6px 18px; border: 1px dashed var(--line-2); font-family: var(--display); letter-spacing: 3px; color: var(--gold); direction: ltr; }
.order-box { text-align: left; padding: 20px 24px; margin: 20px 0; }
.order-box .summary { margin-top: 0; }

/* pre-rendered content (shown until the app starts, read by search engines) */
.seo-prerender { color: var(--text-2); }
.seo-prerender h2 { font-family: var(--serif); font-weight: 500; color: var(--text); }
.seo-prerender > img { max-width: 100%; object-fit: contain; }
.seo-prerender .thumbs a { width: 64px; aspect-ratio: 64 / 92; }
.seo-list { padding-left: 18px; line-height: 2; }

/* ---------------- Pages (about / contact) ---------------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); background: var(--panel); }
.faq summary { padding: 16px 20px; cursor: pointer; color: var(--text); font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 6px; }
.faq details p { margin: 0 0 14px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 10px; }
.contact-layout .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.prose { max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 2.2; color: var(--text-2); }
.prose h2 { font-family: var(--serif); font-weight: 500; color: var(--text); font-size: 24px; margin: 34px 0 8px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 10px; }
.contact-card { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.contact-card .k { font-size: 12px; color: var(--muted); }
.contact-card .v { font-size: 16px; color: var(--text); }
.contact-card a.v { color: var(--gold); }

.form-msg { font-size: 13px; color: var(--gold); min-height: 1em; }
.form-msg.bad { color: var(--danger); }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 32px 28px 18px; }
.foot-inner { max-width: 1044px; margin-inline: auto; }
.foot-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center; gap: 24px 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.footer-logo {
  display: inline-block; font-family: var(--display); font-size: clamp(21px, 3vw, 29px);
  line-height: 1.25; letter-spacing: .16em; color: var(--gold-3);
}
.foot-brand p { margin: 8px 0; color: var(--text-2); font-size: 14px; }
.foot-social, .foot-legal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 18px; }
.foot-social a { font-size: 14px; overflow-wrap: anywhere; }
.foot-social a, .foot-legal a { display: inline-block; padding-block: 5px; }
.foot-nav {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, 2fr);
  gap: 16px 32px; padding: 20px 0 18px;
}
.site-footer h2 { margin: 0 0 5px; font-size: 13px; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.foot-links { display: grid; margin: 0; padding: 0; list-style: none; gap: 0 16px; }
.foot-brands .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-help .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-nav a { display: inline-block; padding-block: 4px; font-size: 14px; overflow-wrap: anywhere; }
.foot-nav a, .foot-legal a { color: var(--text-2); }
.foot-nav a:hover, .foot-legal a:hover { color: var(--gold-3); text-decoration: underline; text-underline-offset: 4px; }
.foot-news { padding: 14px 16px; background: var(--ink); border: 1px solid var(--line); border-inline-start-color: var(--gold-2); }
.foot-news p { color: var(--text-2); font-size: 14px; margin: 0 0 10px; }
.news-row { display: flex; }
.news-row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 11px; background: var(--bg);
  border: 1px solid var(--line-2); border-inline-end: 0; border-radius: 0; color: var(--text); font-size: 16px;
}
.news-row input::placeholder { color: var(--muted); opacity: 1; }
.news-row .btn { flex: 0 0 auto; padding-inline: 13px; font-size: 14px; }
.site-footer :is(a, button, input):focus-visible { outline: 2px solid var(--gold-3); outline-offset: 2px; }
.foot-news .form-msg { margin-top: 8px; }
.foot-news .form-msg:empty { min-height: 0; margin-top: 0; }
.footer-copy {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 2px 18px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}

/* ---------------- WhatsApp & lightbox ---------------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #d9bf86, #a8844b); color: #1e1309;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #1e1309; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.lightbox { position: fixed; inset: 0; z-index: 55; background: rgba(6, 4, 2, .94); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; animation: viewIn .25s ease both; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lb-close { position: absolute; top: 14px; right: 14px; }

/* ---------------- Search overlay ---------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8, 5, 3, .86); backdrop-filter: blur(6px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 10vh 16px 16px;
  animation: viewIn .25s ease both;
}
.search-box { width: 100%; max-width: 620px; background: var(--bg-2); border: 1px solid var(--line-2); }
.search-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.search-head input { flex: 1; background: transparent; border: 0; outline: none; color: var(--text); font-size: 18px; padding: 8px 6px; }
.search-results { max-height: 60vh; overflow: auto; }
.search-results a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; color: var(--text); border-bottom: 1px solid rgba(184, 149, 90, .1); }
.search-results a:hover, .search-results a.on { background: rgba(184, 149, 90, .08); }
.search-results img { width: 44px; height: 60px; object-fit: cover; }
.search-results .s { font-size: 12px; color: var(--muted); }
.search-results .pr { font-size: 13px; color: var(--gold); }
.search-results .none { padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 22px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  transition: opacity .3s, transform .3s;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { margin-inline-start: 10px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .showcase-wrap { grid-template-columns: minmax(0, 1fr); padding-top: 30px; }
  .showcase-wrap .cabinet { order: 1; }
  .vit-controls { order: 2; flex-direction: row; justify-content: center; }
  .vit-controls .vit-hint { max-width: none; }
  .vit-controls .vit-arrow svg { transform: rotate(-90deg); }
  .vit-counter { order: 3; flex-direction: row; justify-content: center; }
  .vit-line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2)); }
  .vit-info .panel { grid-template-columns: repeat(3, 1fr); }
  .vit-info .cell.brand { grid-column: 1 / -1; border-inline-end: 0; border-bottom: 1px solid rgba(184, 149, 90, .15); }
  .detail, .cart-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .detail { gap: 32px; }
}

@media (max-width: 760px) {
  .site-header { padding: 16px 16px 0; }
  .logo-name { font-size: 22px; letter-spacing: 4px; }
  .logo-tag { font-size: 8px; letter-spacing: 3px; }
  .menu-btn { display: inline-flex; }
  .main-nav {
    display: none; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-top: 1px solid rgba(184, 149, 90, .1); }
  .main-nav a::after { display: none; }
  .container { padding: 26px 16px 60px; }
  .showcase-wrap { padding: 26px 16px 30px; }
  .cab-top, .cab-bottom { margin: 0 -6px; }
  .cab-inner::before, .cab-inner::after { height: 38px; left: -9px; right: -9px; background-size: 38px; }
  .cab-inner::before { top: -9px; }
  .cab-inner::after { bottom: -9px; }
  .cab-body { padding: 46px 10px 10px; }
  .cab-inner { padding: 26px 6px 6px; }
  .slots { gap: 8px; padding: 8px; }
  .plate { min-width: 0; width: max-content; max-width: 86%; padding: 8px 34px; }
  .plate-text { font-size: 20px; }
  .vit-hint { display: none; }
  .vit-info { padding: 0 16px; margin-bottom: 50px; }
  .vit-info .panel { grid-template-columns: minmax(0, 1fr); }
  .vit-info .cell { border-inline-end: 0; border-bottom: 1px solid rgba(184, 149, 90, .15); }
  .vit-info .cell:last-child { border-bottom: 0; }
  .feature { flex-direction: row; text-align: left; gap: 14px; }
  .feature svg { margin: 0; flex-shrink: 0; }
  .page-title { font-size: 28px; }
  .info h1 { font-size: 30px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .arrivals { padding: 0 16px; }
  .related { padding: 0; }
  .section-h { font-size: 26px; }
  .site-footer { padding: 24px 16px 20px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 18px; }
  .foot-nav { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 12px 16px; }
  .foot-brands { grid-column: 1 / -1; }
  .foot-nav a { padding-block: 8px; }
  .footer-copy { padding-inline-end: 64px; }
  .contact-layout .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .fav-btn { width: 32px; height: 32px; top: 6px; right: 6px; }
  .card .body { padding: 10px 12px 12px; }
  .card .c-name { font-size: 14px; }
  .s-tag .n { font-size: 11px; }
  .s-tag .p { font-size: 10px; }
}

@media (max-width: 480px) {
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .crumbs .nav-btns { width: 100%; }
  .crumbs .nav-btns .btn { flex: 1; }
}

/* phones: logo on its own row, language switch and icons below */
@media (max-width: 560px) {
  .header-top { grid-template-columns: auto 1fr; grid-template-areas: "logo logo" "lang icons"; row-gap: 12px; }
  .site-header .logo { grid-area: logo; }
  .lang-switch { grid-area: lang; align-self: center; }
  .header-icons { grid-area: icons; gap: 2px; }
  .icon-btn { width: 40px; height: 40px; }
}

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