/* =========================================================
   Fakieh Aquarium — Almosafer activity checkout clone
   Mobile first / hand-built CSS
   ========================================================= */

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-latin.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Noto Sans Arabic";
    src: url("../fonts/noto-sans-arabic.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

:root {
    --ink: rgba(0, 0, 0, .87);
    --ink-soft: #333333;
    --muted: #66797f;
    --teal: #0c9ab0;
    --teal-dark: #087e90;
    --teal-pale: #eaf7f9;
    --red: #ef4550;
    --red-dark: #d93742;
    --green: #3d9b40;
    --green-dark: #318234;
    --border: #d8dcde;
    --line: #eff1f2;
    --bar: #f7f9fa;
    --white: #ffffff;
    --shadow: 0 -2px 14px rgba(17, 39, 46, .08);
    --radius-card: 12px;
    --app-width: 480px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background: #fff;
    font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

.app-shell {
    position: relative;
    width: 100%;
    max-width: var(--app-width);
    min-height: 100dvh;
    margin: 0 auto;
    background: var(--white);
    overflow: clip;
}

@media (min-width: 560px) {
    .app-shell { box-shadow: none; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
    transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:active { transform: scale(.985); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--outline { background: #fff; color: var(--teal); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--teal); background: var(--teal-pale); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after {
    content: "";
    width: 17px; height: 17px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   ACTIVITY DETAILS
   ========================================================= */
.hero {
    position: relative;
    height: 100vw;
    max-height: 480px;
    min-height: 340px;
    overflow: hidden;
    background: #07394c;
    touch-action: pan-y;
}
.hero__track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__track { direction: ltr; }
.hero-nav { display: none; }
.hero__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .10) 100%);
}
.hero__actions {
    position: absolute;
    z-index: 3;
    top: max(16px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: -8px;
    color: #fff;
    border-radius: 50%;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .28));
}
.hero-icon:active { background: rgba(0, 0, 0, .18); }
.hero__dots {
    position: absolute;
    z-index: 3;
    bottom: 52px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}
.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .48);
    transition: background-color .18s ease, transform .18s ease;
}
.hero-dot.is-active { background: #fff; transform: scale(1.06); }

.sheet {
    position: relative;
    z-index: 4;
    margin-top: -25px;
    padding: 16px 16px 40px;
    background: var(--white);
    border-radius: 25px 25px 0 0;
}
.activity-title {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.quick-facts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 16px;
}
.quick-fact {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 25px;
    font-size: 14px;
    line-height: 20px;
}
.quick-fact--instant { min-height: 28px; }
.quick-fact .icon { color: var(--ink); }
.quick-fact--instant .icon { color: #fe9c09; }

.map-card { display: block; }
.map-card__frame {
    position: relative;
    height: 144px;
    overflow: hidden;
    border-radius: 13px;
    background: #d9edf2;
}
.map-card__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-card__address {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}
.map-card__pin {
    position: absolute;
    left: 50%;
    top: 42%;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    color: var(--teal);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .2);
}

.section-title {
    color: var(--ink);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.about-copy {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
    color: var(--ink);
}
.highlights-block { margin-top: 0; }
.highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    line-height: 24px;
}
.highlights .icon {
    margin-top: 1px;
    color: var(--ink);
}

.packages-section {
    margin: 51px -16px 0;
    padding: 16px 16px 0;
    border-top: 1px solid var(--line);
}
.packages-section .section-title { margin-bottom: 20px; }

.package-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
}
.package-card + .package-card { margin-top: 20px; }
.package-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.package-card__name {
    margin: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.package-card__price {
    flex: none;
    text-align: right;
}
.package-card__amount {
    color: var(--teal);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    white-space: nowrap;
}
.package-card__vat {
    margin: 0 0 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
}
.package-card__rule {
    height: 1px;
    margin: 16px 0 14px;
    background: var(--line);
}
.package-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    font-size: 14px;
    line-height: 20px;
}
.package-feature + .package-feature { margin-top: 10px; }
.package-feature img,
.package-feature .icon {
    width: 24px;
    height: 24px;
    flex: none;
}
.package-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.package-card__more {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 24px;
    color: var(--teal);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    white-space: nowrap;
}
.package-card__select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    color: #fff;
    background: var(--red);
    border-radius: 100px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .16s ease;
}
.package-card__select:hover { background: var(--red-dark); }

.bottom-bar {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: var(--app-width);
    min-height: 80px;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: var(--bar);
    transform: translateX(-50%);
    box-shadow: var(--shadow);
}
.bottom-bar__price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 72px;
}
.bottom-bar__amount {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.bottom-bar__note {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
}
.bottom-bar .btn { flex: none; }
.bottom-spacer { height: 88px; }

/* ---------- Details modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}
.modal.is-open { display: block; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
    animation: fade-in .18s ease both;
}
.modal__panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--app-width);
    max-height: 88dvh;
    background: #fff;
    border-radius: 24px 24px 0 0;
    transform: translateX(-50%);
    animation: sheet-up .24s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes sheet-up { from { transform: translate(-50%, 24px); opacity: .5; } }
@keyframes fade-in { from { opacity: 0; } }
.modal__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 16px 56px;
    border-bottom: 1px solid var(--line);
}
.modal__title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
}
.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
    border-radius: 50%;
}
.modal__close:hover { background: #f3f5f6; }
.modal__body {
    overflow-y: auto;
    padding: 16px 16px max(28px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}
.detail-group + .detail-group { margin-top: 24px; }
.detail-group h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.detail-row + .detail-row { margin-top: 14px; }
.detail-row h4 {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}
.detail-row li {
    position: relative;
    padding-left: 14px;
    color: var(--ink);
    font-size: 14px;
    line-height: 22px;
}
.detail-row li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--muted);
}
.detail-row li + li { margin-top: 3px; }

/* =========================================================
   FLOW PAGES (availability / contact / payment)
   ========================================================= */
.flow-page {
    position: relative;
    width: 100%;
    max-width: var(--app-width);
    min-height: 100dvh;
    margin: 0 auto;
    padding-bottom: 112px;
    background: #fff;
}
@media (min-width: 560px) {
    .flow-page { box-shadow: none; }
}
.flow-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 4px 16px;
    background: #fff;
}
.flow-header--border { border-bottom: 0; }
.flow-back {
    position: absolute;
    left: 8px;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    color: var(--teal);
    border-radius: 50%;
    transform: translateY(-50%);
}
.flow-back:hover { background: var(--teal-pale); }
.flow-title {
    width: 100%;
    overflow: hidden;
    padding: 0 76px;
    color: var(--ink);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.flow-lang {
    position: absolute;
    right: 8px;
    top: 50%;
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    transform: translateY(-50%);
}
.flow-header__spacer { display: none; }
.flow-body { display: flex; flex-direction: column; }
.flow-main { width: 100%; min-width: 0; }
.flow-side { display: flex; flex-direction: column; gap: 16px; }
.booking-flow .flow-body { padding: 0; }
.checkout-flow .flow-body,
.payment-flow .flow-body { padding: 16px; }
.checkout-flow .flow-side,
.payment-flow .flow-side { order: -1; }
.booking-flow .flow-side { order: 0; }
.side-card, .breadcrumbs, .desktop-sidebar, .gallery-more { display: none; }
.flow-section-title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.flow-bar {
    position: fixed;
    z-index: 40;
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: var(--app-width);
    min-height: 80px;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    transform: translateX(-50%);
}
.flow-bar--grey { background: var(--bar); border-top: 0; }
.flow-bar__price { display: flex; flex-direction: column; justify-content: center; }
.flow-bar__amount {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.flow-bar__note {
    color: var(--teal);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-decoration: none;
}
.flow-bar .btn { flex: none; }

/* ---------- Calendar ---------- */
.calendar-panel { padding: 12px 16px 0; }
.month-nav {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    min-height: 44px;
    margin-bottom: 16px;
}
.month-nav__btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--ink-soft);
    border-radius: 50%;
}
.month-nav__btn:hover { background: #f4f6f7; }
.month-nav__btn[disabled] { opacity: .25; cursor: default; }
.month-nav__label {
    color: var(--ink);
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    text-align: center;
}
.calendar-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-bottom: 14px;
    color: var(--muted);
    background: #f1f3f4;
    border-radius: 22px;
    font-size: 14px;
    line-height: 20px;
}
.calendar-hint.is-selected {
    color: var(--teal);
    background: var(--teal-pale);
    font-weight: 600;
}
.weekdays, .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.weekdays {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
}
.weekdays span {
    color: var(--muted);
    font-size: 12px;
    line-height: 24px;
    text-align: center;
}
.calendar-grid { row-gap: 1px; padding-top: 4px; }
.calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    height: 54px;
    border-radius: 7px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    transition: background-color .15s ease, color .15s ease;
}
.calendar-day__price {
    color: var(--muted);
    font-size: 11px;
    line-height: 14px;
}
.calendar-day:hover:not(:disabled) { background: #f2f6f7; }
.calendar-day.is-selected:hover,
.calendar-day.is-selected:focus-visible { color: #fff; background: var(--teal); }
.calendar-day.is-selected {
    color: #fff;
    background: var(--teal);
}
.calendar-day.is-selected .calendar-day__price { color: rgba(255, 255, 255, .92); }
.calendar-day:disabled {
    color: #b9c1c4;
    background: transparent;
    cursor: default;
}
.calendar-day:disabled .calendar-day__price { color: #c9d0d3; }
.calendar-day.is-empty { visibility: hidden; }
.calendar-day.is-disabled { color: #b9c1c4; background: transparent; cursor: default; }
.calendar-day.is-disabled .calendar-day__price { color: #c9d0d3; }
.calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.currency-label {
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: .04em;
}
.selected-day-title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}
.pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.pax-row:first-of-type { padding-top: 2px; }
.pax-copy { min-width: 0; }
.pax-copy h3 {
    margin: 0 0 2px;
    color: var(--ink);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}
.pax-copy p {
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
}
.pax-copy p span { color: var(--muted); }
.pax-stepper {
    display: flex;
    align-items: center;
    gap: 14px;
}
.stepper-btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 50%;
    background: #fff;
    transition: background-color .15s ease, opacity .15s ease;
}
.stepper-btn:hover { background: var(--teal-pale); }
.stepper-btn[disabled] {
    color: #c2c9cc;
    border-color: #dfe3e5;
    background: #fff;
    cursor: default;
}
.pax-value {
    min-width: 20px;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}
.vat-note {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}
.currency-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .04em;
}

/* ---------- Contact page ---------- */
.booking-summary {
    display: flex;
    min-height: 124px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
}
.booking-summary__image {
    flex: none;
    width: 124px;
    background: #e9eef0;
}
.booking-summary__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.booking-summary__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 16px;
}
.booking-summary__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.booking-summary__package {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
}
.booking-summary__date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 12px;
    line-height: 16px;
}
.booking-summary__date .icon { width: 16px; height: 16px; }
.booking-summary__date .icon { color: #4e686f; }

.contact-heading {
    margin: 16px 0 20px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.title-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.title-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 8px;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.title-pill:hover { border-color: #a9b2b5; }
.title-pill.is-selected {
    color: var(--teal);
    border-color: var(--teal);
    background: #f2fbfc;
    box-shadow: inset 0 0 0 1px var(--teal);
    font-weight: 600;
}
.field-stack { display: flex; flex-direction: column; gap: 16px; }
.field {
    position: relative;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.field input {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 20px 15px 6px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    line-height: 22px;
}
.field label {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 22px;
    pointer-events: none;
    transition: top .13s ease, font-size .13s ease, color .13s ease;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field.has-value label {
    top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: var(--muted);
}
.field input:focus ~ label { color: var(--teal); }
.field.is-invalid { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field-error {
    display: none;
    margin: 5px 0 0;
    color: var(--red);
    font-size: 12px;
    line-height: 16px;
}
.field.is-invalid + .field-error { display: block; }
.phone-row {
    display: grid;
    grid-template-columns: 103px 1fr;
    gap: 20px;
    align-items: start;
}
.select-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    padding: 16px 12px 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.select-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.select-field span.select-label {
    position: absolute;
    top: 6px;
    left: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
}
.select-field select {
    width: 100%;
    padding: 0 18px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    line-height: 22px;
    appearance: none;
}
.select-field .icon {
    position: absolute;
    right: 10px;
    bottom: 16px;
    color: var(--teal);
    pointer-events: none;
}
.marketing-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}
.marketing-check input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    accent-color: var(--teal);
}
.contact-help {
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}
.flow-bar__amount--lg { font-size: 18px; line-height: 24px; }
.flow-bar__vat { color: var(--muted); font-size: 12px; line-height: 16px; }
.flow-error {
    display: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    color: #8f2027;
    background: #fff0f1;
    border: 1px solid #f4c5c9;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}
.flow-error.is-visible { display: block; }

/* ---------- Payment page ---------- */
.pay-summary {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 98px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}
.pay-summary__thumb {
    flex: none;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    background: #e9eef0;
}
.pay-summary__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pay-summary__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.pay-summary__title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pay-summary__meta {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pay-summary__chevron { flex: none; display: inline-flex; color: var(--teal); }
.pay-with {
    margin: 28px 0 14px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.pay-method {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    width: 78px;
    height: 78px;
    padding: 12px;
    color: var(--teal);
    background: var(--teal-pale);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}
.pay-method.is-selected { border-color: transparent; }
.pay-method .icon { color: #4e686f; }
.card-box {
    overflow: hidden;
    margin-top: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.card-line {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
}
.card-line + .card-line { border-top: 1px solid var(--border); }
.card-line input {
    width: 100%;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
}
.card-line input::placeholder { color: var(--muted); opacity: 1; }
.card-line:focus-within { box-shadow: inset 0 0 0 1px var(--teal); border-radius: 4px; }
.card-line.is-invalid { box-shadow: inset 0 0 0 1px var(--red); }
.card-line__split { display: grid; grid-template-columns: 1fr 1fr; }
.card-line__split .card-line { height: 56px; }
.card-line__split .card-line + .card-line {
    border-top: 0;
    border-left: 1px solid var(--border);
}
.card-line__icon {
    position: absolute;
    right: 12px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--teal);
    border: 1px solid var(--teal);
    border-radius: 50%;
    background: #fff;
}
.card-line__icon .icon { width: 18px; height: 18px; }
.card-errors {
    display: none;
    margin: 8px 0 0;
    color: var(--red);
    font-size: 12px;
    line-height: 17px;
}
.card-errors.is-visible { display: block; }
.cvv-hint { display: none; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 17px; }

.voucher-title {
    margin: 32px 0 14px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}
.voucher-box {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    background: #fff;
}
.voucher-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 10px 16px;
}
.voucher-row + .voucher-row { border-top: 1px solid var(--border); }
.voucher-row__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 26px;
    color: #4e686f;
}
.voucher-row__body { flex: 1; min-width: 0; }
.voucher-row__title { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 20px; }
.voucher-row__sub { margin: 1px 0 0; color: var(--teal); font-size: 12px; line-height: 16px; font-weight: 600; }
.voucher-row__action {
    color: var(--teal);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    white-space: nowrap;
}
.voucher-input {
    display: none;
    gap: 8px;
    padding: 0 16px 14px;
}
.voucher-input.is-open { display: flex; }
.voucher-input input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: 0;
}
.voucher-input input:focus { border-color: var(--teal); }
.voucher-input button {
    padding: 0 16px;
    color: #fff;
    background: var(--teal);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.legal-copy {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}
.legal-copy a { color: var(--teal); }
.pay-bar { border-top: 0; box-shadow: var(--shadow); }
.pay-bar__total { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-soft); }
.pay-bar__breakdown { color: var(--teal); font-size: 16px; line-height: 24px; }
.pay-bar .btn { min-height: 56px; padding-left: 20px; padding-right: 20px; }
.pay-bar .icon { color: #fff; }

/* =========================================================
   SUCCESS
   ========================================================= */
.success-page {
    width: 100%;
    max-width: var(--app-width);
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 0 112px;
    background: #fff;
}
.success-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 54px 24px 28px;
    text-align: center;
}
.success-check {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(61, 155, 64, .25);
}
.success-check .icon { width: 38px; height: 38px; }
.success-hero h1 {
    margin: 0 0 8px;
    color: var(--ink-soft);
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
}
.success-hero p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 22px;
}
.success-body { padding: 0 16px; }
.reference-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: var(--bar);
    border-radius: var(--radius-card);
}
.reference-card span { color: var(--muted); font-size: 13px; line-height: 18px; }
.reference-card strong { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 17px; line-height: 24px; letter-spacing: .02em; }
.reference-card__mark { display: grid; place-items: center; width: 34px; height: 34px; color: var(--green); background: #e7f4e8; border-radius: 50%; }
.ticket-card {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
}
.ticket-card__event { display: flex; gap: 14px; padding: 14px; }
.ticket-card__event img {
    flex: none;
    width: 74px;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
}
.ticket-card__event h2 { margin: 2px 0 4px; font-size: 16px; line-height: 24px; font-weight: 600; }
.ticket-card__event p { margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }
.ticket-card__rows { border-top: 1px solid var(--line); padding: 14px; }
.ticket-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; line-height: 20px; }
.ticket-info-row span { color: var(--muted); }
.ticket-info-row strong { font-weight: 600; text-align: right; }
.success-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.success-actions .btn--ghost { border: 1px solid var(--border); }
.success-note {
    margin: 18px 4px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

/* =========================================================
   TOASTS / MISC
   ========================================================= */
.toast {
    position: fixed;
    z-index: 200;
    left: 50%;
    bottom: 100px;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    color: #fff;
    background: #223b43;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
    transform: translateX(-50%);
    animation: toast-in .22s ease both;
}
.toast--error { background: #9f2b33; }
.toast--success { background: #2f7632; }
.toast.is-hidden { animation: toast-out .2s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, 8px); } }

.notice {
    padding: 14px;
    border: 1px solid #f1d59b;
    background: #fff9eb;
    border-radius: 8px;
    color: #6c5014;
    font-size: 14px;
    line-height: 20px;
}

@media (min-width: 700px) {
    body { padding: 0; }
    .sheet { padding-left: 20px; padding-right: 20px; }
    .flow-body { padding-left: 20px; padding-right: 20px; }
    .calendar-panel { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* ---------- desktop-only pieces (hidden by default) ---------- */
.booking-widget {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(20, 47, 55, .08);
}
.booking-widget__from {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 13px;
    line-height: 20px;
}
.booking-widget__from strong {
    margin-left: 4px;
    color: var(--ink-soft);
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
}
.booking-widget__vat {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 12px;
    line-height: 16px;
}
.booking-widget__row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
}
.booking-widget__row .icon { color: #fe9c09; }
.booking-widget .btn + .btn { margin-top: 10px; }
.btn--outline .icon { color: var(--teal); }
.breadcrumbs {
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}
.breadcrumbs a { color: var(--teal); }
.breadcrumbs__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.side-card {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
}
.side-card__eyebrow {
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.side-card__title {
    margin: 4px 0 16px;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
}
.side-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 20px;
}
.side-card__row span { color: var(--muted); }
.side-card__row strong { color: var(--ink); font-weight: 600; text-align: right; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }

/* ============================================================
   Desktop layout (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {
    :root { --app-width: 1240px; }

    body { background: #fff; }
    .app-shell {
        max-width: 1300px;
        background: #fff;
        box-shadow: none;
    }

    /* ---------- activity landing (index) ---------- */
    .hero {
        height: clamp(440px, 38vw, 540px);
        max-height: none;
        margin: 24px 32px 0;
        border-radius: 20px;
    }
    .hero__slide { height: 100%; overflow: hidden; }
    .hero__slide img { height: 100%; }
    .hero__track {
        height: 100%;
        scroll-snap-type: x mandatory;
    }
    .hero__dots { display: flex; bottom: 48px; }
    .hero__actions { top: 20px; left: 20px; right: 20px; }
    .hero__shade { border-radius: 20px; }
    .hero-nav {
        position: absolute;
        z-index: 6;
        top: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        color: #fff;
        background: rgba(12, 28, 36, .56);
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 50%;
        transform: translateY(-50%);
        backdrop-filter: blur(8px);
        transition: background-color .16s ease, transform .16s ease;
    }
    .hero-nav:hover { background: rgba(12, 28, 36, .82); }
    .hero-nav:active { transform: translateY(-50%) scale(.96); }
    .hero-nav--prev { left: 20px; }
    .hero-nav--next { right: 20px; }
    .gallery-more {
        position: absolute;
        right: 20px;
        bottom: 48px;
        z-index: 6;
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 10px 18px;
        color: #fff;
        background: rgba(20, 29, 34, .72);
        border: 1px solid rgba(255, 255, 255, .25);
        border-radius: 100px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        backdrop-filter: blur(8px);
    }
    .gallery-more:hover { background: rgba(20, 29, 34, .88); }

    .sheet {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 32px 56px;
        align-items: start;
        margin-top: -32px;
        padding: 40px 40px 64px;
        border-radius: 28px 28px 0 0;
    }
    .sheet__main { min-width: 0; }
    .breadcrumbs { display: flex; }
    .activity-title {
        margin: 0 0 18px;
        font-size: 34px;
        line-height: 44px;
        letter-spacing: -.015em;
    }
    .quick-facts {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 32px;
        margin-bottom: 24px;
    }
    .quick-fact { font-size: 16px; }
    .map-card__frame { height: auto; aspect-ratio: 716 / 288; border-radius: 16px; }
    .map-card__address { font-size: 14px; }
    .section-title { font-size: 24px; line-height: 32px; }
    .about-copy { margin-top: 14px; font-size: 17px; line-height: 28px; }
    .highlights-block { margin-top: 0; }
    .highlights { margin-top: 12px; gap: 10px; }
    .highlights li { font-size: 17px; line-height: 28px; }
    .packages-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 20px;
        margin: 40px 0 0;
        padding: 28px 0 0;
        border-top: 1px solid var(--line);
    }
    .packages-section .section-title {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }
    .package-card {
        height: 100%;
        margin: 0;
        padding: 22px;
    }
    .package-card + .package-card { margin-top: 0; }
    .package-card__actions { gap: 6px; }
    .package-card__more { padding-left: 8px; padding-right: 8px; }
    .package-card__select { padding-left: 18px; padding-right: 18px; }
    .desktop-sidebar {
        display: block;
        position: sticky;
        top: 24px;
    }
    .bottom-bar { display: none; }
    .bottom-spacer { display: none; }
    .booking-widget { padding: 28px; }
    .booking-widget__from strong { font-size: 26px; line-height: 32px; }
    .booking-widget__row { font-size: 15px; }
    .booking-widget .btn { min-height: 54px; }
    /* ---------- flow pages ---------- */
    .flow-page {
        max-width: 1240px;
        padding: 0 40px 64px;
        background: #fff;
        box-shadow: none;
    }
    .flow-header {
        min-height: 80px;
        padding: 10px 28px;
        border-bottom: 1px solid var(--line);
    }
    .flow-back { left: 12px; }
    .flow-lang { right: 12px; }
    .flow-title {
        padding: 0 110px;
        font-size: 22px;
        line-height: 32px;
    }
    .flow-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 48px;
        align-items: start;
        padding: 32px 0 16px;
    }
    .flow-main { min-width: 0; }
    .flow-side {
        position: sticky;
        top: 104px;
        order: 0;
        gap: 18px;
    }
    .flow-bar {
        position: static;
        left: auto;
        bottom: auto;
        width: auto;
        max-width: none;
        min-height: 0;
        padding: 24px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(20, 47, 55, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        transform: none;
    }
    .flow-bar--grey { background: #fff; border-top: 1px solid var(--border); }
    .flow-bar__price { gap: 2px; }
    .flow-bar .btn { width: 100%; }
    .calendar-panel { padding: 0; }
    .checkout-flow .flow-side,
    .payment-flow .flow-side { order: 0; }
    .booking-flow .flow-main { max-width: 760px; }
    .side-card { display: flex; }
    .checkout-flow .flow-main,
    .payment-flow .flow-main { max-width: 780px; }
    .checkout-flow .contact-heading {
        margin: 0 0 18px;
        font-size: 26px;
        line-height: 34px;
    }
    .checkout-flow .booking-summary { width: auto; margin: 0; }
    .payment-flow .pay-summary { width: auto; }
    .payment-flow .pay-with {
        margin-top: 0;
        font-size: 26px;
        line-height: 34px;
    }
    .payment-flow .pay-method { margin-bottom: 24px; }
    .payment-flow .card-box,
    .payment-flow .voucher-box,
    .payment-flow .voucher-title,
    .payment-flow .legal-copy,
    .payment-flow .flow-error { max-width: 700px; }
    .payment-flow .card-box { margin-top: 24px; }
    .payment-flow .legal-copy { text-align: left; }


    /* Larger, easier-to-use desktop controls so pages do not look sparse. */
    .title-pills { gap: 16px; margin-bottom: 24px; }
    .title-pill { height: 48px; font-size: 13px; }
    .field { height: 62px; }
    .field label { top: 20px; font-size: 17px; }
    .field input { padding: 22px 16px 7px; font-size: 17px; }
    .field input:focus ~ label,
    .field input:not(:placeholder-shown) ~ label,
    .field.has-value label { top: 7px; font-size: 12px; }
    .field-stack { gap: 18px; }
    .phone-row { grid-template-columns: 116px 1fr; gap: 20px; }
    .select-field { height: 62px; padding: 18px 12px 0; }
    .select-field span.select-label { top: 7px; }
    .select-field .icon { bottom: 18px; }
    .select-field select { font-size: 17px; }
    .marketing-check { margin-top: 24px; font-size: 15px; }
    .contact-help { margin-top: 24px; font-size: 13px; line-height: 19px; }
    .booking-summary { min-height: 150px; }
    .booking-summary__image { width: 150px; }
    .booking-summary__body { padding: 20px; }
    .booking-summary__title { font-size: 16px; line-height: 22px; }
    .booking-summary__package { font-size: 13px; line-height: 18px; }
    .booking-summary__date { font-size: 13px; line-height: 18px; }
    .pay-summary { min-height: 112px; padding: 18px; }
    .pay-summary__thumb { width: 76px; height: 76px; }
    .pay-summary__title { font-size: 17px; line-height: 24px; }
    .pay-summary__meta { font-size: 13px; line-height: 18px; }
    .pay-method { width: 88px; height: 88px; padding: 14px; font-size: 13px; }
    .card-line { height: 64px; }
    .card-line__split .card-line { height: 64px; }
    .card-line input { font-size: 16px; }
    .voucher-row { min-height: 64px; padding: 14px 18px; }
    .voucher-row__title { font-size: 15px; }
    .voucher-row__sub { font-size: 13px; line-height: 18px; }
    .legal-copy { font-size: 13px; line-height: 20px; }
    .flow-bar__amount { font-size: 18px; line-height: 26px; }
    .flow-bar__vat { font-size: 13px; line-height: 18px; }
    .flow-bar__note { font-size: 15px; line-height: 21px; }
    .flow-bar .btn { min-height: 56px; }
    .calendar-day { height: 58px; }
    .pax-row { padding: 18px 0; }
    .selected-day-title { font-size: 22px; line-height: 30px; }
    /* ---------- success ---------- */
    .success-page {
        max-width: 1040px;
        padding-bottom: 56px;
        background: #fff;
        box-shadow: none;
    }
    .success-hero { padding: 64px 24px 32px; }
    .success-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 20px 32px;
        align-items: start;
        padding: 0 40px 48px;
    }
    .success-body .reference-card { grid-column: 1 / -1; }
    .success-body .ticket-card { grid-column: 1; grid-row: 2; margin-top: 0; }
    .success-body .success-actions {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .success-body .success-actions .btn { width: 100%; }
    .success-body .success-note { grid-column: 1 / -1; margin-top: 0; }

    /* ---------- dialogs ---------- */
    .modal__panel {
        top: 50%;
        bottom: auto;
        max-width: 560px;
        border-radius: 20px;
        transform: translate(-50%, -50%);
    }
    .modal__body { max-width: 560px; }
    .gallery-modal .modal__panel { max-width: 900px; }
    .gallery-modal .modal__body { max-width: none; }
    .gallery-grid img { height: 260px; }
}

/* ------------------------------------------------------------------ */
/* Language switch (EN | العربية)                                      */
/* ------------------------------------------------------------------ */
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 48px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #fff;
    color: var(--teal);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: nowrap;
}
.lang-switch:hover { border-color: var(--teal); }
.hero__actions-right { display: flex; align-items: center; gap: 14px; }
.lang-switch--icon {
    height: 32px;
    border-color: transparent;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.lang-switch--icon:hover { background: #fff; }

/* ------------------------------------------------------------------ */
/* Arabic (RTL) adjustments                                            */
/* ------------------------------------------------------------------ */
html[dir="rtl"] body {
    font-family: "Noto Sans Arabic", "Open Sans", "Segoe UI", Tahoma, Arial, sans-serif;
}
[dir="rtl"] .flow-back { left: auto; right: 8px; margin-left: 0; margin-right: 0; }
[dir="rtl"] .flow-lang { right: auto; left: 8px; }
[dir="rtl"] .gallery-more { right: auto; left: 20px; }
[dir="rtl"] .booking-widget__from strong { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .flow-back svg,
[dir="rtl"] .hero-icon[data-back] svg,
[dir="rtl"] .pay-summary__chevron svg,
[dir="rtl"] .month-nav__btn svg { transform: scaleX(-1); }
[dir="rtl"] .modal__close { right: auto; left: 12px; }
[dir="rtl"] .detail-row li { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .detail-row li::before { left: auto; right: 1px; }
[dir="rtl"] .field label { left: auto; right: 16px; }
[dir="rtl"] .select-field span.select-label { left: auto; right: 16px; }
[dir="rtl"] .select-field .icon { right: auto; left: 10px; }
[dir="rtl"] .card-line__icon { right: auto; left: 12px; }
[dir="rtl"] .card-line__split .card-line + .card-line { border-left: 0; border-right: 1px solid var(--border); }
[dir="rtl"] .pax-copy,
[dir="rtl"] .booking-summary__body,
[dir="rtl"] .ticket-info-row { text-align: right; }
[dir="rtl"] .stepper-btn svg,
[dir="rtl"] .success-check svg { transform: none; }


/* Page-header language switch: compact, absolute, never wraps the title. */
.lang-switch.flow-lang {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 0;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    transform: translateY(-50%);
}
@media (min-width: 1024px) {
    .lang-switch.flow-lang { right: 12px; height: 32px; padding: 0 12px; font-size: 13px; }
    [dir="rtl"] .flow-back { left: auto; right: 12px; }
    [dir="rtl"] .lang-switch.flow-lang { right: auto; left: 12px; }
    [dir="rtl"] .flow-main { text-align: right; }
    [dir="rtl"] .flow-side { text-align: right; }
    [dir="rtl"] .payment-flow .legal-copy { text-align: right; }
}
[dir="rtl"] .lang-switch.flow-lang { right: auto; left: 8px; }

/* Keep Latin currency codes and card numbers readable inside RTL layouts. */
[data-total-bar], .package-card__amount, .flow-bar__amount, .pay-bar__total,
.pay-summary__meta, .ticket-info-row strong, .booking-widget__from strong {
    unicode-bidi: isolate;
}
[dir="rtl"] .card-line input[name="cardNumber"],
[dir="rtl"] .card-line input[name="expiryDate"],
[dir="rtl"] .card-line input[name="cvv"],
[dir="rtl"] #phone,
[dir="rtl"] .select-field select {
    direction: ltr;
    text-align: right;
}
[dir="rtl"] .breadcrumbs { direction: rtl; }
