:root {
  --blue: #0a2e6e;
  --blue2: #1a56db;
  --red: #c8102e;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0a2e6e;
  --accent-hover: #1a56db;
  --danger: #c8102e;
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --shadow: 0 8px 24px rgba(10,46,110,.10);
  --header-bg: rgba(255,255,255,.92);
  --container: 1240px;
  --gutter: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
  min-height: 100vh;
}
body.lot-page { padding-bottom: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.site-header.is-scrolled { background: rgba(11,11,12,.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.wordmark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
}
.wordmark b { color: var(--accent); font-weight: 700; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--muted);
}
.main-nav a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #0b0b0c;
  background-image: linear-gradient(to bottom, rgba(255,255,255,.12), rgba(0,0,0,.05));
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  border-color: var(--line);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  border-color: var(--line);
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,162,94,.12), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.catalog-section, .info-section {
  padding: 48px 0;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

/* Toolbar */
.toolbar {
  margin-bottom: 16px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.chip:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,162,94,.05);
}
.chip-count { opacity: .7; font-size: 12px; margin-left: 2px; }
.toolbar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.toolbar-controls select,
.toolbar-controls input[type="search"] {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  min-width: 140px;
  transition: border-color .2s;
}
.toolbar-controls select:focus-visible,
.toolbar-controls input[type="search"]:focus-visible {
  border-color: var(--accent);
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.check-label input { accent-color: var(--accent); }
.result-count {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  min-height: 1.5em;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* Card */
.card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(255,255,255,.18); transform: translateY(-2px); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.card.is-sold .card-media img {
  filter: grayscale(1);
  opacity: .55;
}
.badge-sold {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: .02em;
}
.badge-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.card-body {
  padding: 12px;
}
.card-lot {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  margin-top: 20px;
  color: var(--muted);
}
.empty-state p { margin-bottom: 16px; }

/* Steps & Features */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); }

.import-banner {
  padding: 32px 0;
}
.import-link {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #1b1b1e, #111);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 18px;
  transition: border-color .2s;
}
.import-link span { color: var(--accent); margin-left: 4px; }
.import-link:hover { border-color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 48px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--muted); }

/* Lot page */
.lot-main { padding: 24px 0 48px; }
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  transition: color .2s;
}
.back-link:hover { color: var(--text); }
.lot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.lot-gallery { position: sticky; top: 80px; }
.gallery-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  cursor: pointer;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.g-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--surface-2);
  padding: 0;
  transition: border-color .2s;
}
.g-thumb.is-active { border-color: var(--accent); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lot-info { padding-top: 8px; }
.lot-lot {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.lot-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
.lot-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.sold-notice {
  background: rgba(179,74,74,.1);
  border: 1px solid var(--danger);
  color: #e8a0a0;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  margin-bottom: 20px;
}
.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin-bottom: 24px;
}
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { font-size: 14px; }
.lot-description {
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--text);
}
.lot-description p { margin-bottom: 8px; }
.lot-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.lot-note {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.related-section { margin-top: 48px; }

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11,11,12,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform .3s;
}
.lot-page .mobile-cta { transform: translateY(0); }
.mobile-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}
@media (min-width: 720px) {
  .mobile-cta { display: none; }
  body.lot-page { padding-bottom: 0; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.12); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-sm { padding: 8px 12px; font-size: 13px; }
  .steps, .feature-cards { grid-template-columns: 1fr; }
  .lot-layout { grid-template-columns: 1fr; }
  .lot-gallery { position: static; }
}
@media (max-width: 480px) {
  .grid { gap: 8px; }
  .card-body { padding: 8px; }
  .card-title { font-size: 13px; }
  .card-lot { font-size: 11px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .toolbar-controls select,
  .toolbar-controls input[type="search"] { min-width: 100px; flex: 1; }
  .stat-num { font-size: 20px; }
}

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

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Utility */
::selection { background: var(--accent); color: #0b0b0c; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* phones: full-width search, three stats in one row */
@media (max-width: 719px) {
  .toolbar-controls input[type="search"] { flex: 1 1 100%; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-num { font-size: 17px; white-space: nowrap; }
  .stat-label { font-size: 11px; }
}

/* Home: category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .4s ease; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile:hover { border-color: var(--accent); }
.cat-tile-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 36px 14px 12px;
  background: linear-gradient(to top, rgba(11,11,12,.92), rgba(11,11,12,0));
}
.cat-tile-name { font-weight: 700; font-size: 17px; color: var(--text); }
.cat-tile-count { font-size: 12px; color: var(--accent); white-space: nowrap; }
.cat-all { display: flex; justify-content: center; margin-top: 28px; }
.catalog-section:first-child { padding-top: 40px; }

/* ============================================================
   Light theme in the colours of the original DirectUSA site
   ============================================================ */
body { color-scheme: light; background: #fff; }
.site-header, .site-header.is-scrolled { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.wordmark { color: var(--blue); font-style: italic; }
.wordmark b { color: var(--red); }
.btn-primary { background: var(--blue2); background-image: none; color: #fff; }
.btn-primary:hover { background: var(--blue); }
.btn-outline:hover, .btn-ghost:hover, .chip:hover { border-color: var(--blue2); color: var(--blue2); }
.hero {
  background: linear-gradient(180deg, #eef1f8 0%, #f5f7fb 60%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after { display: none; }
.eyebrow { color: var(--red); }
.stat-num { color: var(--blue); }
.catalog-section, .info-section { background: #fff; }
#how, #categories { background: var(--surface-2); }
#how .step, .card, .feature-card { box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card:hover { border-color: #c7d2e5; box-shadow: var(--shadow); }
.card-price { color: var(--blue); }
.chip.is-active { border-color: var(--blue2); color: var(--blue2); background: #eef3ff; }
.step-num { background: var(--blue2); color: #fff; }
.import-link { background: linear-gradient(135deg, #071d4a 0%, #0a2e6e 60%, #0d1f5c 100%); color: #fff; border: 0; }
.import-link span { color: #ff8a96; }
.cat-tile-name { color: #fff; }
.cat-tile-count { color: #dbe6ff; }
.cat-tile-body { background: linear-gradient(to top, rgba(7,29,74,.88), rgba(7,29,74,0)); }
.cat-tile:hover { border-color: var(--blue2); }
.mobile-cta { background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); color: var(--text); }
::selection { background: var(--blue2); color: #fff; }
input[type="checkbox"] { accent-color: var(--blue2); }
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; height: 40px; width: auto; }
.site-footer .wordmark img { height: 44px; }

/* ============================================================
   Header + hero matched to the original DirectUSA page
   ============================================================ */
body { font-family: 'Inter', "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
.site-header, .site-header.is-scrolled { background: rgba(255,255,255,.97); padding: 10px 0; border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.wordmark img { height: 44px; }
.main-nav { gap: 32px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--blue); }
.site-header .btn-primary { padding: 9px 22px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.btn { border-radius: 10px; font-weight: 700; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1db954; }
.hero .btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--text); }

.hero { padding: 40px 0 48px; text-align: left; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  column-gap: 48px;
  align-items: center;
  text-align: left;
  max-width: var(--container);
}
.hero-inner > * { grid-column: 1; justify-self: start; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--blue);
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 4.2vw, 54px); font-weight: 900; line-height: 1.1;
  letter-spacing: -1.5px; color: var(--text); margin: 0 0 16px; max-width: none;
}
.highlight {
  background: linear-gradient(90deg, #ff6b7a, #c8102e);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lead { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 24px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin: 0 0 28px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px; margin: 0;
}
.hero-stats .stat { text-align: center; padding: 0 6px; }
.hero-stats .stat-num { display: block; font-size: 26px; font-weight: 900; color: var(--blue); letter-spacing: -1px; white-space: nowrap; }
.hero-stats .stat-label { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.hero-photo {
  grid-column: 2; grid-row: 1 / span 5; justify-self: stretch;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px; background: #fff; border-radius: 20px; box-shadow: 0 24px 48px rgba(10,46,110,.18);
}
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.section-title { font-weight: 900; letter-spacing: -1px; }

@media (max-width: 860px) {
  .hero { padding: 20px 0 32px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-inner > * { justify-self: center; }
  .hero-photo { grid-column: 1; grid-row: auto; order: -1; margin-bottom: 20px; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-radius: 16px; }
  .hero-photo img { border-radius: 10px; }
  .hero .lead { margin: 0 auto 20px; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .wordmark img { height: 36px; }
  .site-header .btn-primary { padding: 8px 12px; font-size: 13px; }
  .hero-stats { padding: 12px 4px; }
  .hero-stats .stat-num { font-size: 19px; }
  .hero-stats .stat-label { font-size: 10.5px; line-height: 1.25; }
  .hero-actions .btn { padding: 11px 16px; font-size: 14px; }
}

/* Home: catalog block is folded until the visitor opens it */
#categories { padding: 24px 0; }
.cat-fold { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.cat-fold > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
}
.cat-fold > summary::-webkit-details-marker { display: none; }
.cat-fold-title { font-size: 20px; font-weight: 900; letter-spacing: -.5px; color: var(--text); }
.cat-fold-meta { color: var(--muted); font-size: 14px; flex: 1; }
.cat-fold-btn {
  background: var(--blue2); color: #fff; font-weight: 700; font-size: 15px;
  padding: 9px 22px; border-radius: 8px; white-space: nowrap;
}
.cat-fold > summary:hover .cat-fold-btn { background: var(--blue); }
.cat-fold > summary:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; border-radius: 16px; }
.cat-fold .when-open, .cat-fold[open] .when-closed { display: none; }
.cat-fold[open] .when-open { display: inline; }
.cat-fold[open] .cat-fold-btn { background: #fff; color: var(--blue2); box-shadow: inset 0 0 0 1.5px var(--line); }
.cat-fold .cat-grid { padding: 4px 20px 0; }
.cat-fold .cat-all { margin: 20px 0 22px; }
@media (max-width: 600px) {
  .cat-fold > summary { flex-wrap: wrap; gap: 4px 12px; padding: 14px; }
  .cat-fold-title { font-size: 18px; flex: 1 1 auto; }
  .cat-fold-meta { order: 3; flex: 1 1 100%; font-size: 13px; }
  .cat-fold-btn { padding: 8px 14px; font-size: 14px; }
  .cat-fold .cat-grid { padding: 4px 12px 0; }
}
.ship-note { color: var(--muted); font-size: 15px; margin: -8px 0 18px; }
.hero-stats .stat-num { font-size: 22px; }
@media (max-width: 600px) { .hero-stats .stat-num { font-size: 15px; letter-spacing: -.5px; } .hero-stats .stat-label { font-size: 10px; } }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--blue2); }
.crumbs a:hover { text-decoration: underline; }
a.chip { text-decoration: none; display: inline-flex; align-items: center; }
a.chip { gap: 6px; }

/* ============================================================
   Calm "company / store" look (2026-10-16): home, footer
   ============================================================ */
.home section {
  vertical-align: top;
  padding-top: 40px;
  padding-bottom: 40px;
  margin: 0;
}

.home-intro {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.home-directions {
  background: #ffffff;
}

.home-ebay {
  background: #ffffff;
}

/* the new-arrivals grid was removed: two white sections meet, keep one 32px gap instead of two */
.home-directions + .home-ebay {
  padding-top: 0;
}

.home-facts {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.home-info {
  background: #f5f7fb;
}

.home .intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.home .intro-text h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #0f172a;
  margin: 0 0 12px;
  max-width: 560px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
}

.home .lead {
  font-size: 16.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 560px;
}

.home .intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.home .intro-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}

.home .intro-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.home .dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}

.home .dir-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 22px 20px;
  color: #0f172a;
  text-decoration: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  margin: 0;
}

.home .dir-card:hover {
  border-color: #1a56db;
}

.home .dir-kicker {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.home .dir-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 6px 0 8px;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.home .dir-card p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 14px;
}

.home .dir-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a56db;
  text-decoration: none;
  display: inline;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.home .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.home h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
  line-height: 1.3;
}

.home .section-head h2 {
  margin-bottom: 0;
}

.home .section-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a56db;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.home .section-link:hover {
  text-decoration: underline;
  color: #1a56db;
}

.home .grid {
  gap: 16px;
}

.home .ebay-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px 28px;
  background: #f5f7fb;
  box-sizing: border-box;
  margin: 0;
}

.home .ebay-text p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.home .ebay-form {
  display: flex;
  flex: 0 1 520px;
  margin: 0;
  padding: 0;
  align-items: stretch;
  box-sizing: border-box;
}

.home .ebay-form input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  padding: 0 14px;
  font-size: 15px;
  font-family: 'Inter', "Segoe UI", system-ui, sans-serif;
  background: #fff;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  margin: 0;
  line-height: 1.5;
}

.home .ebay-form input[type="search"]:focus {
  border-color: #1a56db;
}

.home .ebay-form .btn.btn-primary {
  border-radius: 0 8px 8px 0;
  height: 44px;
  white-space: nowrap;
  margin: 0;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #1a56db;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.home .ebay-form .btn.btn-primary:hover {
  background: #0a2e6e;
  color: #fff;
}

.home .facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
}

.home .fact {
  padding: 4px 24px;
  border-left: 1px solid #e2e8f0;
  box-sizing: border-box;
  margin: 0;
}

.home .fact:first-child {
  padding-left: 0;
  border-left: none;
}

.home .fact h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #0f172a;
  line-height: 1.3;
}

.home .fact p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

.home .info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin: 0;
  padding: 0;
}

.home .steps-list {
  margin: 0;
  padding-left: 20px;
  list-style: decimal;
}

.home .steps-list li {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
}

.home .plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home .plain-list li {
  padding: 9px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
  line-height: 1.6;
  color: #0f172a;
}

.home .plain-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 40px 0 0;
  color: #0f172a;
  font-family: 'Inter', "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.site-footer .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
  margin: 0;
  align-items: start;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.site-footer .footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 6px;
  line-height: 1.4;
}

.site-footer .footer-col a {
  font-size: 14.5px;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.site-footer .footer-col a:hover {
  color: #1a56db;
  text-decoration: none;
}

.site-footer .footer-about p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

.site-footer .footer-about .wordmark img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 6px;
  border: none;
  padding: 0;
}

.site-footer .footer-legal {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.site-footer .footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.site-footer .footer-bottom .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .home .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home .dir-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .home .fact {
    padding: 12px 0;
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }

  .home .fact:first-child {
    border-top: none;
  }

  .home .info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home .ebay-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .home .ebay-form {
    flex: 1 1 auto;
    width: 100%;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .site-footer .footer-col {
    gap: 6px;
  }
}

@media (max-width: 600px) {
  .home section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .home .intro-text h1 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .home .intro-photos {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .home .intro-photos img {
    aspect-ratio: 1 / 1;
  }

  .home .facts-grid {
    grid-template-columns: 1fr;
  }

  .home .fact {
    border-top: 1px solid #e2e8f0;
    padding: 12px 0;
  }

  .home .fact:first-child {
    border-top: none;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* keep every home block and the footer on the same centred grid */
.home .container.dir-grid, .home .container.facts-grid, .home .container.info-grid, .home .container.intro-grid,
.site-footer .container.footer-grid, .site-footer .container.footer-bottom {
  margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; max-width: 1240px; width: 100%;
}

/* ==========================================================================
   Pages pass (2026-10-16): catalog, category, lot pages on the same calm
   1400 px layout as the home page and ebay.directusa.autos. Styles only.
   ========================================================================== */
body { background: #f4f6f9; }
.container,
.home .container.dir-grid, .home .container.facts-grid, .home .container.info-grid, .home .container.intro-grid,
.site-footer .container.footer-grid, .site-footer .container.footer-bottom { max-width: 1400px; }
[data-reveal] { cursor: pointer; }
.home h1 { font-size: 28px; }
.home section { padding-top: 32px; padding-bottom: 32px; }

/* catalog + category pages */
.catalog-section, .catalog-section:first-child { padding: 24px 0 40px; background: transparent; }
.catalog-section .back-link { display: inline-block; font-size: 13.5px; color: #1a56db; margin: 0 0 8px; }
.catalog-section h1.section-title { font-size: 24px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; margin: 0 0 4px; color: #0f172a; }
.ship-note { margin: 0 0 14px; font-size: 14.5px; color: #64748b; }
.toolbar { background: #fff; border: 1px solid #e9edf2; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; gap: 10px; }
.chip, a.chip { border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; padding: 5px 10px; font-size: 13.5px; color: #0f172a; gap: 6px; }
.chip:hover, a.chip:hover { border-color: #1a56db; color: #1a56db; }
.chip.is-active, a.chip.is-active { border-color: #1a56db; color: #1a56db; background: #eef3ff; }
.chip-count { color: #94a3b8; font-size: 12px; }
.toolbar-controls select, .toolbar-controls input[type="search"] { height: 36px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; }
.result-count { font-size: 13.5px; color: #64748b; margin: 0 0 10px; }

/* product cards (catalog, category, home, "ещё в каталоге") */
.grid { gap: 14px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9edf2; border-radius: 8px; box-shadow: none; overflow: hidden; }
.card:hover { border-color: #c9d6ee; box-shadow: none; transform: none; }
.card-media { aspect-ratio: 4 / 5; background: #fff; border-bottom: 1px solid #eef1f5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card-media img { transform: none; }
.card-body { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 10px 12px 12px; }
.card-lot { font-size: 11.5px; color: #64748b; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: #0f172a; }
.card-meta { font-size: 13px; color: #64748b; }
.card-price { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 700; color: #0a2e6e; }
.badge-count { border-radius: 4px; }

/* lot page */
.lot-main { padding: 20px 0 48px; }
.crumbs { font-size: 13.5px; margin: 0 0 12px; }
.lot-layout { gap: 32px; }
.gallery-main { background: #fff; border: 1px solid #e9edf2; border-radius: 8px; box-shadow: none; }
.g-thumb { border-radius: 6px; border-color: #e2e8f0; }
.lot-lot { font-size: 12px; color: #64748b; letter-spacing: .06em; }
.lot-title { font-size: 26px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; margin: 4px 0 8px; color: #0f172a; }
.lot-price { font-size: 22px; font-weight: 700; color: #0a2e6e; }
.specs { border-top: 1px solid #e9edf2; }
.lot-main h2, .lot-main .section-title { font-size: 20px; font-weight: 700; letter-spacing: -0.2px; }

@media (max-width: 600px) {
  .home h1 { font-size: 22px; }
  .catalog-section h1.section-title { font-size: 20px; }
  .lot-title { font-size: 21px; }
  .lot-price { font-size: 19px; }
  .grid { gap: 10px; }
  .card-body { padding: 8px 10px 10px; }
  .card-title { font-size: 13.5px; }
}

/* ===== info pages: how to buy, delivery, contacts ===== */
.info-page { padding: 20px 0 48px; }
.info-page h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; color: #0f172a; margin: 0 0 6px; }
.info-lead { font-size: 15px; color: #64748b; margin: 0 0 18px; }
.info-block { background: #fff; border: 1px solid #e9edf2; border-radius: 8px; padding: 18px 22px; margin: 14px 0 0; max-width: 900px; }
.info-block h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.2px; color: #0f172a; margin: 0 0 10px; }
.info-block p { font-size: 15px; line-height: 1.6; color: #0f172a; margin: 0; }
.info-block a, .info-note a { color: #1a56db; }
.info-note { font-size: 14px; color: #64748b; margin: 10px 0 0 !important; }
.info-steps { margin: 0; padding-left: 22px; }
.info-steps li { font-size: 15px; line-height: 1.6; color: #0f172a; margin: 0 0 8px; }
.info-steps li:last-child { margin-bottom: 0; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { font-size: 15px; line-height: 1.6; color: #0f172a; padding: 8px 0; border-bottom: 1px solid #eef1f5; }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.contact-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #e9edf2; border-radius: 8px; padding: 16px 18px; color: #0f172a; text-decoration: none; cursor: pointer; }
.contact-tile:hover { border-color: #1a56db; }
.contact-label { font-size: 13px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .05em; }
.contact-value { font-size: 16px; font-weight: 600; color: #1a56db; word-break: break-word; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .info-page h1 { font-size: 22px; } .info-block { padding: 14px 16px; } }

/* home direction cards with photos */
.home .dir-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.home .dir-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid #e9edf2; }
.home .dir-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.home .dir-body .dir-link { margin-top: auto; }

/* catalog pages: 32 lots per page (4 x 8 on desktop) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 24px 0 8px; }
.pager-btn { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.pager-btn:hover:not([disabled]) { border-color: #1a56db; color: #1a56db; }
.pager-btn.is-current { background: #1a56db; border-color: #1a56db; color: #fff; cursor: default; }
.pager-btn[disabled] { opacity: .45; cursor: default; }
.pager-dots { padding: 0 4px; color: #64748b; }
.pager-info { flex-basis: 100%; text-align: center; font-size: 13.5px; color: #64748b; margin-top: 6px; }
@media (max-width: 600px) { .pager-btn { min-width: 36px; height: 36px; padding: 0 9px; font-size: 14px; } .pager-wide { flex-basis: calc(50% - 6px); order: 2; } .pager-info { order: 3; } }

/* ===== contacts page: contacts left, callback form right ===== */
.contacts-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; max-width: 1120px; }
.contacts-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.contacts-main .info-block { margin: 0; max-width: none; }
.contacts-main .contact-grid { max-width: none; }
.wh-list { list-style: none; margin: 0; padding: 0; }
.wh-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid #eef1f5; }
.wh-list li:first-child { padding-top: 0; }
.wh-name { font-size: 15px; color: #0f172a; }
.wh-phone { font-size: 17px; font-weight: 700; color: #1a56db; text-decoration: none; white-space: nowrap; }
.wh-phone:hover { text-decoration: underline; }
.company-line { font-size: 13.5px; color: #64748b; margin: 0; }
.callback-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; position: sticky; top: 116px; }
.callback-card h2 { font-size: 18px; font-weight: 700; color: #0f172a; margin: 0 0 14px; line-height: 1.3; }
#callback-form { display: flex; flex-direction: column; gap: 12px; }
.cb-status { margin: 0; font-size: 14px; padding: 10px 12px; border-radius: 6px; }
.cb-status.is-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.cb-done { padding: 18px 0 6px; }
.cb-done h2 { color: #065f46; margin: 0; }
@media (max-width: 900px) { .contacts-layout { grid-template-columns: 1fr; } .callback-card { position: static; } }

/* contacts: same centred width as the cart */
.info-page .container:has(.contacts-layout) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.contacts-layout { margin: 0 auto; }

/* ===== contacts v2: masked phones, channel icons with soft glow ===== */
.wh-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #0a2e6e;
  font-variant-numeric: tabular-nums; text-decoration: none; cursor: pointer; border-radius: 6px; padding: 2px 4px; }
.wh-phone .ph-ico { color: #1a56db; flex-shrink: 0; }
.wh-phone[data-revealed] { color: #1a56db; }
.wh-phone:hover, .wh-phone:focus-visible { outline: none; background: #eef3ff; }
.callback-card .cb-sub { font-size: 14px; color: #64748b; margin: -6px 0 14px; line-height: 1.5; }
.contact-tile { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 64px; transition: border-color .2s, box-shadow .2s; }
.contact-tile .contact-label { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: #0f172a; }
.contact-tile .contact-value { flex-basis: 100%; font-size: 14px; font-weight: 600; color: #1a56db; }
.contact-tile .contact-value:empty { display: none; }
.ch-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; transition: box-shadow .2s, filter .2s; }
.ch-tg .ch-ico { color: #229ed9; background: #e8f5fc; }
.ch-wa .ch-ico { color: #25a244; background: #e9f8ee; }
.ch-mail .ch-ico { color: #1a56db; background: #eef3ff; }
.ch-tg:hover, .ch-tg:focus-visible { border-color: #9fd3ef; box-shadow: 0 0 0 4px rgba(34, 158, 217, .10); outline: none; }
.ch-wa:hover, .ch-wa:focus-visible { border-color: #9edcb2; box-shadow: 0 0 0 4px rgba(37, 162, 68, .10); outline: none; }
.ch-mail:hover, .ch-mail:focus-visible { border-color: #a9c0f2; box-shadow: 0 0 0 4px rgba(26, 86, 219, .10); outline: none; }
.ch-tg:hover .ch-ico, .ch-tg:focus-visible .ch-ico { box-shadow: 0 0 14px rgba(34, 158, 217, .45); }
.ch-wa:hover .ch-ico, .ch-wa:focus-visible .ch-ico { box-shadow: 0 0 14px rgba(37, 162, 68, .45); }
.ch-mail:hover .ch-ico, .ch-mail:focus-visible .ch-ico { box-shadow: 0 0 14px rgba(26, 86, 219, .40); }
@media (prefers-reduced-motion: reduce) { .contact-tile, .ch-ico { transition: none; } }

/* catalog search (moved from the header) */
.toolbar-controls input.catalog-search { flex: 1 1 320px; min-width: 0; height: 40px; font-size: 15px; }
@media (max-width: 600px) { .toolbar-controls input.catalog-search { flex-basis: 100%; } }
.wh-phone:not([data-revealed]) span { color: #64748b; font-weight: 500; font-size: 15px; }

/* contacts: tabs in the contact card; channel tiles only highlight on hover */
.cb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #f4f6f9; border: 1px solid #e2e8f0; border-radius: 8px; margin: 0 0 14px; }
.cb-tab { min-height: 38px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: #475569; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.cb-tab:hover { color: #0f172a; }
.cb-tab.is-active { background: #fff; color: #0a2e6e; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.cb-tab:focus-visible { outline: 2px solid #1a56db; outline-offset: 1px; }
#message-form { display: flex; flex-direction: column; gap: 12px; }
#message-form textarea { width: 100%; min-height: 110px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
#message-form textarea:focus { outline: none; border-color: #1a56db; }
.contact-tile { cursor: pointer; }

/* contacts: phone reveal must not change the row size (no jitter on hover) */
.wh-list li { flex-wrap: nowrap; min-height: 44px; }
.wh-phone, .wh-phone[data-revealed] { flex-shrink: 0; min-width: 210px; justify-content: flex-end; font-size: 16px; font-weight: 600; line-height: 24px; height: 32px; white-space: nowrap; }
.wh-phone:not([data-revealed]) span { font-size: 16px; font-weight: 500; }
@media (max-width: 600px) {
  .wh-list li { flex-wrap: wrap; }
  .wh-phone, .wh-phone[data-revealed] { min-width: 0; justify-content: flex-start; padding-left: 0; }
}
/* contact card tabs: same size, one line */
.cb-tab { white-space: nowrap; font-size: 13.5px; min-height: 40px; padding: 6px 4px; }
@media (max-width: 380px) { .cb-tab { font-size: 12.5px; } }
.cb-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-tab { font-size: 13px; padding: 6px 2px; }
@media (max-width: 380px) { .cb-tab { font-size: 12px; } }
.contacts-layout { grid-template-columns: minmax(0, 1fr) 440px; }
.cb-tab { font-size: 13.5px; padding: 6px 4px; white-space: nowrap; }
@media (max-width: 900px) { .contacts-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cb-tab { white-space: normal; min-height: 52px; font-size: 13px; } }

/* contacts: both columns the same, constant height — switching tabs never resizes anything */
.contacts-layout { align-items: stretch; }
.contacts-main { height: 100%; }
.contacts-main > .contacts-block:last-of-type { flex: 1 1 auto; }
.callback-card { position: static; display: grid; grid-template-rows: auto 1fr; }
.callback-card .cb-tabs { grid-row: 1; }
.callback-card .cb-panel { grid-row: 2; grid-column: 1; display: flex; flex-direction: column; }
.callback-card .cb-panel[hidden] { display: flex !important; visibility: hidden; pointer-events: none; }
.callback-card .cb-panel > form { flex: 1 1 auto; display: flex; flex-direction: column; }
.callback-card .cb-panel > form > .cart-submit { margin-top: auto; }

/* ===== Delivery page: three service cards across the main container ===== */
.info-page .container:has(.dlv-grid) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.info-page .container:has(.dlv-grid) .info-lead { max-width: 760px; font-size: 16px; line-height: 1.6; color: #475569; margin-bottom: 22px; }
.dlv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.dlv-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 22px 22px 24px; }
.dlv-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: #eef3ff; color: #1a56db; margin-bottom: 14px; }
.dlv-card h2 { font-size: 18px; font-weight: 700; letter-spacing: -0.2px; color: #0a2e6e; margin: 0 0 12px; }
.dlv-card p { font-size: 15px; line-height: 1.6; color: #0f172a; margin: 0 0 10px; }
.dlv-card p:last-child { margin-bottom: 0; }
.dlv-card a { color: #1a56db; }
.dlv-rate { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: #eef3ff; border: 1px solid #d6e2fb; border-radius: 8px; padding: 10px 14px; margin: 4px 0 12px !important; }
.dlv-rate span { font-size: 14px; color: #334155; }
.dlv-rate b { font-size: 20px; font-weight: 700; color: #1a56db; white-space: nowrap; }
.dlv-cta { display: flex; justify-content: center; margin: 28px 0 0; }
.dlv-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; height: 48px; padding: 0 28px; border-radius: 8px;
  background: #1a56db; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
.dlv-btn:hover { background: #0a2e6e; }
.dlv-btn:focus-visible { outline: 3px solid #93b4f5; outline-offset: 2px; }
@media (max-width: 900px) { .dlv-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 600px) { .dlv-card { padding: 18px 16px 20px; } .dlv-btn { width: 100%; min-width: 0; } }

/* ===== home page redesign (2026-10-16): one hero, big direction cards, new arrivals, how to order ===== */
.hm-hero { background: linear-gradient(180deg, #f3f6fc 0%, #ffffff 100%); border-bottom: 1px solid #e9edf2; }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 36px; }
.hm-eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; margin-bottom: 12px; }
.hm-hero h1 { font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -0.8px; color: #0f172a; margin: 0 0 14px; }
.hm-lead { font-size: 17px; line-height: 1.55; color: #475569; margin: 0 0 24px; max-width: 560px; }
.hm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-btn { height: 50px; padding: 0 28px; font-size: 16px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.hm-trust { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid #e2e8f0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.hm-trust b { display: block; font-size: 19px; font-weight: 800; color: #0a2e6e; }
.hm-trust span { display: block; font-size: 13.5px; color: #64748b; margin-top: 2px; }
.hm-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16); }
/* three directions */
.hm-dirs { padding: 32px 0 8px; }
.hm-dir-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hm-dir { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.hm-dir:hover { border-color: #c9d6ee; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10); }
.hm-dir-img { display: block; aspect-ratio: 16 / 9; background: #eef2f7; overflow: hidden; }
.hm-dir-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.hm-dir:hover .hm-dir-img img { transform: scale(1.03); }
.hm-dir-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.hm-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1a56db; margin-bottom: 6px; }
.hm-dir h3 { font-size: 21px; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.hm-dir p { font-size: 14.5px; line-height: 1.55; color: #475569; margin: 0 0 14px; }
.hm-dir-link { margin-top: auto; font-size: 15px; font-weight: 600; color: #1a56db; }
/* new arrivals right under the directions */
.hm-new { padding: 28px 0 8px; }
/* how to order + advantages */
.hm-info { padding: 28px 0 8px; }
.hm-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; align-items: stretch; }
.hm-how { background: #f5f7fb; border: 1px solid #e9edf2; border-radius: 16px; padding: 22px 24px; }
.hm-how h2 { font-size: 22px; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.hm-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hm-how li { display: flex; gap: 12px; align-items: flex-start; }
.hm-how li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1a56db; color: #fff; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.hm-how b { display: block; font-size: 15.5px; color: #0f172a; }
.hm-how p { font-size: 14px; line-height: 1.5; color: #475569; margin: 2px 0 0; }
.hm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-facts .fact { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; margin: 0; }
.hm-facts .fact h4 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.hm-facts .fact p { font-size: 14px; line-height: 1.5; color: #475569; margin: 0; }
.hm-search { padding: 28px 0 40px; }
.hm-search .ebay-panel { border-radius: 16px; }
@media (max-width: 1000px) {
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; padding-bottom: 26px; }
  .hm-hero h1 { font-size: 30px; }
  .hm-lead { font-size: 16px; margin-bottom: 18px; }
  .hm-dir-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hm-info-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hm-hero h1 { font-size: 26px; }
  .hm-btn { flex: 1 1 100%; }
  .hm-trust b { font-size: 16px; }
  .hm-trust span { font-size: 12.5px; }
  .hm-facts { grid-template-columns: minmax(0, 1fr); }
  .hm-how { padding: 18px; }
}
/* the old facts strip had dividers and no padding on the first item: every fact is a card here */
.hm-facts .fact, .hm-facts .fact:first-child, .hm-facts .fact:last-child { border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; margin: 0; background: #fff; }

/* ===== «Как купить» (2026-10-16) ===== */
.info-page .container:has(.htb) { max-width: 1120px; margin-left: auto; margin-right: auto; }
.info-page .container:has(.htb) .info-lead { font-size: 17px; color: #475569; max-width: 680px; margin-bottom: 22px; }
.htb-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.htb-pick-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s; }
.htb-pick-card:hover { border-color: #c9d6ee; box-shadow: 0 12px 28px rgba(15, 23, 42, .1); }
.htb-pick-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef2f7; }
.htb-pick-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htb-pick-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 16px; }
.htb-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1a56db; }
.htb-pick-body b { font-size: 19px; color: #0f172a; }
.htb-pick-body small { font-size: 14px; color: #64748b; }
.htb-way { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 26px 28px; margin-bottom: 18px; scroll-margin-top: 80px; }
.htb-way-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.htb-num-big { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #0a2e6e; color: #fff; font-size: 20px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.htb-way h2 { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.htb-way-head p { font-size: 15.5px; color: #475569; margin: 0; line-height: 1.5; }
.htb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.htb-steps li { position: relative; background: #f5f7fb; border-radius: 14px; padding: 16px 16px 18px; }
.htb-step-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #1a56db; color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.htb-steps b { display: block; font-size: 16px; color: #0f172a; margin-bottom: 4px; }
.htb-steps p { font-size: 14px; line-height: 1.5; color: #475569; margin: 0; }
.htb-steps a { color: #1a56db; }
.htb-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.htb-cta .btn { height: 46px; padding: 0 22px; border-radius: 10px; display: inline-flex; align-items: center; }
.htb-faq { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 24px 28px; margin: 26px 0 18px; }
.htb-faq h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.htb-faq details { border-top: 1px solid #eef1f5; padding: 12px 0; }
.htb-faq summary { cursor: pointer; font-size: 16px; font-weight: 600; color: #0f172a; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.htb-faq summary::-webkit-details-marker { display: none; }
.htb-faq summary::after { content: '+'; color: #1a56db; font-weight: 700; }
.htb-faq details[open] summary::after { content: '−'; }
.htb-faq p { font-size: 15px; line-height: 1.55; color: #475569; margin: 8px 0 0; }
.htb-faq a { color: #1a56db; }
.htb-final { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(135deg, #0a2e6e, #1a56db); color: #fff; border-radius: 18px; padding: 26px 28px; }
.htb-final h2 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: #fff; }
.htb-final p { margin: 0; color: #dbe6ff; }
.htb-final .htb-cta { margin: 0; }
.htb-final .btn-primary { background: #fff; color: #0a2e6e; }
.htb-final .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .htb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .htb-pick { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .htb-pick-card { flex-direction: row; }
  .htb-pick-img { width: 120px; flex: none; aspect-ratio: auto; }
  .htb-way, .htb-faq, .htb-final { padding: 20px 16px; border-radius: 14px; }
  .htb-way h2 { font-size: 20px; }
  .htb-steps { grid-template-columns: minmax(0, 1fr); }
  .htb-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* «в наличии во Владивостоке» (2026-10-16) */
.stock-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 6px 4px 0; padding: 3px 10px; border-radius: 999px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; font-size: 13px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.stock-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }

/* home: «лот дня» in the three direction cards (2026-10-17) */
.hm-dir-img { position: relative; }
.hm-daily-badge { position: absolute; top: 12px; left: 12px; background: #1a56db; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(26, 86, 219, .35); }
.hm-daily { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; }
.hm-daily[hidden], .hm-daily-badge[hidden], .hm-dir-text[hidden] { display: none; }
.hm-daily-title { font-size: 14.5px; line-height: 1.45; color: #334155; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-daily-price { font-size: 17px; font-weight: 800; color: #0a2e6e; }
