:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #55524c;
  --ink-3: #8a867e;
  --line: #e4e1da;
  --black: #0d0d0d;
  --wa: #25d366;
  --gold: #c9a227;
  --gold-2: #f1d77a;
  --radius: 14px;
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 20; }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo-car { width: 100px; height: auto; display: block; }
.logo-word { font-weight: 700; font-variant: small-caps; font-size: 18px; letter-spacing: .07em; white-space: nowrap; background: linear-gradient(135deg, #f3d58a, #d4a94c 50%, #a87a2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: #d9d6cf; }
.nav a:hover { color: #fff; }
.lang { display: flex; border: 1px solid #3a3a3a; border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: #a9a49a; font: 600 12px var(--font); padding: 6px 10px; cursor: pointer; }
.lang button.on { background: #fff; color: var(--black); }
.header .btn-wa { padding: 9px 14px; font-size: 14px; }


/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font: 600 15px var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { background: #1fc05b; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 36px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 0 0 14px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 0 0 14px; max-width: 14ch; }
.hero p.sub { font-size: 18px; color: var(--ink-2); max-width: 54ch; margin: 0 0 22px; }
.search { display: flex; gap: 8px; max-width: 620px; background: var(--surface); padding: 6px; border-radius: 999px; border: 1px solid var(--line); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 15px var(--font); padding: 0 16px; outline: none; color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; font-weight: 800; margin: 0; }
.link { font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font: 500 14px var(--font); color: var(--ink); cursor: pointer; }
.chip b { color: var(--ink-3); font-weight: 600; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--black); color: #fff; border-color: var(--black); }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(0,0,0,.35); }
.card-img { aspect-ratio: 4 / 3; position: relative; background: #ebe8e1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-type { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.card-title { font-size: 18px; line-height: 1.25; margin: 6px 0 10px; font-weight: 700; letter-spacing: -.01em; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.card-meta span { font-size: 12.5px; color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: 3px 8px; }
.card-price { margin-top: auto; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--black); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; z-index: 1; }
.badge-new { left: auto; right: 12px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--black); font-weight: 800; letter-spacing: .04em; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #ece9e2, #dedad1); color: #6b675f; }
.ph-make { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 18px; }
.ph-note { font-size: 12px; color: var(--ink-3); }
.empty, .notfound { color: var(--ink-2); padding: 30px 0; grid-column: 1 / -1; }
.notfound { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ---------- brand logos ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font: 600 13px var(--font); cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.brand:hover { border-color: var(--ink); transform: translateY(-2px); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-all { width: 40px; height: 40px; color: var(--ink); }
.brand-txt { height: 40px; display: flex; align-items: center; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.brand-name { line-height: 1.2; text-align: center; }
.brand b { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: -4px; }
.brand.on { border: 2px solid var(--ink); padding: 15px 9px 11px; box-shadow: 0 8px 20px -14px rgba(0,0,0,.5); }
.brands-filter { margin: 4px 0 14px; }

/* ---------- sold page ---------- */
.badge-sold { background: #b3261e; }
.card-sold .card-img img, .card-sold .ph { filter: grayscale(.35); }
.card-sold-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.card-sold-foot .ask { color: #128c4a; font-weight: 700; }
#sold { margin-top: 10px; }

/* ---------- sell page ---------- */
.sell-hero { padding: 34px 0 20px; }
.sell-hero h1 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; max-width: 18ch; }
.sell-hero .sub { font-size: 17px; color: var(--ink-2); max-width: 56ch; margin: 0; }
.sell-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.why.sell-steps { grid-template-columns: 1fr; gap: 12px; }
.sell-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.sell-form h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.sell-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.sell-form input, .sell-form select, .sell-form textarea { font: 15px var(--font); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; min-width: 0; }
.sell-form textarea { resize: vertical; }
.sell-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sell-err { color: #b3261e; font-size: 14px; margin: 0; min-height: 0; }
.sell-err:empty { display: none; }
.sell-note { text-align: center; color: var(--ink-3); font-size: 13px; margin: 0; }
@media (max-width: 860px) { .sell-layout { grid-template-columns: 1fr; } .sell-form { order: -1; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.why div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.why .n { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.why h3 { margin: 6px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.why p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- contact band ---------- */
.band { background: var(--black); color: #fff; border-radius: 22px; padding: 34px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.025em; }
.band p { margin: 0; color: #b8b2a6; }

/* ---------- stock page ---------- */
.page-head { padding: 30px 0 6px; }
.page-head h1 { font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.035em; margin: 0 0 6px; font-weight: 800; }
.page-head p { margin: 0; color: var(--ink-3); }
.filters { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; margin: 16px 0 12px; }
.filters input, .filters select { font: 15px var(--font); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; }
@media (max-width: 640px) { .filters { grid-template-columns: 1fr 1fr; } .filters input { grid-column: 1 / -1; } }
#f-types { margin-bottom: 18px; }

/* ---------- car page ---------- */
.back { display: inline-block; margin: 18px 0 14px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.car-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.gallery .main { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #ebe8e1; position: relative; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--ink); }
.car-info { position: sticky; top: 88px; }
.car-info h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.03em; margin: 8px 0 14px; }
.car-info .price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.car-info .note { color: var(--ink-3); font-size: 14px; margin: 4px 0 20px; }
.car-info h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 22px 0 8px; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.desc { color: var(--ink-2); font-size: 15px; }
.cta-row { display: flex; gap: 10px; align-items: stretch; }
.cta-row > .btn-wa { flex: 1; min-width: 0; }
.share { position: relative; }
.share-btn { height: 100%; padding: 13px 18px; background: var(--surface); }
.share-btn[aria-expanded="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.share-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 14px 34px -16px rgba(0,0,0,.4); }
.share-menu[hidden] { display: none; }
.share-menu a { width: 56px; height: 52px; display: grid; place-items: center; color: var(--ink); text-decoration: none; }
.share-menu a + a { border-left: 1px solid var(--line); }
.share-menu a:hover { background: var(--black); color: #fff; }
/* desktop: description sits under the photos, price/specs stay on the right */
.car-layout { grid-template-areas: "gallery info" "more info"; }
.gallery { grid-area: gallery; }
.car-info { grid-area: info; }
.car-more { grid-area: more; display: flex; flex-direction: column; gap: 14px; margin-top: -8px; }
.car-desc, .car-trust { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px 18px; }
.car-desc h2, .car-trust h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin: 16px 0 8px; }
.car-desc .desc { line-height: 1.65; }
.car-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.car-trust li { display: flex; flex-direction: column; gap: 2px; padding-left: 26px; position: relative; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.car-trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%230d0d0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.car-trust li b { color: var(--ink); font-size: 14.5px; }
.sticky-wa { display: none; }
@media (max-width: 860px) {
  .car-layout { grid-template-columns: 1fr; grid-template-areas: "gallery" "info" "more"; gap: 22px; }
  .car-more { margin-top: 0; }
  .car-trust ul { grid-template-columns: 1fr; }
  .car-info { position: static; }
  .sticky-wa { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; align-items: center; justify-content: center; gap: 8px; background: var(--wa); color: #06331a; font-weight: 700; text-decoration: none; padding: 15px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
  body[data-page="car"] .fab { display: none; }
  body[data-page="car"] footer { padding-bottom: 90px; }
}

/* ---------- floating WA + footer ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #06331a; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45); z-index: 30; }
.fab svg { width: 30px; height: 30px; }
footer { background: var(--black); color: #b8b2a6; margin-top: 40px; padding: 34px 0 24px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer p { margin: 0 0 6px; }
footer .logo { margin-bottom: 14px; }
footer .logo-car { width: 130px; }
footer .logo-word { font-size: 23px; }
footer .small { color: #6f6b64; font-size: 12.5px; margin-top: 18px; }

/* ---------- phones (kept last so it wins) ---------- */
.menu-btn { display: none; }
.nav a { white-space: nowrap; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; padding: 0 9px; background: none; border: 1px solid #3a3a3a; border-radius: 10px; cursor: pointer; order: 10; }
  .menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  body.menu-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--black); border-top: 1px solid #262626; padding: 6px 20px 14px; }
  body.menu-open .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid #1f1f1f; }
}
@media (max-width: 760px) {
  .header .wrap { gap: 12px; height: 60px; }
  .header .logo-car { width: 84px; }
  .header .logo-word { font-size: 15px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .header .btn-wa span { display: none; }
  .header .btn-wa { padding: 9px; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px; padding: 0 9px; background: none; border: 1px solid #3a3a3a; border-radius: 10px; cursor: pointer; order: 10; }
  .menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  body.menu-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--black); border-top: 1px solid #262626; padding: 6px 20px 14px; }
  body.menu-open .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid #1f1f1f; }
  .hero { padding: 28px 0 24px; }
  .hero p.sub { font-size: 16px; }
  .section { padding: 24px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 15px; }
  .card-meta span { font-size: 11.5px; }
  .card-price { font-size: 16px; }
  .band { padding: 26px 20px; }
  .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .brand { padding: 12px 4px 10px; font-size: 12px; }
  .brand.on { padding: 11px 3px 9px; }
  .brands-filter { display: flex; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 2px 20px 4px; }
  .brands-filter::-webkit-scrollbar { display: none; }
  .brands-filter .brand { flex: 0 0 84px; }
  .brand img, .brand-txt, .brand-all { width: 32px; height: 32px; }
  .brand-txt { width: auto; font-size: 11px; }
  .sell-hero { padding: 30px 0 18px; }
  .sell-form { padding: 20px; }
}
@media (max-width: 380px) { .grid { grid-template-columns: 1fr; } }

/* ---------- sold page: brands with model lists ---------- */
.sold-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; align-items: start; margin-top: 8px; }
.sold-brand-head { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.sold-brand-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease; }
.sold-brand-logo img { width: 30%; height: auto; max-height: 45%; object-fit: contain; }
.sold-brand-logo .brand-txt { font-size: 20px; }
.sold-brand-head:hover .sold-brand-logo, .sold-brand.open .sold-brand-logo { border-color: var(--ink); }
.sold-brand-name { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.sold-models { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.sold-models a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: 16px; }
.sold-models a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sell-why { padding-bottom: 0; }
@media (max-width: 640px) {
  .sold-brands { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .sold-brand-name { font-size: 15px; letter-spacing: .12em; margin-top: 10px; }
  .sold-models { grid-template-columns: 1fr; }
}
@media (min-width: 900px) { #why .why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- home: highlight numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; max-width: 760px; background: var(--black); border-radius: 18px; overflow: hidden; position: relative; box-shadow: 0 24px 50px -30px rgba(0,0,0,.55); }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 0% 0%, rgba(201,162,39,.22), transparent 55%); pointer-events: none; }
.stat { position: relative; display: flex; flex-direction: column; padding: 22px 24px 20px; color: #fff; text-decoration: none; }
.stat + .stat { border-left: 1px solid #2a2722; }
.stat b { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13px; color: #bdb7aa; margin-top: 8px; letter-spacing: .01em; }
.stat::after { content: ""; position: absolute; left: 24px; bottom: 12px; height: 2px; width: 0; background: var(--gold); border-radius: 2px; transition: width .6s ease; }
.stat.done::after { width: 28px; }
a.stat span { text-decoration: underline; text-decoration-color: #5a544a; text-underline-offset: 3px; }
a.stat:hover span { color: #fff; }

/* ---------- home: compact car finder (make, budget, body type) ---------- */
.finder-sec { padding-top: 8px; }
.finder { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px 8px; }
.finder .h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; margin: 0 0 10px; }
.finder-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.finder-row:first-of-type { border-top: 0; }
.finder-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.finder-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.finder-scroll::-webkit-scrollbar { display: none; }
.finder-scroll .chip { flex: 0 0 auto; padding: 8px 14px; font-size: 13.5px; }
.brands-mini .brand { flex: 0 0 auto; flex-direction: row; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13.5px; }
.brands-mini .brand:hover { transform: none; }
.brands-mini .brand img, .brands-mini .brand-txt { width: 22px; height: 22px; }
.brands-mini .brand-txt { width: auto; font-size: 10px; }
.brands-mini .brand b { margin: 0; }
@media (max-width: 760px) {
  .stats { margin-top: 22px; border-radius: 14px; }
  .stat { padding: 16px 12px 16px 14px; }
  .stat span { font-size: 11.5px; }
  .stat::after { left: 14px; bottom: 9px; }
  .finder { padding: 16px 0 4px; border-radius: 14px; }
  .finder .h3 { padding: 0 16px; }
  .finder-row { grid-template-columns: 1fr; gap: 8px; padding: 10px 0; }
  .finder-label { padding: 0 16px; }
  .finder-scroll { padding: 2px 16px; }
}
@media (min-width: 761px) { .finder-scroll { flex-wrap: wrap; overflow: visible; } }

/* ---------- home: latest stock slider ---------- */
.rail-wrap { position: relative; }
.rail { --per: 4; --gap: 20px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); column-gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 10px; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.rail > .empty { grid-column: 1 / -1; }
.rail-btn { position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: 400 26px/1 var(--font); display: grid; place-items: center; padding: 0 0 3px; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); }
.rail-btn[hidden] { display: none; }
.rail-btn:hover { background: var(--black); color: #fff; border-color: var(--black); }
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }
@media (max-width: 1060px) { .rail { --per: 3; } }
@media (max-width: 760px) {
  .rail { --per: 2; --gap: 12px; }
  .rail-btn { display: none; }
}

/* ---------- sale (reprice) ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop .nav-buy::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-menu { display: none; position: absolute; top: 100%; left: -14px; padding-top: 12px; min-width: 170px; z-index: 50; }
.nav-menu::before { content: ""; position: absolute; inset: 12px 0 0; background: var(--black); border: 1px solid #2a2a2a; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.nav-menu a { position: relative; display: block; padding: 10px 16px; }
.nav-menu a:first-child { padding-top: 14px; } .nav-menu a:last-child { padding-bottom: 14px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.nav a.nav-promo { font-weight: 700; width: fit-content; background: linear-gradient(135deg, #f3d58a, #d4a94c 50%, #a87a2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav a.nav-promo:hover { filter: brightness(1.15); }
.card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.promo-tag { display: inline-flex; align-items: center; background: #d32f2f; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; line-height: 1.3; }
.on-sale { display: flex; flex-direction: column; gap: 2px; }
.on-sale .was { font-size: max(13px, .62em); font-weight: 600; color: var(--ink-3); text-decoration-thickness: 1.5px; }
.on-sale .now { color: #c62828; }
.sale-line { margin-top: 8px; }
.chip.chip-promo { color: #c62828; border-color: #f0b7b2; font-weight: 700; }
.chip.chip-promo.on { background: #d32f2f; border-color: #d32f2f; color: #fff; }
@media (max-width: 1060px) {
  body.menu-open .nav-drop { display: block; }
  body.menu-open .nav-drop .nav-buy::after { display: none; }
  body.menu-open .nav-menu { display: block; position: static; padding: 0 0 0 16px; min-width: 0; }
  body.menu-open .nav-menu::before { display: none; }
  body.menu-open .nav-menu a { padding: 12px 0; }
  body.menu-open .nav-menu a.nav-promo { width: auto; background-size: 160px 100%; background-repeat: no-repeat; }
}
