/* ============================================================
   Denis Automobile — Original Green & Cream Style (restored)
   ============================================================ */

:root {
  --anthracite: #1f2421;
  --anthracite-soft: #2e3530;
  --pine: #2f6f4f;
  --pine-dark: #235539;
  --pine-light: #e7f0ea;
  --cream: #f6f4ee;
  --sand: #ece7da;
  --text: #232622;
  --text-soft: #5a615a;
  --white: #ffffff;
  --border: #dcd8cc;
  --amber: #c8762a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 14px 40px rgba(31,36,33,0.10);
  --shadow-sm: 0 4px 16px rgba(31,36,33,0.07);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--anthracite);
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 86px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--pine); display: inline-block;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 14px; max-width: 22ch;
}
.section-lead {
  font-size: 1.06rem; color: var(--text-soft);
  max-width: 60ch; margin-bottom: 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.97rem;
  padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pine); color: #fff; box-shadow: 0 8px 22px rgba(47,111,79,.32); }
.btn-primary:hover { background: var(--pine-dark); }
.btn-ghost { background: transparent; border-color: var(--anthracite); color: var(--anthracite); }
.btn-ghost:hover { background: var(--anthracite); color: #fff; }
.btn-wa { background: #25623f; color: #fff; }
.btn-light { background: #fff; color: var(--anthracite); }

/* ---------- Мобильная кнопка звонка ---------- */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--pine);
  padding: 14px 20px;
  box-shadow: 0 -4px 20px rgba(47,111,79,.25);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; color: #fff; text-decoration: none;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem;
}
@media (max-width: 768px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 68px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,244,238,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  background: var(--anthracite); color: #fff;
  border-radius: 11px; display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem;
}
.logo-text strong {
  font-family: 'Fraunces', serif;
  font-size: 1.18rem; font-weight: 600;
  color: var(--anthracite); display: block; line-height: 1.1;
}
.logo-text span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pine);
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500; font-size: 0.86rem;
  color: var(--text); padding: 7px 10px; border-radius: 8px;
  border: 1px solid transparent;
  transition: all .15s; white-space: nowrap;
}
.nav-links a:hover { background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--pine); border-color: rgba(47,111,79,.2); background: var(--pine-light); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.88rem;
  display: flex; align-items: center; gap: 6px;
  color: var(--anthracite); white-space: nowrap;
}
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--anthracite);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--anthracite);
  color: #f3f1ea; position: relative; overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(47,111,79,.45), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; padding: 92px 0;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #8fd3aa; }
.hero p.lead { font-size: 1.12rem; color: #c5c9c2; max-width: 48ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 9px; font-size: 0.93rem; color: #d6d9d2; }
.hero-trust i { color: #8fd3aa; font-size: 1.15rem; }

.nrw-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.nrw-tag {
  background: rgba(143,211,170,.12); border: 1px solid rgba(143,211,170,.25);
  color: #8fd3aa; padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-family: 'Outfit', sans-serif; font-weight: 500;
}

/* Hero card */
.hero-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 30px; color: var(--text); box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 1.32rem; margin-bottom: 6px; }
.hero-card p.sub { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-family: 'Outfit', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  margin-bottom: 5px; color: var(--anthracite);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 0.78rem; color: var(--text-soft); margin-top: 10px; }
.form-note a { color: var(--pine); }

/* ---------- Logo bar ---------- */
.logo-bar { background: var(--sand); padding: 22px 0; border-bottom: 1px solid var(--border); }
.logo-bar .wrap {
  display: flex; flex-wrap: wrap; gap: 14px 38px;
  justify-content: center; align-items: center;
}
.logo-bar span {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.88rem; color: var(--text-soft);
  display: flex; align-items: center; gap: 8px;
}
.logo-bar i { color: var(--pine); }

/* ---------- SEO keywords ---------- */
.seo-keywords { background: var(--sand); padding: 24px 0; border-bottom: 1px solid var(--border); }
.seo-keywords .wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.seo-kw {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 14px; font-size: 0.8rem; font-family: 'Outfit', sans-serif;
  color: var(--text-soft); font-weight: 500;
}
.seo-kw i { color: var(--pine); margin-right: 4px; }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; background: var(--pine-light);
  color: var(--pine); border-radius: 12px;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { font-size: 0.96rem; color: var(--text-soft); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.9rem; color: var(--pine); transition: gap .15s;
}
.card-link:hover { gap: 10px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 18px; }
.step-num {
  font-family: 'Fraunces', serif; font-size: 2.6rem;
  font-weight: 600; color: var(--pine); line-height: 1; opacity: .9;
}
.step h4 { font-size: 1.1rem; margin: 10px 0 6px; }
.step p { font-size: 0.92rem; color: var(--text-soft); }

/* ---------- Feature split ---------- */
.feature-img {
  border-radius: var(--radius); overflow: hidden;
  background: var(--sand); aspect-ratio: 4/3;
  display: grid; place-items: center; color: var(--text-soft);
}
.feature-img.tall { aspect-ratio: 1/1; }
.feature-list { list-style: none; margin-top: 22px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list i { color: var(--pine); font-size: 1.15rem; margin-top: 3px; }
.feature-list strong { display: block; }
.feature-list span { font-size: 0.93rem; color: var(--text-soft); }

/* ---------- Stats band ---------- */
.band { background: var(--pine-dark); color: #eaf2ec; }
.stat { text-align: center; padding: 14px; }
.stat .num { font-family: 'Fraunces', serif; font-size: 2.7rem; font-weight: 600; color: #fff; }
.stat .lbl { font-size: 0.92rem; color: #b9ccbf; }

/* ---------- Reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
}
.review .stars { color: var(--amber); margin-bottom: 12px; letter-spacing: 2px; }
.review p { font-size: 0.98rem; color: var(--text); margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--pine-light); color: var(--pine);
  display: grid; place-items: center;
  font-family: 'Outfit', sans-serif; font-weight: 700;
}
.review .who strong { font-family: 'Outfit', sans-serif; font-size: 0.95rem; }
.review .who span { font-size: 0.83rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  cursor: pointer; padding: 19px 22px;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 1.02rem; color: var(--anthracite);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { color: var(--pine); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-soft); font-size: 0.97rem; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Note ---------- */
.note {
  background: var(--pine-light); border-left: 4px solid var(--pine);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; margin: 26px 0;
}
.note strong { color: var(--pine-dark); }
.note p { color: var(--text); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--anthracite); color: #fff;
  border-radius: var(--radius); padding: 56px 50px;
  display: flex; justify-content: space-between;
  align-items: center; gap: 36px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,3vw,2.3rem); max-width: 18ch; }
.cta-band p { color: #c5c9c2; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthracite); color: #c5c9c2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-logo .logo-mark { background: var(--pine); }
.footer-logo strong { color: #fff; font-family: 'Fraunces', serif; font-size: 1.15rem; }
.footer-grid h4 {
  color: #fff; font-family: 'Outfit', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid p, .footer-grid a { font-size: 0.9rem; line-height: 2.1; }
.footer-grid a:hover { color: #8fd3aa; }
.footer-grid ul { list-style: none; }
.footer-bottom {
  border-top: 1px solid #3a413c; padding-top: 22px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #8a918a;
}
.footer-bottom a:hover { color: #8fd3aa; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--anthracite); color: #f3f1ea; padding: 70px 0; }
.page-hero .crumb { font-family: 'Outfit', sans-serif; font-size: 0.85rem; color: #8fd3aa; margin-bottom: 14px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); max-width: 20ch; margin-bottom: 14px; }
.page-hero p { color: #c5c9c2; max-width: 56ch; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--pine); text-decoration: underline; }
.prose .placeholder {
  background: #fff6e3; border: 1px dashed var(--amber);
  padding: 2px 8px; border-radius: 4px; color: #8a4d12;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; gap: 38px; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px;
    border-bottom: 1px solid var(--border); gap: 4px;
  }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .steps, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 28px; }
}


/* ============================================================
   AUTO CARDS — горизонтальный список как AUTO.RIA / AutoRia
   ============================================================ */

.auto-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auto-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 6px rgba(31,36,33,.06);
  transition: box-shadow .2s ease, border-color .2s;
  min-height: 170px;
}
.auto-card:hover {
  box-shadow: 0 6px 24px rgba(31,36,33,.11);
  border-color: #c8d8c4;
}

/* Фото — фиксированная ширина слева */
.auto-card__photo {
  position: relative;
  width: 280px;
  min-height: 170px;
  background: #EDECEA;
  overflow: hidden;
  flex-shrink: 0;
}
.auto-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.auto-card__no-photo {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: #ccc; font-size: 2.5rem;
}

/* Бейджи на фото */
.auto-card__badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 9px; border-radius: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #fff;
}
.auto-card__badge--Neu        { background: #1D9E75; }
.auto-card__badge--Aktion     { background: #EF9F27; color: #3d2000; }
.auto-card__badge--Top        { background: #1A4A7A; }
.auto-card__badge--Reserviert { background: #666; }

.auto-card__disc {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: #E8212C; color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; font-weight: 800;
  padding: 3px 8px; border-radius: 5px;
}
.auto-card__photo-count {
  position: absolute; bottom: 7px; right: 7px;
  background: rgba(0,0,0,.48); color: #fff;
  font-size: 0.7rem; font-weight: 600;
  padding: 2px 7px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px;
}

/* Правая часть — информация */
.auto-card__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

/* Заголовок — марка+модель крупно, год рядом */
.auto-card__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.auto-card__title {
  font-family: 'Fraunces', serif;
  font-size: 1.22rem; font-weight: 600;
  color: var(--anthracite); line-height: 1.2;
}
.auto-card__year {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; color: var(--text-soft); font-weight: 400;
}
.auto-card__body-type {
  font-size: 0.8rem; color: var(--text-soft);
  font-family: 'Outfit', sans-serif;
  background: var(--sand); border-radius: 4px;
  padding: 2px 8px; border: 1px solid var(--border);
}

/* Описание/подзаголовок */
.auto-card__sub {
  font-size: 0.83rem; color: var(--text-soft);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Цена — зелёная крупная */
.auto-card__price-row {
  display: flex; align-items: baseline;
  gap: 8px; flex-wrap: wrap;
}
.auto-card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem; font-weight: 700;
  color: #1A7A4A; line-height: 1;
}
.auto-card__price-was {
  font-size: 0.85rem; color: #bbb; text-decoration: line-through;
}
.auto-card__price-save {
  font-size: 0.7rem; font-weight: 700; color: #E8212C;
  background: #FFF0F1; border: 1px solid #FFCDD0;
  padding: 1px 7px; border-radius: 999px;
}

/* Характеристики — одна строка с разделителями */
.auto-card__specs {
  display: flex; flex-wrap: wrap;
  gap: 4px 18px;
}
.auto-card__spec {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--text-soft);
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}
.auto-card__spec i { font-size: 0.9rem; color: #888; }

/* Кнопки — справа внизу */
.auto-card__actions {
  display: flex; gap: 8px; align-items: center;
}
.auto-card__btn {
  padding: 9px 20px; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.84rem; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; border: none; cursor: pointer; transition: opacity .15s;
  white-space: nowrap;
}
.auto-card__btn:hover { opacity: .88; }
.auto-card__btn--call { background: #1a1a1a; color: #fff; }
.auto-card__btn--wa   { background: #25D366; color: #fff; }

/* Мобильная версия — вертикальные */
@media (max-width: 700px) {
  .auto-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .auto-card__photo {
    width: 100%;
    height: 200px;
    min-height: unset;
  }
  .auto-card__actions { flex-wrap: wrap; }
  .auto-card__btn { flex: 1; }
}


/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--anthracite);
  color: #e9ece8;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
  animation: cbSlideUp .35s ease;
}
#cookie-banner.cb-hide { transform: translateY(100%); opacity: 0; transition: all .3s ease; }
@keyframes cbSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.cb-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cb-text { flex: 1; min-width: 240px; }
.cb-text strong { font-family: 'Fraunces', serif; font-size: 1.02rem; display: block; margin-bottom: 4px; color: #fff; }
.cb-text p { font-size: 0.85rem; color: #b9beb8; line-height: 1.6; margin: 0; }
.cb-text a { color: #8fd3aa; text-decoration: underline; }

.cb-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cb-btn {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.88rem;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .15s, background .15s;
}
.cb-btn:hover { transform: translateY(-1px); }
.cb-btn-primary { background: var(--pine); color: #fff; }
.cb-btn-primary:hover { background: var(--pine-dark); }
.cb-btn-ghost { background: transparent; border-color: #565d57; color: #e9ece8; }
.cb-btn-ghost:hover { background: rgba(255,255,255,.08); }

.cb-settings-panel {
  max-height: 0; overflow: hidden;
  max-width: 1180px; margin: 0 auto;
  transition: max-height .3s ease;
  border-top: 1px solid #3a413c;
}
.cb-settings-panel.open { max-height: 260px; }
.cb-setting-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding: 16px 24px; border-bottom: 1px solid #3a413c;
}
.cb-setting-row div strong { display: block; font-size: 0.92rem; color: #fff; margin-bottom: 2px; }
.cb-setting-row div span { font-size: 0.8rem; color: #aab0a6; }
.cb-settings-panel > .cb-btn { margin: 14px 24px 18px; }

.cb-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cb-switch input { opacity: 0; width: 0; height: 0; }
.cb-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: #565d57; border-radius: 999px; transition: .2s;
}
.cb-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s;
}
.cb-switch input:checked + .cb-slider { background: var(--pine); }
.cb-switch input:checked + .cb-slider::before { transform: translateX(20px); }
.cb-slider-disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 700px) {
  .cb-inner { flex-direction: column; align-items: stretch; }
  .cb-actions { width: 100%; }
  .cb-btn { flex: 1; justify-content: center; display: flex; align-items: center; }
}
