/* MyTransferTours website. Tokens match the agreed design concept. */
:root {
  --green: #0F4C3A; --green-dark: #0A3328; --green-soft: #E3EEE8; --green-tint: #F4F9F6;
  --coral: #B8401C; --coral-dark: #9A3416; --sun: #F2B84B;
  --ink: #10231C; --muted: #4E5A54; --faint: #6B746F;
  --ground: #F7F4EE; --sand: #F1EDE5; --line: #E4DED3; --field: #D9D3C7; --white: #fff;
  --danger: #A3321A; --danger-soft: #FBE7D8;
  --radius: 14px; --radius-lg: 18px;
  --shadow: 0 24px 60px rgba(4, 28, 20, .18);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { background: var(--green); color: #fff; }
.site-header.light { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; }
.logo:hover { color: inherit; }
.site-nav { display: flex; gap: 24px; font-weight: 500; flex-wrap: wrap; }
.site-nav a { color: inherit; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; color: inherit; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.currency-form select { min-height: 40px; border-radius: 10px; padding: 0 10px; font: 600 14px var(--font); border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; cursor: pointer; }
.light .currency-form select { border-color: var(--field); background-color: #fff; color: var(--ink); color-scheme: light; }
/* Solid colours: with a transparent background some browsers (Chrome on Windows) draw the list black. */
.site-header:not(.light) .currency-form select { background-color: var(--green); color: #fff; color-scheme: dark; }
.currency-form option { color: var(--ink); background-color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--green); color: #fff; font: 600 15px var(--font); border: 0; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); color: #fff; }
.btn.coral { background: var(--coral); }
.btn.coral:hover { background: var(--coral-dark); }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; border: 1px solid var(--field); }
.btn.ghost:hover { background: rgba(0,0,0,.04); color: inherit; }
.site-header:not(.light) .btn.ghost { border-color: rgba(255,255,255,.35); }
.site-header:not(.light) .btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.big { min-height: 56px; font-size: 16px; }
.btn.google { background: #fff; color: #1F1F1F; border: 1px solid #747775; }
.btn.google:hover { background: #F8FAFF; color: #1F1F1F; }
.btn.google svg { width: 18px; height: 18px; flex: none; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--muted, #6B7280); font-size: 13px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--field); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }

/* Cards & chips */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pad { padding: 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 600; }
.chip.tour { background: #FBE7D8; color: #8F3416; }
.chip.ticket { background: #FDF1D6; color: #7A5A0E; }
.ph { background: #DCE7E1; border-radius: var(--radius); display: flex; align-items: flex-end; padding: 12px; color: #2F4A3F; font-size: 12px; font-weight: 600; min-height: 160px; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* "Image not available" picture (public/images/no-image.svg): a photo failed to load, or there is none. */
img.img-missing { object-fit: cover; background: #DCE7E1; }
.ph .img-missing, .ph img[src$="no-image.svg"] { align-self: stretch; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--field); border-radius: 12px; padding: 10px 14px; background: #fff; min-width: 0; }
.field:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,76,58,.15); }
.field.has-error { border-color: var(--danger); }
.field input, .field select, .field textarea { border: 0; padding: 0; font: 500 15px var(--font); color: var(--ink); background: transparent; outline: none; width: 100%; min-height: 24px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.error { color: var(--danger); font-size: 13px; font-weight: 500; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.span-2 { grid-column: span 2; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper input { width: 52px; text-align: center; border: 1px solid var(--field); border-radius: 10px; min-height: 40px; font: 600 15px var(--font); }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.alert.error { background: var(--danger-soft); color: #7A2A12; }
.alert.ok { background: var(--green-soft); color: var(--green-dark); }
.alert.info { background: var(--sand); color: var(--ink); }

/* Home hero */
.hero { position: relative; color: #fff; padding: calc(var(--header-h, 96px) + 40px) 0 190px;
  background: #0B2E26 var(--hero-img, none) center bottom / cover no-repeat; }
/* Dark fade behind the headline (left) and the header (top); the scene shows on the right. */
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,28,22,.88) 0%, rgba(7,28,22,.66) 34%, rgba(7,28,22,.12) 60%, rgba(7,28,22,0) 100%),
              linear-gradient(180deg, rgba(7,28,22,.45) 0%, rgba(7,28,22,0) 22%); }
.hero > .wrap { position: relative; }
.hero h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.site-header.over-hero { background: transparent; position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
@media (max-width: 900px) {
  .hero { background-image: var(--hero-img-sm, var(--hero-img, none)); background-position: 70% bottom; padding-bottom: 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(7,28,22,.82) 0%, rgba(7,28,22,.62) 55%, rgba(7,28,22,.80) 100%); }
}
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.hero h1 span { color: var(--sun); }
.hero p.lead { font-size: 18px; line-height: 1.55; color: #D3E3DB; max-width: 480px; }
.ticks { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #D3E3DB; }
.search-card { color: var(--ink); padding: 20px; background: #fff; border: 0; box-shadow: 0 24px 60px rgba(4,20,15,.35), 0 2px 8px rgba(4,20,15,.15); }
.tabs { display: flex; gap: 6px; background: var(--sand); padding: 5px; border-radius: 999px; flex-wrap: wrap; }
.tab { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 600 14px var(--font); color: var(--ink); background: transparent; border: 0; cursor: pointer; text-decoration: none; }
.tab[aria-selected="true"], .tab.on { background: var(--ink); color: #fff; }
.tab-panel[hidden] { display: none; }
/* `hidden` must always hide, even on elements whose class sets a display (.row, .stack, …). */
[hidden] { display: none !important; }
.products { position: relative; z-index: 2; margin-top: -64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.product-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.product-card:hover { color: var(--ink); border-color: var(--green); }
.section { padding: 72px 0; }
.section h2 { font-size: clamp(28px, 4vw, 40px); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tile { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.tile:hover { color: var(--ink); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; }

/* Booking pages */
.subbar { background: var(--green); padding: 16px 0; }
.subbar form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; align-items: stretch; }
.page { padding: 32px 0 72px; }
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.layout > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.layout > .side { flex: 1 1 340px; min-width: 0; }
.vehicle { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; padding: 18px; }
.vehicle.unfit { opacity: .55; }
.vehicle .pic { height: 76px; border-radius: 12px; background: #EEF3F0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vehicle .pic img { width: 100%; height: 100%; object-fit: cover; }
.price { font-family: var(--display); font-weight: 700; font-size: 26px; }
.summary { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.total-box { background: var(--sand); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total-box .price { font-size: 28px; }
.trip-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); align-items: start; }
.trip-item:last-child { border-bottom: 0; }
.steps { display: flex; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.steps b { color: var(--ink); }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.list td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-box { overflow-x: auto; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D3CE; padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #C9D3CE; }

/* Account menu in the header (signed in) */
.account-menu { position: relative; }
.account-menu > summary { list-style: none; padding-left: 6px; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu .avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.account-menu .avatar.initials { display: inline-flex; align-items: center; justify-content: center; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 13px; }
.account-menu[open] > summary svg { transform: rotate(180deg); }
.account-dropdown { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(16,35,28,.14); padding: 6px; }
.account-dropdown .who { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-size: 14px; }
.account-dropdown .who span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.account-dropdown a, .account-dropdown button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; background: none; border: 0; color: var(--ink); font: 500 14px var(--font); text-decoration: none; cursor: pointer; }
.account-dropdown a:hover, .account-dropdown button:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.account-dropdown form { margin: 0; }
/* Information pages (About, Terms, Privacy...) */
.prose { margin-top: 28px; line-height: 1.7; font-size: 16px; color: var(--ink); }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 24px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.contact-card:hover { border-color: var(--green); color: var(--ink); }
.contact-card b { font-size: 16px; overflow-wrap: anywhere; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8FA39A; }

@media (max-width: 640px) { .account-menu .account-name { display: none; } }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .vehicle { grid-template-columns: 1fr; }
  .vehicle .pic { height: 120px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-item { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; font-size: 15px; }
}

/* Transfer results: vehicle list on the left, journey + map + policies on the right */
.icon { vertical-align: -3px; flex: none; }
.results-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.results-main { flex: 999 1 560px; min-width: 0; padding: 22px 24px 8px; }
.results-main > h1 { font-size: 28px; }
.results-main > p { margin: 6px 0 16px; }
.results-empty { padding: 8px 0 18px; }
.results-side { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 16px; }
.vehicle-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 14px; }
.vehicle-card.unfit { opacity: .55; }
.vehicle-card .pic { height: 74px; border-radius: 12px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vehicle-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card .info { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.vehicle-card h2 { font-size: 19px; }
.vehicle-card .capacity { display: flex; gap: 16px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.vehicle-card .capacity > span { display: inline-flex; gap: 6px; align-items: center; }
.vehicle-card .perks { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: var(--green); }
.vehicle-card .buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tip { position: relative; }
.tip-btn { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--faint); background: #fff; color: var(--muted); font: 700 12px var(--font); padding: 0; cursor: help; }
.tip-text { display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: 240px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.4; padding: 10px 12px; border-radius: 10px; z-index: 5; }
.tip:hover .tip-text, .tip-btn:focus + .tip-text { display: block; }
.return-card { border: 1.5px solid var(--green); background: var(--green-tint); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 14px; }
.return-card.on { background: var(--green-soft); }
.return-icon { width: 50px; height: 50px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.return-fields { display: flex; flex-direction: column; gap: 8px; }
.return-fields .field { background: #fff; }
.return-card .btn.ghost { border: 1.5px solid var(--green); color: var(--green); background: #fff; }
.journey { overflow: hidden; }
.route-map { position: relative; }
#route-map { height: 220px; background: var(--sand); }
.map-chip { position: absolute; left: 54px; top: 10px; z-index: 500; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(4,28,20,.14); }
.journey-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.journey-body h2, .policies h2 { font-size: 18px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 28px; display: flex; flex-direction: column; gap: 2px; }
.timeline li b { font-size: 15px; line-height: 1.35; }
.timeline li::before { content: ''; position: absolute; left: 3px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--green); box-sizing: border-box; background: #fff; }
.timeline li:not(.end)::after { content: ''; position: absolute; left: 8px; top: 20px; bottom: 2px; width: 2px; background: var(--field); }
.timeline li.end { padding-bottom: 0; }
.timeline li.end::before { background: var(--coral); border-color: var(--coral); }
.journey-time { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; color: var(--green); }
.journey-time b { color: var(--ink); font-size: 14px; }
.policies { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.policies > div { display: flex; gap: 10px; }
.policies > div > div { display: flex; flex-direction: column; gap: 2px; }
.policies b { font-size: 14px; }
.policies .tick { color: var(--green); font-weight: 700; }
@media (max-width: 900px) {
    .results-side { position: static; max-width: none; }
}
@media (max-width: 640px) {
    .results-main { padding: 18px 16px 4px; }
    .results-main > h1 { font-size: 23px; }
    .vehicle-card { grid-template-columns: 1fr auto; }
    .vehicle-card .pic { grid-column: 1 / -1; height: 110px; }
    .vehicle-card .buy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Search box for every product (partials/search-bar): icon tabs + one-line bar. */
.hs-hero { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 34px 0 78px; }
.hs-title { font-size: clamp(28px, 4vw, 40px); }
.hs-lead { color: rgba(255,255,255,.85); max-width: 640px; }
.hs-wrap { margin-top: -58px; position: relative; z-index: 5; }
.hs-card { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 12px 40px rgba(15, 27, 45, .14); padding: 6px 18px 18px; }
.hs-tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.hs-tabs button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 18px 10px; color: var(--ink); background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font: 500 15px var(--font); cursor: pointer; }
.hs-tabs button:hover { color: var(--green); }
.hs-tabs button.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.hs-tabs svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hs-bar { display: grid; border: 1px solid var(--field); border-radius: 12px; align-items: stretch; }
.hs-bar[hidden] { display: none; }
.hs-bar:focus-within { border-color: var(--green); }
.hs-hotel { grid-template-columns: minmax(170px, .9fr) minmax(330px, 1.5fr) minmax(270px, 1.15fr) auto; }
.hs-transfer { grid-template-columns: minmax(130px, .7fr) minmax(140px, .85fr) minmax(140px, .85fr) minmax(310px, 1.4fr) minmax(190px, .85fr) auto; }
.hs-transfer input[type=date], .hs-transfer input[type=time] { font-size: 15px; }
.hs-simple { grid-template-columns: 1fr auto; }
.hs-cell { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 66px; position: relative; min-width: 0; }
.hs-cell + .hs-cell { border-left: 1px solid var(--line); }
.hs-cell > svg, .hs-btn svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.hs-stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hs-label { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hs-inline { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hs-cell input, .hs-cell select, .hs-pop-btn { border: 0; outline: none; background: transparent; font: 600 16px var(--font); color: var(--ink); padding: 0; min-width: 0; width: 100%; }
.hs-cell select { cursor: pointer; text-overflow: ellipsis; }
.hs-cell input::placeholder { color: var(--faint); font-weight: 500; }
.hs-cell input[type=date], .hs-cell input[type=time] { cursor: pointer; }
.hs-cell input[type=date]::-webkit-calendar-picker-indicator, .hs-cell input[type=time]::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 0; opacity: .55; }
.hs-dash { color: var(--muted); font-weight: 600; }
.hs-nights { background: var(--sand); color: var(--muted); border-radius: 999px; padding: 3px 10px; font-size: 13px; white-space: nowrap; }
.hs-nights:empty { display: none; }
.hs-pop-btn { text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-pop { position: absolute; top: calc(100% + 8px); right: 0; width: min(420px, 92vw); z-index: 40; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.hs-pop[hidden] { display: none; }
.hs-counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hs-counter input { width: 90px; min-height: 40px; border: 1px solid var(--field); border-radius: 10px; padding: 0 10px; font: 600 16px var(--font); }
.hs-btn { margin: 8px; min-height: 50px; padding: 0 24px; font-size: 17px; border-radius: 10px; white-space: nowrap; }
.hs-btn svg { color: #fff; }
.hs-card > .alert { margin-top: 10px; }
.hs-ticks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 1050px) {
  .hs-transfer { grid-template-columns: 1fr 1fr; }
  .hs-transfer .hs-cell:nth-child(odd) { border-left: 0; }
  .hs-transfer .hs-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hs-transfer .hs-btn { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hs-hotel { grid-template-columns: 1fr; }
  .hs-hotel .hs-cell + .hs-cell { border-left: 0; border-top: 1px solid var(--line); }
  .hs-tabs button { padding: 10px 8px 8px; font-size: 13px; }
  .hs-tabs svg { width: 26px; height: 26px; }
  .hs-pop { left: 0; right: auto; }
}
@media (max-width: 620px) {
  .hs-transfer, .hs-simple { grid-template-columns: 1fr; }
  .hs-bar .hs-cell + .hs-cell { border-left: 0; border-top: 1px solid var(--line); }
}

/* Hotel destination suggestions and rooms panel (search bar) */
.hotel-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 340px; overflow: auto; }
.hotel-suggest li { padding: 8px 10px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.hotel-suggest li[aria-selected="true"], .hotel-suggest li:hover { background: var(--green-soft); }
.hotel-suggest small { display: block; color: var(--muted); }
.room-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.room-row label { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.room-row select { min-width: 70px; }
.hs-dest .hotel-suggest { min-width: 300px; }
.room-row select { min-height: 36px; border: 1px solid var(--field); border-radius: 8px; padding: 0 8px; font: 500 15px var(--font); }
/* Home: the search box sits over the bottom of the hero picture; product cards follow. */
.hs-home { margin-top: -150px; }
.hs-home + .products { margin-top: 28px; }
@media (max-width: 900px) { .hs-home { margin-top: -90px; } }
/* Compact hero when the search box follows it (home, transfers): headline smaller, less space
   above, so the search box is visible without scrolling on a laptop screen. */
.hero:has(+ .hs-home) { padding: calc(var(--header-h, 96px) + 8px) 0 130px; }
.hero:has(+ .hs-home) h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; }
.hero:has(+ .hs-home) .stack { gap: 12px !important; }
.hero:has(+ .hs-home) p.lead { font-size: 16px; max-width: 500px; }
.hs-home { margin-top: -100px; }
@media (max-width: 900px) { .hero:has(+ .hs-home) { padding-bottom: 100px; } .hs-home { margin-top: -70px; } }
/* Dates in the hotel bar fit with the calendar icon. */
.hs-hotel input[type=date] { font-size: 15px; }
/* Home hero, right side: "Popular right now" (glass card over the picture). */
.hero-popular { justify-self: end; width: min(100%, 440px); display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px;
  background: rgba(10, 22, 44, .42); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.hp-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); }
.hp-item:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hp-thumb { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.hp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hp-text { display: flex; flex-direction: column; min-width: 0; }
.hp-text b { font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.hp-price { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; opacity: .95; white-space: nowrap; }
.hp-price b { font-size: 17px; color: var(--sun); }
.hp-price small { font-size: 11px; opacity: .75; }
@media (max-width: 900px) { .hero-popular { display: none; } }
/* Hotel deadlines: UTC in red with a "?" that shows other time zones (public/js/deadline.js). */
.dl { white-space: nowrap; }
.dl-utc { color: var(--danger); font-weight: 700; }
.dl-tz { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 5px; vertical-align: 1px; border-radius: 50%; border: 1.5px solid var(--green); background: #fff; color: var(--green); font: 700 11px/1 var(--font); cursor: pointer; padding: 0; }
.dl-tz:hover { background: var(--green); color: #fff; }
.dl-pop { position: absolute; z-index: 1000; width: 300px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 13px; }
.dl-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.dl-head b { color: var(--danger); }
.dl-x { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); }
.dl-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.dl-row span { color: var(--muted); }
.dl-mine { font-weight: 600; }
.dl-mine span { color: var(--ink); }
/* Checkbox + sentence: box at the start of the first line, text wraps beside it. */
.check-row { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 10px; cursor: pointer; }
.check-row input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }

/* Hero photos (free Unsplash licence, served by Unsplash's image CDN): the photo sits under the
   theme colour, so the white text stays readable in both the green and the blue theme. */
.hs-hero.hero-photo {
    background:
        linear-gradient(100deg, color-mix(in srgb, var(--green-dark) 92%, transparent) 0%, color-mix(in srgb, var(--green-dark) 78%, transparent) 45%, color-mix(in srgb, var(--green) 45%, transparent) 100%),
        var(--hero-img) center / cover no-repeat,
        linear-gradient(135deg, var(--green-dark), var(--green));
}
.hero-transfers { --hero-img: url('https://images.unsplash.com/photo-1708492833506-88b6f73e8e5a?w=2000&q=70&auto=format&fit=crop'); }   /* KL highway, Eddie Zach */
.hero-tours     { --hero-img: url('https://images.unsplash.com/photo-1639676605927-687c42418c28?w=2000&q=70&auto=format&fit=crop'); background-position: center 35% !important; } /* Batu Caves, Abdelrahman Ismail */
.hero-tickets   { --hero-img: url('https://images.unsplash.com/photo-1669812849320-283db1bf8216?w=2000&q=70&auto=format&fit=crop'); }   /* Langkawi SkyBridge, Simon Wiedensohler */
.hero-hotels    { --hero-img: url('https://images.unsplash.com/photo-1602599898361-1720e33a0ba1?w=2000&q=70&auto=format&fit=crop'); }   /* KL skyline, Elliot Andrews */
@media (max-width: 720px) {
    .hero-transfers { --hero-img: url('https://images.unsplash.com/photo-1708492833506-88b6f73e8e5a?w=900&q=65&auto=format&fit=crop'); }
    .hero-tours     { --hero-img: url('https://images.unsplash.com/photo-1639676605927-687c42418c28?w=900&q=65&auto=format&fit=crop'); }
    .hero-tickets   { --hero-img: url('https://images.unsplash.com/photo-1669812849320-283db1bf8216?w=900&q=65&auto=format&fit=crop'); }
    .hero-hotels    { --hero-img: url('https://images.unsplash.com/photo-1602599898361-1720e33a0ba1?w=900&q=65&auto=format&fit=crop'); }
}
/* Same header height on Transfers, Tours, Attraction tickets and Hotels (partials/page-hero). */
.hs-hero.hero-photo { min-height: 300px; }
.hs-points { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) { .hs-hero.hero-photo { min-height: 0; } }

/* Wholesale customers: regular price crossed out next to their price. */
.was-price { color: var(--muted, #8a8f99); font-weight: 400; font-size: .8em; text-decoration: line-through; text-decoration-thickness: 1.5px; margin-right: 4px; white-space: nowrap; }
.now-price { white-space: nowrap; }
/* Wholesale account strip: first row of the header, so it never sits under a header laid over a hero photo. */
.wholesale-bar { background: rgba(10, 20, 30, .82); color: #fff; font-size: 13px; line-height: 1.4; }
.wholesale-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; min-height: 0; padding-top: 6px; padding-bottom: 6px; }
.wholesale-bar-note { opacity: .75; }
@media (max-width: 640px) { .wholesale-bar-note { display: none; } }

/* Transfer booking: pin the exact hotel / address spot */
.pin-row { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; margin-top: -6px; }
.pin-status.pin-ok { color: var(--green, #0F4C3A); }
.pin-dialog { width: min(760px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.pin-dialog::backdrop { background: rgba(10, 20, 30, .55); }
.pin-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 6px; }
.pin-search { display: flex; gap: 8px; padding: 6px 18px 10px; }
.pin-search input { flex: 1; min-width: 0; }
.pin-results { list-style: none; margin: 0 18px 10px; padding: 0; max-height: 170px; overflow: auto; border: 1px solid var(--line, #e3e6ea); border-radius: 10px; }
.pin-results li { border-top: 1px solid var(--line, #e3e6ea); }
.pin-results li:first-child { border-top: 0; }
.pin-results li.muted { padding: 10px 12px; }
.pin-results button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.pin-results button:hover, .pin-results button:focus { background: var(--bg-soft, #f3f5f7); }
.pin-map { height: min(52vh, 420px); }
.pin-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 16px; flex-wrap: wrap; }
.hotel-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; list-style: none; margin: 4px 0 0; padding: 4px 0; background: #fff; border: 1px solid var(--line, #e3e6ea); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); max-height: 320px; overflow: auto; }
.hotel-suggest li { display: flex; flex-direction: column; gap: 1px; padding: 8px 14px; cursor: pointer; }
.hotel-suggest li:hover, .hotel-suggest li.active { background: var(--bg-soft, #f3f5f7); }
.hotel-suggest li b { font-weight: 600; }

/* Route map: ⤢ "view larger map" */
.route-map .map-expand { position: absolute; right: 10px; top: 10px; z-index: 600; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(4, 28, 20, .18); font-size: 18px; line-height: 1; cursor: pointer; }
.route-map .map-expand:hover { background: var(--bg-soft, #f3f5f7); }
.route-map.expanded { position: fixed; inset: 5vh 5vw; z-index: 1001; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); background: var(--sand, #eee); }
.route-map.expanded #route-map { height: 100%; }
.map-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 30, .6); }
@media (max-width: 640px) { .route-map.expanded { inset: 2vh 2vw; } }

/* One-time message (e.g. "Welcome back") on pages whose header sits over a picture:
   shown as a strip inside the header so it never lands underneath it. */
.header-flash { background: rgba(255, 255, 255, .94); color: var(--ink, #10231C); font-size: 14px; }
.header-flash .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
.header-flash-close { background: none; border: 0; font-size: 16px; line-height: 1; cursor: pointer; color: inherit; padding: 4px; }

/* "Preferred" tag next to the names of hotels the team recommends (our own hotels, ticked in the admin). */
.pref-tag { display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 9px; border-radius: 999px; background: #FFF4D6; color: #8A5A00; border: 1px solid #F1D38A; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1.5; white-space: nowrap; }
