/* ===== Elite Watch Europe: public site ===== */
:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #6c6a65;
  --line: #ece7dc;
  --soft: #faf8f3;
  --gold: #b8955a;
  --gold-dark: #8a6a2f;
  --gold-grad: linear-gradient(135deg, #e3c88f 0%, #c9a45c 55%, #b8955a 100%);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 14px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ----- header ----- */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-family: var(--serif); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark { color: var(--gold); font-size: 12px; vertical-align: 2px; margin-right: 2px; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.top-nav a { text-decoration: none; color: var(--muted); }
.top-nav a:hover { color: var(--ink); }
.top-wa { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark) !important; font-weight: 600; }
@media (max-width: 520px) { .top-nav a:not(.top-wa) { display: none; } .logo { font-size: 15px; } }

/* ----- hero ----- */
.hero { text-align: center; padding: 34px 0 22px; }
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.hero h1 { font-size: clamp(24px, 5.2vw, 44px); font-weight: 500; max-width: 820px; margin: 0 auto; }
.rule { width: 64px; height: 2px; background: var(--gold-grad); margin: 20px auto 0; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid transparent; font: 600 13px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn.dark { background: #141414; color: #fff; }
.btn.dark:hover { background: #2b2b2b; }
.btn.gold { background: var(--gold-grad); color: #1d1608; }
.btn.gold:hover { box-shadow: 0 2px 10px rgba(184, 149, 90, .45); }
.btn.line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.line:hover { border-color: var(--gold); }
.btn.block { width: 100%; }
.ico { flex: none; }

/* ----- filters ----- */
.filters { border-top: 1px solid var(--line); padding-top: 16px; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; }
input, select, textarea { font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #ddd6c7; border-radius: var(--radius); padding: 10px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(184, 149, 90, .22); }
.search .btn { min-height: 44px; }
.js .search .btn { display: none; }
.more { margin-top: 12px; }
.more summary { cursor: pointer; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; list-style: none; padding: 6px 0; display: inline-flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 16px; line-height: 1; }
.more[open] summary::after { content: "\2212"; }
.count-pill { background: var(--gold); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; letter-spacing: 0; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 8px 0 4px; }
.fields label { display: grid; gap: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fields select, .fields input { font-size: 14px; padding: 9px 10px; text-transform: none; letter-spacing: 0; }
.factions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.js .factions .btn { display: none; }
.reset { font-size: 13px; color: var(--gold-dark); }
@media (min-width: 900px) { .fields { grid-template-columns: repeat(6, 1fr); } .factions { grid-column: auto; } .fields label { font-size: 10.5px; } }
.results { font-size: 13px; padding: 16px 0 10px; min-height: 36px; }

/* ----- grid & cards ----- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { border-color: #dccfae; box-shadow: 0 8px 28px rgba(60, 45, 15, .09); }

.gal { position: relative; background: var(--soft); aspect-ratio: 4 / 5; }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide, .slide-ph { flex: 0 0 100%; scroll-snap-align: center; display: block; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.is-sold .slide img { filter: grayscale(.55); opacity: .85; }
.slide-ph, .ph { display: flex; align-items: center; justify-content: center; color: #cdbf9f; background: var(--soft); }
.ph { width: 100%; height: 100%; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 1px 6px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .15s; display: none; }
.gprev { left: 8px; } .gnext { right: 8px; }
@media (hover: hover) and (min-width: 720px) { .js .gnav:not([hidden]) { display: block; } .gal:hover .gnav, .dwrap:hover .gnav { opacity: 1; } }
.gcount { position: absolute; right: 8px; bottom: 8px; font-size: 11px; background: rgba(20, 20, 20, .66); color: #fff; padding: 2px 7px; border-radius: 99px; letter-spacing: .04em; }
.dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(20, 20, 20, .25); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.dots i.on { background: var(--gold); }
.gal .gcount { display: none; }
@media (min-width: 720px) { .gal .gcount { display: block; } .dots { display: none; } }

.badge { position: absolute; left: 8px; top: 8px; z-index: 2; background: #141414; color: #fff; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; font-weight: 600; }
.badge.reserved { background: var(--gold-grad); color: #1d1608; }
.badge.big { font-size: 12px; padding: 6px 12px; left: 12px; top: 12px; }

.info { padding: 12px 11px 13px; display: flex; flex-direction: column; flex: 1; }
.brand { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.model { font-size: 15px; margin-top: 3px; min-height: 2.4em; }
.model a { text-decoration: none; }
.model a:hover { color: var(--gold-dark); }
.ref { font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; word-break: break-word; }
.specs { margin: 9px 0 0; display: grid; gap: 3px; font-size: 11.5px; }
.specs div { display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding-top: 3px; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; text-align: right; }
.price { font-family: var(--serif); font-size: 19px; font-weight: 700; margin: 10px 0 11px; margin-top: auto; padding-top: 10px; }
.muted-price { color: var(--muted); }
.actions { display: grid; gap: 7px; }
.actions .btn { min-height: 38px; font-size: 12.5px; padding: 0 8px; }
@media (min-width: 720px) {
  .info { padding: 16px 16px 16px; }
  .brand { font-size: 11px; } .model { font-size: 18px; } .ref { font-size: 13px; }
  .specs { font-size: 12.5px; } .price { font-size: 22px; }
  .actions { grid-template-columns: 1fr 1fr; gap: 8px; }
}

.pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 34px 0 10px; font-size: 14px; }
.empty { text-align: center; padding: 64px 12px; display: grid; gap: 12px; justify-items: center; }
.empty h1, .empty h2 { font-size: 26px; font-weight: 500; }

/* ----- detail page ----- */
.detail { padding-top: 14px; padding-bottom: 28px; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--gold-dark); }
.dgrid { display: grid; gap: 22px; }
@media (min-width: 900px) { .dgrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 46px; align-items: start; } .dgal { position: sticky; top: 76px; } }
.dwrap { position: relative; background: var(--soft); aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.dtrack { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dtrack::-webkit-scrollbar { display: none; }
.dslide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.dslide img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { flex: 0 0 68px; height: 68px; padding: 0; border: 2px solid transparent; background: var(--soft); border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .7; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--gold); opacity: 1; }
@media (min-width: 720px) { .thumb { flex-basis: 82px; height: 82px; } }
.dinfo .brand { font-size: 12px; }
.dtitle { font-size: clamp(26px, 4.4vw, 38px); font-weight: 500; margin-top: 4px; }
.dinfo .ref { font-size: 14px; margin-top: 6px; }
.dprice { font-family: var(--serif); font-size: 32px; font-weight: 700; margin: 16px 0 6px; }
.note { background: var(--soft); border-left: 3px solid var(--gold); padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.actions.big { grid-template-columns: 1fr 1fr; margin: 16px 0 22px; }
.actions.big .btn { min-height: 48px; font-size: 14px; }
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table dt { color: var(--muted); } .spec-table dd { margin: 0; font-weight: 600; text-align: right; }
.desc { margin-top: 24px; } .desc h2, .inquire-box h2, .related h2 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.desc p { margin-bottom: 12px; color: #333; }
.inquire-box { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); scroll-margin-top: 80px; }
.related { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 28px; }
.related h2 { text-align: center; margin-bottom: 20px; font-size: 26px; }

/* ----- inquiry form & dialogs ----- */
.inq { display: grid; gap: 6px; }
.inq label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.inq .btn { margin-top: 12px; min-height: 46px; }
.inq-note { font-size: 14px; min-height: 20px; color: #a33; }
.inq-note.ok { color: #2f6b3a; }
.dlg { border: 0; border-radius: 8px; padding: 24px 22px 22px; width: min(480px, calc(100vw - 24px)); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.dlg::backdrop, .lb::backdrop { background: rgba(15, 12, 6, .6); }
.dlg h2 { font-size: 24px; font-weight: 500; }
.dlg-watch { color: var(--gold-dark); font-size: 14px; margin: 4px 0 8px; font-weight: 600; }
.dlg-x, .lb-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.lb { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; background: #fff; border-radius: 4px; }
.lb-x { color: #fff; top: 12px; right: 16px; font-size: 38px; z-index: 2; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .9); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 28px; cursor: pointer; z-index: 2; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* ----- footer ----- */
.foot { margin-top: 56px; border-top: 1px solid var(--line); background: var(--soft); padding: 32px 0 20px; }
.foot-in { display: grid; gap: 20px; }
@media (min-width: 720px) { .foot-in { grid-template-columns: 1fr auto; } }
.foot-brand { font-family: var(--serif); letter-spacing: .14em; text-transform: uppercase; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.foot-contact a { color: var(--gold-dark); text-decoration: none; } .foot-contact a:hover { text-decoration: underline; }
.copy { margin-top: 22px; font-size: 12px; color: var(--muted); }

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* photos: portrait cards that fill the frame; detail page keeps the whole photo visible */
@media (min-width: 900px) { .dwrap { max-height: 82vh; } }

/* Discount: old price crossed out + percentage */
.has-disc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.has-disc .was { color: var(--muted); font-weight: 400; font-size: .78em; text-decoration-thickness: 1px; }
.has-disc .now { color: #b3261e; }
.has-disc .disc { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff; background: #b3261e; padding: 2px 6px; border-radius: 2px; align-self: center; }
.dprice.has-disc .disc { font-size: 13px; padding: 3px 8px; }
.sale-badge { position: absolute; right: 8px; top: 8px; z-index: 2; background: #b3261e; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: .04em; padding: 5px 8px; border-radius: 2px; pointer-events: none; }
.sale-badge.big { right: 12px; top: 12px; font-size: 14px; padding: 7px 10px; }
