/* =========================================================
   Dehong Watches — Premium theme (front only)
   Loaded after style.css, overrides the buyer-facing UI.
   ========================================================= */

:root {
  --bg: #f6f3ec;
  --panel: #ffffff;
  --ink: #1a1c22;
  --muted: #6f6a5f;
  --gold: #b08d57;
  --gold-deep: #8f6f3f;
  --gold-soft: #f1e8d6;
  --line: #e4ddcf;
  --ok: #1fa855;
  --shadow-soft: 0 10px 40px rgba(26, 28, 34, 0.08);
  --serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner { padding: 18px 24px; }
.brand-block .brand-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--ink);
}
.brand-block .brand-sub {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.brand-block .wa-line {
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 2px;
  letter-spacing: 0.6px;
  font-size: 13px;
  padding: 11px 20px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.06s;
}
.btn:active { transform: translateY(1px); }
.btn.wa { background: #128c4a; color: #fff; }
.btn.wa:hover { background: #0f7a40; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: var(--gold-deep); }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn.active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  max-width: none;
  margin: 0;
  padding: 74px 24px 66px;
  background:
    linear-gradient(180deg, rgba(18, 20, 26, 0.90), rgba(18, 20, 26, 0.86)),
    url("/uploads/about_1.jpg") center 30% / cover no-repeat;
  color: #fff;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 46px);
  letter-spacing: 1px;
  margin: 0 0 14px;
  color: #fff;
  max-width: 820px;
}
.hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  letter-spacing: 0.4px;
  max-width: 700px;
  margin: 0 0 0 0;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 0;
  gap: 10px 30px;
}
.trust-bar span {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Toolbar ---------- */
.toolbar { max-width: 1180px; margin: 0 auto; padding: 22px 24px 4px; }
.toolbar-row { gap: 10px; margin-bottom: 14px; }
.search-input {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.search-input:focus { outline: none; border-color: var(--gold); }
.cur-toggle { border: 1px solid var(--line); border-radius: 2px; }
.cur-toggle .cur { padding: 10px 14px; font-size: 12px; letter-spacing: 1px; }
.cur-toggle .cur.active { background: var(--ink); }

/* ---------- Chips ---------- */
.filter-bar { gap: 8px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--muted);
  background: #fff;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Cards ---------- */
.grid { max-width: 1180px; padding: 26px 24px 60px; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: none;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .thumb { background: #f1ede4; }
.card .thumb img { object-fit: cover; }
.card .body { padding: 18px 18px 20px; gap: 8px; }
.card .brand {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold-deep);
}
.card .model {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.card .meta { font-size: 12px; letter-spacing: 0.4px; color: var(--muted); }
.card .tag {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 2px;
}
.card .tag.dark { border-color: #d9d2c3; color: #8a8272; }
.card .price { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.card .price-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }
.badge-pin, .badge-cond, .badge-new {
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 8px;
}
.badge-pin { background: var(--gold); }
.badge-cond { background: rgba(26, 28, 34, 0.78); }
.badge-new { background: #8f2f2f; }
.card .card-actions { gap: 8px; }
.card .card-actions .btn { border-radius: 2px; }

/* ---------- Pager ---------- */
.pager { max-width: 1180px; padding: 4px 24px 40px; }
.pager-btns .btn { border-radius: 2px; }

/* ---------- Sections ---------- */
.howto, .trust-section, .about-section { background: #fff; border-top: 1px solid var(--line); }
.howto-inner, .trust-inner, .about-inner { max-width: 1180px; padding: 52px 24px 56px; }
.howto-inner h2, .trust-inner h2, .about-inner h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 26px;
}
.step, .trust-item {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fbf9f4;
  padding: 22px;
}
.step .num, .trust-item .ti-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  margin-bottom: 12px;
}
.trust-item .ti-icon { border-radius: 0; background: transparent; color: var(--gold-deep); font-size: 20px; width: auto; height: auto; }
.step h3, .trust-item h3 { font-family: var(--serif); font-size: 16px; letter-spacing: 0.4px; }

/* ---------- About ---------- */
.about-body p { font-size: 14px; line-height: 1.85; color: #4f4a40; }
.about-gallery img { border-radius: 2px; }
.about-meta { font-size: 12px; letter-spacing: 0.4px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #14161b; color: #b9b3a6; border-top: none; }
.site-footer-inner { max-width: 1180px; padding: 30px 24px 36px; }
.site-footer .footer-meta { color: #9a9487; font-size: 12px; letter-spacing: 0.5px; }

/* ---------- Basket ---------- */
.basket-bar { background: #14161b; border-radius: 2px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.basket-actions .btn { border-radius: 2px; }

/* ---------- Detail modal ---------- */
.detail-panel { border-radius: 3px; }
.detail-close { border-radius: 2px; }
.detail-model { font-family: var(--serif); font-size: 26px; }
.detail-price { font-family: var(--serif); font-size: 24px; }
.detail-actions .btn { border-radius: 2px; }

/* ---------- WhatsApp float ---------- */
.wa-float { width: 54px; height: 54px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }

/* ---------- Toast ---------- */
.toast { border-radius: 2px; }

/* ---------- Mobile ---------- */
@media (max-width: 560px) {
  .site-header-inner { padding: 14px 16px; }
  .brand-block .brand-name { font-size: 20px; letter-spacing: 1px; }
  .hero { padding: 44px 18px 40px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 13px; }
  .trust-bar { padding: 12px 16px 0; gap: 8px 16px; }
  .trust-bar span { font-size: 10px; letter-spacing: 1px; }
  .toolbar { padding: 16px 14px 2px; }
  .grid { gap: 12px; padding: 16px 14px 120px; }
  .card .body { padding: 12px; gap: 5px; }
  .card .model { font-size: 14px; }
  .card .price { font-size: 16px; }
  .card .tag { font-size: 9px; padding: 2px 6px; }
  .howto-inner, .trust-inner, .about-inner { padding: 36px 18px 40px; }
  .howto-inner h2, .trust-inner h2, .about-inner h2 { font-size: 21px; margin-bottom: 18px; }
  .detail-model { font-size: 20px; }
  .detail-price { font-size: 18px; }
}

/* ---------- Nav ---------- */
.site-nav { display: flex; gap: 26px; margin-left: auto; margin-right: 28px; }
.site-nav a { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); position: relative; padding-bottom: 3px; }
.site-nav a:hover { color: var(--gold-deep); }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.2s ease; }
.site-nav a:hover::after { width: 100%; }

/* ---------- Hero inner ---------- */
.hero-inner { max-width: 1180px; margin: 0 auto; }
.hero-eyebrow { font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-stats { display: flex; gap: 40px; margin: 30px 0 34px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--serif); font-size: 26px; color: #fff; font-weight: 600; letter-spacing: 0.5px; }
.hero-stats span { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-top: 4px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn.ghost-light { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff; }
.btn.ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Section eyebrow ---------- */
.section-eyebrow { font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }

/* ---------- Trust badges ---------- */
.trust-credential { margin: 22px 0 0; font-size: 12px; letter-spacing: 0.6px; color: var(--muted); }
.trust-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 22px; }
.trust-badge { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 3px; padding: 16px; background: #fbf9f4; }
.trust-badge .tb-icon { color: var(--gold-deep); font-size: 18px; line-height: 1.2; }
.trust-badge b { font-family: var(--serif); font-size: 15px; display: block; margin-bottom: 3px; }
.trust-badge span { font-size: 12px; color: var(--muted); }
a.trust-badge { color: inherit; text-decoration: none; }
a.trust-badge:hover { border-color: #111; }

/* ---------- Visit / showrooms ---------- */
.visit-section { background: #fff; border-top: 1px solid var(--line); }
.visit-inner { max-width: 1180px; margin: 0 auto; padding: 52px 24px 56px; }
.visit-inner h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 1px; margin: 0 0 24px; }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.visit-card h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; }
.visit-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.visit-map { width: 100%; height: 260px; border: 1px solid var(--line); display: block; filter: grayscale(0.2); }
.visit-link { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 560px) {
  .visit-inner { padding: 36px 18px 40px; }
  .visit-inner h2 { font-size: 21px; }
  .visit-map { height: 280px; }
}

/* ---------- Trust emphasis (bigger, easier to read) ---------- */
body.front .trust-bar span { font-size: 12px; }
body.front .trust-inner h2 { font-size: 28px; }
body.front .trust-item h3 { font-size: 17px; }
body.front .trust-item p { font-size: 14px; }
body.front .trust-badge b { font-size: 16px; }
body.front .trust-badge span { font-size: 13px; }
body.front .trust-badge .tb-icon { font-size: 20px; }
body.front .trust-credential { font-size: 13px; }
@media (max-width: 560px) {
  body.front .trust-bar span { font-size: 11px; letter-spacing: 0.4px; }
  body.front .trust-inner h2 { font-size: 23px; }
  body.front .trust-item p { font-size: 14px; }
  body.front .trust-badge span { font-size: 12.5px; }
  body.front .trust-badge b { font-size: 15px; }
}

/* ---------- Embedded display font (consistent on every device) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/playfair-500.woff2") format("woff2");
}
:root {
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Chrono24 prominent banner ---------- */
.chrono-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 16px 22px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid #111;
}
.chrono-banner .chrono-logo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}
.chrono-banner .chrono-text { display: flex; flex-direction: column; gap: 2px; }
.chrono-banner .chrono-text b { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.chrono-banner .chrono-text span { font-size: 12px; color: #b9b3a6; }
.chrono-banner .chrono-arrow { margin-left: auto; font-size: 20px; }
.chrono-banner:hover { background: #000; }
@media (max-width: 560px) {
  .chrono-banner { margin: 12px 12px 0; padding: 14px 16px; gap: 12px; }
  .chrono-banner .chrono-logo { font-size: 20px; }
  .chrono-banner .chrono-text span { display: none; }
}

/* ---------- Hero trust badges (first impression) ---------- */
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 6px; }
.ht-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}
.ht-badge:hover { border-color: #b08d57; color: #e8d9bd; }
@media (max-width: 560px) {
  .hero-trust { gap: 6px; margin: 14px 0 4px; }
  .ht-badge { font-size: 10.5px; padding: 6px 9px; }
}

/* ---------- WhatsApp fallback dialog ---------- */
.wa-fallback {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(20, 22, 27, 0.66);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.wa-fallback.show { display: flex; }
.wa-fallback-panel {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 26px 24px 22px;
  border-radius: 3px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.wa-fallback-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}
.wa-fallback-title { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.wa-fallback-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.wa-fallback-number {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.5px;
  padding: 12px;
  border: 1px dashed #ccc;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: all;
}
.wa-fallback-actions { display: flex; gap: 8px; }
.wa-fallback-actions .btn { flex: 1; }

/* ---------- Numbers use clean sans + tabular figures ---------- */
body.front .card .price,
body.front .card .price-sub,
body.front .detail-price,
body.front .hero-stats b,
body.front .wa-fallback-number,
body.front .wa-line,
body.front .footer-meta,
body.front .about-meta {
  font-family: var(--sans);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
}

/* Wholesale price label */
body.front .price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-right: 6px;
}
body.front .detail-price { font-family: var(--sans); }
body.front .detail-price .price-label { margin-right: 8px; }

/* ---------- Buy / Sell / Trade ---------- */
.bst-section { background: #fff; border-top: 1px solid var(--line); }
.bst-inner { max-width: 1180px; margin: 0 auto; padding: 46px 24px; text-align: center; }
.bst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.bst-item { border: 1px solid var(--line); padding: 22px; }
.bst-item h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.bst-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---------- Find a watch form ---------- */
.find-section { background: var(--bg); border-top: 1px solid var(--line); }
.sell-section { background: #fff; }
.find-inner { max-width: 760px; margin: 0 auto; padding: 52px 24px 56px; }
.find-inner h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 1px; margin: 0 0 20px; }
.find-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 10px; }
.find-grid input, .find-inner textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  font-family: var(--sans);
  background: #fff;
  color: var(--ink);
}
.find-grid input:focus, .find-inner textarea:focus { outline: none; border-color: var(--ink); }
.find-inner textarea { min-height: 72px; resize: vertical; margin-bottom: 12px; }
.find-inner .btn { width: 100%; }
.find-budget { display: flex; gap: 8px; }
.find-budget input { flex: 1; min-width: 0; }
.find-budget select {
  width: 92px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 13px;
  font-family: var(--sans);
  background: #fff;
  color: var(--ink);
}
.find-budget select:focus { outline: none; border-color: var(--ink); }
.find-hint { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.find-hint a { color: #111; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.find-hint a:hover { color: #555; }
.find-field { display: flex; flex-direction: column; gap: 6px; }
.find-field > span { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: #666; font-weight: 600; }
.find-field > span em { color: #b3261e; font-style: normal; }
.find-field-block { margin-bottom: 12px; }
@media (max-width: 560px) {
  .bst-inner { padding: 34px 18px 38px; }
  .find-inner { padding: 36px 18px 40px; }
  .find-inner h2 { font-size: 21px; }
}

/* Reference codes / model numbers use clean sans, not display serif */
body.front .card .model { font-family: var(--sans); font-weight: 600; letter-spacing: 0.2px; }
body.front .detail-model { font-family: var(--sans); }

/* ---------- Card hierarchy: brand / model / year / attachments ---------- */
body.front .card .brand {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #111;
}
body.front .card .model {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #111;
}
body.front .card .meta {
  min-height: 18px;
  font-size: 12px;
  color: #666;
  font-weight: 500;
  letter-spacing: 0.3px;
}
body.front .card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
body.front .card .tag {
  background: #f3f3f3;
  color: #333;
  border: 1px solid #e2e2e2;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 3px 8px;
}
body.front .card .tag.dark { background: #fff; color: #777; border-color: #e5e5e5; }
body.front .card .badge-cond {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
body.front .card .tag.dark {
  background: #f2f2f2;
  color: #444;
  border-color: #ddd;
}
@media (max-width: 560px) {
  body.front .card .brand { font-size: 13px; letter-spacing: 0.4px; }
  body.front .card .model { font-size: 15px; }
  body.front .card .meta { display: block; font-size: 11.5px; }
  body.front .card .tags { display: flex; gap: 4px; margin-top: 2px; }
  body.front .card .tag { font-size: 10px; padding: 3px 7px; letter-spacing: 0.4px; font-weight: 700; }
}

/* ---------- FAQ ---------- */
.faq-section { background: var(--bg); border-top: 1px solid var(--line); }
.faq-inner { max-width: 900px; margin: 0 auto; padding: 52px 24px 60px; }
.faq-inner h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 1px; margin: 0 0 24px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-deep); font-size: 18px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: #4f4a40; }

/* ---------- Footer ---------- */
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { font-family: var(--serif); font-size: 20px; letter-spacing: 1px; color: #f3efe6; margin-bottom: 8px; }
.footer-note { font-size: 12px; color: #8f897c; max-width: 420px; margin: 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #a8a294; }
.footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #d8d2c4;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.social-btn:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.social-btn svg { display: block; }

@media (max-width: 820px) {
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 22px; margin: 22px 0 26px; }
  .hero-stats b { font-size: 20px; }
  .footer-grid { flex-direction: column; gap: 16px; }
}

/* ---------- Brand match: black & white (from official logo) ---------- */
body.front {
  --bg: #ffffff;
  --panel: #ffffff;
  --ink: #111111;
  --muted: #6f6f6f;
  --gold: #111111;
  --gold-deep: #000000;
  --gold-soft: #f3f3f3;
  --line: #e6e6e6;
  background: #fff;
}
body.front .site-header { background: rgba(255, 255, 255, 0.94); }
body.front .card { background: #fff; }
body.front .step, body.front .trust-item { background: #fafafa; }
body.front .trust-badge { background: #fafafa; }
body.front .chip.active, body.front .btn.gold { background: #111; border-color: #111; color: #fff; }
body.front .chip.active:hover, body.front .btn.gold:hover { background: #000; }
body.front .hero-eyebrow, body.front .section-eyebrow { color: #8c8c8c; }
body.front .card .brand { color: #111; }
body.front .wa-line { color: #111; }
body.front .tag { border-color: #e2e2e2; color: #6f6f6f; }
body.front .about-bodied, body.front .about-body p { color: #4a4a4a; }

.brand-block { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }

/* ---------- Language toggle ---------- */
.lang-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  cursor: pointer;
  margin-right: 8px;
}
.lang-toggle:hover { border-color: #111; }
@media (max-width: 560px) {
  .lang-toggle { padding: 7px 9px; font-size: 11px; margin-right: 6px; }
}

/* card action buttons: equal size, no wrap */
body.front .card .card-actions { display: flex; gap: 8px; }
body.front .card .card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  font-size: 12px;
  padding: 10px 8px;
  text-align: center;
}

/* ---------- Mobile: compact horizontal list ---------- */
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 10px; padding: 12px 12px 120px; }
  body.front .card { flex-direction: row; align-items: stretch; }
  body.front .card .thumb {
    width: 116px; flex: 0 0 116px; height: 116px; aspect-ratio: auto;
  }
  body.front .card .thumb img { width: 100%; height: 100%; object-fit: cover; }
  body.front .card .thumb .ph { padding: 6px; }
  body.front .card .thumb .ph .ph-brand { font-size: 10px; }
  body.front .card .thumb .ph .ph-model { font-size: 9px; }
  body.front .card .badge-pin,
  body.front .card .badge-new { font-size: 8px; padding: 2px 5px; top: 6px; left: 6px; }
  body.front .card .badge-cond { font-size: 8px; padding: 2px 5px; top: 6px; right: 6px; }
  body.front .card .body { padding: 10px 12px; gap: 3px; }
  body.front .card .brand { font-size: 9px; letter-spacing: 1.4px; }
  body.front .card .model { font-size: 14px; line-height: 1.3; }
  body.front .card .meta { display: none; }
  body.front .card .tags { display: none; }
  body.front .card .price-row { padding-top: 4px; }
  body.front .card .price { font-size: 15px; }
  body.front .card .card-actions { margin-top: 6px; gap: 6px; }
  body.front .card .card-actions .btn { font-size: 11px; padding: 7px 6px; }
}

/* ---------- Tighten gap between last card and pager ---------- */
body.front .grid { padding-bottom: 8px; }
body.front .pager { padding-top: 6px; padding-bottom: 40px; }
@media (max-width: 560px) {
  body.front .grid { padding-bottom: 6px; }
  body.front .pager {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 36px;
  }
  body.front .pager-btns { justify-content: center; }
  body.front .pager-info { order: 2; font-size: 12px; }
  body.front .pager-current { font-size: 13px; padding: 0 10px; }
  body.front .pager-btns .btn { padding: 8px 14px; }
}

/* ---------- Mobile layout fixes (overflow / header / toolbar) ---------- */
@media (max-width: 560px) {
  body.front { overflow-x: hidden; }
  .site-header-inner { padding: 12px 14px; gap: 10px; }
  .brand-block { min-width: 0; gap: 10px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-text { min-width: 0; }
  .brand-block .brand-name { font-size: 18px; letter-spacing: 0.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-block #tagline { display: none; }
  .brand-block .wa-line { font-size: 10px; white-space: nowrap; }
  .header-actions { flex-shrink: 0; }
  .header-actions .btn { padding: 8px 12px; font-size: 12px; }

  .hero { padding: 34px 16px 30px; }
  .hero h1 { font-size: 21px; line-height: 1.35; }
  .hero h1 br { display: none; }
  .hero p { font-size: 12.5px; line-height: 1.6; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 1.6px; margin-bottom: 12px; }
  .hero-stats { gap: 16px; margin: 16px 0 20px; }
  .hero-stats b { font-size: 18px; }
  .hero-stats span { font-size: 9px; letter-spacing: 1px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 auto; padding: 10px 12px; font-size: 12px; text-align: center; }

  .trust-bar { padding: 10px 14px 0; gap: 6px 14px; }
  .trust-bar span { font-size: 9.5px; letter-spacing: 0.4px; }

  .toolbar { padding: 14px 12px 0; }
  .toolbar-row { flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
  .search-input { flex: 1 1 100%; max-width: none; }
  .cur-toggle { flex: 0 0 auto; }
  .toolbar-row > a.btn { flex: 1 1 100%; text-align: center; }
  #copyLinkBtn, #shareBtn { display: none; }
  .toolbar-row-2 .seg { flex: 1 1 100%; overflow-x: auto; }
  .sort-select { flex: 1 1 100%; }
  .filter-bar { gap: 6px; }

  .grid { padding: 10px 12px 6px; }
  body.front .card .thumb { width: 126px; flex: 0 0 126px; height: 126px; }
  body.front .card .body { padding: 11px 12px; gap: 3px; }
  body.front .card .model { font-size: 14px; }
  body.front .card .price { font-size: 15px; }
  body.front .card .card-actions { margin-top: 6px; }
  body.front .card .card-actions .btn { font-size: 11px; padding: 7px 5px; }
}
