/* ==========================================================================
   DIAL·LAB — светлый каталог векторных макетов циферблатов
   ========================================================================== */

:root {
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --line: #E5E7EB;
  --line-2: #D1D5DB;
  --text: #111827;
  --muted: #6B7280;
  --accent: #0F172A;
  --accent-hover: #1E293B;
  --radius: 20px;
  --radius-sm: 12px;
  --font-ui: "Plus Jakarta Sans", "SF Pro Text", -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", "Consolas", monospace;
  --font: var(--font-ui);
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-hover: 0 18px 40px -24px rgba(17, 24, 39, 0.38), 0 2px 6px rgba(17, 24, 39, 0.04);
  --shell: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lb-open { overflow: hidden; }

::selection { background: rgba(15, 23, 42, 0.12); }

[hidden] { display: none !important; }

img, svg { max-width: 100%; }

a { color: inherit; }

button, input { font: inherit; }

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

.shell {
  width: min(var(--shell), 100% - 40px);
  margin-inline: auto;
}

#catalog,
#how { scroll-margin-top: 118px; }

.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: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 10;
  padding: 18px 0 6px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  padding: 4px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-text strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-link:hover { color: var(--text); background: #fff; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.55);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--line-2);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0) scale(0.99); }

.btn-sm { height: 38px; padding: 0 15px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: clamp(26px, 5vw, 54px) 0 clamp(30px, 4vw, 42px); }

.hero-grid { display: grid; gap: 32px; }

.hero-aside { display: none; }

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    align-items: end;
    gap: 56px;
  }

  .hero-aside { display: block; padding-bottom: 4px; }
}

.aside-title {
  margin: 0;
  color: #9CA3AF;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.format-list {
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.format-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.format-key {
  width: 44px;
  flex: none;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.format-desc { color: var(--muted); font-size: 12.5px; }

.aside-note {
  max-width: 34ch;
  margin: 12px 0 0;
  color: #9CA3AF;
  font-size: 11.5px;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 550;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 17ch;
  margin: 22px 0 0;
  font-size: clamp(34px, 6.2vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero .lead {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.fmt {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero-note {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Sticky catalogue bar
   -------------------------------------------------------------------------- */

.bar-sentinel { height: 1px; }

.catalog-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(248, 249, 250, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-bar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(17, 24, 39, 0.55);
}

.bar-inner { padding: 14px 0 12px; }

.bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.search {
  position: relative;
  flex: 1 1 auto;
  max-width: 540px;
  min-width: 0;
}

.search > svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 46px;
  padding: 0 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search input::placeholder { color: #9CA3AF; }

.search input:focus {
  outline: none;
  border-color: var(--line-2);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
}

.search input::-webkit-search-cancel-button { display: none; }

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #F3F4F6;
  color: var(--muted);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.16s ease, color 0.16s ease;
}

.search-clear svg { width: 14px; height: 14px; }

.search-clear:hover { background: #E9EBEE; color: var(--text); }

.count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.count strong { color: var(--text); font-weight: 600; }

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  margin-top: 12px;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.chip-label {
  flex: none;
  color: #9CA3AF;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chips {
  display: flex;
  gap: 6px;
  min-width: 0;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip:hover { border-color: var(--line-2); color: var(--text); }

.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Notices / catalogue grid
   -------------------------------------------------------------------------- */

.notice {
  margin: 18px 0 0;
  padding: 11px 15px;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  background: #FFFBEB;
  color: #92400E;
  font-size: 12.5px;
  line-height: 1.5;
}

.notice code {
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(146, 64, 14, 0.08);
  font-size: 11.5px;
}

.catalog { padding: 20px 0 56px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Skeleton */

.skeleton {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sk-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(100deg, #F3F4F6 28%, #FBFBFC 50%, #F3F4F6 72%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.sk-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 16px;
}

.sk-line {
  height: 10px;
  border-radius: 999px;
  background: #F1F2F4;
}

.sk-line.w60 { width: 60%; }
.sk-line.w90 { width: 90%; }
.sk-line.w40 { width: 40%; }

.sk-btn {
  height: 42px;
  margin-top: 10px;
  border-radius: 999px;
  background: #F1F2F4;
}

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -80% 0; }
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid #F1F2F4;
  background: radial-gradient(125% 125% at 30% 18%, #FFFFFF 0%, #F4F5F7 76%, #EDEFF2 100%);
}

.thumb-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}

.thumb-inner > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dial-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.thumb .dial-img.real {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  opacity: 0;
}

.thumb.show-alt .dial-img.real { opacity: 1; }

@media (hover: hover) {
  .card:hover {
    transform: translateY(-3px);
    border-color: #DDE1E6;
    box-shadow: var(--shadow-hover);
  }

  .card:hover .dial-img.map { transform: scale(1.02); }

  .thumb.has-alt:hover .dial-img.real { opacity: 1; }

  .thumb:hover .open-hint { opacity: 1; transform: translateY(0); }

  .thumb:hover .alt-btn { opacity: 1; transform: translateY(0); }
}

.thumb-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
}

.thumb-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}

/* Carousel */
.thumb-carousel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.thumb-carousel > * {
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #374151;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn svg { width: 18px; height: 18px; }

@media (hover: hover) {
  .thumb:hover .carousel-btn { opacity: 1; }
}

@media (hover: none) {
  .carousel-btn { opacity: 1; }
}

.carousel-btn:hover {
  background: #fff;
  border-color: var(--line-2);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active { transform: translateY(-50%) scale(0.95); }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .thumb:hover .carousel-dots { opacity: 1; }
}

@media (hover: none) {
  .carousel-dots { opacity: 1; }
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active { background: var(--accent); transform: scale(1.2); }

.carousel-dot:hover { background: var(--text); }

.carousel-slide {
  display: none;
}

.carousel-slide.active { display: block; }

.badges {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 60px);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #374151;
  font-size: 11px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.badge-sku { color: var(--text); font-weight: 650; }

.open-hint {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.open-hint svg { width: 14px; height: 14px; }

.alt-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #374151;
  font-size: 11.5px;
  font-weight: 550;
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.alt-btn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9CA3AF;
  transition: background 0.2s ease;
}

.alt-btn[aria-pressed="true"]::before { background: #16A34A; }

.alt-btn:focus-visible { opacity: 1; transform: none; }

@media (hover: none) {
  .alt-btn { opacity: 1; transform: none; }
  .open-hint { display: none; }
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 16px 16px 18px;
}

.card-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.card-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 4px 7px;
  border-radius: 6px;
  background: #F4F5F7;
  color: #4B5563;
  font-size: 11px;
  line-height: 1.2;
}

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-body .tiers { margin-top: auto; }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.tier:hover { border-color: var(--line-2); background: #FCFCFD; }

.tier[aria-pressed="true"] {
  border-color: var(--accent);
  background: #FBFBFC;
  box-shadow: inset 0 0 0 1px var(--accent);
}

.tier-name {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
}

.tier-price {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.tier::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.tier[aria-pressed="true"]::after {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.order-btn {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
}

/* Empty state */

.empty {
  padding: 62px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.empty h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }

.empty p {
  max-width: 40ch;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps { padding: 12px 0 76px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-aside { color: var(--muted); font-size: 12px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.step-num {
  color: #9CA3AF;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.step h3 { margin: 10px 0 6px; font-size: 15px; font-weight: 600; }

.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand strong { font-size: 13px; font-weight: 650; letter-spacing: 0.16em; }

.footer-note {
  max-width: 46ch;
  margin: 8px 0 0;
  color: #9CA3AF;
  font-size: 11.5px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.16s ease;
}

.footer-links a:hover { color: var(--text); }

.footer-copy { color: #9CA3AF; font-size: 12px; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lb {
  width: min(1080px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
  overflow: visible;
}

.lb::backdrop {
  background: rgba(17, 24, 39, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.lb-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  height: min(90vh, 900px);
  max-height: min(90vh, 900px);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 100px -32px rgba(17, 24, 39, 0.55);
}

.lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #374151;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.lb-close:hover { background: #fff; border-color: var(--line-2); }

.lb-close svg { width: 16px; height: 16px; }

.lb-media {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: radial-gradient(120% 120% at 30% 18%, #FFFFFF 0%, #F6F7F9 70%, #EDEFF2 100%);
}

.lb-stage {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 0;
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
  scrollbar-width: thin;
  scrollbar-color: #D1D5DB transparent;
}

.lb-stage::-webkit-scrollbar { width: 8px; height: 8px; }

.lb-stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #D1D5DB;
}

.lb-stage::-webkit-scrollbar-track { background: transparent; }

.lb-zoom-inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.lb-zoom-inner > img,
.lb-zoom-inner > svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 62vh;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-zoom-inner > * { grid-area: 1 / 1; }

.lb-zoom-inner .dial-img.real {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lb-zoom-inner.show-alt .dial-img.real { opacity: 1; }

.lb-stage.is-zoomed { display: block; overflow: auto; padding: 0; }

.lb-stage.is-zoomed .lb-zoom-inner > img,
.lb-stage.is-zoomed .lb-zoom-inner > svg { max-height: none; }

.lb-media-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.lb-nav { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.icon-btn:hover { background: #FCFCFD; border-color: var(--line-2); }

.icon-btn svg { width: 16px; height: 16px; }

.lb-counter {
  min-width: 54px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lb-tools { display: flex; flex-wrap: wrap; gap: 6px; }

.chip-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 11.5px;
  font-weight: 550;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip-btn:hover { border-color: var(--line-2); }

.chip-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.lb-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 0;
  padding: clamp(22px, 3vw, 34px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #D1D5DB transparent;
}

.lb-info::-webkit-scrollbar { width: 8px; }

.lb-info::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #D1D5DB;
}

.lb-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.lb-badges .badge { background: #F8F9FA; border-color: var(--line); }

.lb-info h2 {
  margin: 2px 0 0;
  font-size: clamp(22px, 2.7vw, 29px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.lb-desc {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px 18px;
  margin: 2px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.specs dt { color: #9CA3AF; }

.specs dd {
  margin: 0;
  color: #374151;
  font-weight: 500;
  text-align: right;
}

.lb-buy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
}

.lb-buy .chip-label { color: #9CA3AF; }

.lb-buy .btn { width: 100%; }

.lb-note {
  margin: 0;
  color: #9CA3AF;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .lb { width: calc(100vw - 20px); }

  .lb-panel {
    display: block;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }

  .lb-media { border-right: 0; border-bottom: 1px solid var(--line); }

  .lb-stage {
    display: grid;
    flex: none;
    height: min(46vh, 400px);
    padding: 16px;
  }

  .lb-zoom-inner > img,
  .lb-zoom-inner > svg { max-height: 100%; }

  .lb-info { overflow: visible; }

  .lb-buy { margin-top: 8px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 32px); }

  .header-nav .nav-link { display: none; }

  .bar-top { gap: 12px; }

  .count { font-size: 11px; }

  .chips-wrap {
    flex-wrap: nowrap;
    gap: 18px;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .chips-wrap::-webkit-scrollbar { display: none; }

  .chip-group { flex: none; }

  .chip-group + .chip-group {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .chip-label { display: none; }

  #diaLabel {
    display: block;
    width: 14px;
    overflow: hidden;
    font-size: 0;
  }

  #diaLabel::after {
    content: "Ø";
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .chip { height: 32px; padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .site-header { padding-top: 14px; }

  .brand-text small { display: none; }

  .hero { padding-top: 18px; }

  .hero h1 { max-width: 20ch; }

  .hero-actions .btn { flex: 1 1 auto; }

  .hero-note { display: none; }

  .grid { grid-template-columns: 1fr; gap: 16px; }

  .card-body { padding: 15px 15px 16px; }

  .bar-inner { padding: 12px 0 10px; }

  .search input { height: 44px; }

  .chips-wrap { margin-top: 10px; }

  .section-aside { display: none; }

  .steps { padding-bottom: 56px; }

  .footer-links { gap: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
