:root {
  --ink: #172026;
  --muted: #5c6972;
  --line: rgba(23, 32, 38, 0.13);
  --paper: #fbfaf6;
  --blue: #145f7c;
  --teal: #167164;
  --coral: #c95649;
  --night: #10212c;
  --shadow: 0 14px 34px rgba(18, 38, 48, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}
body.checkout-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.topbar-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17px;
}
.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
}
.brand-copy,
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.04; }
.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-topbar {
  background: #0f1722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drive-topbar-inner {
  min-height: 74px;
}

.drive-brand {
  gap: 0;
}

.drive-brand .brand-logo {
  width: 84px;
  height: 84px;
}

.drive-brand-logo {
  width: 220px !important;
  height: 62px !important;
  object-position: left center;
}

.drive-brand-copy {
  display: grid;
  line-height: 1;
}

.drive-brand-copy strong {
  font-size: 22px;
  color: #0f1722;
  font-weight: 750;
}

.drive-brand-copy small {
  margin-top: 6px;
  color: #7a8794;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-nav {
  gap: 12px;
}

.drive-nav a {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
}

.drive-nav a:hover {
  color: #ffffff;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a, .cart-button, .primary-button, .dark-button, .link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-weight: 650;
  cursor: pointer;
}
.danger-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 86, 73, 0.28);
  border-radius: 0;
  padding: 0 12px;
  color: #a83e35;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}
.nav a {
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.language-switch {
  min-height: 36px;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  background: rgba(12, 20, 28, 0.78);
  overflow: hidden;
}

.language-switch a {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #97aab7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switch a.active {
  color: #111a22;
  background: #f3f6f8;
}

.language-switch a:last-child {
  border-right: 0;
}

.session-pill {
  max-width: 220px;
  min-height: 34px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #dfe5ea;
  border-radius: 0;
  color: #344450;
  background: #fff;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-pill span {
  color: var(--teal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-button, .dark-button {
  gap: 8px;
  padding: 0 13px;
  border: 0;
  color: #fff;
  background: var(--night);
}
.cart-button span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
}
.primary-button {
  border: 0;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
}
.link-button {
  padding: 0 14px;
  color: var(--night);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 19, 28, 0.84), rgba(7, 19, 28, 0.36)),
    url("/assets/citypass/viber_image_2026-05-19_12-07-08-080.jpg") center / cover no-repeat;
}

.drive-results-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(12, 22, 31, 0.58), rgba(12, 22, 31, 0.18)),
    url("/assets/citypass/viber_image_2026-05-19_12-07-08-080.jpg") center / cover no-repeat;
  border-bottom: 1px solid #d8e0e6;
  min-height: 280px;
}

.drive-search-stage {
  position: sticky;
  top: 88px;
  z-index: 18;
  margin-top: -78px;
  margin-bottom: 24px;
}

.drive-results-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.drive-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: end;
  padding: 42px 0 118px;
}

.drive-results-head h1 {
  margin: 8px 0 10px;
  max-width: 760px;
  font-size: 42px;
  line-height: 0.98;
  color: #ffffff;
}

.drive-results-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.drive-results-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.drive-results-stats article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.drive-results-stats span,
.drive-result-status span,
.drive-result-facts span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b8795;
}

.drive-results-stats strong {
  font-size: 22px;
  color: #101922;
}

.drive-hero-search-card {
  display: grid;
  gap: 14px;
  padding: 28px 24px 24px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 50px rgba(10, 17, 24, 0.18);
}

.drive-hero-search-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.drive-hero-search-note {
  color: #65717f;
  font-size: 13px;
}

.drive-hero-search-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.drive-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: #f4f7fa;
  border: 1px solid #dbe4ea;
  color: #1c2935;
  font-size: 13px;
  font-weight: 600;
}

.drive-inline-check input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--coral);
}

.drive-search-submit {
  min-height: 46px;
}

.drive-sticky-searchbar {
  position: relative;
  z-index: 16;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0;
  backdrop-filter: blur(14px);
}

.drive-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.drive-filter-bar label {
  display: grid;
  gap: 8px;
}

.drive-filter-bar .primary-button {
  min-height: 46px;
}

.drive-inline-check-compact {
  align-self: center;
  min-height: 46px;
  padding-top: 18px;
}

.drive-results-main {
  padding: 0 0 32px;
  background: #f7fafc;
}

.drive-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.drive-trust-strip article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #d8e0e6;
}

.drive-trust-strip strong {
  color: #101922;
  font-size: 15px;
}

.drive-trust-strip span {
  color: #687583;
  font-size: 13px;
}

.drive-results-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.drive-results-title h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.04;
  color: #101922;
}

.drive-results-title p {
  max-width: 480px;
  margin: 0;
  color: #6b7785;
}

.drive-results-list {
  display: grid;
  gap: 16px;
}

.drive-result-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  background: #fff;
  border: 1px solid #d8e0e6;
  box-shadow: 0 16px 34px rgba(12, 18, 25, 0.06);
  overflow: hidden;
}

.drive-result-media {
  position: relative;
  display: block;
  background: #eef3f6;
  min-height: 210px;
}

.drive-result-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.drive-result-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(15, 23, 34, 0.88);
  color: #f4f7fa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.drive-result-main {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-left: 1px solid #e5ebf0;
}

.drive-result-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.drive-result-heading h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #0f1722;
}

.drive-result-heading p {
  margin: 0;
  color: #6a7684;
  font-size: 14px;
}

.drive-result-price {
  text-align: right;
  white-space: nowrap;
}

.drive-result-price span {
  display: block;
  margin-bottom: 4px;
  color: #7a8794;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.drive-result-price strong {
  display: block;
  font-size: 24px;
  color: #101922;
}

.drive-result-price small {
  color: #7a8794;
  font-size: 12px;
}

.drive-result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drive-result-specs span {
  padding: 7px 10px;
  background: #f4f7f9;
  border: 1px solid #dde5eb;
  color: #263341;
  font-size: 12px;
}

.drive-result-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drive-result-facts article {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  background: #f8fafb;
  border: 1px solid #e2e8ee;
}

.drive-result-facts strong,
.drive-result-status strong {
  color: #101922;
  font-size: 15px;
}

.drive-result-side {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #f8fafb;
  border-left: 1px solid #e2e8ee;
}

.drive-result-status {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8ee;
}

.drive-result-actions {
  display: grid;
  gap: 10px;
}

.drive-result-actions .primary-button,
.drive-result-actions .link-button {
  justify-content: center;
}

.drive-footer {
  border-top: 1px solid #d9e1e7;
  background: #fff;
}

.drive-footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.drive-footer-brand strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: #0f1722;
}

.drive-footer-brand p {
  margin: 0;
  max-width: 620px;
  color: #677482;
}

.drive-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.drive-footer-links a {
  color: #44515d;
  font-size: 13px;
}

.drive-reservation-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.drive-reservation-banner {
  margin-bottom: 16px;
}

.drive-reservation-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.drive-reservation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.drive-reservation-notes {
  display: grid;
  gap: 14px;
}

@media (max-width: 1180px) {
  .drive-results-head,
  .drive-result-card,
  .drive-footer-inner,
  .drive-support-grid,
  .drive-reservation-grid {
    grid-template-columns: 1fr;
  }

  .drive-hero-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drive-result-main,
  .drive-result-side {
    border-left: 0;
  }

  .drive-result-side {
    border-top: 1px solid #e2e8ee;
  }
}

@media (max-width: 760px) {
  .drive-results-head,
  .drive-results-stats,
  .drive-filter-bar,
  .drive-trust-strip,
  .drive-results-title,
  .drive-result-heading,
  .drive-result-facts {
    grid-template-columns: 1fr;
  }

  .drive-hero-search-top,
  .drive-hero-search-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .drive-results-head {
    padding-top: 24px;
  }

  .drive-results-head h1 {
    font-size: 36px;
  }

  .drive-search-stage {
    top: 74px;
    margin-top: -36px;
  }

  .drive-brand-copy {
    display: none;
  }

.drive-reservation-hero {
  flex-direction: column;
}

  .drive-result-price {
    text-align: left;
  }

  .drive-result-media {
    min-height: 220px;
  }

  .drive-footer-links {
    justify-content: flex-start;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f3f0e9;
}
.site-footer-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: #51606a;
  font-size: 13px;
}
.site-footer-inner strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer-nav a {
  color: var(--ink);
}

.legal-shell {
  padding-top: 42px;
  padding-bottom: 56px;
}
.legal-hero {
  margin-bottom: 22px;
}
.legal-content {
  display: grid;
  gap: 22px;
}
.legal-block h2 {
  margin-bottom: 10px;
  font-size: 20px;
}
.legal-block p {
  max-width: 860px;
  margin-bottom: 10px;
  color: #45545e;
}
.hero-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 44px 0;
}
.hero-copy { width: min(640px, 100%); }
.eyebrow, .section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #d9b96a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.02;
}
.hero p {
  max-width: 580px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
}
.search-panel {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.55fr) auto;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
label { display: grid; gap: 6px; color: var(--ink); font-weight: 500; }
label span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}
textarea { min-height: 92px; padding-top: 10px; resize: vertical; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 18px;
}
.metrics article {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.11);
}
.metrics strong { display: block; font-size: 22px; }
.metrics span { color: rgba(255,255,255,0.76); font-size: 12px; font-weight: 700; }

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 52px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.section-kicker { color: var(--teal); }
h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.08; }
.section-head p { max-width: 380px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.category-tabs a.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.offer-card, .panel, .steps article, .voucher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.offer-image { height: 158px; background: #eee center / cover no-repeat; }
.offer-body { display: grid; gap: 10px; padding: 16px; }
.offer-meta, .partner-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.offer-card h3 { margin-bottom: 0; font-size: 18px; line-height: 1.15; }
.offer-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.offer-footer, .total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { display: grid; }
.price small { color: var(--muted); font-size: 12px; text-decoration: line-through; font-weight: 800; }
.price strong { color: var(--coral); font-size: 19px; }
.workflow { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
.steps { display: grid; gap: 10px; }
.steps article { padding: 16px; box-shadow: none; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span, .note, .empty-state { color: var(--muted); font-size: 13px; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(8, 17, 23, 0.5);
}
.drawer.open { display: block; }
.drawer-panel {
  width: min(460px, calc(100% - 24px));
  height: calc(100% - 24px);
  margin: 12px 12px 12px auto;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 10px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 24px; }
.drawer-head button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 22px;
}
.drawer-body { overflow: auto; display: grid; align-content: start; gap: 12px; padding: 18px; }
.cart-item { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-item strong { display: block; }
.cart-item span { color: var(--muted); font-size: 12px; font-weight: 700; }
.cart-item button { border: 0; color: var(--coral); background: transparent; font-weight: 800; cursor: pointer; }
.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qty-controls button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--night);
  background: #fff;
}
.qty-controls span {
  min-width: 18px;
  text-align: center;
}

.page-shell { width: min(calc(100% - 32px), 900px); margin: 0 auto; padding: 38px 0; }
.panel { padding: 20px; margin-top: 16px; }
.form-grid { display: grid; gap: 12px; }
.admin-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; align-items: start; }
.table-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.table-actions form { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.voucher-list { display: grid; gap: 12px; }
.voucher-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: none;
}
.voucher-card > div {
  min-width: 0;
}
.voucher-code {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.voucher-qr {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border: 1px solid #edf0f2;
  border-radius: 10px;
  background: #fff;
}
.qr-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  background: #fff;
}
.pagination-note {
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.voucher-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.voucher-card-actions {
  margin-top: 12px;
}
.customer-order-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.customer-order-hero-actions {
  justify-content: flex-end;
}
.cpay-redirect-panel {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.status-unused { color: var(--teal); font-weight: 900; }
.status-used { color: var(--coral); font-weight: 900; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-row input {
  width: 16px;
  min-height: 16px;
}

@media (max-width: 880px) {
  .search-panel, .offers-grid, .workflow, .admin-grid { grid-template-columns: 1fr; }
  .section-head, .metrics { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar-inner { display: grid; padding: 14px 0; }
  .nav { flex-wrap: wrap; }
  .session-pill { max-width: 100%; }
  .cart-button { width: 100%; }
  .hero { min-height: auto; }
  .section { padding: 40px 0; }
  .weekday-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-section { padding: 14px; }
  .sticky-form-actions { justify-content: stretch; }
  .sticky-form-actions .primary-button,
  .sticky-form-actions .link-button { width: 100%; }
}

/* Marketplace home: cleaner travel-platform treatment inspired by search-first tour marketplaces. */
.marketplace-home {
  --paper: #ffffff;
  --ink: #1f2933;
  --muted: #5f6b76;
  --line: rgba(31, 41, 51, 0.12);
  --blue: #0b6e69;
  --teal: #0b6e69;
  --coral: #ff5a1f;
  --night: #14213d;
  background: #fff;
}

.marketplace-home .topbar {
  background: #fff;
  border-bottom: 1px solid #edf0f2;
  backdrop-filter: none;
}

.marketplace-home .topbar-inner {
  min-height: 72px;
}

.marketplace-home .brand-mark {
  width: 34px;
  height: 34px;
  background: #0b6e69;
  border-radius: 7px;
  box-shadow: none;
}

.marketplace-home .brand-logo {
  width: 100px;
  height: 100px;
}

.marketplace-home .brand {
  font-size: 18px;
  font-weight: 500;
}

.marketplace-home .brand small {
  color: #697784;
}

.marketplace-home .nav a {
  font-size: 14px;
  font-weight: 500;
}

.marketplace-home .language-switch a {
  font-size: 11px;
}

.marketplace-home .cart-button {
  color: var(--night);
  background: #fff;
  border: 1px solid #dfe5ea;
  box-shadow: none;
}

.marketplace-home .cart-button span {
  color: #fff;
  background: var(--coral);
}

.marketplace-home .marketplace-hero {
  min-height: 440px;
  color: var(--ink);
  background: linear-gradient(180deg, #f5fbfa 0%, #fff 78%);
  background-image: linear-gradient(180deg, #f5fbfa 0%, #fff 78%);
}

.marketplace-home .hero-inner {
  display: grid;
  justify-items: center;
  padding: 58px 0 38px;
  text-align: center;
}

.marketplace-home .hero-copy {
  width: min(820px, 100%);
}

.marketplace-home .eyebrow {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
}

.marketplace-home h1 {
  max-width: 860px;
  margin: 0 auto 14px;
  color: #1f2933;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.marketplace-home .hero p {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #52606d;
  font-size: 17px;
}

.marketplace-home .search-panel {
  width: min(860px, 100%);
  grid-template-columns: minmax(260px, 1fr) 220px 132px;
  gap: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(20, 33, 61, 0.13);
}

.marketplace-home .search-panel label {
  gap: 2px;
  padding: 8px 18px;
  border-right: 1px solid #edf0f2;
  text-align: left;
}

.marketplace-home .search-panel label:nth-child(2) {
  border-right: 0;
}

.marketplace-home .search-panel input,
.marketplace-home .search-panel select {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 15px;
}

.marketplace-home .search-panel .primary-button {
  min-height: 52px;
  border-radius: 999px;
  background: var(--coral);
  font-size: 15px;
  font-weight: 500;
}

.sticky-searchbar {
  position: sticky;
  top: 72px;
  z-index: 18;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  backdrop-filter: blur(16px);
}

.sticky-search-form {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 118px;
  gap: 0;
  padding: 5px;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
}

.sticky-search-form label {
  gap: 1px;
  padding: 6px 16px;
  border-right: 1px solid #edf0f2;
}

.sticky-search-form label:nth-child(2) {
  border-right: 0;
}

.sticky-search-form input,
.sticky-search-form select {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 14px;
}

.sticky-search-form .primary-button {
  min-height: 46px;
  border-radius: 999px;
  background: var(--coral);
  font-size: 14px;
  font-weight: 500;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.quick-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #344450;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.admin-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.partner-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.customer-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.partner-page h1,
.partner-page h2,
.partner-page h3,
.partner-page strong,
.partner-page .brand {
  font-weight: 500;
}

.admin-page,
.partner-page,
.customer-page {
  color: #15202a;
  background:
    radial-gradient(circle at top left, rgba(60, 83, 100, 0.28), transparent 26%),
    linear-gradient(180deg, #0f1720 0, #121c25 180px, #e9edf1 181px, #eef2f5 100%);
}

.admin-page .topbar,
.partner-page .topbar {
  background: rgba(13, 21, 29, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(8, 14, 20, 0.18);
}

.admin-page .topbar-inner,
.partner-page .topbar-inner {
  max-width: none;
  width: min(calc(100% - 32px), 1380px);
  min-height: 64px;
}

.customer-page .topbar {
  background: rgba(13, 21, 29, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(8, 14, 20, 0.18);
}

.customer-page .topbar-inner {
  max-width: none;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
}

.customer-page h1,
.customer-page h2,
.customer-page h3,
.customer-page strong,
.customer-page .brand {
  font-weight: 500;
}

.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-page strong,
.admin-page .brand {
  font-weight: 500;
}

.admin-page h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: 0;
}

.admin-page .topbar::after,
.partner-page .topbar::after,
.customer-page .topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.16) 20%, rgba(255,255,255,0.08) 80%, transparent 100%);
  pointer-events: none;
}


.admin-page .brand,
.partner-page .brand,
.customer-page .brand {
  gap: 10px;
  font-size: 16px;
  color: #f2f5f7;
}

.admin-page .brand-logo,
.partner-page .brand-logo,
.customer-page .brand-logo {
  width: 88px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.admin-page .brand small,
.partner-page .brand small,
.customer-page .brand small {
  margin-top: 3px;
  color: #98a9b7;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.admin-page .nav,
.partner-page .nav,
.customer-page .nav {
  gap: 6px;
}

.admin-page .nav a,
.partner-page .nav a,
.customer-page .nav a {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #98a9b7; 
}

.admin-page .nav a:hover,
.partner-page .nav a:hover,
.customer-page .nav a:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.08);
}

.admin-page .session-pill,
.partner-page .session-pill,
.customer-page .session-pill {
  min-height: 32px;
  border-color: rgba(255,255,255,0.08);
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  color: #eef3f6;
  font-size: 11px;
}

.customer-shell {
  width: min(calc(100% - 40px), 1320px);
  margin: 0 auto;
  padding: 20px 0 56px;
}

.customer-shell-login {
  min-height: auto;
  display: grid;
  align-items: start;
  padding-top: 28px;
}

.customer-login-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 420px);
  gap: 32px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(11, 18, 25, 0.98) 0%, rgba(18, 29, 38, 0.96) 58%, rgba(234, 239, 243, 0.94) 58%, rgba(241, 244, 247, 0.98) 100%);
  box-shadow: 0 28px 60px rgba(8, 14, 20, 0.18);
}

.customer-login-copy {
  min-height: 540px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 40px 32px;
  color: #f4f7f9;
  background: linear-gradient(180deg, rgba(10, 18, 25, 0.98) 0%, rgba(16, 26, 35, 0.92) 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.customer-login-copy h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
}

.customer-login-copy p {
  max-width: 620px;
  margin-bottom: 20px;
  color: #b7c5cf;
  font-size: 15px;
}

.customer-login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customer-login-highlights article,
.customer-summary-metrics article,
.customer-empty-state {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.customer-login-highlights strong,
.customer-summary-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.customer-login-highlights span,
.customer-summary-metrics span {
  color: #9db0bd;
  font-size: 12px;
}

.customer-login-card,
.customer-summary-panel,
.customer-booking-card,
.customer-empty-state {
  border: 1px solid #dbe4ea;
  background: #fdfefe;
  box-shadow: 0 24px 54px rgba(12, 21, 28, 0.08);
}

.customer-login-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 30px;
  align-self: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.customer-login-card-head h2,
.customer-summary-head h2,
.customer-group-head h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.customer-info-banner {
  padding: 12px 14px;
  border: 1px solid #cfdbe3;
  background: #f3f7fa;
  color: #24323c;
  font-size: 13px;
}

.customer-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: #f4f7f9;
}

.customer-hero-copy h1 {
  margin: 4px 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
}

.customer-hero-copy p {
  margin: 0;
  color: #aec0cb;
  font-size: 14px;
}

.customer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-overview-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.customer-summary-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.customer-summary-metrics {
  display: grid;
  gap: 10px;
}

.customer-summary-metrics article {
  border-color: #e1e8ed;
  background: #f5f8fa;
}

.customer-summary-metrics strong {
  margin-bottom: 4px;
  color: #15212b;
  font-size: 24px;
}

.customer-filter-panel {
  display: grid;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e6edf1;
}

.customer-filter-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.customer-content-column,
.customer-order-groups,
.customer-order-stack {
  display: grid;
  gap: 18px;
}

.customer-order-group {
  display: grid;
  gap: 14px;
}

.customer-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.customer-booking-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.customer-booking-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.customer-booking-top h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.customer-booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-booking-meta,
.customer-voucher-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-booking-meta span,
.customer-voucher-meta span {
  padding: 7px 10px;
  border: 1px solid #dbe4ea;
  background: #f3f7fa;
  font-size: 12px;
  color: #33424f;
}

.customer-voucher-grid {
  display: grid;
  gap: 14px;
}

.customer-voucher-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e1e8ed;
  background: #fbfdfe;
}

.customer-voucher-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.customer-voucher-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.customer-voucher-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.04;
}

.customer-voucher-code {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #16364a;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.customer-voucher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-voucher-qr {
  justify-self: end;
}

.customer-pagination {
  margin-top: 18px;
}

.auth-page .topbar-inner {
  width: min(calc(100% - 40px), 1320px);
}

.auth-page {
  background: linear-gradient(180deg, #eef2f5 0%, #f5f7f9 100%);
}

.auth-page .topbar {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #dde4ea;
  backdrop-filter: none;
  box-shadow: 0 8px 20px rgba(12, 21, 28, 0.04);
}

.auth-page .topbar::after {
  display: none;
}

.auth-page .brand {
  color: #17222c;
}

.auth-page .brand-logo {
  width: 116px;
  height: 64px;
}

.auth-page .language-switch {
  border-color: #d7e0e6;
  background: #ffffff;
}

.auth-page .language-switch a {
  color: #657684;
  border-right-color: #e0e6eb;
}

.auth-page .language-switch a.active {
  color: #ffffff;
  background: #15212b;
}

.auth-page .nav {
  margin-left: auto;
}

.auth-shell {
  width: min(calc(100% - 40px), 1120px);
  min-height: auto;
  margin: 0 auto;
  padding: 32px 0 56px;
  display: grid;
  align-items: start;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  background: #ffffff;
  border: 1px solid #dbe4ea;
  box-shadow: 0 24px 54px rgba(12, 21, 28, 0.08);
  overflow: hidden;
}

.auth-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 420px;
  padding: 38px 34px;
  color: #f4f7f9;
  background: linear-gradient(180deg, #111a22 0%, #1b2630 100%);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
}

.auth-copy p {
  max-width: 420px;
  margin: 0;
  color: #b6c5cf;
  font-size: 15px;
}

.auth-form {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 34px 34px 30px;
  background: #ffffff;
}

.admin-shell {
  width: min(calc(100% - 32px), 1380px);
  margin: 0 auto;
  padding: 10px 0 52px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.admin-sidebar-panel {
  position: sticky;
  align-self: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: calc(100vh - 120px);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  color: #dbe4ea;
  background:
    linear-gradient(180deg, rgba(27, 39, 49, 0.98) 0%, rgba(18, 28, 37, 0.98) 100%);
  box-shadow: 0 30px 60px rgba(5, 12, 17, 0.28);
}

.admin-sidebar-panel > div:first-child {
  display: grid;
  gap: 8px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar-panel .section-kicker,
.admin-sidebar-panel .note {
  color: #94a5b1;
}

.admin-sidebar-panel h1,
.admin-titlebar h1 {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.12;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.admin-side-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #ced8df;
  font-size: 12px;
  font-weight: 500;
}

.admin-side-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.admin-side-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #1d8f8a 0%, #15626f 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 28px rgba(20, 98, 111, 0.24);
}

.admin-sidebar-panel .sidebar-logout {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding: 0 18px;
  margin-top: 10px;
  border-color: rgba(255,255,255,0.12);
  color: #f0f4f7;
  background: rgba(255,255,255,0.04);
}

.admin-sidebar-panel .sidebar-logout:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.admin-main {
  display: grid;
  gap: 18px;
  align-items: start;
}

.admin-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-main > * {
  min-width: 0;
}

.admin-titlebar,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-titlebar {
  padding: 8px 2px 2px;
  color: #f4f7f9;
}

.admin-titlebar .link-button {
  background: #fff;
}

.admin-titlebar .table-actions {
  justify-content: flex-end;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.partner-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid article {
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fcfdfe 0%, #f5f8fa 100%);
  box-shadow: 0 18px 36px rgba(15, 26, 34, 0.08);
}

.stat-grid span {
  display: block;
  margin-bottom: 6px;
  color: #778591;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-grid strong {
  font-size: 21px;
  line-height: 1.1;
}

.admin-page .panel {
  margin-top: 0;
  border-color: rgba(219, 227, 233, 0.9);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 26, 34, 0.08);
}

.admin-page .panel-head .table-actions input,
.admin-page .panel-head .table-actions select {
  min-height: 36px;
}

.admin-page .section-kicker {
  color: #6f7f8d;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.admin-page h2 {
  font-size: 19px;
}

.admin-form-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c3d0d8;
  border-radius: 0;
  background: #f3f6f8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.partner-page input,
.partner-page select,
.partner-page textarea,
.customer-page input,
.customer-page select,
.customer-page textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c3d0d8;
  border-radius: 0;
  background: #f3f6f8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-page input:focus,
.admin-page select:focus,
.admin-page textarea:focus,
.partner-page input:focus,
.partner-page select:focus,
.partner-page textarea:focus,
.customer-page input:focus,
.customer-page select:focus,
.customer-page textarea:focus {
  border-color: #8ea8ba;
  box-shadow: 0 0 0 5px rgba(37, 92, 124, 0.12);
  background: #fff;
}

.admin-page input[type="file"] {
  padding: 9px 11px;
}

.admin-thumb {
  width: 58px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef1f4;
}

.admin-preview {
  width: 180px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8ee;
  background: #eef1f4;
}

.image-edit-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
}

.offer-editor {
  padding: 0;
  overflow: clip;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.offer-editor-nav {
  margin-bottom: 10px;
}

.editor-section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid #e9eef2;
  border-bottom: 1px solid #e9eef2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.editor-section:nth-child(2n) {
  border-right: 0;
}

.editor-section:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.editor-section-span {
  grid-column: 1 / -1;
}

.editor-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.editor-section-head span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #17384a 0%, #25556f 100%);
  font-size: 11px;
}

.admin-page .editor-section-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.compact-grid {
  display: grid;
  gap: 10px;
}

.compact-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.geo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sticky-form-actions {
  justify-content: flex-end;
  padding: 14px 18px;
  border-top: 1px solid #e9eef2;
  background: #f7f9fb;
}

.vehicle-create-panel {
  padding: 0;
}

.vehicle-create-panel .form-error-panel,
.vehicle-create-panel > .panel:not(.vehicle-create-panel),
.vehicle-create-panel > .editor-grid,
.vehicle-create-panel > .sticky-form-actions {
  margin-left: 20px;
  margin-right: 20px;
}

.vehicle-create-panel .form-error-panel {
  margin-top: 20px;
}

.vehicle-create-panel > .panel-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e9eef2;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.vehicle-create-panel > .panel-head h2 {
  margin: 0;
}

.vehicle-create-panel > .editor-grid {
  margin-top: 0;
}

.vehicle-create-panel > .sticky-form-actions {
  margin-left: 0;
  margin-right: 0;
}

.availability-panel {
  overflow: clip;
}

.availability-builder {
  display: grid;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7ebef;
}

.weekday-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-picker label {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 8px 6px;
  border: 1px solid #d9e1e7;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  cursor: pointer;
}

.weekday-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-picker span {
  color: #18242d;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.weekday-picker small {
  color: #66737d;
  font-size: 10px;
}

.weekday-picker label:has(input:checked) {
  border-color: #17384a;
  background: linear-gradient(180deg, #eef4f8 0%, #e6eef4 100%);
  box-shadow: inset 0 0 0 1px #17384a;
}

.time-builder-row {
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr) 140px 140px;
  gap: 10px;
  align-items: end;
}

.time-field input {
  font-variant-numeric: tabular-nums;
}

.time-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: end;
  min-height: 42px;
}

.time-presets button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d7e0e6;
  border-radius: 0;
  color: #27333d;
  background: #f9fbfc;
  cursor: pointer;
}

.time-presets button.active,
.time-presets button:hover {
  border-color: #17384a;
  color: #17384a;
  background: #eef4f8;
}

.map-link {
  width: fit-content;
  margin-top: 8px;
}

.gallery-uploader {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) 110px auto;
  gap: 10px;
  align-items: end;
}

.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gallery-admin-grid article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.gallery-admin-grid img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-admin-grid strong,
.gallery-admin-grid span {
  display: block;
  font-size: 12px;
}

.gallery-admin-grid span {
  color: var(--muted);
}

.gallery-admin-grid form {
  grid-column: 1 / -1;
}

.offers-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 160px minmax(180px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.admin-orders-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) 170px minmax(180px, 1fr) 150px 150px auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.customer-account-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.manifest-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) 160px 160px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.booking-view-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segmented-control {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d5dee4;
  border-radius: 8px;
  background: #f6f8fa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.segmented-control a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #5a6976;
  font-size: 12px;
}

.segmented-control button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #5a6976;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.segmented-control a.active {
  color: #102028;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 34, 0.08);
}

.segmented-control button.active {
  color: #102028;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 34, 0.08);
}

.compact-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-orders-stats,
.customer-account-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-account-stats {
  margin-bottom: 16px;
}

.customer-order-groups {
  display: grid;
  gap: 16px;
}

.customer-order-group .panel-head {
  margin-bottom: 14px;
}

.customer-order-card {
  margin-top: 0;
}

.customer-order-head {
  gap: 12px;
}

.customer-order-actions {
  justify-content: flex-end;
}

.customer-voucher-grid {
  gap: 10px;
}

.customer-voucher-card {
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.offer-admin-list {
  display: grid;
  gap: 10px;
}

.order-admin-list {
  display: grid;
  gap: 10px;
}

.offer-admin-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  box-shadow: 0 18px 40px rgba(15, 26, 34, 0.08);
}

.offer-admin-row > img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 0;
  background: #eef1f4;
}

.offer-admin-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.offer-admin-title {
    display: flex;
    align-items: start;
    gap: 12px;
    flex-direction: column;
}

.admin-page .offer-admin-title h2 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.25;
}

.offer-admin-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.offer-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-admin-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  color: #43515d;
  background: #f4f7f9;
  font-size: 11px;
}

.offer-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.offer-admin-actions form {
  margin: 0;
}

.order-admin-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  box-shadow: 0 18px 40px rgba(15, 26, 34, 0.08);
}

.order-admin-main {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.bulk-actions-bar {
  justify-content: flex-end;
}

.bulk-check-label,
.bulk-row-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bulk-row-check {
  align-self: start;
  padding-top: 6px;
}

.order-admin-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-page .order-admin-top h2 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
}

.order-admin-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.order-admin-meta,
.order-admin-codes,
.order-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bulk-actions-bar select {
  min-height: 36px;
}

.order-payment-panel {
  margin-top: 16px;
}

.order-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-payment-grid article {
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: #f7f9fb;
}

.order-payment-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.order-admin-meta span,
.order-admin-codes span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  color: #475664;
  background: #f4f7f9;
  font-size: 11px;
}

.order-admin-actions {
  justify-content: flex-end;
}

.order-admin-actions form {
  margin: 0;
}

.partner-service-create {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.reservation-form .span-2 {
  grid-column: span 2;
}

.partner-service-create .primary-button,
.reservation-form .primary-button {
  min-width: 0;
  white-space: normal;
}

.form-error-panel {
  border-color: rgba(201, 86, 73, 0.34);
  color: #7c3029;
  background: #fff6f4;
  box-shadow: none;
  border-left: 4px solid #c95649;
  border-radius: 0;
}

.field-error {
  margin: -2px 0 0;
  color: #a83e35;
  font-size: 12px;
  font-weight: 600;
}

.input-invalid,
input.input-invalid,
select.input-invalid,
textarea.input-invalid {
  border-color: rgba(201, 86, 73, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 86, 73, 0.12);
}

.input-invalid:focus,
input.input-invalid:focus,
select.input-invalid:focus,
textarea.input-invalid:focus {
  border-color: rgba(201, 86, 73, 0.9);
  box-shadow: 0 0 0 4px rgba(201, 86, 73, 0.16);
}

.form-error-panel strong {
  display: block;
  margin-bottom: 6px;
}

.form-error-panel ul {
  margin: 0;
  padding-left: 18px;
}

.booking-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: #fff;
}

.booking-service-row h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.booking-service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.status-mini-form {
  display: inline-grid;
  grid-template-columns: 130px auto;
  gap: 6px;
  align-items: center;
}

.status-mini-form select {
  min-height: 34px;
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.booking-weekdays span {
  padding: 0 6px;
  color: #667481;
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.calendar-day:hover {
  border-color: #bac7d1;
  box-shadow: 0 10px 24px rgba(16, 33, 44, 0.06);
}

.calendar-day.active {
  border-color: #0b6e69;
  box-shadow: inset 0 0 0 1px #0b6e69;
  background: #f5fbfa;
}

.calendar-day.is-today strong {
  color: #0b6e69;
}

.calendar-day.is-outside {
  color: #a2aeb8;
  background: #f6f8fa;
}

.calendar-day.is-outside strong,
.calendar-day.is-outside span,
.calendar-day.is-outside small {
  color: #a2aeb8;
}

.booking-calendar strong {
  font-size: 18px;
}

.booking-calendar span,
.booking-calendar small {
  color: var(--muted);
  font-size: 12px;
}

.reservation-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-edit-form .span-2 {
  grid-column: 1 / -1;
}

.reservation-card-list {
  display: grid;
  gap: 10px;
}

.reservation-card {
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.reservation-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.reservation-card-top strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.reservation-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.reservation-card-meta,
.reservation-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.reservation-card-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #e2e8ee;
  border-radius: 0;
  color: #4c5d69;
  background: #f8fafb;
  font-size: 12px;
}

.reservation-detail-drawer .drawer-panel {
  max-width: 760px;
}

.reservation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-detail-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.reservation-detail-grid article.span-2 {
  grid-column: 1 / -1;
}

.reservation-detail-grid span {
  color: #66737d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reservation-detail-grid strong {
  font-size: 14px;
  font-weight: 500;
}

.reservation-quick-edit {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.activity-log {
  display: grid;
  gap: 10px;
}

.activity-log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 28px rgba(15, 26, 34, 0.06);
}

.activity-log-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.activity-log-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.activity-log-item > div {
  min-width: 0;
}

.activity-log-item .status-pill {
  justify-self: end;
}

.activity-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.exception-builder-row {
  grid-template-columns: 160px 140px 160px 140px;
}

.preview-banner {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #d7dee5;
  border-radius: 0;
  color: #34424f;
  background: #fff;
  font-size: 13px;
}

.offer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.offer-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.offer-gallery-grid figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.status-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #53636f;
}

.status-pill.active {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.paused {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.pending_payment {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.paid,
.status-pill.unused {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.citypass {
  color: #17384a;
  border-color: #c7d7e2;
  background: #edf3f7;
}

.status-pill.manual {
  color: #56646f;
  border-color: #d9e1e6;
  background: #f3f6f8;
}

.status-pill.cancelled,
.status-pill.refunded,
.status-pill.used {
  color: #8d453d;
  border-color: #ebc8c2;
  background: #f9eeeb;
}

.status-pill.checked_in {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.no_show {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.blocked {
  color: #604958;
  border-color: #ddcfda;
  background: #f3edf2;
}

.status-pill.admin {
  color: #17384a;
  border-color: #c7d7e2;
  background: #edf3f7;
}

.status-pill.partner {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.system {
  color: #56646f;
  border-color: #d9e1e6;
  background: #f3f6f8;
}

.admin-detail-page {
  width: 100%;
}

.admin-detail-shell {
  padding-top: 24px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.9fr;
  gap: 18px;
  align-items: end;
}

.order-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.order-summary-panel,
.order-payment-panel {
  align-content: start;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-info-grid article {
  padding: 14px;
  border: 1px solid #e3e8ed;
  border-radius: 8px;
  background: #fbfcfd;
}

.order-info-grid span,
.order-info-grid p {
  color: var(--muted);
  font-size: 12px;
}

.order-info-grid span {
  display: block;
  margin-bottom: 6px;
}

.order-info-grid p {
  margin: 6px 0 0;
}

.order-update-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-update-form .span-2 {
  grid-column: 1 / -1;
}

.responsive-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.order-detail-grid h2 {
  margin-bottom: 4px;
}

.status-update {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.customer-order-card .panel-head {
  align-items: start;
}

.voucher-code-small {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #202830;
}

button.voucher-code-small {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qr-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(12, 20, 28, 0.62);
}

.qr-lightbox.open {
  display: grid;
}

.qr-lightbox-panel {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
}

.qr-lightbox-panel img {
  width: min(320px, 76vw);
  height: min(320px, 76vw);
  object-fit: contain;
}

.qr-lightbox-panel div {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  color: var(--ink);
}

.qr-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.validator-panel {
  margin-top: 0;
}

.validator-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.voucher-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.admin-page table {
  font-size: 12px;
  background: #fff;
}

.admin-page td {
  color: #27333d;
}

.admin-page .primary-button {
  background: linear-gradient(135deg, #1b455e 0%, #163446 100%);
  box-shadow: 0 14px 28px rgba(22, 52, 70, 0.18);
}

.admin-page .danger-button,
.partner-page .danger-button,
.admin-page .link-button,
.partner-page .link-button,
.admin-page .dark-button,
.partner-page .dark-button,
.admin-page .primary-button,
.partner-page .primary-button,
.admin-page .nav a,
.partner-page .nav a,
.admin-page label,
.partner-page label,
.admin-page input,
.partner-page input,
.admin-page select,
.partner-page select,
.admin-page textarea,
.partner-page textarea {
  font-weight: 400;
}

.admin-page .primary-button,
.partner-page .primary-button,
.customer-page .primary-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.admin-page .link-button,
.partner-page .link-button,
.customer-page .link-button,
.admin-page .danger-button,
.partner-page .danger-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 12px;
}

.admin-page .link-button,
.partner-page .link-button,
.customer-page .link-button {
  border-color: #d3dde4;
  color: #25313b;
  background: #f8fbfc;
}

.admin-page .link-button:hover,
.partner-page .link-button:hover,
.customer-page .link-button:hover {
  background: #f4f7f9;
}

.admin-page .danger-button,
.partner-page .danger-button {
  border-color: #ebc2bc;
  color: #9a4137;
  background: #fff8f7;
}

.admin-page th,
.partner-page th {
  padding: 14px 10px;
  color: #8fa1ad;
  font-size: 10px;
  letter-spacing: 0.14em;
  background: #15202a;
}

.admin-page td,
.partner-page td {
  padding: 14px 10px;
  border-bottom: 1px solid #dfe7ec;
}

.admin-page tr:hover td,
.partner-page tr:hover td {
  background: #f0f4f7;
}

.admin-page table,
.partner-page table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-page thead th:first-child,
.partner-page thead th:first-child {
  border-left: 0;
}

.admin-page thead th,
.partner-page thead th {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.admin-page tbody tr:nth-child(even) td,
.partner-page tbody tr:nth-child(even) td {
  background: #fbfdfe;
}

.admin-page tbody tr td:first-child,
.partner-page tbody tr td:first-child {
  border-left: 4px solid transparent;
}

.admin-page tbody tr:hover td:first-child,
.partner-page tbody tr:hover td:first-child {
  border-left-color: #17384a;
}

.responsive-table-wrap {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 26, 34, 0.08);
  overflow: hidden;
}

@media (max-width: 980px) {
  .sticky-search-form {
    grid-template-columns: minmax(220px, 1fr) 170px 104px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar-panel {
    position: static;
  }

  .admin-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-columns,
  .auth-card,
  .customer-login-hero,
  .customer-overview-grid,
  .image-edit-row,
  .order-detail-grid,
  .order-payment-grid,
  .order-admin-layout,
  .order-info-grid,
  .editor-grid,
  .compact-grid.two,
  .compact-grid.three,
  .compact-grid.four,
  .time-builder-row,
  .offers-filter-bar,
  .admin-orders-filter-bar,
  .customer-account-filter-bar,
  .gallery-uploader,
  .gallery-admin-grid,
  .offer-admin-row,
  .order-admin-row,
  .offer-gallery-grid,
  .partner-service-create,
  .reservation-form,
  .booking-service-row,
  .reservation-edit-form,
  .manifest-filter-bar,
  .reservation-detail-grid,
  .exception-builder-row {
    grid-template-columns: 1fr;
  }

  .reservation-form .span-2,
  .reservation-edit-form .span-2,
  .reservation-detail-grid article.span-2 {
    grid-column: auto;
  }

  .booking-view-switch,
  .reservation-card-top,
  .activity-log-item,
  .order-admin-top,
  .customer-order-hero,
  .customer-order-head {
    display: grid;
    justify-content: stretch;
  }

  .booking-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-weekdays {
    display: none;
  }

  .editor-section,
  .editor-section:nth-child(2n) {
    border-right: 0;
  }

  .weekday-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .status-update {
    grid-template-columns: 1fr;
  }

  .order-update-form .span-2 {
    grid-column: auto;
  }

  .admin-orders-stats,
  .customer-account-stats {
    grid-template-columns: 1fr;
  }

  .validator-form,
  .voucher-result {
    grid-template-columns: 1fr;
  }

  .customer-order-actions,
  .customer-order-hero-actions,
  .order-admin-actions,
  .customer-hero,
  .customer-group-head,
  .customer-booking-top {
    justify-content: stretch;
  }

  .bulk-actions-bar {
    width: 100%;
    justify-content: stretch;
  }

  .bulk-actions-bar select,
  .bulk-actions-bar .primary-button {
    width: 100%;
  }

  .customer-voucher-card .qr-button,
  .voucher-card .qr-button {
    width: 100%;
  }

  .voucher-qr {
    width: min(100%, 184px);
    height: auto;
  }
}

@media (max-width: 760px) {
  .auth-shell {
    width: min(calc(100% - 24px), 1120px);
    padding-top: 24px;
  }

  .auth-copy,
  .auth-form {
    padding: 24px 22px;
  }

  .customer-shell {
    width: min(calc(100% - 24px), 1320px);
  }

  .customer-login-copy {
    padding: 18px 0 0;
  }

  .customer-login-highlights,
  .customer-voucher-card {
    grid-template-columns: 1fr;
  }

  .customer-hero-actions,
  .customer-booking-actions,
  .customer-voucher-actions {
    justify-content: stretch;
  }

  .customer-voucher-qr {
    justify-self: start;
  }

  .stacked-table thead {
    display: none;
  }

  .stacked-table,
  .stacked-table tbody,
  .stacked-table tr,
  .stacked-table td {
    display: block;
    width: 100%;
  }

  .stacked-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #e7ebef;
  }

  .stacked-table td {
    padding: 8px 0;
    border-bottom: 0;
  }

  .stacked-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

.marketplace-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  padding-bottom: 28px;
}

.marketplace-strip article {
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fff;
}

.marketplace-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.marketplace-strip span {
  color: var(--muted);
  font-size: 13px;
}

.marketplace-home .section {
  padding: 42px 0;
}

.marketplace-home .section-head {
  align-items: start;
}

.marketplace-home .section-kicker {
  color: var(--coral);
}

.marketplace-home h2 {
  font-size: clamp(24px, 2.7vw, 34px);
}

.marketplace-home .category-tabs {
  gap: 10px;
}

.marketplace-home .category-tabs a {
  min-height: 40px;
  padding: 0 16px;
  color: #344450;
  border-color: #dfe5ea;
  background: #fff;
}

.marketplace-home .category-tabs a.active {
  color: #fff;
  border-color: #14213d;
  background: #14213d;
}

.marketplace-home .offers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-home .offer-card {
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  box-shadow: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.marketplace-home .offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.12);
}

.marketplace-home .offer-image {
  height: 176px;
}

.marketplace-home .offer-body {
  gap: 9px;
  padding: 14px;
}

.marketplace-home .offer-meta,
.marketplace-home .partner-line {
  font-size: 12px;
}

.marketplace-home .offer-card h3 {
  min-height: 42px;
  font-size: 16px;
  line-height: 1.28;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #5f6b76;
  font-size: 12px;
}

.rating-line strong {
  color: #0b6e69;
}

.marketplace-home .offer-card p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.marketplace-home .offer-footer {
  align-items: end;
  margin-top: 4px;
}

.marketplace-home .price span {
  color: #5f6b76;
  font-size: 11px;
  font-weight: 800;
}

.marketplace-home .price strong {
  color: #1f2933;
  font-size: 18px;
}

.marketplace-home .dark-button {
  min-height: 36px;
  color: #fff;
  background: #14213d;
}

.marketplace-home .workflow {
  display: none;
}

.offer-detail-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.offer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.offer-detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.offer-detail-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  color: var(--ink);
}

.offer-detail-hero p {
  color: var(--muted);
  font-size: 16px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-badges span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}

.offer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 32px;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-content section,
.booking-panel {
  padding: 20px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: #fff;
}

.detail-content h2,
.booking-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.detail-list div {
  padding: 12px;
  border: 1px solid #edf0f2;
  border-radius: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-list dd {
  margin: 4px 0 0;
  font-size: 14px;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.booking-panel .primary-button {
  width: 100%;
}

.booking-fields {
  display: grid;
  gap: 10px;
}

@media (max-width: 1080px) {
  .marketplace-home .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-detail-layout,
  .offer-detail-hero {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .marketplace-home .search-panel,
  .sticky-search-form,
  .marketplace-strip {
    grid-template-columns: 1fr;
  }

  .marketplace-home .search-panel,
  .sticky-search-form {
    border-radius: 18px;
  }

  .marketplace-home .search-panel label,
  .sticky-search-form label,
  .sticky-search-form label:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #edf0f2;
  }

  .sticky-searchbar {
    padding: 8px 0;
  }

  .sticky-search-form {
    width: min(calc(100% - 24px), 560px);
  }

  .marketplace-home .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .marketplace-home .topbar-inner {
    gap: 12px;
  }

  .sticky-searchbar {
    top: 112px;
  }

  .marketplace-home .nav {
    gap: 6px;
  }

  .marketplace-home .nav a {
    font-size: 13px;
  }

  .marketplace-home .cart-button {
    width: auto;
  }

  .marketplace-home .hero-inner {
    padding: 42px 0 26px;
  }

  .marketplace-home h1 {
    font-size: 34px;
  }

  .marketplace-home .offers-grid {
    grid-template-columns: 1fr;
  }

  .detail-list,
  .detail-columns {
    grid-template-columns: 1fr;
  }
}

.rental-vertical-page .hero.marketplace-hero {
  background: linear-gradient(180deg, #0f1722 0%, #17212c 100%);
}

.rental-vertical-page {
  background: #f5f5f5;
  color: #111111;
}

.rental-vertical-page .topbar {
  position: static;
}

.drive-topbar {
  background: #111111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drive-topbar-inner {
  width: min(calc(100% - 32px), 1280px);
  min-height: 68px;
}

.drive-nav a,
.drive-nav .language-switch a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
}

.drive-nav .language-switch {
  border-color: rgba(255, 255, 255, 0.18);
}

.drive-nav .language-switch a.active {
  background: #ffffff;
  color: #111111;
}

.insideauto-shell {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
}

.insideauto-results-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff5f00;
}

.insideauto-offerlist-hero {
  position: sticky;
  top: 0;
  z-index: 18;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.92)),
    radial-gradient(circle at center, rgba(255, 95, 0, 0.12), transparent 40%);
  padding: 10px 0 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.insideauto-searchbar {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.insideauto-searchbar-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.insideauto-searchbar-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.insideauto-searchbar-route {
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #f7f7f7;
  color: #161616;
}

.insideauto-searchbar-route small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.insideauto-searchbar-route strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.insideauto-searchbar-route span {
  font-size: 11px;
  color: #6a6a6a;
}

.insideauto-same-dropoff {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  font-size: 12px;
  font-weight: 500;
  color: #4a4a4a;
}

.insideauto-same-dropoff input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.insideauto-same-dropoff-switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  border-radius: 999px;
  background: #d8d8d8;
  transition: background 0.2s ease;
}

.insideauto-same-dropoff-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.insideauto-same-dropoff input:checked + .insideauto-same-dropoff-switch {
  background: #ff5f00;
}

.insideauto-same-dropoff input:checked + .insideauto-same-dropoff-switch::after {
  transform: translateX(16px);
}

.insideauto-searchbar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.insideauto-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.insideauto-field span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666666;
}

.insideauto-field input,
.insideauto-field select,
.insideauto-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  box-sizing: border-box;
}

.insideauto-field textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.insideauto-picker-shell {
  position: relative;
}

.insideauto-picker-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.insideauto-picker-trigger-icon {
  flex: 0 0 auto;
  font-size: 14px;
  opacity: 0.7;
}

.insideauto-picker-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(620px, 92vw);
  border-radius: 18px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.insideauto-calendar-popover {
  padding: 18px;
}

.insideauto-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insideauto-calendar-month {
  display: grid;
  gap: 10px;
}

.insideauto-calendar-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.insideauto-calendar-month-head strong {
  font-size: 16px;
  font-weight: 700;
}

.insideauto-calendar-weekdays,
.insideauto-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.insideauto-calendar-weekdays span {
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
  text-align: center;
  text-transform: uppercase;
}

.insideauto-calendar-day,
.insideauto-calendar-blank {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
}

.insideauto-calendar-day {
  border: 0;
  background: transparent;
  color: #191919;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.insideauto-calendar-day.is-selected {
  background: #111111;
  color: #ffffff;
}

.insideauto-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px #ff5f00;
  color: #ff5f00;
}

.insideauto-calendar-day.is-selected.is-today {
  color: #ffffff;
}

.insideauto-time-popover {
  width: min(360px, 92vw);
  padding: 14px;
}

.insideauto-time-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

.insideauto-time-popover-head strong {
  font-size: 16px;
  font-weight: 700;
}

.insideauto-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.insideauto-time-option {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f3f3;
  color: #181818;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.insideauto-time-option.is-selected {
  background: #111111;
  color: #ffffff;
}

.insideauto-time-option.is-outside-hours {
  position: relative;
}

.insideauto-time-option.is-outside-hours::after {
  content: attr(data-note);
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: inherit;
  opacity: 0.72;
}

.insideauto-search-cta {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ff5f00;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.insideauto-searchbar-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 10px;
  color: #666666;
}

.insideauto-offerlist-results {
  padding: 22px 0 72px;
}

.insideauto-results-header {
  display: grid;
  gap: 14px;
  padding: 10px 0 20px;
}

.insideauto-results-header h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #141414;
  font-weight: 700;
}

.insideauto-results-meta,
.insideauto-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insideauto-results-meta span,
.insideauto-filter-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  font-size: 13px;
  font-weight: 500;
  color: #181818;
}

.insideauto-filter-pills .is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.insideauto-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.insideauto-vehicle-card {
  min-width: 0;
}

.insideauto-vehicle-card-link {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 22%, rgba(220, 232, 241, 0.9), transparent 22%),
    linear-gradient(180deg, #111518 0%, #43515d 52%, #0e1113 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.insideauto-vehicle-card-link:hover {
  border-color: #ff5f00;
  transform: translateY(-2px);
}

.insideauto-vehicle-card-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.06;
  color: #ffffff;
  font-weight: 700;
}

.insideauto-vehicle-card-head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.insideauto-vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insideauto-vehicle-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f6f6f6;
  font-size: 11px;
  font-weight: 500;
}

.insideauto-vehicle-stage {
  min-height: 206px;
  display: grid;
  place-items: end center;
}

.insideauto-vehicle-stage img {
  width: 100%;
  max-height: 196px;
  object-fit: contain;
}

.insideauto-vehicle-included {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.insideauto-vehicle-included span {
  color: rgba(255, 255, 255, 0.88);
}

.insideauto-vehicle-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.insideauto-vehicle-price strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
  font-weight: 700;
}

.insideauto-vehicle-price small,
.insideauto-vehicle-total span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

.insideauto-vehicle-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border-radius: 12px;
  background: #ff5f00;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.insideauto-empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
}

.insideauto-empty-state h2,
.insideauto-empty-state p {
  margin: 0;
}

.insideauto-empty-state p {
  margin-top: 8px;
  color: #666666;
}

.insideauto-checkout-page {
  padding: 28px 0 72px;
}

.insideauto-checkout-shell {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
}

.insideauto-checkout-topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.insideauto-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  color: #171717;
  font-size: 13px;
  font-weight: 500;
}

.insideauto-checkout-trip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insideauto-checkout-trip article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
}

.insideauto-checkout-trip strong {
  font-size: 14px;
  font-weight: 600;
}

.insideauto-checkout-trip span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.insideauto-alert {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #f4c4c4;
  background: #fff1f1;
}

.insideauto-alert strong {
  display: block;
  margin-bottom: 8px;
}

.insideauto-alert ul {
  margin: 0;
  padding-left: 18px;
}

.insideauto-selected-car {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.insideauto-selected-car-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.insideauto-selected-car-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #101010;
  font-weight: 700;
}

.insideauto-selected-car-copy p {
  margin: -4px 0 0;
  font-size: 15px;
  color: #666666;
}

.insideauto-selected-car-badges,
.insideauto-selected-car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insideauto-selected-car-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dfdfdf;
  background: #fafafa;
  color: #202020;
  font-size: 12px;
  font-weight: 500;
}

.insideauto-selected-car-specs article {
  display: grid;
  gap: 4px;
  min-width: 116px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f6f6;
}

.insideauto-selected-car-specs strong {
  font-size: 15px;
  color: #111111;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.insideauto-selected-car-specs span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #757575;
}

.insideauto-selected-car-stage {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 70% 28%, rgba(230, 236, 241, 0.92), transparent 28%),
    linear-gradient(180deg, #191c1f 0%, #495662 50%, #111315 100%);
}

.insideauto-selected-car-stage img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
}

.insideauto-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.insideauto-checkout-main,
.insideauto-checkout-side {
  display: grid;
  gap: 18px;
}

.insideauto-panel,
.insideauto-booking-overview,
.insideauto-terms-strip article {
  background: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.insideauto-panel {
  padding: 18px;
}

.insideauto-panel-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.insideauto-panel-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #121212;
  font-weight: 700;
}

.insideauto-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.insideauto-form-grid-period {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insideauto-addon-list {
  display: grid;
  gap: 14px;
}

.insideauto-addon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
}

.insideauto-addon-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.insideauto-addon-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.insideauto-addon-copy strong {
  font-size: 17px;
  line-height: 1.15;
  color: #121212;
  font-weight: 600;
}

.insideauto-addon-copy p {
  margin: 0;
  color: #666666;
  font-size: 13px;
  line-height: 1.45;
}

.insideauto-addon-main a {
  color: #171717;
  text-decoration: underline;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.insideauto-addon-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 170px;
}

.insideauto-addon-meta > span {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  text-align: right;
}

.insideauto-addon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.insideauto-addon-toggle input {
  width: 22px;
  height: 22px;
  accent-color: #ff5f00;
}

.insideauto-addon-toggle em {
  font-style: normal;
  font-size: 11px;
  color: #686868;
}

.insideauto-addon-toggle.is-required em {
  font-weight: 700;
  color: #ff5f00;
}

.insideauto-booking-overview {
  position: sticky;
  top: 16px;
  padding: 16px;
}

.insideauto-booking-price {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e6e6;
}

.insideauto-booking-price span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #666666;
}

.insideauto-booking-price strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111111;
  font-weight: 700;
}

.insideauto-booking-price button {
  min-width: 152px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #ff5f00;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.insideauto-booking-details {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.insideauto-booking-details h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.insideauto-booking-details ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insideauto-booking-details li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.insideauto-booking-details li span {
  color: #555555;
  font-size: 13px;
}

.insideauto-booking-details li strong {
  color: #121212;
  font-size: 14px;
  text-align: right;
  font-weight: 600;
}

.insideauto-booking-info {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #f3f3f3;
}

.insideauto-booking-info p {
  margin: 0;
  color: #4f4f4f;
  font-size: 13px;
  line-height: 1.45;
}

.insideauto-terms-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.insideauto-terms-strip article {
  padding: 18px;
}

.insideauto-terms-strip h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 700;
}

.insideauto-terms-strip p {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .admin-two-column,
  .insideauto-card-grid,
  .insideauto-checkout-layout,
  .insideauto-selected-car,
  .insideauto-terms-strip {
    grid-template-columns: 1fr;
  }

  .insideauto-searchbar-grid,
  .insideauto-form-grid-period {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insideauto-searchbar-top,
  .insideauto-searchbar-summary {
    grid-template-columns: 1fr;
  }

  .insideauto-calendar-grid {
    grid-template-columns: 1fr;
  }

  .insideauto-booking-overview {
    position: static;
  }
}

@media (max-width: 760px) {
  .insideauto-shell,
  .insideauto-checkout-shell {
    width: min(calc(100% - 24px), 1280px);
  }

  .insideauto-searchbar-top,
  .insideauto-searchbar-summary,
  .insideauto-searchbar-grid,
  .insideauto-form-grid,
  .insideauto-form-grid-period,
  .insideauto-checkout-trip {
    grid-template-columns: 1fr;
  }

  .insideauto-results-header h1,
  .insideauto-selected-car-copy h1 {
    font-size: 30px;
  }

  .insideauto-selected-car-copy,
  .insideauto-selected-car-stage,
  .insideauto-panel,
  .insideauto-booking-overview,
  .insideauto-terms-strip article,
  .insideauto-searchbar {
    padding: 18px;
  }

  .insideauto-addon-row,
  .insideauto-addon-main,
  .insideauto-booking-price,
  .insideauto-checkout-topbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .insideauto-addon-meta {
    justify-items: start;
    min-width: 0;
  }

  .insideauto-booking-price button {
    width: 100%;
    min-width: 0;
  }
}
