/* ============================================================
   CarZoon — Single Car Page v2 (July 2026 redesign)
   Loads after carzoon-single.css, reuses its CSS variables
   (declared on .czsgnle-single-root) and breadcrumb styles.
   ============================================================ */

.czsgnle-single-root {
  --czv-navy:        #0f2744;
  --czv-navy-2:      #16345c;
  --czv-star:        #f5a623;
  --czv-red-bg:      #fdecec;
  --czv-red:         #d64545;
  --czv-muted-bg:    #f1f3f7;
  --czv-muted-txt:   #94a0b4;
}

.czsv-page { padding: 4px 0 40px; font-family: var(--czfont); color: var(--cztext); }
.czsv-container.czsv-container { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.czsv-page * { box-sizing: border-box; }

/* ── shared bits ── */
.czsv-section-title { font-size: 16px; font-weight: 800; color: var(--cztext); margin: 0 0 4px; }
.czsv-section-sub   { font-size: 12.5px; color: var(--czgray-mid); margin: 0 0 14px; }
.czsv-info-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%; border: 1.3px solid var(--czgray-mid);
  color: var(--czgray-mid); font-size: 9px; font-style: italic; font-weight: 700; margin-left: 2px;
}
.czsv-see-all-toggle {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--czblue-btn); border: none; text-decoration: none; cursor: pointer;
}
.czsv-see-all-toggle svg { flex-shrink: 0; }
.czsv-see-all-toggle:hover {
    background-color: var(--czv-navy) !important;
    color: #fff !important;
}
/* ══════════════════════ 2. HERO (title/price/location/specs) ══ */
.czsv-hero { padding: 14px 0 12px; }
.czsv-hero__row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.czsv-hero__titlewrap { min-width: 0; }
.czsv-hero__title { font-size: 21px; font-weight: 800; color: var(--cztext); line-height: 1.25; margin: 0; }
/* Factory derivative, e.g. "100D (Dual Motor) Auto 4WDE 5dr". Deliberately
   lighter than the H1 so it reads as a second line, not a second heading. */
.czsv-hero__subtitle { font-size: 14px; font-weight: 500; color: var(--czgray-mid); line-height: 1.35; margin: 4px 0 0; }
.czsv-hero__price { text-align: right; flex-shrink: 0; }
.czsv-hero__price strong { display: block; font-size: 21px; font-weight: 900; color: var(--cztext); }
.czsv-hero__price-sub { display: flex; align-items: center; justify-content: flex-end; gap: 2px; font-size: 12px; color: var(--czgray-mid); font-weight: 600; margin-top: 2px; }

.czsv-hero__row2 { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.czsv-hero__seller-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--czgreen); background: var(--czgreen-bg); padding: 4px 10px; border-radius: 99px;
}
.czsv-hero__seller-pill svg { width: 13px; height: 13px; }
.czsv-hero__location { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--cztext-soft); font-weight: 600; }
.czsv-hero__location svg { width: 14px; height: 14px; flex-shrink: 0; }
.czsv-hero__dot { color: var(--czgray-mid); }

.czsv-hero__specs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.czsv-hero__specs span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--cztext-soft); }
.czsv-hero__specs svg { width: 15px; height: 15px; color: var(--czblue-btn); flex-shrink: 0; }

/* ══════════════════════ 3. GALLERY ══════════════════════════ */
.czsv-gallery { margin-top: 14px; }
.czsv-gallery__main {
  position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  background: #0f172a;
}
.czsv-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.czsv-gallery__none {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #cbd5e1; background: #1e293b;
}
.czsv-gallery__featured {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--czgreen);
  font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 99px; box-shadow: var(--czshadow);
}
.czsv-gallery__featured svg { width: 13px; height: 13px; }

.czsv-gallery__top-actions { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.czsv-gallery__icon-btn,
.czsv-gallery-wl-btn.czwl-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94) !important; color: #1a1f2e !important; box-shadow: 0 2px 8px rgba(0,0,0,.18);
  padding: 0; transition: background .15s, color .15s;
}
.czsv-gallery-wl-btn.czwl-btn { background: var(--czblue-btn); flex-direction: row; gap: 0; }
.czsv-gallery-wl-btn.czwl-btn .czwl-label { display: none; }
.czsv-gallery-wl-btn.czwl-btn .czwl-icon { font-size: 17px; line-height: 1; }
.czsv-gallery-wl-btn.czwl-btn.czwl-active,
.czsv-gallery-wl-btn.czwl-btn.is-saved { background: var(--czv-red); }

.czsv-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.94) !important; color: #1a1f2e; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.czsv-gallery__nav--prev { left: 12px; }
.czsv-gallery__nav--next { right: 12px; }

.czsv-gallery__bottom-row {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.czsv-gallery__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.czsv-gallery__pill {
  display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px;
}
.czsv-gallery__pill svg { width: 13px; height: 13px; }
.czsv-gallery__counter {
  display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; white-space: nowrap;
}
.czsv-gallery__counter svg { width: 13px; height: 13px; }

.czsv-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.czsv-gallery__thumbs .czs-thumb { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
.czsv-gallery__thumbs .czs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.czsv-gallery__thumbs .czs-thumb-active { border-color: var(--czblue-btn); }
.czs-thumbs-hidden { display: none; }

/* ══════════════════════ 4. QUICK BADGES ═════════════════════ */
.czsv-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.czsv-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 99px; background: var(--czv-muted-bg); color: var(--cztext-soft);
}
.czsv-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.czsv-badge--active   { background: var(--czgreen-bg); color: var(--czgreen); }
.czsv-badge--neutral  { background: var(--czv-muted-bg); color: var(--czv-muted-txt); }
.czsv-badge--inactive { background: var(--czv-red-bg); color: var(--czv-red); }

/* ══════════════════════ 5. SELLER CARD ═══════════════════════ */
.czsv-seller-card {
  margin-top: 16px; background: #fff; border: 1.5px solid var(--czgray-line); border-radius: 16px; padding: 16px;
}
.czsv-seller-card__top { display: flex; gap: 12px; align-items: flex-start; }
.czsv-seller-card__logo {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--czblue), var(--czblue-btn));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 19px;
}
.czsv-seller-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.czsv-seller-card__logo--sm { width: 40px; height: 40px; font-size: 15px; }
.czsv-seller-card__info { flex: 1; min-width: 0; }
.czsv-seller-card__name-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.czsv-seller-card__name-row h3 { font-size: 16px; font-weight: 800; color: var(--cztext); margin: 0; }
.czsv-seller-card__stock-link {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700;
  color: var(--czblue-btn); text-decoration: none; white-space: nowrap;
}
.czsv-seller-card__rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.czsv-stars { color: var(--czv-star); font-size: 14px; letter-spacing: 1px; }
.czsv-star-half { opacity: .45; }
.czsv-seller-card__rating-text { font-size: 12px; color: var(--czgray-mid); font-weight: 600; }
.czsv-seller-card__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--czgray-line); font-size: 12px; font-weight: 600; color: var(--cztext-soft);
}
.czsv-seller-card__verified,
.czsv-seller-card__member { display: inline-flex; align-items: center; gap: 5px; }
.czsv-seller-card__verified { color: var(--czgreen); }
.czsv-seller-card__verified svg,
.czsv-seller-card__member svg { width: 13px; height: 13px; flex-shrink: 0; }
.czsv-seller-card__dot { color: var(--czgray-mid); }

/* ══════════════════════ 6. CONTACT SELLER ════════════════════ */
.czsv-contact-card { margin-top: 16px; }
.czsv-contact-row { display: flex; gap: 10px; }
.czsv-contact-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 14px 8px; border: 1.5px solid var(--czgray-line); border-radius: 14px; text-decoration: none;
  color: var(--cztext); background: #fff; cursor: pointer;
}
.czsv-contact-btn svg { width: 20px; height: 20px; color: var(--czblue-btn); }
.czsv-contact-btn__label { font-size: 12.5px; font-weight: 800; color: var(--cztext); }
.czsv-contact-btn__sub { font-size: 10.5px; color: var(--czgray-mid); font-weight: 600; word-break: break-word; }
.czsv-contact-btn--disabled { opacity: .5; cursor: not-allowed; }
.czsv-contact-btn--disabled svg { color: var(--czgray-mid); }

/* ══════════════════════ 7. TEST DRIVE CTA ════════════════════ */
.czsv-testdrive-cta {
  width: 100%; margin-top: 14px; display: flex; align-items: center; gap: 12px;
  background: var(--czv-navy) !important; color: #fff; border: none; border-radius: 14px; padding: 15px 16px;
  cursor: pointer; text-align: left; font-family: inherit;
}
.czsv-testdrive-cta__icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.czsv-testdrive-cta__icon svg { width: 18px; height: 18px; }
.czsv-testdrive-cta__text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.czsv-testdrive-cta__text strong { font-size: 14.5px; font-weight: 800; }
.czsv-testdrive-cta__text span { font-size: 12px; opacity: .78; font-weight: 500; }
.czsv-testdrive-cta > svg { flex-shrink: 0; opacity: .8; }

/* ══════════════════════ 8–14. ACCORDION ══════════════════════ */
.czsv-accordion { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.czsv-acc-item { border: 1.5px solid var(--czgray-line); border-radius: 14px; overflow: hidden; background: #fff; }
.czsv-acc-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: none; cursor: pointer; padding: 15px 16px; font-family: inherit;
  text-align: left; color: var(--cztext);
}
.czsv-acc-trigger__left { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 800; }
.czsv-acc-trigger__left svg { width: 18px; height: 18px; color: var(--czblue-btn); flex-shrink: 0; }
.czsv-acc-chevron svg { width: 18px; height: 18px; color: var(--czgray-mid); transition: transform .18s; }
.czsv-acc-item.is-open .czsv-acc-chevron svg { transform: rotate(180deg); }
.czsv-acc-panel { padding: 20px 16px 18px; }

/* -- 8. Key details / -- 14. About seller kd-grid -- */
.czsv-kd-grid { display: grid; grid-template-columns: 1fr 1fr; }
.czsv-kd-item {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 10px 0;
  border-bottom: 1px solid var(--czgray-line);
}
.czsv-kd-item:nth-child(odd)  { padding-right: 10px; border-right: 1px solid var(--czgray-line); }
.czsv-kd-item:nth-child(even) { padding-left: 10px; }
.czsv-kd-label { font-size: 11.5px; color: var(--czgray-mid); font-weight: 600; }
.czsv-kd-value { font-size: 13.5px; color: var(--cztext); font-weight: 700; }

/* -- 9. About this vehicle -- */
.czsv-about-desc { font-size: 13.5px; line-height: 1.7; color: var(--cztext-soft); }
.czsv-about-desc .desc-preview, .czsv-about-desc .desc-full { margin: 0; }
.czsv-readmore { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--czblue-btn); cursor: pointer; }
.czsv-about-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.czsv-about-bullet { display: flex; align-items: flex-start; gap: 8px; }
.czsv-about-bullet svg { width: 18px; height: 18px; color: var(--czgreen); flex-shrink: 0; margin-top: 1px; }
.czsv-about-bullet strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--cztext); }
.czsv-about-bullet span { display: block; font-size: 11.5px; color: var(--czgray-mid); }

/* -- 10. Key specifications -- */
.czsv-specs-group { margin-bottom: 18px; }
.czsv-specs-group:last-of-type { margin-bottom: 8px; }
.czsv-specs-group__title { font-size: 12.5px; font-weight: 700; color: var(--cztext-soft); text-transform: uppercase; letter-spacing: .4px; margin: 0 0 10px; }
.czsv-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.czsv-specs-item { display: flex; align-items: flex-start; gap: 8px; }
.czsv-specs-icon { width: 16px; height: 16px; color: var(--czblue-btn); flex-shrink: 0; margin-top: 2px; }
.czsv-specs-icon svg { width: 100%; height: 100%; }
.czsv-specs-label { display: block; font-size: 11px; color: var(--czgray-mid); font-weight: 600; }
.czsv-specs-value { display: block; font-size: 13px; font-weight: 700; color: var(--cztext); }
.czsv-specs-value--muted { color: var(--czv-muted-txt); font-weight: 600; }
.czsv-specs-note { font-size: 11px; color: var(--czgray-mid); margin-top: 6px; line-height: 1.5; }

/* -- 11. Running costs & compliance -- */
.czsv-run-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.czsv-run-grid--4col { grid-template-columns: repeat(2, 1fr); }
.czsv-run-item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  background: var(--czv-muted-bg); border-radius: 12px; padding: 12px 8px;
}
.czsv-run-item--plain { background: transparent; border: 1px solid var(--czgray-line); }
.czsv-run-icon { width: 18px; height: 18px; color: var(--czblue-btn); }
.czsv-run-icon svg { width: 100%; height: 100%; }
.czsv-run-value { font-size: 12.5px; font-weight: 700; color: var(--cztext); }
.czsv-run-value--muted { color: var(--czv-muted-txt); font-weight: 600; }
.czsv-run-label { font-size: 10.5px; color: var(--czgray-mid); font-weight: 600; }

.czsv-env-card {
  display: flex; align-items: center; gap: 14px; background: var(--czv-muted-bg); border-radius: 12px;
  padding: 14px; margin-bottom: 18px;
}
.czsv-env-ring {
  width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--czgray-line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--czgray-mid);
}
.czsv-env-card strong { display: block; font-size: 13px; font-weight: 800; color: var(--cztext); }
.czsv-env-card p { font-size: 11.5px; color: var(--czgray-mid); margin: 2px 0 0; line-height: 1.4; }

.czsv-info-note {
  display: flex; gap: 10px; background: var(--czblue-light); border-radius: 12px; padding: 12px 14px; margin-top: 4px;
}
.czsv-info-note svg { width: 16px; height: 16px; color: var(--czblue-btn); flex-shrink: 0; margin-top: 1px; }
.czsv-info-note p { font-size: 11.5px; color: var(--cztext-soft); line-height: 1.55; margin: 0; }

/* -- 12. Features & equipment -- */
.czsv-feat-group { margin-bottom: 16px; }
.czsv-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.czsv-feat-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--cztext-soft); }
.czsv-feat-item svg { width: 15px; height: 15px; color: var(--czgreen); flex-shrink: 0; }

/* -- 13. MOT & mileage history -- */
.czsv-mot-loading { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--czgray-mid); padding: 16px 0; }
.czsv-mot-spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--czgray-line);
  border-top-color: var(--czblue-btn); animation: czsv-spin .7s linear infinite; flex-shrink: 0;
}
@keyframes czsv-spin { to { transform: rotate(360deg); } }
.czsv-mot-error { font-size: 13px; color: var(--czv-red); background: var(--czv-red-bg); border-radius: 10px; padding: 12px 14px; }
.czsv-mot-none { font-size: 13px; color: var(--czgray-mid); text-align: center; padding: 20px 0; }

.czsv-mot-valid-banner {
  font-size: 13px; font-weight: 700; color: var(--czgreen); background: var(--czgreen-bg);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
}
.czsv-mot-valid-banner--expired { color: var(--czv-red); background: var(--czv-red-bg); }

.czsv-mot-table { display: flex; flex-direction: column; }
.czsv-mot-row {
  display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--czgray-line); font-size: 12.5px;
}
.czsv-mot-row:last-child { border-bottom: none; }
.czsv-mot-row__date { font-weight: 700; color: var(--cztext); }
.czsv-mot-row__mileage { color: var(--cztext-soft); }
.czsv-mot-row__badge { font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 99px; text-align: center; }
.czsv-mot-row__badge--pass { background: var(--czgreen-bg); color: var(--czgreen); }
.czsv-mot-row__badge--fail { background: var(--czv-red-bg); color: var(--czv-red); }
.czsv-mot-row__adv { font-size: 11px; color: var(--czgray-mid); white-space: nowrap; }

.czsv-mot-mileage-card { margin-top: 16px; background: var(--czv-muted-bg); border-radius: 12px; padding: 14px; }
.czsv-mot-mileage-card h4 { font-size: 12.5px; font-weight: 800; margin: 0 0 2px; color: var(--cztext); }
.czsv-mot-mileage-card p { font-size: 11px; color: var(--czgray-mid); margin: 0 0 8px; }
.czsv-mot-sparkline { width: 100%; height: 70px; display: block; }

/* -- 14. About the seller -- */
.czsv-about-seller-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.czsv-about-seller-row strong { display: block; font-size: 14px; font-weight: 800; color: var(--cztext); }
.czsv-about-seller-type { display: block; font-size: 11.5px; color: var(--czgray-mid); font-weight: 600; }

/* ══════════════════════ MESSAGE FORM ═════════════════════════ */
.czsv-message-card {
  margin-top: 18px; background: var(--czgray-bg); border-radius: 16px; padding: 18px;
}
.czsv-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.czsv-form-group { display: flex; flex-direction: column; gap: 5px; }
.czsv-form-group label { font-size: 12px; font-weight: 700; color: var(--cztext-soft); }
.czsv-form-group input, .czsv-form-group textarea {
  border: 1.5px solid var(--czgray-line); border-radius: 10px; padding: 10px 13px; font-size: 13.5px;
  color: var(--cztext); background: #fff; outline: none; font-family: inherit; width: 100%; box-sizing: border-box;
}
.czsv-form-group textarea { min-height: 90px; resize: vertical; }
.czsv-form-group input:focus, .czsv-form-group textarea:focus { border-color: var(--czblue-btn); }
.czsv-form-submit {
  padding: 13px; background: var(--czblue-btn) !important; color: #fff; border: none; border-radius: 10px;
  font-size: 14.5px; font-weight: 700; cursor: pointer; font-family: inherit;
}
.czsv-form-submit:disabled { opacity: .6; cursor: not-allowed; }
.czsv-form-msg { font-size: 13px; font-weight: 600; min-height: 16px; }
.czsv-form-msg.is-success { color: var(--czgreen); }
.czsv-form-msg.is-error   { color: var(--czv-red); }

/* ══════════════════════ STICKY MOBILE ACTION BAR ═════════════ */
.czsv-sticky-bar { display: none; }
@media (max-width: 760px) {
  .czsv-sticky-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
    background: #fff; border-top: 1.5px solid var(--czgray-line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(15,23,42,.08);
  }
  .czsv-sticky-bar__btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px; border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none;
    border: none; cursor: pointer; font-family: inherit;
  }
  .czsv-sticky-bar__btn svg { width: 16px; height: 16px; }
  .czsv-sticky-bar__btn--outline { background: var(--czblue-light); color: var(--czblue-btn); }
  .czsv-sticky-bar__btn--primary { background: var(--czv-navy) !important; color: #fff; }
  /* keep content clear of the fixed bar */
  .czsv-root { display: block; padding-bottom: 76px; }
  /* Once the end-of-content sentinel is reached, retract the bar so it stays
     within the article area and never overlaps the site footer. */
  .czsv-sticky-bar {
    transition: transform .2s ease, opacity .2s ease;
    will-change: transform;
  }
  .czsv-sticky-bar--hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }
}

/* ══════════════════════ DESKTOP WIDENING ═════════════════════ */
@media (min-width: 640px) {
  .czsv-container.czsv-container { max-width: 1060px; }
  .czsv-hero__title { font-size: 25px; }
  .czsv-hero__subtitle { font-size: 15px; }
  .czsv-gallery__main { aspect-ratio: 16/9; }
  .czsv-about-bullets { grid-template-columns: repeat(4, 1fr); }
  .czsv-specs-grid { grid-template-columns: repeat(3, 1fr); }
  .czsv-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .czsv-run-grid { grid-template-columns: repeat(5, 1fr); }
  .czsv-run-grid--4col { grid-template-columns: repeat(4, 1fr); }
}
