/* ==========================================================================
   PRESTIVO · inner pages: /cars/ (fleet) and /cars/<slug>/ (car detail)
   Loaded after styles.css: same tokens, fonts and components.
   ========================================================================== */

.pg { background: var(--bg); }
.pg .wa-float { transform: scale(1); }
.pg .wa-float:hover { transform: scale(1.08); }

/* ---------- header ---------- */
.pg-nav {
  position: sticky; top: 0; z-index: 100; height: 84px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--g);
  background: rgba(18, 7, 10, .78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.pg-nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pg-nav__links a { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--dim); transition: color .3s, background .4s var(--ease); }
.pg-nav__links a:hover, .pg-nav__links a[aria-current] { color: var(--fg); background: rgba(255, 255, 255, .07); }
.pg-nav__r { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.pg-nav__lang { font-family: "Tajawal", var(--f-body); font-size: 14px; text-transform: none; letter-spacing: 0; }
[lang="ar"] .pg-nav__lang { font-family: var(--f-body); font-size: 13px; }

/* ---------- breadcrumbs ---------- */
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; color: var(--faint); }
.pg-crumbs a { color: var(--dim); transition: color .3s; }
.pg-crumbs a:hover { color: var(--fg); }
.pg-crumbs i { font-style: normal; opacity: .5; }
.pg-crumbs span { color: var(--fg); }

/* ---------- fleet page ---------- */
.fl-head { padding: clamp(48px, 9vh, 110px) var(--g) clamp(32px, 5vh, 56px);
  background: radial-gradient(55% 80% at 100% 0%, var(--glow), transparent 70%); }
[dir="rtl"] .fl-head { background: radial-gradient(55% 80% at 0% 0%, var(--glow), transparent 70%); }
.fl-head .display { font-size: clamp(2.4rem, 5.6vw, 5.4rem); }
.fl-head__lead { margin: 24px 0 0; max-width: 560px; color: var(--dim); font-size: 17px; line-height: 1.65; }
[lang="ar"] .fl-head .display { font-family: "Tajawal", sans-serif; font-weight: 700; line-height: 1.2; letter-spacing: 0; }

.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--g) clamp(60px, 10vh, 120px); }
.fc--grid { width: auto; height: clamp(440px, 62vh, 600px); cursor: default; }
.fc--grid:hover { border-color: rgba(168, 36, 67, .55); box-shadow: 0 40px 80px -30px rgba(125, 21, 48, .75); }
.fc__link { color: inherit; }
.fc__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; } /* whole card is the link */
.fc__link:focus-visible { outline: none; }
.fc--grid:has(.fc__link:focus-visible) { outline: 1px solid var(--ivory); outline-offset: 4px; }
.fc__meta { margin: -8px 0 18px; color: var(--dim); font-size: 14px; }
.fc--grid .fc__body { transform: none; }
.fc--grid .fc__quote { pointer-events: none; }
.fc--end.fc--grid { justify-content: center; gap: 18px; padding: clamp(24px, 3vw, 40px); }
.fc--end.fc--grid h3 { margin: 0; font-family: var(--f-display); font-stretch: 125%; font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.02; letter-spacing: -.03em; }
.fc--end.fc--grid h3 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; }
.fc--end.fc--grid p { margin: 0; max-width: 34ch; }
.fc--end.fc--grid .btn { align-self: flex-start; position: relative; z-index: 2; }
.fc--end .fc__mark { width: 90px; height: 39px; }
.fc__price b { white-space: nowrap; }
.fc .fc__ask { font-size: 11px; }
/* the homepage rail keeps its own click-to-open behaviour; the link only gives crawlers and keyboards a real URL */
.fleet__rail .fc__link::after { content: none; }
.fleet__all { margin-inline-end: 6px; }

/* ---------- help band ---------- */
.pg-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 0 var(--g) clamp(60px, 10vh, 110px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r);
  background: var(--wine-grad, linear-gradient(135deg, #5a1324, #2a0a12)); color: var(--ivory); }
.pg-help h2 { margin: 0 0 6px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em; }
.pg-help p { margin: 0; max-width: 60ch; color: rgba(247, 240, 232, .78); }
.pg-help .btn--light { color: var(--wine-deep, #3a0e18); }
[lang="ar"] .pg-help h2 { font-family: "Tajawal", sans-serif; font-weight: 700; }

/* ---------- car page: top ---------- */
.cp-top { padding: clamp(36px, 6vh, 72px) var(--g) clamp(48px, 8vh, 96px);
  background: radial-gradient(50% 70% at 100% 0%, var(--glow), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(141, 26, 54, .14), transparent 70%); }
[dir="rtl"] .cp-top { background: radial-gradient(50% 70% at 0% 0%, var(--glow), transparent 70%), radial-gradient(40% 50% at 100% 100%, rgba(141, 26, 54, .14), transparent 70%); }
.cp-top .kicker { margin-bottom: 18px; }
.cp-h1 { margin: 0 0 clamp(26px, 4vh, 44px); max-width: 18ch; font-family: var(--f-display); font-stretch: 125%; font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.035em; }
.cp-h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.01em;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding: .04em .14em .2em .06em; margin: -.04em -.14em -.2em -.06em; }
[lang="ar"] .cp-h1 { max-width: none; font-family: "Tajawal", sans-serif; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
[lang="ar"] .cp-h1 em { font-family: var(--f-display); font-style: normal; font-weight: 500; font-stretch: 112%; unicode-bidi: isolate; }

.cp-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(20px, 2.6vw, 40px); align-items: start; }

/* gallery */
.cp-gal__main { aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-wine); }
.cp-gal__main img { width: 100%; height: 100%; object-fit: cover; }
.cp-gal__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.cp-gal__thumbs button { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); opacity: .55; transition: opacity .3s, border-color .3s; }
.cp-gal__thumbs button:hover { opacity: .85; }
.cp-gal__thumbs button.is-active { opacity: 1; border-color: var(--accent); }
.cp-gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* price + request box */
.cp-box { position: sticky; top: 104px; padding: clamp(20px, 2vw, 30px); border-radius: var(--r);
  background: linear-gradient(170deg, #1d0b11, #110709 70%); border: 1px solid var(--line-2); box-shadow: var(--shadow-wine); scroll-margin-top: 100px; }
.cp-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cp-rate small { width: 100%; color: var(--dim); }
.cp-rate b { font-family: var(--f-display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.9rem, 2.6vw, 2.5rem); letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cp-rate b i { font-style: normal; font-size: 15px; font-weight: 400; color: var(--dim); margin-inline-start: 6px; }
.cp-rate b.cp-rate__q { font-size: clamp(1.5rem, 2vw, 1.9rem); }
.cp-terms { margin: 0; padding: 8px 0 4px; }
.cp-terms div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cp-terms dt { color: var(--dim); }
.cp-terms dd { margin: 0; text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-pending { font-weight: 400; color: var(--faint); font-size: 13.5px; }

.cp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.cp-form h2 { grid-column: 1 / -1; margin: 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; }
.cp-form > p:not(.cp-form__err):not(.cp-form__fine) { grid-column: 1 / -1; margin: -4px 0 4px; color: var(--dim); font-size: 14px; }
[lang="ar"] .cp-form h2 { font-family: "Tajawal", sans-serif; font-weight: 700; }
.cp-form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cp-form label span { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
[lang="ar"] .cp-form label span { font-family: "Tajawal", sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; }
.cp-form input, .cp-form select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--fg); font-size: 16px; color-scheme: dark; }
.cp-form input:focus, .cp-form select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.cp-form select option { background: #1a0a0f; }
.cp-form__full { grid-column: 1 / -1; }
.cp-form__err { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(168, 36, 67, .22); border: 1px solid rgba(168, 36, 67, .5); color: #ffd9de; font-size: 14px; }
.cp-form__fine { margin: 0; color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.cp-form .btn { height: 54px; }
.cp-wa { display: block; margin-top: 16px; text-align: center; color: var(--accent); font-size: 14px; font-weight: 600; }
.cp-wa:hover { color: var(--accent-hi); text-decoration: underline; }

/* ---------- car page: details (ivory) ---------- */
.cp-info { padding: clamp(60px, 10vh, 120px) var(--g); }
.cp-info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); max-width: 1280px; }
.cp-info h2 { margin: 0 0 18px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.02em; }
[lang="ar"] .cp-info h2 { font-family: "Tajawal", sans-serif; font-weight: 700; }
.cp-desc { margin: 0 0 40px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--fg); max-width: 60ch; }
.cp-specs { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); }
.cp-specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cp-specs div:nth-child(odd) { padding-inline-end: 16px; }
.cp-specs dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
[lang="ar"] .cp-specs dt { font-family: "Tajawal", sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; }
.cp-specs dd { margin: 4px 0 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.15rem; }
.cp-termsP { margin: 0 0 22px; color: var(--dim); line-height: 1.7; max-width: 60ch; }
.cp-faqT { margin-top: 48px !important; }
.cp-faq details { border-bottom: 1px solid var(--line); }
.cp-faq summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-weight: 600; }
[dir="rtl"] .cp-faq summary { padding: 16px 0 16px 32px; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 12px; font-size: 22px; font-weight: 300; color: var(--em); transition: transform .4s var(--ease); }
.cp-faq details[open] summary::after { transform: rotate(45deg); }
.cp-faq p { margin: 0 0 18px; color: var(--dim); line-height: 1.7; }

/* ---------- car page: related ---------- */
.cp-related { padding-top: clamp(60px, 10vh, 120px); }
.cp-related__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 0 var(--g) clamp(26px, 4vh, 40px); }
.cp-related__head .display { font-size: clamp(2rem, 4.4vw, 3.8rem); }
[lang="ar"] .cp-related__head .display { font-family: "Tajawal", sans-serif; font-weight: 700; letter-spacing: 0; }
.fl-grid--related .fc--grid { height: clamp(380px, 52vh, 500px); }

/* ---------- footer ---------- */
.pg-foot { padding: clamp(56px, 9vh, 96px) var(--g) 0; border-top: 1px solid var(--line);
  background: radial-gradient(90% 70% at 50% 100%, #3a0e18, #1a080d 45%, var(--bg) 80%); }
.pg-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding-bottom: clamp(40px, 7vh, 72px); }
.pg-foot__tag { margin: 18px 0 20px; color: var(--dim); max-width: 34ch; }
.pg-foot h4 { margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
[lang="ar"] .pg-foot h4 { font-family: "Tajawal", sans-serif; font-size: 13px; letter-spacing: 0; }
.pg-foot p { margin: 0; line-height: 2; font-size: 14.5px; }
.pg-foot p a { color: var(--dim); transition: color .3s; }
.pg-foot p a:hover { color: var(--fg); }
.pg-foot__addr { color: var(--dim); unicode-bidi: plaintext; }
.pg-foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10.5px; }
.pg-foot__bottom a:hover { color: var(--fg); }
@media (min-width: 1101px) { .pg-foot__bottom { padding-inline-end: 96px; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-box { position: static; }
  .pg-nav { grid-template-columns: 1fr auto; }
  .pg-nav__links { display: none; }
}
@media (max-width: 760px) {
  .pg-nav { height: 70px; }
  .pg-nav .brand__type { display: none; }
  .pg-nav .btn--sm { padding: 0 16px; }
  .cp-info__grid { grid-template-columns: 1fr; }
  .cp-form { grid-template-columns: 1fr; }
  .cp-terms div { font-size: 14px; }
  .pg-foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .fc--grid { height: 460px; }
}
@media (max-width: 380px) {
  .pg-nav .btn--sm svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-gal__thumbs button, .fc--grid { transition: none; }
}

/* ---------- layout refinements ---------- */
.cp-about { margin-top: clamp(32px, 5vh, 52px); }
.cp-about h2 { margin: 0 0 16px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -.02em; }
[lang="ar"] .cp-about h2 { font-family: "Tajawal", sans-serif; font-weight: 700; }
.cp-about .cp-desc { color: var(--fg); margin-bottom: 36px; }
.cp-specs { grid-template-columns: repeat(3, 1fr); }
.cp-specs div:nth-child(odd) { padding-inline-end: 0; }
.cp-specs div { padding-inline-end: 16px; }
.fl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fl-grid:not(.fl-grid--related) .fc--end { grid-column: span 2; }
@media (max-width: 1100px) {
  .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-grid:not(.fl-grid--related) .fc--end { grid-column: auto; }
  .fl-grid--related .fc--grid:nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .fl-grid { grid-template-columns: 1fr; }
  .fl-grid--related .fc--grid:nth-child(3) { display: flex; }
  .cp-specs { grid-template-columns: repeat(2, 1fr); }
  .cp-gal__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .cp-gal__thumbs::-webkit-scrollbar { display: none; }
  .cp-gal__thumbs button { flex: 0 0 96px; scroll-snap-align: start; }
}
.cp-main, .cp-box, .cp-form label, .cp-terms dd { min-width: 0; }
.cp-terms dd { overflow-wrap: anywhere; }
.cp-form input[type="date"] { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }

/* ==========================================================================
   /booking/ · 3-step request
   ========================================================================== */
.bk-page { padding: clamp(36px, 6vh, 72px) var(--g) clamp(60px, 10vh, 110px);
  background: radial-gradient(50% 60% at 100% 0%, var(--glow), transparent 70%); }
[dir="rtl"] .bk-page { background: radial-gradient(50% 60% at 0% 0%, var(--glow), transparent 70%); }
.bk-page .kicker { margin-bottom: 18px; }
.bk-h1 { margin: 0 0 clamp(22px, 3.4vh, 36px); font-size: clamp(2.4rem, 5.6vw, 4.6rem); }

/* progress */
.bk-steps { display: flex; gap: 8px; margin: 0 0 clamp(22px, 3.4vh, 36px); padding: 0; list-style: none; counter-reset: none; }
.bk-steps li { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); color: var(--faint); font-size: 14px; font-weight: 500; transition: color .3s, border-color .3s, background .3s; }
.bk-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid currentColor; font-family: var(--f-mono); font-size: 12px; font-weight: 400; }
.bk-steps li.is-on { color: var(--fg); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.bk-steps li[aria-current] { border-color: var(--accent); }
.bk-steps li[aria-current] b, .bk-steps li.is-done b { background: var(--btn-grad, var(--accent)); border-color: transparent; color: #1a0d08; }

.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(20px, 2.6vw, 40px); align-items: start; }
.bk-app { min-width: 0; padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r);
  background: linear-gradient(170deg, #1d0b11, #110709 70%); border: 1px solid var(--line-2); box-shadow: var(--shadow-wine); }
.bk-panel h2 { margin: 0 0 20px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.015em; outline: none; }
[lang="ar"] .bk-panel h2 { font-family: "Tajawal", sans-serif; font-weight: 700; letter-spacing: 0; }
.bk-panel fieldset { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.bk-panel legend, .bk-panel label > span:first-child { display: block; margin-bottom: 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
[lang="ar"] .bk-panel legend, [lang="ar"] .bk-panel label > span:first-child { font-family: "Tajawal", sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; }
.bk-panel .toggle > span:first-child, .bk-panel .bk-check > span, .bk-panel .bk-opt > span { margin: 0; font-family: inherit; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }

/* car picker */
.bk-cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bkc { position: relative; display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; cursor: pointer; background: rgba(255, 255, 255, .02); transition: border-color .3s, transform .3s var(--ease), background .3s; }
.bkc:hover { border-color: var(--line-2); transform: translateY(-2px); }
.bkc input { position: absolute; opacity: 0; pointer-events: none; }
.bkc:has(input:checked) { border-color: var(--accent); background: rgba(227, 182, 142, .07); box-shadow: 0 0 0 1px var(--accent) inset; }
.bkc:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.bkc__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.bkc__img img { width: 100%; height: 100%; object-fit: cover; }
.bkc__txt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.bkc__txt small { color: var(--faint); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.bkc__txt b { font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.1rem; }
.bkc__txt em { font-style: normal; color: var(--accent); font-size: 13px; font-weight: 600; }
.bkc__txt .fc__tag { position: absolute; top: 10px; inset-inline-start: 10px; }
.bkc::after { content: ""; position: absolute; top: 10px; inset-inline-end: 10px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .35); transition: background .3s, border-color .3s; }
.bkc:has(input:checked)::after { border-color: transparent; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a0d08' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* fields */
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.bk-grid[hidden] { display: none; }
.bk-grid__full { grid-column: 1 / -1; }
.bk-grid label { min-width: 0; }
.bk-panel input:not([type="radio"]):not([type="checkbox"]), .bk-panel select { width: 100%; min-width: 0; max-width: 100%; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04); color: var(--fg); font-size: 16px; color-scheme: dark; -webkit-appearance: none; appearance: none; }
.bk-panel select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bbb' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 16px; background-position: right 14px center; padding-inline-end: 38px; }
[dir="rtl"] .bk-panel select { background-position: left 14px center; }
.bk-panel input:focus, .bk-panel select:focus { outline: none; border-color: var(--accent); background-color: rgba(255, 255, 255, .07); }
.bk-panel select option { background: #1a0a0f; }
.bk-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-mode legend { grid-column: 1 / -1; }
.bk-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.bk-opt:has(input:checked) { border-color: var(--accent); background: rgba(227, 182, 142, .06); }
.bk-opt input, .bk-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.bk-opt b { display: block; font-size: 14.5px; font-weight: 600; }
.bk-opt small { display: block; margin-top: 2px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14.5px; line-height: 1.5; color: var(--fg); }
.bk-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bk-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-extras legend { grid-column: 1 / -1; }
.bk-note { margin: 0 0 14px; color: var(--faint); font-size: 13px; line-height: 1.6; }
.bk-note a { color: var(--accent); }
.bk-err { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: rgba(168, 36, 67, .22); border: 1px solid rgba(168, 36, 67, .5); color: #ffd9de; font-size: 14px; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 8px; margin-bottom: 14px; }
.bk-actions .btn { height: 54px; }
.bk-actions .btn:only-child { margin-inline-start: auto; }
.bk-actions .btn[disabled] { opacity: .6; pointer-events: none; }
.bk-actions .btn svg { width: 18px; height: 18px; }

/* review */
.bk-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 2vw, 28px); margin-bottom: 20px; }
.bk-sum img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 14px; }
.bk-sum small { color: var(--faint); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.bk-sum h3 { margin: 2px 0 12px; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.5rem; }
.bk-sum p { margin: 0 0 6px; color: var(--dim); font-size: 14px; line-height: 1.55; }
.bk-sum p b { color: var(--fg); font-weight: 600; }
.bk-price { margin: 0; }
.bk-price div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.bk-price dt { color: var(--dim); min-width: 0; }
.bk-price dd { margin: 0; text-align: end; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.bk-price .bk-price__total { margin: 4px 0 10px; padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 16px; }
.bk-price .bk-price__total dt { color: var(--fg); font-weight: 600; }
.bk-price .bk-price__total dd { color: var(--accent-hi); font-size: 1.25rem; }
.bk-price .is-sub { font-size: 13.5px; }

/* done */
.bk-done { text-align: center; padding: clamp(16px, 4vh, 40px) 0; outline: none; }
.bk-done__mark { width: 74px; height: 32px; margin: 0 auto 18px; display: block; }
.bk-done h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.bk-done p { max-width: 52ch; margin: 0 auto 12px; color: var(--dim); line-height: 1.65; }
.bk-done__ref { font-size: 1.05rem; color: var(--fg) !important; }
.bk-done__ref b { display: inline-block; margin-inline-start: 6px; padding: 6px 14px; border-radius: 10px; background: rgba(227, 182, 142, .12); border: 1px solid rgba(227, 182, 142, .4); color: var(--accent-hi); font-family: var(--f-mono); font-size: 1.1rem; letter-spacing: .06em; }
.bk-done .bk-actions { justify-content: center; margin-top: 22px; }

/* side summary */
.bk-side { position: sticky; top: 104px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.bk-side > small { display: block; margin-bottom: 14px; color: var(--faint); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.bk-side img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-bottom: 14px; }
.bk-side b { display: block; font-family: var(--f-display); font-stretch: 112%; font-weight: 500; font-size: 1.2rem; margin-bottom: 6px; }
.bk-side p { margin: 0 0 10px; color: var(--dim); font-size: 14px; line-height: 1.55; }
.bk-side__total { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent-hi) !important; font-weight: 600; font-size: 1.15rem !important; }
.bk-side__total small { color: var(--faint); font-size: 12px; font-weight: 400; }
.bk-side__empty { color: var(--faint) !important; }
.bk-finished .bk-side { display: none; }
.bk-finished .bk-layout { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; }

@media (max-width: 1000px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr); }
  .bk-side { display: none; }
  .bk-review { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bk-steps li { padding: 10px; justify-content: center; }
  .bk-steps li span { display: none; }
  .bk-steps li[aria-current] span { display: inline; }
  .bk-steps li[aria-current] { flex: 2.4; }
  .bk-grid, .bk-mode, .bk-extras { grid-template-columns: minmax(0, 1fr); }
  .bk-cars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bkc__txt { padding: 10px 11px 12px; }
  .bkc__txt b { font-size: 1rem; }
  .bkc__txt em { font-size: 12px; }
  .bk-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (min-width: 1001px) { .bk-sum img { display: none; } }
[dir="rtl"] .bk-actions .btn svg, [dir="rtl"] .cp-form .btn svg { transform: scaleX(-1); }
