/* KameraPedia — shared design system (no external fonts, no framework) */
:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --paper-deep: #efe9dd;
  --surface: #fffdf9;
  --surface-2: #faf6ee;
  --ink: #1b1a15;
  --ink-2: #454136;
  --muted: #7b7567;
  --line: #e5decf;
  --line-strong: #d3c8b5;
  --brand: #ffbd59;
  --brand-dark: #96610a;
  --brand-soft: #fff1d5;
  --green: #2d5b46;
  --green-soft: #e4efe8;
  --amber: #8a5b13;
  --amber-soft: #f8ecc9;
  --danger: #a63627;
  --danger-soft: #f9e6e1;
  --wa: #1f7a54;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(27, 26, 21, 0.04), 0 18px 40px -32px rgba(27, 26, 21, 0.45);
  --shadow-lift: 0 2px 4px rgba(27, 26, 21, 0.05), 0 24px 44px -28px rgba(27, 26, 21, 0.4);
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.16rem; }
strong { font-weight: 650; }
s { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

::selection { background: var(--brand); color: #171711; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

[hidden] { display: none !important; }
[data-topbar]:empty { min-height: 35px; }
[data-header]:empty { min-height: 77px; }
[data-footer]:empty { min-height: 340px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }
.container--form { max-width: 980px; }
.section { padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }

.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;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 8px; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 36px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.w-full { width: 100%; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ink { color: var(--ink); }
.brand-text { color: var(--brand-dark); }
.green-text { color: var(--green); }
.danger-text { color: var(--danger); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: #e8a077; }

.lede {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.68;
  max-width: 62ch;
}
.display { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #171711; }
.btn-primary:hover { background: #f0a92f; border-color: #f0a92f; color: #171711; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #f9f3e7; }
.btn-dark:hover { background: #333026; border-color: #333026; }
.btn-ghost { border-color: var(--line-strong); background: transparent; }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-soft { background: var(--brand-soft); color: var(--brand-dark); }
.btn-soft:hover { background: #f7d7c4; }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #196645; border-color: #196645; }
.btn-outline-light { border-color: rgba(249, 243, 231, .32); color: #f9f3e7; }
.btn-outline-light:hover { background: rgba(249, 243, 231, .1); border-color: rgba(249, 243, 231, .6); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-link {
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 650;
}
.btn-link:hover { text-decoration: underline; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 13px; }
.btn-lg { min-height: 50px; padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .62; pointer-events: none; }
.btn-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
}
.btn-icon:hover { border-color: var(--ink); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

/* Chips and badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #f9f3e7; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .01em;
}
.badge-condition { background: rgba(255, 253, 249, .94); color: var(--ink-2); border: 1px solid rgba(211, 200, 181, .85); }
.badge-sold { background: var(--ink); color: #f9f3e7; }
.badge-new { background: var(--brand-soft); color: var(--brand-dark); }
.badge-soft { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-ink { background: var(--ink); color: #f9f3e7; }
.badge-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: .05em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.badge-rental {
  position: absolute;
  top: 11px;
  right: 11px;
  background: var(--ink);
  color: #f9f3e7;
}
.card-media .badge.badge-rental { left: auto; right: 11px; }
.price-unit { margin-left: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
.rental-deposit { margin-top: -1px; font-size: 11px; color: var(--muted); }
.rental-book-card {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.rental-book-card h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.rental-book-card .lede { margin-top: 5px; font-size: 12.5px; }
.booking-form { display: grid; gap: 12px; margin-top: 16px; }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-summary {
  display: grid;
  gap: 7px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  font-size: 12.5px;
}
.booking-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.booking-summary span { color: var(--muted); }
.booking-summary strong { font-variant-numeric: tabular-nums; }
.booking-summary .total { margin-top: 3px; padding-top: 8px; border-top: 1px solid var(--line); }
.booking-summary .total span, .booking-summary .total strong { color: var(--ink); font-size: 14px; font-weight: 700; }
.availability-note { margin-top: 9px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.availability-note.is-ok { color: var(--green); }
.availability-note.is-bad { color: var(--danger); }
.include-list { display: flex; flex-wrap: wrap; gap: 7px; }
.rental-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 16px; }
.rental-facts div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.rental-facts span { display: block; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rental-facts strong { display: block; margin-top: 2px; font-size: 12.5px; }
.rental-login-prompt { margin-top: 14px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.rental-success { text-align: left; }
.rental-success .code-box { margin-inline: 0; }
.rental-success .button-row { justify-content: flex-start; }
.rental-admin-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--paper-deep); width: fit-content; }
.rental-admin-tabs button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
}
.rental-admin-tabs button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 26, 21, .08); }
@media (max-width: 640px) {
  .booking-form-grid { grid-template-columns: 1fr; }
  .rental-facts { grid-template-columns: 1fr; }
  .badge-rental { top: 8px; right: 8px; font-size: 9.5px; padding: 3px 7px; }
  .rental-book-card { padding: 18px; }
}

.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--new, .status--pending { background: var(--amber-soft); color: var(--amber); }
.status--accepted { background: var(--green-soft); color: var(--green); }
.status--reviewing { background: #e8eef5; color: #35577d; }
.status--confirmed, .status--available { background: var(--green-soft); color: var(--green); }
.status--active { background: #e8eef5; color: #35577d; }
.status--maintenance { background: var(--amber-soft); color: var(--amber); }
.status--cancelled { background: var(--danger-soft); color: var(--danger); }
.status--inactive { background: var(--paper-deep); color: var(--muted); }
.status--completed, .status--sold { background: var(--ink); color: #f7f1e6; }
.status--rejected { background: var(--danger-soft); color: var(--danger); }
.status--draft { background: var(--paper-deep); color: var(--ink-2); }
.status--diagnosing, .status--in-progress { background: #e8eef5; color: #35577d; }
.status--waiting-approval, .status--waiting-parts, .status--partial, .status--conditional { background: var(--amber-soft); color: var(--amber); }
.status--ready, .status--pass, .status--paid { background: var(--green-soft); color: var(--green); }
.status--fail, .status--void { background: var(--danger-soft); color: var(--danger); }
.status--unpaid { background: var(--paper-deep); color: var(--muted); }
.status--received { background: var(--brand-soft); color: var(--brand-dark); }
.status--received::before { background: var(--brand-dark); }
.status--in-progress { background: #e8eef5; color: #35577d; }

/* Header */
.topbar { background: var(--ink); color: #ece5d7; font-size: 12px; }
.topbar .container { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-note { display: flex; align-items: center; gap: 8px; opacity: .82; }
.topbar-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.topbar-links { display: flex; align-items: center; gap: 18px; opacity: .72; }
.topbar-links a:hover { opacity: 1; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 242, 234, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 37px; height: 37px; }
.brand--logo .brand-logo { width: auto; height: 36px; }
.brand--footer .brand-icon { width: 27px; height: 33px; object-fit: contain; }
.brand--footer .brand-word { color: #f8f2e7; font-size: 22px; }
.brand--footer .brand-word em { color: var(--brand); }
.brand-word { font-family: var(--sans); font-size: 23px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.brand-word em { font-style: normal; color: var(--brand-dark); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.main-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 550;
  transition: color .15s, background-color .15s;
}
.main-nav a:hover { color: var(--ink); background: rgba(255, 253, 249, .8); }
.main-nav a.is-active { color: var(--ink); font-weight: 650; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.account-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); border-radius: 8px; }
.account-link:hover { color: var(--ink); background: var(--surface); }
.account-link svg { width: 19px; height: 19px; }
.user-menu { position: relative; }
.user-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  padding: 4px;
  border-radius: 999px;
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary::marker { content: ""; }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .02em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.avatar--lg { width: 56px; height: 56px; font-size: 20px; }
.avatar--sm { width: 30px; height: 30px; font-size: 12px; }
.user-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 224px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
  z-index: 95;
}
.user-menu__head { padding: 9px 10px 11px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-menu__head strong { display: block; font-size: 13.5px; line-height: 1.3; }
.user-menu__head span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.user-menu__panel a, .user-menu__panel button {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 13.5px;
  text-align: left;
  color: var(--ink-2);
}
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--surface-2); color: var(--ink); }
.user-menu__panel .user-menu__logout { color: var(--danger); }
.mobile-nav-cta { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 460px at 88% 0%, #f0e1cb 0%, rgba(246, 242, 234, 0) 62%),
    var(--paper);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 58px;
  padding: 68px 0 62px;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: 17px 0 19px; font-size: clamp(2.85rem, 5.1vw, 4.45rem); }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lede { max-width: 47ch; }
.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 27px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 44px -34px rgba(60, 44, 20, .55);
}
.search-field { flex: 1; display: flex; align-items: center; gap: 9px; padding-left: 11px; min-width: 0; }
.search-field svg { width: 19px; height: 19px; color: var(--muted); flex: 0 0 auto; }
.search-field input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 9px 0;
  font-size: 15px;
}
.search-field input::placeholder { color: #948d7e; }
.hero-search .btn { min-height: 44px; padding-inline: 22px; }
.hero-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.hero-quick span { font-size: 12px; color: var(--muted); margin-right: 2px; }
.hero-quick a { font-size: 12.5px; color: var(--ink-2); padding: 3px 0; border-bottom: 1px solid var(--line-strong); }
.hero-quick a:hover { color: var(--brand-dark); border-color: var(--brand); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.hero-stat span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.hero-art { position: relative; }
.hero-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #35332a;
  border-radius: 28px;
  background: #171812;
  box-shadow: 0 36px 70px -46px rgba(30, 24, 12, .7);
}
.hero-frame img { width: 100%; height: auto; }
.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding: 0 4px;
  font-size: 12px;
  color: var(--muted);
}
.hero-caption strong { color: var(--ink-2); font-weight: 600; }
.hero-frame--photo { background: #101210; }
.hero-frame--photo > img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(251, 248, 240, .94);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(20, 16, 8, .6);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--green); flex: 0 0 auto; }
.hero-badge--top { top: 14px; left: 14px; }
.hero-badge--bottom { right: 14px; bottom: 14px; }
.hero-mini {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 11px 15px 11px 11px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 34px -28px rgba(60, 44, 20, .5);
}
.hero-mini img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 auto;
  background: var(--surface-2);
}
.hero-mini strong { display: block; font-size: 13.5px; }
.hero-mini span { display: block; font-size: 12px; color: var(--muted); }
.photo-credit { font-size: 11px !important; }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sell-photo {
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid rgba(244, 237, 222, .16);
  border-radius: 18px;
}
.sell-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sell-photo figcaption { padding: 10px 14px; font-size: 12.5px; color: #c9c1b1; }
.sell-photo .photo-credit { color: #8d8677; }

/* Trust strip */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 17px 0; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 2px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-item .icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); }
.trust-item .icon svg { width: 17px; height: 17px; }
.trust-item strong { display: block; font-size: 13px; font-weight: 650; line-height: 1.35; }
.trust-item span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Section headers */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.section-head h2 { margin-top: 8px; }
.section-head p { margin-top: 8px; color: var(--muted); max-width: 58ch; font-size: 14.5px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.section-link svg { width: 15px; height: 15px; transition: transform .15s; }
.section-link:hover { color: var(--brand-dark); }
.section-link:hover svg { transform: translateX(3px); }

/* Category tiles */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-tile {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 19px 16px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
.category-tile:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.category-tile .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.category-tile .icon svg { width: 21px; height: 21px; }
.category-tile strong { font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.category-tile span { font-size: 11.5px; color: var(--muted); }

/* Product & listing cards */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card, .listing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover, .listing-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lift);
}
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .card-media img, .listing-card:hover .card-media img { transform: scale(1.035); }
.card-media .badge { position: absolute; top: 11px; left: 11px; }
.card-media .badge-sold, .card-media .badge-neg { top: 11px; left: auto; right: 11px; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 15px 16px 16px; }
.card-brand { font-size: 10.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--sans); font-size: 15px; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--brand-dark); }
.card-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.card-price { font-size: 18px; font-weight: 750; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.card-price-old { font-size: 12.5px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.card-foot .arrow { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); transition: .15s; }
.card-foot .arrow svg { width: 13px; height: 13px; }
.product-card:hover .card-foot .arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.seller-line { display: flex; align-items: center; gap: 8px; min-width: 0; }
.seller-line span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-location { display: inline-flex; align-items: center; gap: 4px; }
.card-location svg { width: 12px; height: 12px; flex: 0 0 auto; }
.listing-card .card-body { gap: 7px; }
.listing-card .card-price { font-size: 19px; }

/* Sell panel */
.sell-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 52px;
  padding: 52px;
  border-radius: 28px;
  background: var(--ink);
  color: #f4edde;
}
.sell-panel::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -250px; top: -190px;
  border: 1px solid rgba(244, 237, 222, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(244, 237, 222, .035), 0 0 0 112px rgba(244, 237, 222, .025);
  pointer-events: none;
}
.sell-panel h2 { margin-top: 11px; color: #fbf5e8; font-size: clamp(2rem, 3.6vw, 3rem); }
.sell-panel .lede { margin-top: 15px; color: #c9c1b1; font-size: 15px; }
.sell-panel .button-row { margin-top: 27px; }
.sell-steps { display: grid; gap: 24px; align-content: center; position: relative; }
.sell-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.sell-step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(244, 237, 222, .22);
  border-radius: 50%;
  color: #e8a077;
  font-family: var(--serif);
  font-size: 17px;
}
.sell-step strong { display: block; color: #f7f1e5; font-size: 14.5px; font-weight: 650; }
.sell-step p { margin-top: 3px; color: #b2aa9a; font-size: 13px; line-height: 1.6; }

/* Benefit row / FAQ */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.benefit .icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--brand-dark);
}
.benefit .icon svg { width: 21px; height: 21px; }
.benefit h3 { font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.benefit p { margin-top: 7px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .faq-answer { padding: 0 40px 20px 2px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.cta-band h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta-band p { margin-top: 5px; color: var(--muted); font-size: 13.5px; }
.cta-band .button-row { flex: 0 0 auto; }

/* Footer */
.site-footer { margin-top: 0; background: #171711; color: #c2bbac; }
.footer-main { display: grid; grid-template-columns: 1.55fr .8fr .9fr 1.2fr; gap: 50px; padding: 58px 0 42px; }
.footer-brand .brand { margin-bottom: 15px; }
.footer-brand .brand-word { color: #f8f2e7; }
.footer-brand p { max-width: 34ch; font-size: 13px; line-height: 1.7; color: #a9a293; }
.footer-col h4 { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #8e8879; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; list-style: none; }
.footer-col a, .footer-col address span { font-size: 13px; color: #c2bbac; font-style: normal; line-height: 1.55; }
.footer-col a:hover { color: #fff; }
.footer-col address { display: grid; gap: 8px; font-style: normal; }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #3a392f; border-radius: 50%; color: #d7d0c0; }
.footer-social a:hover { border-color: #6b6658; color: #fff; }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid #2d2d25; font-size: 11.5px; color: #827c6e; }
.footer-bottom a:hover { color: #cfc8b8; }

/* Page head */
.page-head { padding: 38px 0 30px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f9f5ed, var(--paper)); }
.page-head h1 { margin-top: 8px; font-size: clamp(2rem, 3.7vw, 2.9rem); }
.page-head .lede { margin-top: 8px; font-size: 14.5px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.page-head-row .button-row { flex: 0 0 auto; padding-bottom: 4px; }
.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 1fr 1fr auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.filter-bar .field { gap: 4px; }
.filter-bar .field > label { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.filter-bar .input, .filter-bar .select { min-height: 41px; font-size: 13px; }
.filter-bar .btn { min-height: 41px; }
.filter-bar-note { grid-column: 1 / -1; padding-top: 2px; font-size: 11.5px; color: var(--muted); }
.listing-detail .detail-info h1 { margin-top: 11px; }
.listing-seller-note { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.listing-seller-note svg { width: 14px; height: 14px; }
.listing-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.listing-facts div { padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.listing-facts span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.listing-facts strong { display: block; margin-top: 3px; font-size: 13px; font-weight: 650; }
@media (max-width: 640px) {
  .listing-facts { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .field--search { grid-column: 1 / -1; }
  .filter-bar .btn { width: 100%; }
}
@media (max-width: 640px) {
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .filter-bar { grid-template-columns: 1fr; padding: 14px; }
  .filter-bar .field--search { grid-column: auto; }
  .filter-bar .btn { width: 100%; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 9px; }
  .toolbar-right { justify-content: space-between; }
  .toolbar-right .filter-toggle { flex: 1; justify-content: center; }
  .toolbar-right .sort-select { flex: 1; }
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb .sep { color: var(--line-strong); }

/* Catalog layout and filters */
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; padding: 36px 0 78px; }
.filters {
  position: sticky;
  top: 100px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.filters-head strong { font-size: 14px; }
.filters .filters-close { display: none; }
.filter-group { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; padding-bottom: 4px; margin-bottom: 12px; }
.filter-group h3 { font-family: var(--sans); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filter-select, .filter-input {
  width: 100%;
  min-height: 41px;
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fffdfa;
  font-size: 13px;
}
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 189, 89, .28); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.filter-actions { display: grid; gap: 7px; margin-top: 4px; }
.filter-actions .btn { min-height: 40px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.catalog-count { font-size: 13px; color: var(--muted); }
.catalog-count strong { color: var(--ink); }
.toolbar-right { display: flex; align-items: center; gap: 9px; }
.sort-select {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
}
.filter-toggle { display: none; }
.filter-overlay { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 17px; }
.active-filter { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 11.5px; color: var(--ink-2); }
.active-filter button { border: 0; background: none; padding: 0; color: var(--muted); line-height: 1; font-size: 14px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination button, .pagination a {
  min-width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  font-size: 13px;
}
.pagination .is-active { background: var(--ink); border-color: var(--ink); color: #f9f3e7; }
.pagination button[disabled] { opacity: .4; pointer-events: none; }
.pagination .ellipsis { border: 0; background: none; color: var(--muted); }
.pagination-info { text-align: center; margin-top: 12px; font-size: 12px; color: var(--muted); }

/* Empty / loading */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 24px; text-align: center; }
.empty-state .icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.empty-state .icon svg { width: 25px; height: 25px; }
.empty-state h2, .empty-state h3 { font-size: 1.55rem; }
.empty-state p { max-width: 46ch; margin-top: 8px; color: var(--muted); font-size: 14px; }
.empty-state .button-row { margin-top: 20px; justify-content: center; }
.skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.skeleton-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.skeleton { position: relative; overflow: hidden; background: #ece5d8; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shimmer 1.5s infinite; }
.skeleton-media { aspect-ratio: 4 / 3; }
.skeleton-body { padding: 16px; display: grid; gap: 10px; }
.skeleton-line { height: 11px; border-radius: 5px; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-55 { width: 55%; }
.loading-row { display: flex; align-items: center; gap: 9px; padding: 20px 0; color: var(--muted); font-size: 13px; }
.loading-row .spinner { width: 16px; height: 16px; }

/* Detail pages */
.detail-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: start; padding: 34px 0 74px; }
.gallery-main { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 9px; overflow-x: auto; padding-bottom: 2px; }
.gallery-thumb { width: 76px; height: 60px; flex: 0 0 auto; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(255, 189, 89, .4); }
.detail-info { min-width: 0; }
.detail-info h1 { margin: 12px 0 13px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.detail-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 11px; margin-top: 18px; }
.detail-price strong { font-family: var(--sans); font-size: 29px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.detail-price s { font-size: 14px; }
.detail-price .discount { padding: 4px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); font-size: 11.5px; font-weight: 700; }
.detail-note { margin-top: 13px; font-size: 13px; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.detail-actions .btn { flex: 1 1 auto; }
.detail-trust { display: grid; gap: 9px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.trust-line { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-2); }
.trust-line svg { width: 16px; height: 16px; margin-top: 1px; color: var(--green); flex: 0 0 auto; }
.detail-section { margin-top: 22px; }
.detail-section h2 { font-family: var(--sans); font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.description { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; white-space: pre-line; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.sticky-card { position: sticky; top: 100px; }
.seller-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.seller-card-head { display: flex; align-items: center; gap: 12px; }
.seller-card-head strong { display: block; font-size: 14px; }
.seller-card-head span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.seller-card .btn { margin-top: 15px; }
.safety-card { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.safety-card strong { display: block; font-size: 12.5px; margin-bottom: 5px; }
.safety-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.related-section { border-top: 1px solid var(--line); padding-top: 38px; margin-top: 16px; }

/* Forms */
.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.form-section + .form-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-section-title { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; }
.form-section-title span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: 11px; font-weight: 750; }
.form-section-title h2 { font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field-label { font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.field .req { color: var(--brand-dark); }
.field .hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.input, .select, .textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fffdfa;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.select { padding-right: 30px; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 189, 89, .3);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.input::placeholder, .textarea::placeholder { color: #9b9485; }
.input-affix { position: relative; display: flex; align-items: center; }
.input-affix span { position: absolute; left: 13px; font-size: 13px; color: var(--muted); pointer-events: none; }
.input-affix .input { padding-left: 36px; }

/* Searchable select */
.search-select { position: relative; z-index: 5; }
.search-select.is-open { z-index: 80; }
.search-select-trigger { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 13px; text-align: left; }
.search-select-trigger.has-value { color: var(--ink); }
.search-select-trigger svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted); transition: transform .18s var(--ease); }
.search-select.is-open .search-select-trigger { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 189, 89, .3); }
.search-select.is-open .search-select-trigger svg { transform: rotate(180deg); }
.search-select-panel { position: absolute; z-index: 70; top: calc(100% + 6px); left: 0; right: 0; padding: 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 0 22px 44px -26px rgba(30, 24, 12, .45); }
.search-select.open-up .search-select-panel { top: auto; bottom: calc(100% + 6px); }
.search-select-panel[hidden] { display: none; }
.search-select-search { min-height: 37px; font-size: 12.5px; }
.search-select-options { list-style: none; display: grid; gap: 2px; max-height: min(330px, 42vh); overflow-y: auto; margin-top: 6px; }
.search-select-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 12.5px; text-align: left; }
.search-select-option:hover, .search-select-option:focus-visible { background: var(--surface-2); color: var(--ink); outline: none; }
.search-select-option.is-selected { background: var(--brand-soft); color: var(--brand-dark); font-weight: 650; }
.search-select-empty { padding: 12px 8px; font-size: 12px; color: var(--muted); text-align: center; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 7px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.check-row input { margin-top: 3px; flex: 0 0 auto; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; display: inline-flex; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fffdfa;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: .14s;
}
.check-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #f9f3e7; }
.check-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.form-actions .btn { min-width: 180px; }
.form-note { font-size: 11.5px; color: var(--muted); max-width: 44ch; line-height: 1.55; }

/* Image uploader */
.uploader-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.upload-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}
.upload-tile img { width: 100%; height: 100%; object-fit: cover; }
.upload-tile .remove {
  position: absolute;
  top: 5px; right: 5px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(20, 19, 14, .72);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.upload-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  aspect-ratio: 1;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  text-align: center;
  padding: 8px;
}
.upload-add:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.upload-add svg { width: 22px; height: 22px; }
.upload-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-tile.is-uploading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 253, 249, .7);
}
.upload-tile .upload-status { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: var(--brand-dark); font-size: 11px; font-weight: 650; text-align: center; padding: 8px; }

/* Auth */
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 52px 0 78px; }
.auth-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.9rem; margin-top: 6px; }
.auth-card .lede { margin-top: 7px; font-size: 13.5px; }
.auth-form { margin-top: 22px; display: grid; gap: 15px; }
.auth-switch { margin-top: 17px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-switch a { color: var(--brand-dark); font-weight: 650; }
.demo-hint { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--surface-2); font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.demo-hint code { font-size: 11.5px; color: var(--ink-2); background: #efe8da; padding: 1px 4px; border-radius: 4px; }

.tablist { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--paper-deep); }
.tablist button {
  flex: 1;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.tablist button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(27, 26, 21, .08); }
.tab-panel { margin-top: 24px; }

/* Account */
.account-head { display: flex; align-items: center; gap: 16px; }
.account-head h1 { font-size: 1.8rem; }
.account-head p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.account-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding: 38px 0 78px; }
.account-side { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.account-side .account-head { align-items: flex-start; }
.account-meta { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; }
.account-meta div { display: flex; gap: 7px; color: var(--muted); }
.account-meta strong { color: var(--ink-2); font-weight: 600; }
.account-nav { display: grid; gap: 3px; margin-top: 20px; }
.account-nav button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
}
.account-nav button:hover { background: var(--surface-2); }
.account-nav button.is-active { background: var(--ink); color: #f9f3e7; }
.account-nav .count { font-size: 11px; opacity: .7; }
.account-nav .account-nav__logout { margin-top: 7px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0; color: var(--danger); }
.account-nav button.is-active .count { opacity: .8; }
.account-main { min-width: 0; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.panel-head h2 { font-size: 1.35rem; }
.panel-head p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.item-list { display: grid; }
.item-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item-row:first-child { padding-top: 0; }
.item-row:last-child { border-bottom: 0; padding-bottom: 0; }
.item-thumb { width: 86px; height: 68px; flex: 0 0 auto; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--paper-deep); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-main { flex: 1; min-width: 0; }
.item-main strong { display: block; font-size: 13.5px; font-weight: 650; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-main .price { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 700; }
.item-main .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 4px; font-size: 11px; color: var(--muted); }
.item-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.item-actions .btn { min-height: 30px; padding: 5px 10px; font-size: 11.5px; }
.offer-code { display: inline-flex; align-items: center; gap: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }

/* Tracking timeline */
.track-wrap { max-width: 760px; margin: 0 auto; padding: 40px 0 78px; }
.track-form { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.track-result { margin-top: 24px; }
.track-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.track-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.track-head h2 { font-size: 1.5rem; margin-top: 5px; }
.track-head .offer-code { margin-top: 8px; display: inline-flex; }
.timeline { list-style: none; margin: 24px 0 0; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 27px 1fr; gap: 14px; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { display: none; }
.timeline .point { width: 27px; height: 27px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 11px; color: var(--muted); z-index: 1; }
.timeline .is-done .point { border-color: var(--green); background: var(--green); color: #fff; }
.timeline .is-current .point { border-color: var(--brand); background: var(--brand); color: #171711; }
.timeline .is-rejected .point { border-color: var(--danger); background: var(--danger); color: #fff; }
.timeline strong { display: block; font-size: 13.5px; font-weight: 650; }
.timeline p { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.track-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.track-summary div span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.track-summary div strong { display: block; margin-top: 3px; font-size: 14px; }
.track-note { margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--brand-soft); font-size: 13px; color: var(--brand-dark); line-height: 1.6; }
.track-note--green { background: var(--green-soft); color: var(--green); }

/* Offer page */
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; padding: 36px 0 78px; }
.offer-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.aside-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aside-card h2 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.aside-steps { display: grid; gap: 17px; }
.aside-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.aside-step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--paper-deep); color: var(--brand-dark); display: grid; place-items: center; font-size: 11px; font-weight: 750; }
.aside-step strong { display: block; font-size: 12.5px; font-weight: 650; line-height: 1.4; }
.aside-step p { margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.success-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.success-mark svg { width: 26px; height: 26px; }
.success-card h1 { font-size: 2rem; }
.success-card p { margin-top: 9px; color: var(--muted); font-size: 13.5px; }
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 340px; margin: 20px auto; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 11px; background: var(--surface-2); }
.code-box strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: .06em; }
.success-card .button-row { justify-content: center; margin-top: 20px; }

/* Service page */
.service-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) 360px; gap: 26px; align-items: start; padding: 38px 0 82px; }
.service-main { display: grid; gap: 22px; min-width: 0; }
.service-panel { padding: 30px; }
.service-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.service-panel-head h2 { margin-top: 4px; font-size: 1.7rem; }
.service-panel-head p:not(.eyebrow) { margin-top: 7px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.service-form-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-form-section:last-of-type { border-bottom: 0; padding-bottom: 6px; }
.service-form-label { margin-bottom: 14px; font-size: 10.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-dark); }
.service-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-submit-row .form-note { max-width: 470px; }
.service-success { margin-top: 20px; padding: 22px; border: 1px solid #c9ddca; border-radius: var(--radius); background: var(--green-soft); }
.service-success h3 { font-family: var(--sans); font-size: 16px; font-weight: 750; }
.service-success p { margin-top: 5px; font-size: 12.5px; color: var(--green); line-height: 1.6; }
.service-success .code-box { margin: 14px 0; background: #fffdf9; }
.service-success .button-row { margin-top: 12px; }
.service-process { padding: 25px 27px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2); }
.service-process h2 { margin-top: 4px; font-size: 1.45rem; }
.service-steps { display: grid; gap: 17px; margin-top: 20px; }
.service-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.service-step > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #f8f2e7; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.service-step strong { display: block; font-size: 13px; font-weight: 700; }
.service-step p { margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.service-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.service-track-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.service-track-card h2 { margin-top: 4px; font-size: 1.55rem; }
.service-track-card > p:not(.eyebrow) { margin-top: 7px; margin-bottom: 17px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.service-help-card { padding: 21px 22px; border-radius: var(--radius); background: var(--ink); color: #f8f2e7; }
.service-help-card strong { font-family: var(--sans); font-size: 14px; }
.service-help-card p { margin: 5px 0 14px; font-size: 12px; color: #b8b0a0; line-height: 1.6; }
.service-track-result { display: grid; gap: 0; }
.service-track-result:empty { display: none; }
.service-result-card { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.service-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service-result-head h3 { font-family: var(--sans); font-size: 15px; font-weight: 750; }
.service-result-head p { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.service-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 16px; padding: 14px; border-radius: 10px; background: var(--surface-2); }
.service-result-grid span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.service-result-grid strong { display: block; margin-top: 3px; font-size: 13px; }
.service-result-items { margin-top: 14px; }
.service-result-item { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.service-result-item:last-child { border-bottom: 0; }
.service-result-item span { color: var(--muted); }
.service-result-item strong { font-size: 12px; font-variant-numeric: tabular-nums; }
.service-result-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.service-result-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 7px; }
.service-track-card .timeline { margin-top: 16px; }
.service-track-card .timeline li { padding-bottom: 16px; grid-template-columns: 24px 1fr; gap: 10px; }
.service-track-card .timeline .point { width: 24px; height: 24px; font-size: 9px; }
.service-track-card .timeline li::before { left: 11px; top: 25px; }
.service-track-card .timeline strong { font-size: 12px; }
.service-track-card .timeline p { font-size: 11px; }
.service-track-card .track-note { margin-top: 14px; }
.service-empty { padding: 14px; border-radius: 9px; background: var(--surface-2); font-size: 12px; color: var(--muted); text-align: center; }

/* Public service status */
.service-status-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) 340px; gap: 26px; align-items: start; padding: 34px 0 80px; }
.service-status-main { display: grid; gap: 22px; min-width: 0; }
.service-status-form { padding: 26px; }
.service-status-form-head { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.service-status-form-head h2 { margin-top: 9px; font-size: 1.6rem; }
.service-status-form-head p { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.service-status-form form { margin-top: 20px; }
.service-status-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.service-status-help { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.service-status-help h2 { margin-top: 4px; font-size: 1.35rem; }
.service-status-steps { list-style: none; display: grid; gap: 16px; margin-top: 20px; }
.service-status-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 11px; }
.service-status-steps li > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-size: 10px; font-weight: 750; }
.service-status-steps strong { display: block; font-size: 12.5px; }
.service-status-steps p { margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.service-status-note { padding: 22px; border-radius: var(--radius); background: var(--ink); color: #f8f2e7; }
.service-status-note strong { font-size: 14px; }
.service-status-note p { margin: 5px 0 14px; font-size: 12px; color: #b8b0a0; line-height: 1.6; }
.service-status-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.service-status-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.service-status-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .06em; color: var(--brand-dark); }
.service-status-head h2 { margin-top: 5px; font-size: 1.55rem; }
.service-status-head p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.service-stage-progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.service-stage-progress li { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; }
.service-stage-progress li::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.service-stage-progress li:first-child::before { display: none; }
.service-stage-progress .service-stage-point { position: relative; z-index: 1; display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 10px; font-weight: 750; }
.service-stage-progress li.is-done::before, .service-stage-progress li.is-current::before { background: var(--green); }
.service-stage-progress li.is-done .service-stage-point { border-color: var(--green); background: var(--green); color: #fff; }
.service-stage-progress li.is-current .service-stage-point { border-color: var(--brand); background: var(--brand); color: #171711; }
.service-stage-progress strong { display: block; font-size: 11.5px; }
.service-stage-progress li > div > span { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.service-status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 20px; padding: 16px; border-radius: 11px; background: var(--surface-2); }
.service-status-grid span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.service-status-grid strong { display: block; margin-top: 3px; font-size: 12.5px; }
.service-resolution { margin-top: 14px; padding: 16px; border: 1px solid #d7e4d5; border-radius: 11px; background: var(--green-soft); }
.service-resolution span, .service-status-note-panel span { display: block; font-size: 9.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.service-resolution p { margin-top: 5px; font-size: 13px; line-height: 1.65; color: var(--green); }
.service-status-note-panel { margin-top: 12px; padding: 15px 16px; border-radius: 11px; background: var(--surface-2); }
.service-status-note-panel span { color: var(--muted); }
.service-status-note-panel p { margin-top: 5px; font-size: 12.5px; line-height: 1.65; color: var(--ink-2); }
.service-status-section-label { margin: 20px 0 9px; font-size: 9.5px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.service-status-items { padding-top: 4px; border-top: 1px solid var(--line); }
.service-status-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.service-status-item:last-child { border-bottom: 0; }
.service-status-item div strong { display: block; font-size: 12px; }
.service-status-item div span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--muted); }
.service-status-item > strong { white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
.service-status-timeline { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.service-status-timeline ol { list-style: none; display: grid; gap: 0; }
.service-status-timeline li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding-bottom: 16px; }
.service-status-timeline li::before { content: ""; position: absolute; left: 8px; top: 15px; bottom: 0; width: 2px; background: var(--line); }
.service-status-timeline li:last-child { padding-bottom: 0; }
.service-status-timeline li:last-child::before { display: none; }
.service-timeline-dot { width: 17px; height: 17px; margin-top: 2px; border: 2px solid var(--brand); border-radius: 50%; background: var(--brand-soft); }
.service-status-timeline strong { display: block; font-size: 12.5px; }
.service-status-timeline p { margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.service-status-timeline li > div > span { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); }
.service-status-loading, .service-status-error { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; font-size: 12.5px; color: var(--muted); }
.service-status-error strong { display: block; color: var(--danger); font-size: 14px; }
.service-status-error p { margin-top: 5px; }
.service-cancelled { margin-top: 18px; }
@media (max-width: 980px) {
  .service-status-layout { grid-template-columns: 1fr; }
  .service-status-side { position: static; }
}
@media (max-width: 640px) {
  .service-status-layout { padding-top: 22px; }
  .service-status-form, .service-status-card { padding: 20px; border-radius: var(--radius); }
  .service-status-head { flex-direction: column; }
  .service-status-grid { grid-template-columns: 1fr; }
  .service-stage-progress { gap: 4px; }
  .service-stage-progress strong { font-size: 10.5px; }
  .service-stage-progress li > div > span { font-size: 9px; }
}

.service-home-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 34px; align-items: center; padding: 34px 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(600px 280px at 100% 0%, #f0e5d3, transparent 65%), var(--surface); }
.service-home-band h2 { margin-top: 5px; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.service-home-band p:not(.eyebrow) { margin-top: 10px; max-width: 540px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.service-home-band .button-row { margin-top: 20px; }
.service-home-points { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255, 253, 249, .78); }
.service-home-points > div { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: start; }
.service-home-points > div > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #f8f2e7; font-size: 9px; font-weight: 750; }
.service-home-points strong { display: block; font-size: 12.5px; font-weight: 700; }
.service-home-points p { margin-top: 2px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 980px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .service-panel { padding: 24px; }
  .service-home-band { grid-template-columns: 1fr; gap: 22px; padding: 28px; }
}
@media (max-width: 640px) {
  .service-layout { padding-top: 24px; }
  .service-panel { padding: 20px; border-radius: var(--radius); }
  .service-panel-head { flex-direction: column; }
  .service-submit-row { flex-direction: column; align-items: flex-start; }
  .service-submit-row .btn { width: 100%; }
  .service-result-grid { grid-template-columns: 1fr; }
  .service-result-photos { grid-template-columns: repeat(2, 1fr); }
  .service-home-band { padding: 24px 20px; }
  .service-home-band .button-row .btn { width: 100%; }
}

/* Modals, toasts, misc */
dialog.modal {
  width: min(580px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .5);
}
dialog.modal::backdrop { background: rgba(20, 19, 14, .58); }
dialog.modal[open] { animation: dialogIn .18s ease both; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 21px 24px 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.35rem; }
.modal-head p { margin-top: 3px; font-size: 12px; color: var(--muted); }
.modal-close { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 18px; line-height: 1; }
.modal-close:hover { border-color: var(--ink); color: var(--ink); }
.modal-body { padding: 22px 24px; overflow: auto; max-height: calc(100vh - 210px); }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding: 15px 24px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 20px 20px; }
.modal-wide { width: min(760px, calc(100vw - 32px)); }
dialog.modal.modal-wide { width: min(760px, calc(100vw - 32px)); }
dialog.modal.modal-sm { width: min(440px, calc(100vw - 32px)); }
dialog.modal.receipt-dialog { width: min(430px, calc(100vw - 24px)); }
.detail-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 16px; }
.detail-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.detail-dl { display: grid; grid-template-columns: 110px 1fr; gap: 7px 14px; font-size: 13px; }
.detail-dl dt { color: var(--muted); }
.detail-dl dd { margin: 0; word-break: break-word; }

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: grid;
  gap: 9px;
  width: min(370px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  padding: 12px 15px;
  border-radius: 11px;
  background: var(--ink);
  color: #f7f1e6;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .5);
  animation: toastIn .18s ease both;
  pointer-events: auto;
}
.toast--success { background: #24513d; }
.toast--error { background: #7c2c21; }

.banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.banner--brand { background: var(--brand-soft); border-color: #f2d49b; color: var(--brand-dark); }
.banner--green { background: var(--green-soft); border-color: #cbe0d5; color: var(--green); }
.banner--danger { background: var(--danger-soft); border-color: #efcfc8; color: var(--danger); }
.banner svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
.inline-link { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: var(--brand); }
.divider-text { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Admin login reuses auth styles; admin shell in admin.css */

/* Animations */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1100px) {
  .product-grid, .skeleton-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 38px; }
  .sell-panel { gap: 34px; padding: 42px; }
  .footer-main { grid-template-columns: 1.4fr .8fr 1fr; gap: 34px; }
  .footer-col--contact { grid-column: 2 / -1; }
}

@media (max-width: 980px) {
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 9px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 40px; }
  .hero-copy { max-width: 680px; }
  .hero-art { max-width: 560px; }
  .hero-frame { border-radius: 22px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .trust-item { border-right: 0; padding: 0 16px; }
  .trust-item:nth-child(odd) { padding-left: 0; }
  .trust-item:nth-child(even) { border-left: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .detail-layout { gap: 28px; }
  .offer-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .sell-panel { grid-template-columns: 1fr; }
  .sell-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .sell-step { grid-template-columns: 1fr; gap: 9px; }
  .account-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 860px) {
  .header-inner { gap: 12px; min-height: 70px; }
  .brand-word { font-size: 21px; }
  .brand--logo .brand-logo { height: 31px; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 12px 24px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -30px rgba(27, 26, 21, .4);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 14px; border-radius: 8px; }
  .main-nav a:hover { background: var(--surface); }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: var(--surface); }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: 0; }
  .header-actions .hide-mobile { display: none; }
  .account-link span { display: none; }
  .mobile-nav-cta { display: grid; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .mobile-nav-cta .btn { width: 100%; }
  .user-menu__panel { right: -4px; }
  .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  .catalog-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(340px, 88vw);
    height: 100%;
    overflow: auto;
    border-radius: 0;
    border: 0;
    padding: 22px;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 20px 0 60px -30px rgba(0, 0, 0, .4);
  }
  .filters.is-open { transform: translateX(0); }
  .filters .filters-close { display: inline-grid; }
  .filter-overlay { display: block; position: fixed; inset: 0; z-index: 110; background: rgba(20, 19, 14, .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .filter-overlay.is-open { opacity: 1; pointer-events: auto; }
  .filter-toggle { display: inline-flex; }
  .catalog-toolbar { align-items: flex-start; }
  .detail-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .detail-info .sticky-card { position: static; }
  .gallery-main { border-radius: 16px; }
  .offer-layout { grid-template-columns: 1fr; }
  .offer-aside { position: static; order: 2; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { display: grid; grid-template-columns: 1fr auto; gap: 0 15px; align-items: start; }
  .account-side .account-meta { grid-column: 1; }
  .account-nav { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; min-width: 170px; }
  .tablist { overflow-x: auto; }
  .tablist button { white-space: nowrap; flex: 0 0 auto; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: 1fr; }
  .sell-steps { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 7px; }
  .section { padding: 54px 0; }
  .form-card { padding: 22px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .topbar .container { min-height: 32px; }
  .topbar-note { font-size: 10.5px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-tile { flex-direction: row; align-items: center; gap: 11px; padding: 13px; }
  .category-tile .icon { width: 34px; height: 34px; border-radius: 9px; }
  .category-tile span { display: none; }
  .product-grid, .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .listing-grid, .skeleton-grid { grid-template-columns: 1fr; }
  .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card .card-body { gap: 4px; padding: 11px 12px 12px; }
  .product-card .card-brand { font-size: 9px; letter-spacing: .1em; }
  .product-card .card-title { font-size: 12.5px; line-height: 1.35; }
  .product-card .card-price { font-size: 15px; letter-spacing: -.02em; }
  .product-card .card-price-old { display: none; }
  .product-card .card-foot { padding-top: 8px; font-size: 10px; }
  .product-card .card-foot .arrow { width: 22px; height: 22px; }
  .product-card .card-media .badge { top: 8px; left: 8px; padding: 3px 7px; font-size: 9.5px; }
  .product-card .card-media .badge.badge-rental { left: auto; right: 8px; }
  .product-card .card-media .badge-sold { right: 8px; left: auto; }
  .card-media { aspect-ratio: 4 / 3; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.35rem); }
  .hero-search { flex-wrap: wrap; padding: 7px; }
  .search-field { flex-basis: 100%; padding-left: 7px; }
  .hero-search .btn { width: 100%; }
  .hero-stats { gap: 22px; }
  .hero-stat strong { font-size: 21px; }
  .trust-grid { grid-template-columns: 1fr; gap: 13px; padding: 16px 0; }
  .trust-item, .trust-item:nth-child(even) { border-left: 0; padding: 0; }
  .sell-panel { padding: 28px 22px; border-radius: 20px; }
  .sell-panel h2 { font-size: 1.9rem; }
  .sell-panel .button-row .btn { width: 100%; }
  .hero-art { max-width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .form-note { max-width: none; }
  .uploader-grid { grid-template-columns: repeat(3, 1fr); }
  .track-summary { grid-template-columns: 1fr; gap: 12px; }
  .track-head { flex-direction: column; gap: 10px; }
  .track-card, .track-form { padding: 20px; }
  .track-wrap { padding-top: 26px; }
  .auth-wrap { padding-top: 28px; }
  .auth-card { padding: 22px; }
  .account-side { grid-template-columns: 1fr; }
  .account-nav { grid-column: 1; grid-row: auto; margin-top: 16px; grid-template-columns: repeat(3, 1fr); }
  .account-nav button { justify-content: center; font-size: 12px; padding: 8px 6px; }
  .account-meta { grid-column: 1; }
  .panel { padding: 19px; }
  .item-row { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .item-main { flex-basis: calc(100% - 100px); }
  .item-actions { width: 100%; justify-content: flex-start; padding-left: 100px; }
  .cta-band { padding: 24px 20px; border-radius: 18px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .detail-price strong { font-size: 26px; }
  .detail-actions .btn { flex-basis: 100%; }
  .modal-body { padding: 18px; }
  .modal-head, .modal-foot { padding-inline: 18px; }
  .detail-dl { grid-template-columns: 90px 1fr; }
  .toast-stack { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

@media (max-width: 420px) {
  .brand-word { font-size: 19px; }
  .brand img { width: 32px; height: 32px; }
  .brand--logo .brand-logo { width: auto; height: 28px; }
  .header-inner { min-height: 64px; }
  .btn { padding-inline: 15px; }
  .header-actions .btn-soft { display: none; }
  .seller-line { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
