:root {
  color-scheme: light;
  accent-color: #5c342e;
  --primary: #5c342e;
  --primary-hover: #46261f;
  --accent: #a8822e;
  --ink: #111111;
  --muted: #667085;
  --surface: #faf7f2;
  --muted-surface: #f4eee6;
  --border: #e5e7eb;
  --danger: #ef4444;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1180px);
  height: 76px;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--primary); color: white; font-size: 17px; font-weight: 800; }
.header-link { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-button { padding: 9px 16px; border-radius: 999px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; text-decoration: none; }
.header-right { display: inline-flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; gap: .4rem; align-items: center; font-size: .8rem; border-left: 1px solid rgba(168, 130, 46, 0.25); padding-left: .6rem; }
.lang-switch-current { color: var(--accent); font-weight: 700; white-space: nowrap; }
.lang-switch-link { color: var(--accent); opacity: .6; text-decoration: none; white-space: nowrap; }
.lang-switch-link:hover { opacity: 1; text-decoration: underline; }
/* 窄螢幕：語言標籤採全名（台灣正體/日本語/English）較長，縮小間距與字級以免擠出 header。 */
@media (max-width: 480px) {
  .header-right { gap: .55rem; }
  .lang-switch { gap: .3rem; font-size: .72rem; padding-left: .45rem; }
}

.home-hero {
  display: grid;
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 56px max(24px, calc((100vw - 1180px) / 2)) 88px;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; }
.home-hero h1 { margin: 0; font-size: clamp(44px, 13vw, 76px); font-weight: 700; letter-spacing: -0.055em; line-height: 1.06; }
.hero-copy { margin: 28px 0 0; font-size: clamp(20px, 5vw, 28px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.5; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 8px 13px; border-radius: 999px; background: var(--muted-surface); color: #344054; font-size: 14px; font-weight: 650; }
.hero-actions { display: grid; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border: 1px solid transparent; border-radius: 18px; font-weight: 750; text-align: center; text-decoration: none; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.button:active { transform: scale(0.985); }
.button-primary { background: var(--primary); color: white; }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { border-color: var(--border); background: white; color: var(--ink); }
.button-line { gap: 9px; border-color: var(--primary); background: white; color: var(--primary); }
.button-line:hover { background: var(--muted-surface); }
.button-icon { width: 20px; height: 20px; flex-shrink: 0; }
.cancel-booking-button { margin-top: 14px; width: 100%; }

.hero-visual { display: flex; justify-content: center; }
.hero-carousel { position: relative; width: min(100%, 600px); min-height: 430px; border: 1px solid rgba(92, 52, 46, 0.12); border-radius: 32px; background: var(--muted-surface); overflow: hidden; box-shadow: 0 24px 60px rgba(49, 33, 22, 0.12); }
.hero-carousel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 34%, rgba(17, 17, 17, 0.62) 100%); }
.hero-carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; }
.hero-carousel-slide.is-active { opacity: 1; }
.hero-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image-note { position: absolute; top: 66px; left: 20px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--primary); font-size: 12px; font-weight: 800; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.hero-carousel-badge { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.hero-carousel-caption { position: absolute; left: 24px; right: 24px; bottom: 48px; z-index: 2; color: white; }
.hero-carousel-caption strong, .hero-carousel-caption span { display: block; }
.hero-carousel-caption strong { font-size: clamp(20px, 4.8vw, 26px); line-height: 1.3; letter-spacing: -0.02em; }
.hero-carousel-caption span { margin-top: 6px; color: rgba(255, 255, 255, 0.9); font-size: 14px; font-weight: 650; line-height: 1.55; }
.hero-carousel-dots { position: absolute; left: 24px; bottom: 22px; z-index: 2; display: flex; gap: 7px; }
.hero-carousel-dot { width: 24px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.42); cursor: pointer; }
.hero-carousel-dot.is-active { background: white; }

.section { padding: 88px max(24px, calc((100vw - 1180px) / 2)); }
.section-heading { max-width: 900px; margin-bottom: 36px; }
.section-heading p { max-width: 620px; }
.section h2, .trust-section h2 { margin: 0; font-size: clamp(28px, 7vw, 42px); line-height: 1.25; letter-spacing: -0.04em; }
.feature-section { background: var(--muted-surface); }
.feature-grid { display: grid; gap: 16px; }
.feature-card { position: relative; display: block; width: 100%; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: white; color: var(--ink); text-align: left; text-decoration: none; box-shadow: var(--shadow); cursor: pointer; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #efe6db; color: var(--primary); font-size: 22px; }
.feature-icon svg { width: 26px; height: 26px; display: block; }
.feature-card h3 { margin: 28px 0 4px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); }
.car-price { margin: 10px 0 0; font-size: 16px; color: var(--muted); }
.car-price strong { color: var(--primary); font-size: 26px; font-weight: 800; }
.car-grid { display: grid; gap: 16px; }
.car-card { padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.car-card h3 { margin: 20px 0 6px; font-size: 19px; }
.car-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.car-extra-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.car-card-cta { position: relative; display: block; text-decoration: none; background: var(--primary); border-color: var(--primary); color: white; }
.car-card-cta h3 { color: white; }
.car-card-cta p { color: rgba(255, 255, 255, 0.92); }
.car-card-cta .feature-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.car-card-cta .card-arrow { position: absolute; top: 28px; right: 28px; color: white; font-size: 22px; }
.card-arrow { position: absolute; right: 26px; bottom: 27px; color: var(--primary); font-size: 24px; }

.trust-section { display: grid; gap: 48px; padding: 88px max(24px, calc((100vw - 1180px) / 2)); }
.trust-content > p:last-child { max-width: 520px; margin: 20px 0 0; color: var(--muted); }
.trust-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border); font-weight: 650; }
.trust-list span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #efe6db; color: var(--primary); font-weight: 900; }
.contact-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; gap: 3px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.contact-label { color: var(--muted); font-size: 12px; font-weight: 800; }
.contact-value { font-weight: 650; color: var(--ink); }
.contact-line-action { justify-self: start; padding: 0; border: 0; background: none; color: var(--primary); font: inherit; font-weight: 700; cursor: pointer; }
a.contact-value { color: var(--primary); text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }

.site-footer { display: flex; flex-direction: column; gap: 6px; padding: 40px 24px; background: var(--muted-surface); text-align: center; }
.site-footer small { line-height: 1.6; }
.site-footer .nowrap { white-space: nowrap; }
.site-footer span { font-weight: 800; }
.site-footer small { color: var(--muted); }
.site-footer-links { display: flex; gap: 18px; justify-content: center; margin-top: 12px; }

.page-shell { width: min(100% - 36px, 900px); margin: 0 auto; padding: 48px 0 96px; }
.page-intro { max-width: 680px; margin-bottom: 44px; }
.page-intro h1 { margin: 0; font-size: clamp(42px, 11vw, 64px); line-height: 1.12; letter-spacing: -0.05em; }
.page-intro > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 54px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }

.autofill-status { display: flex; align-items: center; gap: 10px; margin: -20px 0 24px; padding: 13px 16px; border-radius: 14px; background: #f4eee6; color: var(--primary); font-size: 14px; font-weight: 650; }
.loading-spinner { width: 18px; height: 18px; border: 2px solid rgba(92, 52, 46, 0.25); border-top-color: var(--primary); border-radius: 50%; animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.booking-form { display: grid; gap: 20px; }
.form-section { padding: 28px 22px; border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.form-section-heading { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.section-number { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; }
.form-section-heading h2 { margin: -5px 0 3px; font-size: 23px; line-height: 1.4; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.form-fields { display: grid; gap: 24px; padding-top: 28px; }
label { display: grid; gap: 9px; color: #344054; font-size: 14px; font-weight: 700; }
.required, .optional { justify-self: start; margin-left: 7px; font-size: 11px; font-weight: 700; }
.required { color: var(--danger); }
.optional { color: #98a2b3; }
input, select, textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: white; color: var(--ink); font-size: 16px; outline: none; transition: border 160ms ease, box-shadow 160ms ease; }
textarea { min-height: 136px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #98a2b3; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(92, 52, 46, 0.1); }
.field-row { display: grid; gap: 24px; align-items: start; }
.locked-select { background: var(--muted-surface); pointer-events: none; }
.return-note { justify-self: start; font-size: 11px; color: #98a2b3; line-height: 1.5; }
.datetime-group { display: grid; grid-template-columns: 1fr 116px; gap: 10px; margin-top: 8px; }
.datetime-group input, .datetime-group select { margin-top: 0; }
.date-hint { margin: 4px 2px 0; padding: 10px 14px; border-radius: 12px; background: var(--muted-surface); color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.5; }
.date-hint-error { background: rgba(220, 38, 38, 0.1); color: var(--danger); font-weight: 700; }
.rental-days-note { margin: 4px 2px 0; padding: 10px 14px; border-radius: 12px; background: rgba(92, 52, 46, 0.1); color: var(--primary); font-size: 14px; font-weight: 600; }
.rental-days-note.hidden { display: none; }
.insurance-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.insurance-fieldset legend { padding: 0; margin-bottom: 4px; font-weight: 700; }
.insurance-lock-hint { margin: 0 0 4px; font-size: 13px; color: #5a6270; }
.insurance-card:has(input:disabled) { cursor: not-allowed; background: #fafafa; }
.insurance-card:has(input:disabled) .insurance-name,
.insurance-card:has(input:disabled) .insurance-price { color: #98a2b3; }
.insurance-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: white; cursor: pointer; }
.insurance-card input { width: auto; min-height: 0; margin: 3px 0 0; flex: 0 0 auto; }
.insurance-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(92, 52, 46, 0.12); }
.insurance-card-recommended { border-color: var(--primary); }
.insurance-card-body { display: grid; gap: 6px; flex: 1 1 auto; min-width: 0; }
.insurance-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.insurance-name { font-weight: 700; }
.insurance-price { color: var(--primary); font-weight: 700; white-space: nowrap; }
.insurance-desc { font-size: 13px; line-height: 1.6; color: #5a6270; }
.insurance-desc strong { color: var(--ink); }
.insurance-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; vertical-align: middle; }
.vehicle-fixed { margin: -2px 0 2px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--muted-surface); }
.vehicle-fixed-label { margin: 0 0 2px; font-size: 12px; color: var(--muted); }
.vehicle-fixed-name { margin: 0 0 12px; font-weight: 700; font-size: 16px; }
.vehicle-features-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vehicle-features-list li { position: relative; padding-left: 24px; font-size: 13px; line-height: 1.55; color: #5a6270; }
.vehicle-features-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }
.addon-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.addon-fieldset legend { padding: 0; margin-bottom: 4px; font-weight: 700; }
.addon-hint { margin: 0 0 4px; font-size: 13px; color: #5a6270; }
.addon-included { margin: 0 0 4px; padding: 12px 14px; border-radius: 12px; background: rgba(92, 52, 46, 0.08); font-size: 13px; line-height: 1.6; color: var(--ink); }
.addon-included strong { color: var(--primary); }
.addon-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; background: white; cursor: pointer; }
.addon-option input { width: auto; min-height: 0; margin: 3px 0 0; flex: 0 0 auto; }
.addon-option:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(92, 52, 46, 0.12); }
.addon-text { display: grid; gap: 6px; flex: 1 1 auto; min-width: 0; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.addon-name { font-weight: 700; }
.addon-price { color: var(--primary); font-weight: 700; white-space: nowrap; }
.addon-desc { font-size: 13px; line-height: 1.6; color: #5a6270; }
.insurance-ack { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; font-size: 14px; cursor: pointer; }
.insurance-ack input { width: auto; min-height: 0; margin: 2px 0 0; flex: 0 0 auto; }
.noc-intro { font-size: 13px; color: #5a6270; line-height: 1.6; margin: 12px 0; }
.noc-list { margin: 0; display: grid; gap: 10px; }
.noc-row { display: grid; gap: 2px; padding-top: 8px; border-top: 1px solid var(--border); }
.noc-row:first-child { border-top: 0; padding-top: 0; }
.noc-row dt { font-weight: 700; font-size: 13px; }
.noc-row dd { margin: 0; font-size: 13px; color: #5a6270; line-height: 1.6; }
.noc-note { font-size: 12px; color: #98a2b3; margin: 12px 0 0; }
.booking-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; margin: 0 0 24px; border: 1.5px solid #e5a000; border-radius: 16px; background: #fff9ec; color: var(--ink); text-decoration: none; }
.booking-notice-icon { font-size: 18px; line-height: 1.5; color: #b07c00; }
.booking-notice-icon svg { width: 20px; height: 20px; display: block; }
.booking-notice-text { flex: 1; font-size: 13px; line-height: 1.6; }
.booking-notice-arrow { color: #b07c00; font-weight: 800; }
.insurance-doc-link { display: flex; align-items: center; gap: 10px; padding: 13px 16px; margin: 0 0 4px; border: 1.5px solid var(--primary); border-radius: 14px; background: rgba(92, 52, 46, 0.06); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.insurance-doc-link span:first-child { font-size: 18px; }
.insurance-doc-link .doc-icon { width: 20px; height: 20px; display: block; color: var(--primary); flex: 0 0 auto; }
.emergency-nav .nav-icon { width: 1.2em; height: 1.2em; vertical-align: -0.22em; margin-right: 2px; }
.insurance-doc-link .doc-link-arrow { margin-left: auto; color: var(--primary); }
.legal-page { max-width: 760px; }
.legal-content { font-size: 15px; line-height: 1.75; color: var(--ink); }
/* Grid items default to min-width:auto and won't shrink below the wide coverage
   table's min-width, pushing the whole page sideways on mobile. min-width:0 lets
   each block shrink so the table scrolls inside its own overflow-x wrapper. */
.legal-content > * { min-width: 0; }
.legal-content h2 { font-size: 19px; margin: 28px 0 10px; }
.legal-content h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; }
.legal-content li { margin: 4px 0; }
.legal-content a { color: var(--primary); word-break: break-word; }
.doc-meta { margin: 0 0 8px; padding: 14px 16px; border-radius: 14px; background: var(--muted-surface); font-size: 13px; line-height: 1.7; color: #5a6270; }
.doc-meta strong { color: var(--ink); }
.coverage-table-wrap { overflow-x: auto; margin: 0 0 8px; -webkit-overflow-scrolling: touch; max-width: 100%; }
.coverage-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 13px; }
.coverage-table th, .coverage-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; line-height: 1.55; }
.coverage-table thead th { background: var(--ink); color: white; font-weight: 700; white-space: nowrap; }
.coverage-table thead th.is-recommended { background: var(--primary); }
.coverage-table tbody th { background: #fafafa; font-weight: 700; white-space: nowrap; }
.coverage-table td.free { color: var(--primary); font-weight: 700; }
.coverage-price { font-weight: 700; }
.exclusions-callout { margin: 0; padding: 18px 20px; border: 1.5px solid #e5484d; border-radius: 16px; background: #fff5f5; }
.exclusions-callout h2 { margin: 0 0 10px; font-size: 16px; color: #c0383b; }
.exclusions-callout p { margin: 0 0 10px; font-size: 13px; color: #5a6270; }
.exclusions-callout ul { margin: 0; padding-left: 20px; }
.exclusions-callout li { margin: 6px 0; font-size: 13px; color: var(--ink); line-height: 1.55; }
.roadside-grid { display: grid; gap: 12px; }
.roadside-card { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: white; }
.roadside-card h3 { margin: 0 0 8px; font-size: 14px; }
.roadside-card ul { margin: 0; padding-left: 18px; }
.roadside-card li { margin: 4px 0; font-size: 13px; color: #5a6270; line-height: 1.55; }
.agreement-content { display: grid; gap: 20px; }
.agreement-section { padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: white; }
.agreement-section h2 { margin: 0 0 14px; font-size: 17px; }
.agreement-confirm-text { font-size: 13px; line-height: 1.7; color: var(--ink); margin: 0 0 10px; }
.agreement-confirm-cn { color: #5a6270; border-top: 1px dashed var(--border); padding-top: 10px; }
.agreement-intro-cn { color: var(--muted); }
.agreement-signed-note { font-size: 13px; font-weight: 700; color: var(--primary); margin: 0; }
.agreement-link-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; width: 100%; text-decoration: none; }
.site-footer a { color: var(--primary); text-decoration: none; }
/* Emergency contact pinned at the bottom of 我的預約 — big tappable numbers for
   on-the-road use (accident / breakdown / roadside assistance). */
.emergency-contact { margin-top: 40px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--muted-surface); }
.emergency-contact h2 { margin: 0 0 6px; font-size: 18px; }
.emergency-contact > p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.emergency-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.emergency-list li { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: white; }
.emergency-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.emergency-tel { font-size: 23px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; }
.emergency-sub { font-size: 12px; color: var(--muted); line-height: 1.5; }
.emergency-nav { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 15px; border-radius: 14px; background: var(--primary); color: white; font-size: 16px; font-weight: 800; text-decoration: none; }
.emergency-nav-note { display: block; margin-top: 8px; text-align: center; font-size: 12px; color: var(--muted); }
.price-preview { margin: 24px 0 0; padding: 18px 20px; border: 1.5px solid var(--primary); border-radius: 16px; background: rgba(92, 52, 46, 0.05); }
.price-preview-title { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.price-preview-list { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.price-preview-list dt { font-size: 13px; color: #5a6270; }
.price-preview-list dd { margin: 0; font-size: 13px; text-align: right; color: var(--ink); }
.price-preview-list .price-total-label { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 800; font-size: 15px; color: var(--ink); }
.price-preview-list .price-total-value { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 800; font-size: 17px; color: var(--primary); }
.price-preview-loading { margin: 0; font-size: 14px; color: #5a6270; animation: price-pulse 1.2s ease-in-out infinite; }
@keyframes price-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.price-coupon-error { margin: 12px 0 0; font-size: 12px; color: var(--danger); }
.price-preview-note { margin: 12px 0 0; font-size: 12px; color: #98a2b3; }
.submit-area { padding: 28px 4px 0; text-align: center; }
.submit-area > p { margin: 0 auto 20px; color: var(--muted); font-size: 14px; }
.submit-button { width: 100%; border: 0; }
.submit-button:disabled { cursor: wait; opacity: 0.58; }

.bookings-page { min-height: calc(100svh - 76px); }
.loading-card, .booking-card { border: 1px solid var(--border); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.loading-card { position: relative; padding: 28px; color: var(--muted); font-size: 14px; overflow: hidden; }
.loading-card > span { display: block; margin-top: 22px; }
.skeleton-heading, .skeleton-line { height: 16px; border-radius: 999px; background: linear-gradient(90deg, #f0f1f3 25%, #fafafa 50%, #f0f1f3 75%); background-size: 200% 100%; animation: skeleton 1.4s infinite; }
.skeleton-heading { width: 42%; height: 22px; margin-bottom: 24px; }
.skeleton-line { width: 100%; margin-top: 12px; }
.skeleton-line.short { width: 66%; }
@keyframes skeleton { to { background-position: -200% 0; } }
.booking-list { display: grid; gap: 18px; }
.booking-card { position: relative; padding: 28px 24px; overflow: hidden; }
.booking-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--primary); }
.booking-card h2 { margin: 0 0 22px; font-size: 21px; letter-spacing: -0.02em; }
.booking-details { display: grid; grid-template-columns: minmax(92px, 0.7fr) 1.3fr; gap: 12px 16px; margin: 0; }
.booking-details dt { color: var(--muted); font-size: 14px; }
.booking-details dd { margin: 0; font-weight: 650; word-break: break-word; }
.booking-details dd:nth-of-type(4), .booking-details dd:nth-of-type(5) { justify-self: start; padding: 4px 11px; border-radius: 999px; background: #eafff1; color: #07833b; font-size: 13px; font-weight: 750; }
.booking-details dd.pill-green { background: #eafff1; color: #07833b; }
.booking-details dd.pill-amber { background: #fff4db; color: #8a5b00; }
.booking-details dd.pill-muted { background: #f0f1f3; color: #5a6270; }
.booking-card.booking-status-cancelled::before, .booking-card.booking-status-rejected::before { background: #c0c4cc; }
.payment-link { color: var(--primary); font-weight: 750; }

.message { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #eafff1; color: #087e39; font-size: 14px; font-weight: 650; }
.message.error { background: #fff0f0; color: var(--danger); }
.global-banner { position: relative; z-index: 1000; width: min(calc(100% - 32px), 900px); margin: 12px auto 0; padding: 13px 16px; border-radius: 14px; font-size: 14px; font-weight: 700; }
.warning-banner { border: 1px solid #f5cf75; background: #fff9e8; color: #73520b; }
.error-banner { border: 1px solid #fecaca; background: #fff0f0; color: var(--danger); white-space: pre-wrap; word-break: break-word; }
.hidden { display: none !important; }

@media (min-width: 720px) {
  .site-header { height: 88px; }
  .home-hero { grid-template-columns: 0.9fr 1.1fr; min-height: calc(100svh - 88px); padding-top: 72px; }
  .hero-actions { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .hero-actions .button-primary { grid-column: 1 / -1; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-section { grid-template-columns: 1fr 1fr; align-items: center; }
  .page-shell { padding-top: 72px; }
  .form-section { padding: 38px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .submit-button { width: min(100%, 420px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
