/* Rova Carts - site styles */

:root {
  --ink: #0e0e0e;
  --ink-2: #2a2a2a;
  --muted: #66625c;
  --bg: #ffffff;
  --surface: #f6f4f0;
  --line: #e8e4dd;
  --accent: #b3966e;
  --accent-dark: #7d6342;
  --accent-bright: #cfb18d;
  --accent-soft: #f4ede3;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 20, 18, .04), 0 12px 32px rgba(13, 20, 18, .07);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-bright); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 14, .94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid #222;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: inline-flex; align-items: center; }
.logo img { height: 27px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: #d9d4cc;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #333;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  content: "";
  transition: transform .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: #0e0e0e;
    border-bottom: 1px solid #222;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { display: block; padding: 10px 0; border: 0; }
}

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__visual {
  position: relative;
  aspect-ratio: 1 / .82;
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 70% 20%, #f1e8da 0%, rgba(241, 232, 218, 0) 60%),
    linear-gradient(180deg, #f7f5f1 0%, #ece7df 100%);
  display: grid;
  place-items: center;
  padding: 32px;
}
.hero__visual svg { width: 100%; height: auto; }
/* Product photos sit on white; multiply blends the white into the panel colour */
.photo {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity .2s;
}
/* White panel for product photos, so white paint stays true white */
.model-card__img.media--white, .model-detail__img.media--white { background: #fff; }
.model-card__img.media--white { border-bottom: 1px solid var(--line); }
.model-detail__img.media--white { border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.spec-list li.spec-list__wide { grid-column: 1 / -1; }

/* Photo gallery (main photo + thumbnails) */
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.thumb {
  aspect-ratio: 1;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumb:hover { border-color: var(--muted); }
.thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.thumb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* inside a gallery the photo always sits above its thumbnails, whichever side the gallery is on */
.model-detail:nth-of-type(n) .gallery .model-detail__img { order: 0; }
/* shorter galleries keep the same thumbnail size, left-aligned */
.gallery__thumbs--3 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 520px) { .gallery__thumbs { grid-template-columns: repeat(3, 1fr); } }
.hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  z-index: 1;
  font-size: .85rem;
  line-height: 1.35;
}
.hero__badge strong { display: block; font-size: 1.1rem; }
/* From-price tag on the hero image (links to the builder) */
/* leave the top of the panel clear for the tag */
.hero__visual .photo { top: 92px; height: calc(100% - 112px); }
.hero__price {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: grid;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.hero__price:hover { transform: translateY(-2px); }
.hero__price span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bdb7ae; }
.hero__price strong { font-size: 1.45rem; color: var(--accent-bright); letter-spacing: -.01em; }
.hero__price small { font-size: .75rem; color: #bdb7ae; }
@media (max-width: 520px) {
  .hero__price { top: 12px; right: 12px; padding: 9px 13px; }
  .hero__price strong { font-size: 1.15rem; }
  .hero__visual .photo { top: 76px; height: calc(100% - 92px); }
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat__label { color: var(--muted); font-size: .92rem; }

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }

/* Model cards */
.model-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.model-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.model-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f7f5f1 0%, #ebe6de 100%);
  padding: 28px 24px 12px;
}
.model-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.model-card__tag {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.model-card p { color: var(--muted); }
.model-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.model-card__specs strong { display: block; color: var(--ink); font-size: 1.05rem; }
.model-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.price { font-weight: 800; font-size: 1.1rem; }
.price small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }

/* Cart colour variants (used by the SVG placeholder) */
.cart--white     { --cart-body: #ffffff; --cart-accent: #b3966e; }
.cart--champagne { --cart-body: #e6dccb; --cart-accent: #0e0e0e; --cart-line: #d6c9b3; }
.cart--black     { --cart-body: #1c1c1c; --cart-accent: #b3966e; --cart-line: #0e0e0e; --cart-seat: #0e0e0e; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d6342' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.checklist--grid { grid-template-columns: repeat(3, 1fr); gap: 18px 32px; margin: 0; }
@media (max-width: 900px) { .checklist--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .checklist--grid { grid-template-columns: 1fr; } }

.use-case {
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
}
.use-case h3 { font-size: 1.1rem; }
.use-case p { color: var(--muted); font-size: .95rem; margin: 0; }

/* CTA band */
.cta {
  border-radius: 28px;
  background: var(--ink);
  color: #fff;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 150, 110, .35), rgba(179, 150, 110, 0) 70%);
  pointer-events: none;
}
.cta h2 { margin-bottom: .3em; }
.cta p { color: #bdb7ae; margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 820px) {
  .cta { grid-template-columns: 1fr; padding: 44px 24px; }
}

/* Page header (inner pages) */
.page-head { padding: 64px 0 40px; }
.page-head .lead { margin-bottom: 0; }

/* Model detail (models page) */
.model-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.model-detail:nth-of-type(even) .model-detail__img { order: 2; }
.model-detail__img {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7f5f1 0%, #ebe6de 100%);
  padding: 40px 32px 24px;
}
.spec-list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 700; text-align: right; }
.spec-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -12px 0 22px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
}
.spec-download svg { width: 18px; height: 18px; }
.spec-download span { font-weight: 500; color: var(--muted); }
.spec-download:hover { text-decoration: underline; }
.model-detail__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .model-detail { grid-template-columns: 1fr; gap: 28px; }
  .model-detail:nth-of-type(even) .model-detail__img { order: 0; }
}
@media (max-width: 480px) { .spec-list { grid-template-columns: 1fr; } }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface); }
.compare tbody th { font-weight: 600; color: var(--muted); }
.compare td { font-weight: 700; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 24px 20px; } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.choice-group { border: 0; padding: 0; margin: 0 0 18px; }
.choice-group legend { margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: all .2s;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }

.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.hidden { display: none !important; }

.form-success {
  text-align: center;
  padding: 40px 12px;
}
.form-success__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center;
}

.info-card { padding: 28px; border-radius: var(--radius); background: var(--surface); margin-bottom: 20px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--accent-dark); margin-top: 3px; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--accent-dark); }
.hours { width: 100%; font-size: .95rem; border-collapse: collapse; }
.hours td { padding: 6px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }


/* Footer */
.site-footer { background: var(--ink); color: #bdb7ae; padding: 64px 0 32px; margin-top: 96px; font-size: .95rem; }
.site-footer .logo img { width: 240px; height: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Section spacing on small screens */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .site-footer { margin-top: 64px; }
}

/* "7 colours, 3 trims" teaser on the Models page and home card */
.options-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "dots cta" "text cta";
  align-items: center;
  gap: 10px 18px;
  margin: 20px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfaf8, var(--surface));
}
.options-teaser__dots { grid-area: dots; display: flex; gap: 6px; }
.options-teaser__dots span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%),
    var(--swatch);
  /* inner edge so light paints (Pearl White) stay visible */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 1px 2px rgba(0, 0, 0, .12);
}
.options-teaser__text { grid-area: text; display: grid; gap: 2px; margin: 0; line-height: 1.35; }
.options-teaser__text strong { font-size: .92rem; color: var(--ink); }
.options-teaser__text span { font-size: .84rem; color: var(--muted); }
.options-teaser__cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.options-teaser__cta svg { width: 16px; height: 16px; transition: transform .2s; }
.options-teaser__cta:hover { background: var(--accent); color: var(--ink); }
.options-teaser__cta:hover svg { transform: translateX(3px); }
.model-card .options-teaser { margin: 0 0 18px; padding: 14px; }
@media (max-width: 400px) {
  .options-teaser { grid-template-columns: 1fr; grid-template-areas: "dots" "text" "cta"; }
  .options-teaser__cta { justify-self: start; }
}

/* Quote form: extras carried over from the configurator */
.build-extras { margin: 0 0 18px; padding: 16px; border: 1.5px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); }
.build-extras__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: .9rem; }
.build-extras__head a { color: var(--accent-dark); font-weight: 600; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; }

/* ===================== Paint and seat swatches (shared) ===================== */
.swatch-chip {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .18);
}
.swatch-chip--paint {
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 70% 82%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 55%),
    var(--swatch);
}
.swatch-chip--trim {
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .12) 0 30%, rgba(0, 0, 0, .14) 31% 34%, transparent 35%) 0 0 / 12px 11px,
    linear-gradient(160deg, rgba(255, 255, 255, .18), rgba(0, 0, 0, .18)),
    var(--swatch);
}

/* Models page: colours and seat trims panel */
.colours-block { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.colours-block__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 28px; }
.colours-block__head h2 { margin-bottom: 6px; }
.colours-block__head .lead { margin: 0; }
.colours-block h3 {
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.paint-cards { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-bottom: 32px; }
.paint-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 8px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.3;
}
.paint-card .swatch-chip { width: 56px; height: 56px; }
.trim-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trim-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.trim-card .swatch-chip { width: 72px; height: 52px; border-radius: 10px; }
.trim-card strong { display: block; font-size: .95rem; }
.trim-card span { font-size: .82rem; color: var(--muted); }
@media (max-width: 960px) { .paint-cards { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .trim-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .paint-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .paint-card .swatch-chip { width: 44px; height: 44px; }
}

/* ===================== Admin (admin.html) ===================== */
.admin-tag { padding: 4px 12px; border-radius: 999px; background: #2a2a2a; color: #cfb18d; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin { padding-top: 48px; padding-bottom: 80px; }
.admin__head { margin-bottom: 28px; }
.admin__head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.admin__head .lead { margin: 0 0 16px; }
.admin-status { display: inline-block; margin: 0; padding: 8px 14px; border-radius: 10px; font-size: .88rem; font-weight: 600; }
.admin-status.is-pending { background: #fff4cc; color: #6b5200; }
.admin-status.is-ok { background: var(--accent-soft); color: var(--accent-dark); }
.admin-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  border-radius: 22px;
  background: var(--ink);
  color: #bdb7ae;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.admin-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.admin-card__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.admin-card strong { color: #fff; font-size: 1.4rem; }
.admin-card__go { margin-top: 8px; color: var(--accent-bright); font-weight: 700; font-size: .92rem; }
.admin-section { margin-top: 48px; }
.admin-section h2 { font-size: 1.3rem; margin-bottom: 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.admin-tip { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: .9rem; color: var(--muted); }
.admin-tip strong { color: var(--ink); font-size: .98rem; }
.admin code { font-size: .85em; padding: 1px 6px; border-radius: 6px; background: var(--surface); color: var(--ink); }
.admin-note { color: var(--muted); font-size: .92rem; max-width: 760px; }
.admin-events td { font-weight: 500; }
@media (max-width: 860px) { .admin-cards, .admin-grid { grid-template-columns: 1fr; } }

/* ===================== Builder (configure.html) ===================== */
.builder { padding-top: 48px; padding-bottom: 72px; }
.builder__head { margin-bottom: 28px; }
.builder__head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 6px; }
.builder__head .lead { margin: 0; font-size: 1rem; }
.builder__head .lead a { color: var(--accent-dark); }
.builder h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.option-value { color: var(--muted); font-size: .9rem; font-weight: 500; }

/* Model selector: two cards above the builder */
.model-picker { margin-bottom: 20px; }
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 12px; }
.model-opt {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.model-opt:hover { border-color: #cfc8bd; }
.model-opt strong { font-size: 1.05rem; }
.model-opt span { font-size: .85rem; color: var(--muted); }
.model-opt[aria-checked="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.model-opt[aria-checked="true"] span { color: #cfb18d; }
.model-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .models { grid-template-columns: 1fr 1fr; gap: 8px; } .model-opt { padding: 12px 14px; } }

/* Card: preview on the left, colour and seat selectors on the right */
.builder-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px 48px;
  padding: 28px 40px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(90% 120% at 25% 40%, #ffffff 0%, #f7f5f1 55%, #efebe4 100%);
  box-shadow: var(--shadow);
}
.builder-card__preview { position: relative; margin: 0; text-align: center; }
/* "Colour guide" note on the preview: the renders show colour, not the exact build */
.preview-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 380px;
  margin: 0 0 6px;
  padding: 8px 12px 8px 10px;
  border: 1px solid rgba(179, 150, 110, .45);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  text-align: left;
  font-size: .76rem;
  line-height: 1.35;
  color: var(--muted);
}
.preview-badge svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 1px; color: var(--accent-dark); }
.preview-badge strong { display: block; color: var(--ink); font-size: .8rem; }
.builder-card__preview img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  mix-blend-mode: multiply;
  transition: opacity .2s;
}
.builder-card__preview img.is-loading { opacity: .4; }
.builder-card__preview figcaption { margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.builder-card__options { display: grid; gap: 32px; }

/* Body colour: glossy paint chips */
.paints { display: flex; flex-wrap: wrap; gap: 14px; }
.paint {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 70% 82%, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0) 55%),
    var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 1px 3px rgba(0, 0, 0, .15);
  transition: transform .15s, box-shadow .15s;
}
.paint:hover { transform: translateY(-2px); }
.paint[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.paint:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }

/* Seat colour: rounded leather swatches */
.trims { display: flex; flex-wrap: wrap; gap: 14px; }
.trim {
  width: 76px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .12) 0 30%, rgba(0, 0, 0, .14) 31% 34%, transparent 35%) 0 0 / 12px 11px,
    linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .18)),
    var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .15);
  transition: transform .15s, box-shadow .15s;
}
.trim:hover { transform: translateY(-2px); }
.trim[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 5px var(--accent-dark); }
.trim:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
.option-note { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }

/* Standard features: compact checklist panel */
.builder-standard {
  margin-top: 48px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.builder-standard .checklist--grid { gap: 12px 28px; }
.builder-standard .checklist li { font-size: .9rem; line-height: 1.45; }
@media (max-width: 640px) { .builder-standard { padding: 22px 18px; } }

/* Extras: checkbox cards in two columns */
.builder-extras { margin-top: 48px; }
.extras { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.extra {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.extra:hover { border-color: #cfc8bd; }
.extra input { position: absolute; opacity: 0; pointer-events: none; }
.extra__text { display: grid; gap: 2px; flex: 1; }
.extra__text strong { font-size: .95rem; }
.extra__text span { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.extra__price { flex: 0 0 auto; font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap; }
.extra__check {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 7px;
  border: 1.5px solid #cfc8bd;
  background: #fff;
  transition: all .2s;
}
.extra:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.extra input:checked ~ .extra__check {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.extra:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Summary: the build and the quote button */
.builder-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 40px;
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--ink);
  color: #ece8e1;
}
.builder-summary h2 { color: #fff; margin-bottom: 4px; font-size: 1.25rem; }
.builder-summary__spec p { margin: 0; color: #bdb7ae; }
.builder-summary__price { margin-top: 10px !important; color: #ece8e1 !important; font-size: .95rem; }
.builder-summary__price strong { color: var(--accent-bright); font-size: 1.35rem; margin: 0 2px; }
.builder-summary__price span { display: block; margin-top: 2px; font-size: .82rem; color: #8c867d; }
.builder-summary .chips { margin-top: 12px; }
.builder-summary .chips li { background: #1f1f1f; border-color: #333; color: #ece8e1; }
.builder-summary__actions { display: grid; gap: 10px; justify-items: stretch; }
.builder-summary .btn--ghost { background: transparent; color: #ece8e1; border-color: #3a3a3a; }
.builder-summary .btn--ghost:hover { border-color: var(--accent); color: #fff; }
.config__note { margin: 4px 0 0; text-align: center; color: #8c867d; font-size: .82rem; }

/* Phone: sticky build bar */
.config-bar { display: none; }

@media (max-width: 900px) {
  .builder-card { grid-template-columns: 1fr; padding: 24px; }
  .builder-summary { grid-template-columns: 1fr; padding: 24px; }
  .config-bar {
    position: sticky;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 14, 14, .96);
  }
  .config-bar__spec { display: grid; min-width: 0; font-size: .82rem; color: #bdb7ae; }
  .config-bar__spec strong { color: #fff; font-size: .95rem; }
  .config-bar__spec span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 640px) {
  .builder { padding-top: 28px; }
  .builder-card { padding: 20px 16px; }
  .preview-badge { max-width: none; }
  .extras { grid-template-columns: 1fr; }
  .paints { gap: 8px; }
  .paint { width: 32px; height: 32px; }
  .trim { width: 66px; height: 46px; }
}
