/* ==========================================================================
   Karma Experience — Australia Landing Page
   Fresh coastal design for the Australian market:
   ocean teal + sand + coral, clean modern type, airy spacing.
   ========================================================================== */

:root {
    /* Palette */
    --deep: #04394e;          /* deep ocean */
    --teal: #0e7490;          /* primary teal */
    --aqua: #22b8cf;          /* bright aqua */
    --sand: #faf6ef;          /* warm sand background */
    --sand-dark: #f1e9da;
    --coral: #ff6b5e;         /* CTA coral */
    --coral-dark: #f04f41;
    --ink: #15303b;           /* headings */
    --text: #4a5b64;          /* body text */
    --line: #e4ded2;
    --white: #ffffff;

    /* Type */
    --head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Misc */
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 35px rgba(4, 57, 78, 0.10);
    --shadow-lift: 0 18px 45px rgba(4, 57, 78, 0.16);

    scroll-padding-top: 110px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
}

body {
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(255, 107, 94, 0.38);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 94, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--deep);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13.5px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Top offer bar
   ========================================================================== */

.topbar {
    background: var(--deep);
    color: #cfe9f2;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.topbar strong {
    color: var(--white);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 11px;
    padding-bottom: 11px;
    text-align: center;
}

.aus-flag {
    display: inline-flex;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 24px rgba(4, 57, 78, 0.10);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.brand {
    flex-shrink: 0;
    display: inline-flex;
}

.brand-logo {
    height: 54px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    font-family: var(--head);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 0;
    position: relative;
    transition: color 0.25s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2.5px;
    border-radius: 2px;
    background: var(--aqua);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--teal);
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

nav a.nav-cta {
    background: var(--coral);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: 0 8px 22px rgba(255, 107, 94, 0.38);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

nav a.nav-cta::after {
    display: none;
}

nav a.nav-cta:hover,
nav a.nav-cta.active {
    background: var(--coral-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 94, 0.45);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    background: #fbf7ef;
}

/* Soft, washed-out photo backdrop (stronger on the right, like the mockup) */
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('img/banner-1747982203-Kuta-01.webp') center / cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        #fbf7ef 0%,
        rgba(251, 247, 239, 0.97) 36%,
        rgba(251, 247, 239, 0.82) 60%,
        rgba(251, 247, 239, 0.55) 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
    padding-top: 88px;
    padding-bottom: 130px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 184, 207, 0.12);
    border: 1px solid rgba(14, 116, 144, 0.18);
    color: var(--teal);
    font-family: var(--head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.hero-eyebrow i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aqua);
}

.hero-title {
    font-family: var(--head);
    font-weight: 700;
    font-size: clamp(38px, 5.2vw, 62px);
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.hero-title em {
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--teal);
    padding-right: 8px;
}

.hero-title em::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--aqua), rgba(34, 184, 207, 0.25));
}

.hero-sub {
    color: var(--text);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 26px;
}

/* Destination list — highlights in sync with the photo deck */
.hero-dest-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 34px;
}

.hero-dest-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8295a0;
    transition: color 0.4s ease;
}

.hero-dest-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(34, 184, 207, 0.45);
    transition: background 0.4s ease, transform 0.4s ease;
}

.hero-dest-list li.active {
    color: var(--deep);
}

.hero-dest-list li.active::before {
    background: var(--coral);
    transform: scale(1.35);
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.btn-lg {
    padding: 17px 42px;
    font-size: 16px;
}

.hero-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.hp-label {
    color: var(--text);
    font-family: var(--head);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hp-value {
    font-family: var(--head);
    font-size: clamp(28px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--deep);
}

/* Social proof row */
.hero-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatars {
    display: flex;
}

.avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2.5px solid #fbf7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin-left: -10px;
}

.avatars span:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, var(--teal), var(--aqua));
}

.avatars span:nth-child(2) {
    background: linear-gradient(135deg, var(--coral), #ff9a8d);
}

.avatars span:nth-child(3) {
    background: linear-gradient(135deg, #0e7490, #04394e);
}

.avatars span.more {
    background: var(--deep);
    font-size: 11.5px;
}

.social-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.social-meta .stars {
    color: #f4b13e;
    font-size: 14px;
    letter-spacing: 2px;
}

.social-meta span:last-child {
    font-size: 13px;
    color: var(--text);
}

/* --- Photo deck: stacked polaroid cards that flip like pages --- */
.hero-deck {
    position: relative;
    height: 540px;
    margin-left: 40px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.deck-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(390px, 92%);
    margin: 0;
    background: var(--white);
    padding: 13px 13px 15px;
    border-radius: 16px;
    box-shadow:
        0 32px 64px rgba(21, 48, 59, 0.20),
        0 6px 18px rgba(21, 48, 59, 0.10);
    transition: transform 0.65s cubic-bezier(0.22, 0.85, 0.3, 1), opacity 0.5s ease;
    will-change: transform;
}

.deck-card img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.deck-card figcaption {
    text-align: center;
    font-family: var(--head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--deep);
    padding-top: 13px;
}

/* Fanned stack positions (0 = top card) — shifted right for breathing room from copy */
.deck-card.pos-0 {
    transform: translate(-28%, -52%) rotate(6deg);
}

.deck-card.pos-1 {
    transform: translate(-36%, -50%) rotate(-3deg);
}

.deck-card.pos-2 {
    transform: translate(-44%, -49%) rotate(-10deg);
}

.deck-card.pos-3 {
    transform: translate(-50%, -48%) rotate(-16deg);
}

/* Top card swings away like a turned page */
.deck-card.leaving {
    transform: translate(35%, -78%) rotate(24deg);
    opacity: 0;
}

/* ==========================================================================
   Hero — Open textbook variant (index-book.php)
   ========================================================================== */

.page-book .hero {
    overflow: visible;
    padding-bottom: 24px;
}

.page-book .hero-bg::after {
    background: linear-gradient(180deg,
        #fbf7ef 0%,
        rgba(251, 247, 239, 0.96) 55%,
        rgba(251, 247, 239, 0.88) 100%);
}

.page-book .hero > .container,
.page-book .hero-grid--book {
    max-width: 1320px;
}

/* Side-by-side: copy left, wide open book right */
.page-book .hero-grid--book {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px 56px;
    padding-top: 88px;
    padding-bottom: 72px;
}

.page-book .hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    margin: 0;
}

.page-book .hero-sub {
    max-width: 500px;
}

.page-book .hero-dest-list {
    justify-content: flex-start;
}

.page-book .hero-cta-row {
    justify-content: flex-start;
}

.page-book .hero-book {
    width: 100%;
    min-width: 0;
}

.open-book {
    display: flex;
    width: 100%;
    height: clamp(440px, 40vw, 560px);
    perspective: 2200px;
    transform-style: preserve-3d;
    cursor: pointer;
    filter: drop-shadow(0 28px 55px rgba(21, 48, 59, 0.22));
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.open-book.is-flipping {
    overflow: visible;
}

/* Left page — journal (same flip structure as right photo page) */
.book-left {
    flex: 0 0 36%;
    min-width: 0;
    position: relative;
    background: #fffef9;
    box-shadow: inset -14px 0 28px rgba(21, 48, 59, 0.08);
    border: 1px solid rgba(212, 196, 160, 0.55);
    border-right: none;
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.book-left-stage {
    position: absolute;
    inset: 0;
    perspective: 1800px;
    transform-style: preserve-3d;
}

.book-left-base,
.book-left-flip,
.book-left-front,
.book-left-back {
    position: absolute;
    inset: 0;
}

.book-left-base {
    z-index: 1;
    background: linear-gradient(145deg, #fffef9 0%, #f8f2e6 100%);
}

.book-left-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    background: linear-gradient(145deg, #fffef9 0%, #f8f2e6 100%);
}

.book-left-flip {
    z-index: 3;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: transform;
}

.book-left-front,
.book-left-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.book-left-back {
    transform: rotateY(180deg);
    background: #fffef9;
}

.book-left-flip.turn-forward {
    transform: rotateY(-180deg);
}

.book-left-flip.no-transition {
    transition: none !important;
}

.open-book.is-flipping .book-left-flip .book-page-curl,
.book-left-flip.turn-forward .book-page-curl {
    opacity: 1;
}

.book-left-front .book-page-mark {
    position: absolute;
    bottom: 14px;
    left: 22px;
}

.book-tag {
    font-family: var(--head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

.book-chapter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 600;
    font-style: italic;
    color: rgba(14, 116, 144, 0.22);
    line-height: 1;
    margin-bottom: 8px;
}

.book-place {
    font-family: var(--head);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: var(--deep);
    line-height: 1.15;
    margin-bottom: 4px;
    transition: opacity 0.35s ease;
}

.book-region {
    font-family: var(--head);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 16px;
}

.book-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--coral), rgba(255, 107, 94, 0.2));
    margin-bottom: 14px;
}

.book-blurb {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text);
    flex: 1;
}

.book-page-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 11px;
    color: rgba(21, 48, 59, 0.28);
}

/* Spine */
.book-spine {
    flex: 0 0 22px;
    background: linear-gradient(90deg,
        #a89258 0%,
        #e8dcc0 20%,
        #faf6ec 50%,
        #e8dcc0 80%,
        #a89258 100%);
    box-shadow:
        inset 0 0 14px rgba(0, 0, 0, 0.22),
        0 0 10px rgba(21, 48, 59, 0.14);
    z-index: 5;
    position: relative;
}

/* Right page — destination photo */
.book-right {
    flex: 1;
    min-width: 0;
    position: relative;
    background: #fffef9;
    border: 1px solid rgba(212, 196, 160, 0.55);
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.book-stage {
    position: absolute;
    inset: 0;
    perspective: 1800px;
    transform-style: preserve-3d;
}

.book-page-base,
.book-page-flip,
.book-page-front,
.book-page-back {
    position: absolute;
    inset: 0;
}

.book-page-base {
    z-index: 1;
    background: #fffef9;
}

.book-page-base img,
.book-page-front img {
    display: block;
    width: 100%;
    height: calc(100% - 52px);
    object-fit: cover;
}

.book-page-cap {
    display: block;
    text-align: center;
    font-family: var(--head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--deep);
    padding: 16px 12px 0;
}

.book-page-flip {
    z-index: 3;
    transform-origin: left center;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.45, 0.05, 0.25, 1);
    will-change: transform;
}

.book-page-front,
.book-page-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #fffef9;
}

.book-page-back {
    transform: rotateY(180deg);
}

.book-page-back-paper {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, #f0e8d4 0%, #e5dbc5 100%),
        repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(21, 48, 59, 0.05) 28px, rgba(21, 48, 59, 0.05) 29px);
    box-shadow: inset -8px 0 20px rgba(21, 48, 59, 0.12);
}

.book-page-curl {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 48, 59, 0.35) 0%, transparent 50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 4;
}

.open-book.is-flipping .book-page-curl,
.book-page-flip.turn-forward .book-page-curl {
    opacity: 1;
}

.book-page-flip.turn-forward {
    transform: rotateY(-180deg);
}

.book-page-flip.no-transition {
    transition: none !important;
}

/* Controls below the book */
.book-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}

.book-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--deep);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    box-shadow: var(--shadow);
}

.book-btn:hover {
    background: var(--sand);
    border-color: var(--teal);
    transform: scale(1.06);
}

.book-pips {
    display: flex;
    gap: 8px;
}

.book-pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(14, 116, 144, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.book-pip.active {
    background: var(--coral);
    transform: scale(1.35);
}

.book-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text);
    margin-top: 10px;
    opacity: 0.75;
}

/* Book page: keep highlights + sections intact */
.page-book .highlights {
    position: relative;
    z-index: auto;
    padding: 24px 0 40px;
    background: var(--white);
    margin-top: 0;
}

.page-book .highlights > .container {
    padding-left: 20px;
    padding-right: 20px;
}

.page-book .highlights-grid {
    margin-top: 0;
    box-shadow: var(--shadow);
}

.page-book .destinations--journal {
    position: relative;
    z-index: 2;
}

.page-book .section {
    padding: 96px 0;
}

/* ==========================================================================
   Highlights strip
   ========================================================================== */

.highlights {
    background: var(--white);
    position: relative;
    z-index: 4;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 34px;
    margin-top: -56px;
    position: relative;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 14px;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(34, 184, 207, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--teal);
}

.highlight-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.highlight-text strong {
    font-family: var(--head);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.highlight-text span {
    font-size: 13px;
    color: var(--text);
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section {
    padding: 96px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.section-tag {
    display: inline-block;
    font-family: var(--head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--aqua);
}

.section-title {
    font-family: var(--head);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 40px);
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.4px;
}

.section-title.left {
    text-align: left;
}

.section-title em {
    font-style: normal;
    color: var(--teal);
}

.section-sub {
    margin-top: 14px;
    font-size: 16px;
    color: var(--text);
}

/* ==========================================================================
   Destinations
   ========================================================================== */

.destinations {
    background: var(--sand);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.dest-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(4, 57, 78, 0.1),
        0 12px 28px rgba(4, 57, 78, 0.16),
        0 24px 52px rgba(4, 57, 78, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 12px rgba(4, 57, 78, 0.12),
        0 18px 40px rgba(4, 57, 78, 0.22),
        0 36px 64px rgba(4, 57, 78, 0.18);
}

.dest-card-link {
    display: block;
    position: relative;
    aspect-ratio: 3 / 5.5;
    min-height: 320px;
    color: var(--white);
    text-decoration: none;
}

.dest-media {
    position: absolute;
    inset: 0;
}

.dest-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 0.85, 0.3, 1);
}

.dest-card:hover .dest-media img {
    transform: scale(1.05);
}

.dest-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    padding: 12px 14px;
    border-radius: 12px;
    text-align: right;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 20px rgba(4, 57, 78, 0.15);
}

.dest-badge h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 3px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 8px rgba(4, 57, 78, 0.25);
}

.dest-badge p {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    margin: 0;
}

.dest-btn {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-block;
    width: auto;
    white-space: nowrap;
    text-align: center;
    font-family: var(--head);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink);
    padding: 9px 18px;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(4, 57, 78, 0.18);
}

.dest-card:hover .dest-btn {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 57, 78, 0.22);
}

.dest-card--bali .dest-btn {
    background: #b8e8f4;
}

.dest-card--samui .dest-btn {
    background: #f5d0c4;
}

.dest-card--bayon .dest-btn {
    background: #c5ebe0;
}

.dest-card--hoian .dest-btn {
    background: #f3e4a6;
}

/* ==========================================================================
   Destinations — journal spread (index-book.php only)
   ========================================================================== */

.page-book .destinations--journal {
    background: linear-gradient(180deg, var(--sand) 0%, #f3ece0 100%);
    overflow: hidden;
}

.page-book .destinations--journal .section-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--teal);
}

.page-book .journal-spread {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 28px 44px;
    background:
        linear-gradient(90deg, rgba(21, 48, 59, 0.03) 0%, transparent 8%, transparent 92%, rgba(21, 48, 59, 0.03) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.06) 27px,
            rgba(14, 116, 144, 0.06) 28px
        ),
        linear-gradient(145deg, #fffef9 0%, #f8f2e6 55%, #fffef9 100%);
    border: 1px solid rgba(212, 196, 160, 0.65);
    border-radius: 6px 14px 14px 6px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(21, 48, 59, 0.06),
        0 24px 56px rgba(21, 48, 59, 0.14);
}

.page-book .journal-spread-gutter {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(21, 48, 59, 0.12) 12%,
        rgba(21, 48, 59, 0.18) 50%,
        rgba(21, 48, 59, 0.12) 88%,
        transparent 100%);
    box-shadow:
        -18px 0 28px rgba(21, 48, 59, 0.06),
        18px 0 28px rgba(21, 48, 59, 0.06);
    pointer-events: none;
    z-index: 1;
}

.page-book .journal-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
    align-items: start;
}

.page-book .journal-entry {
    transition: transform 0.4s cubic-bezier(0.22, 0.85, 0.3, 1);
}

.page-book .journal-entry:nth-child(1) { transform: rotate(-2.2deg) translateY(6px); }
.page-book .journal-entry:nth-child(2) { transform: rotate(1.4deg) translateY(-4px); }
.page-book .journal-entry:nth-child(3) { transform: rotate(-1deg) translateY(8px); }
.page-book .journal-entry:nth-child(4) { transform: rotate(2deg) translateY(-2px); }

.page-book .journal-entry:hover {
    transform: rotate(0deg) translateY(-10px);
    z-index: 4;
}

.page-book .journal-entry-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.page-book .journal-ribbon {
    position: absolute;
    top: -6px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    width: 28px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    background: var(--teal);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
    box-shadow: 0 4px 12px rgba(4, 57, 78, 0.22);
    transition: height 0.3s ease;
}

.page-book .journal-entry--bali .journal-ribbon { background: #0e7490; }
.page-book .journal-entry--samui .journal-ribbon { background: #e07a5f; }
.page-book .journal-entry--bayon .journal-ribbon { background: #2a9d8f; }
.page-book .journal-entry--hoian .journal-ribbon { background: #c9a227; }

.page-book .journal-entry:hover .journal-ribbon {
    height: 58px;
}

.page-book .journal-polaroid {
    position: relative;
    padding: 14px 14px 18px;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(21, 48, 59, 0.08),
        0 10px 28px rgba(21, 48, 59, 0.14);
    transition: box-shadow 0.35s ease;
}

.page-book .journal-entry:hover .journal-polaroid {
    box-shadow:
        0 2px 4px rgba(21, 48, 59, 0.1),
        0 18px 40px rgba(21, 48, 59, 0.2);
}

.page-book .journal-tape {
    position: absolute;
    top: -7px;
    z-index: 6;
    width: 44px;
    height: 18px;
    background: rgba(255, 248, 220, 0.72);
    border: 1px solid rgba(212, 196, 160, 0.45);
    box-shadow: 0 1px 3px rgba(21, 48, 59, 0.08);
}

.page-book .journal-tape--left {
    left: 18px;
    transform: rotate(-8deg);
}

.page-book .journal-tape--right {
    right: 18px;
    transform: rotate(6deg);
    background: rgba(232, 245, 248, 0.78);
}

.page-book .journal-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e8e0d4;
}

.page-book .journal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 0.85, 0.3, 1);
}

.page-book .journal-entry:hover .journal-photo img {
    transform: scale(1.06);
}

.page-book .journal-stamp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    padding: 5px 10px;
    font-family: var(--head);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    transform: rotate(-12deg);
    background: rgba(4, 57, 78, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.page-book .journal-caption {
    padding: 14px 4px 2px;
    text-align: center;
}

.page-book .journal-label {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    font-style: italic;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 4px;
}

.page-book .journal-caption p {
    font-size: 11.5px;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}

.page-book .journal-cta {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-family: var(--head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--teal);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-book .journal-entry:hover .journal-cta {
    opacity: 1;
    transform: translateY(0);
}

/* --- Shared journal paper texture --- */
.page-book .journal-paper {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.06) 27px,
            rgba(14, 116, 144, 0.06) 28px
        ),
        linear-gradient(145deg, #fffef9 0%, #f8f2e6 100%);
}

/* ==========================================================================
   Journal theme — remaining sections (index-book.php)
   ========================================================================== */

.page-book .highlights--journal {
    background: linear-gradient(180deg, var(--white) 0%, #f8f2e6 100%);
    padding-bottom: 16px;
}

.page-book .highlights--journal .highlights-grid {
    width: 100%;
    max-width: 100%;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.05) 27px,
            rgba(14, 116, 144, 0.05) 28px
        ),
        linear-gradient(145deg, #fffef9 0%, #f8f2e6 100%);
    border: 1px solid rgba(212, 196, 160, 0.6);
    border-radius: 4px 14px 14px 4px;
    box-shadow:
        inset 48px 0 0 -44px rgba(255, 107, 94, 0.08),
        0 16px 40px rgba(21, 48, 59, 0.1);
    padding: 28px 34px 28px 56px;
}

.page-book .highlights--journal .highlight {
    position: relative;
    padding-left: 4px;
}

.page-book .highlights--journal .highlight-icon {
    background: transparent;
    border: 2px dashed rgba(14, 116, 144, 0.35);
    border-radius: 50%;
}

.page-book .highlights--journal .highlight-text strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
}

.page-book .accommodation--journal {
    background: linear-gradient(180deg, #fffef9 0%, #f3ece0 100%);
}

.page-book .accommodation--journal .accom-info .section-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--teal);
}

.page-book .accommodation--journal .accom-info {
    padding: 36px 32px;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.05) 27px,
            rgba(14, 116, 144, 0.05) 28px
        ),
        #fffef9;
    border: 1px solid rgba(212, 196, 160, 0.55);
    border-left: 3px solid var(--coral);
    border-radius: 4px 12px 12px 4px;
    box-shadow: 0 12px 32px rgba(21, 48, 59, 0.08);
}

.page-book .accommodation--journal .accom-perks svg {
    background: var(--coral);
    border-radius: 4px;
    padding: 4px;
}

.page-book .accommodation--journal .rooms-viewport {
    background: var(--white);
    padding: 14px 14px 0;
    border-radius: 2px;
    box-shadow:
        0 2px 4px rgba(21, 48, 59, 0.08),
        0 16px 40px rgba(21, 48, 59, 0.14);
    border: 1px solid rgba(212, 196, 160, 0.4);
}

.page-book .accommodation--journal .room-slide {
    display: flex;
    flex-direction: column;
}

.page-book .accommodation--journal .room-slide img {
    border-radius: 0;
    flex-shrink: 0;
}

.page-book .accommodation--journal .room-caption {
    position: relative;
    left: auto;
    bottom: auto;
    background: var(--white);
    box-shadow: none;
    text-align: center;
    padding: 14px 12px 16px;
    border-radius: 0;
}

.page-book .accommodation--journal .room-caption strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
}

.page-book .gallery--journal {
    background: linear-gradient(180deg, #f3ece0 0%, #ebe3d4 100%);
}

.page-book .gallery--journal .section-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--teal);
}

.page-book .gallery--journal .gallery-toolbar {
    background: #fffef9;
    border: 1px solid rgba(212, 196, 160, 0.5);
    border-radius: 8px;
    padding: 16px 22px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.page-book .gallery--journal .gallery-item {
    background: var(--white);
    padding: 10px 10px 14px;
    border-radius: 0;
    aspect-ratio: auto;
    overflow: visible;
    box-shadow: 0 8px 22px rgba(21, 48, 59, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-book .gallery--journal .gallery-item:nth-child(6n+1) { transform: rotate(-1.8deg); }
.page-book .gallery--journal .gallery-item:nth-child(6n+2) { transform: rotate(1.2deg); }
.page-book .gallery--journal .gallery-item:nth-child(6n+3) { transform: rotate(-0.6deg); }
.page-book .gallery--journal .gallery-item:nth-child(6n+4) { transform: rotate(1.6deg); }
.page-book .gallery--journal .gallery-item:nth-child(6n+5) { transform: rotate(-1.1deg); }
.page-book .gallery--journal .gallery-item:nth-child(6n+6) { transform: rotate(0.8deg); }

.page-book .gallery--journal .gallery-item:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 14px 32px rgba(21, 48, 59, 0.18);
    z-index: 2;
}

.page-book .gallery--journal .gallery-item img {
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.page-book .gallery--journal .gallery-item figcaption {
    position: relative;
    opacity: 1;
    background: none;
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    padding: 10px 4px 2px;
    text-align: center;
}

.page-book .testimonials--journal {
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.04) 27px,
            rgba(14, 116, 144, 0.04) 28px
        ),
        #fffef9;
}

.page-book .testimonials--journal .section-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--teal);
}

.page-book .testimonials--journal .testi-card {
    background: var(--white);
    border: 1px solid rgba(212, 196, 160, 0.55);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(21, 48, 59, 0.08);
    position: relative;
    padding-top: 40px;
}

.page-book .testimonials--journal .testi-card::before {
    content: '';
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 52px;
    border: 2px dashed rgba(14, 116, 144, 0.35);
    border-radius: 4px;
    opacity: 0.7;
}

.page-book .testimonials--journal .testi-card p {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink);
}

.page-book .testimonials--journal .testi-avatar {
    background: var(--coral);
    border-radius: 4px;
}

.page-book .booking--journal {
    background: linear-gradient(180deg, #ebe3d4 0%, #f8f2e6 100%);
}

.page-book .journal-booking-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) 1fr;
    align-items: stretch;
    background: #fffef9;
    border: 1px solid rgba(212, 196, 160, 0.6);
    border-radius: 6px 18px 18px 6px;
    box-shadow:
        0 4px 8px rgba(21, 48, 59, 0.06),
        0 28px 60px rgba(21, 48, 59, 0.14);
    overflow: hidden;
}

.page-book .journal-booking-aside {
    position: relative;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(14, 116, 144, 0.05) 27px,
            rgba(14, 116, 144, 0.05) 28px
        ),
        #fffef9;
    border-right: 1px dashed rgba(212, 196, 160, 0.7);
}

.page-book .journal-booking-aside-inner {
    position: relative;
    padding: 36px 32px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-book .journal-booking-aside .section-tag {
    color: var(--coral);
    margin-bottom: 12px;
}

.page-book .journal-booking-aside h2 {
    font-family: var(--head);
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 12px;
}

.page-book .journal-booking-aside h2 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--teal);
}

.page-book .journal-booking-lead {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 18px;
    max-width: 28ch;
}

.page-book .journal-booking-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.page-book .journal-booking-chips li {
    font-family: var(--head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(34, 184, 207, 0.1);
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: 999px;
    padding: 6px 12px;
}

.page-book .journal-booking-stamp {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border: 2px dashed rgba(255, 107, 94, 0.45);
    border-radius: 50%;
    transform: rotate(-8deg);
    margin-top: auto;
}

.page-book .journal-booking-stamp-price {
    font-family: var(--head);
    font-size: 20px;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
}

.page-book .journal-booking-stamp-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 4px;
}

.page-book .journal-booking-sheet {
    background: var(--white);
    position: relative;
}

.page-book .journal-booking-sheet::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    width: 3px;
    height: calc(100% - 36px);
    background: linear-gradient(180deg, var(--coral) 0%, rgba(255, 107, 94, 0.2) 100%);
    border-radius: 0 2px 2px 0;
    opacity: 0.7;
}

.page-book .journal-booking-form {
    padding: 28px 32px 30px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-book .journal-form-kicker {
    font-family: var(--head);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 2px;
}

.page-book .journal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

.page-book .journal-form-grid .form-group--full {
    grid-column: 1 / -1;
}

.page-book .journal-booking-form .form-group {
    gap: 5px;
}

.page-book .journal-booking-form .form-group label {
    font-size: 11px;
    letter-spacing: 0.6px;
}

.page-book .journal-booking-form .form-group input,
.page-book .journal-booking-form .form-group .select-wrap select {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
    background: #faf8f4;
}

.page-book .journal-booking-form .phone-wrap .iti input {
    padding: 10px 12px 10px 52px;
    font-size: 14px;
}

.page-book .journal-form-consents {
    background: #faf8f4;
    border: 1px solid rgba(212, 196, 160, 0.55);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 4px;
}

.page-book .journal-form-consents .form-consents {
    gap: 10px;
}

.page-book .journal-form-consents .form-consent label {
    font-size: 12px;
    line-height: 1.45;
}

.page-book .journal-form-consents .form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.page-book .journal-booking-submit {
    margin-top: 4px;
    padding: 13px 24px;
    font-size: 14.5px;
}

/* ==========================================================================
   Photo deck theme — all sections (index.php)
   ========================================================================== */

.page-deck .highlights--deck {
    background: transparent;
}

.page-deck .highlights--deck .highlights-grid {
    background: transparent;
    box-shadow: none;
    padding: 20px 0;
    gap: 16px;
    margin-top: -48px;
}

.page-deck .highlights--deck .highlight {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    background: var(--white);
    padding: 22px 16px 20px;
    border-radius: 16px;
    box-shadow:
        0 2px 6px rgba(21, 48, 59, 0.08),
        0 14px 32px rgba(21, 48, 59, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-deck .highlights--deck .highlight:nth-child(1) { transform: rotate(-2deg); }
.page-deck .highlights--deck .highlight:nth-child(2) { transform: rotate(1.5deg); }
.page-deck .highlights--deck .highlight:nth-child(3) { transform: rotate(-1deg); }
.page-deck .highlights--deck .highlight:nth-child(4) { transform: rotate(2deg); }

.page-deck .highlights--deck .highlight:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow:
        0 4px 10px rgba(21, 48, 59, 0.1),
        0 20px 44px rgba(21, 48, 59, 0.16);
}

.page-deck .highlights--deck .highlight-icon {
    border-radius: 50%;
    background: rgba(34, 184, 207, 0.14);
}

.page-deck .highlights--deck .highlight-text span {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.page-deck .destinations--deck {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(34, 184, 207, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 94, 0.05) 0%, transparent 50%),
        var(--sand);
}

.page-deck .destinations--deck .section-head {
    position: relative;
}

.page-deck .destinations--deck .section-tag {
    letter-spacing: 2px;
}

.page-deck .destinations--deck .dest-deck-grid {
    gap: 28px;
    align-items: start;
}

.page-deck .destinations--deck .dest-deck-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.page-deck .destinations--deck .dest-deck-card:hover {
    transform: none;
    box-shadow: none;
}

.page-deck .destinations--deck .dest-deck-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.page-deck .destinations--deck .dest-deck-num {
    position: absolute;
    top: -6px;
    left: -6px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--coral);
    color: var(--white);
    font-family: var(--head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 107, 94, 0.4);
    border: 2px solid var(--white);
}

.page-deck .destinations--deck .dest-polaroid {
    margin: 0;
    background: var(--white);
    padding: 13px 13px 15px;
    border-radius: 16px;
    box-shadow:
        0 32px 64px rgba(21, 48, 59, 0.16),
        0 6px 18px rgba(21, 48, 59, 0.08);
    transition: transform 0.4s cubic-bezier(0.22, 0.85, 0.3, 1), box-shadow 0.35s ease;
}

.page-deck .destinations--deck .dest-deck-card:nth-child(1) .dest-polaroid { transform: rotate(-3.5deg); }
.page-deck .destinations--deck .dest-deck-card:nth-child(2) .dest-polaroid { transform: rotate(2.5deg); }
.page-deck .destinations--deck .dest-deck-card:nth-child(3) .dest-polaroid { transform: rotate(-2deg); }
.page-deck .destinations--deck .dest-deck-card:nth-child(4) .dest-polaroid { transform: rotate(3deg); }

.page-deck .destinations--deck .dest-deck-link:hover .dest-polaroid,
.page-deck .destinations--deck .dest-deck-link:focus-visible .dest-polaroid {
    transform: rotate(0deg) translateY(-8px);
    box-shadow:
        0 4px 12px rgba(21, 48, 59, 0.1),
        0 24px 52px rgba(21, 48, 59, 0.2);
}

.page-deck .destinations--deck .dest-photo-wrap {
    overflow: hidden;
    border-radius: 10px;
}

.page-deck .destinations--deck .dest-photo-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 0.85, 0.3, 1);
}

.page-deck .destinations--deck .dest-deck-link:hover .dest-photo-wrap img {
    transform: scale(1.04);
}

.page-deck .destinations--deck .dest-caption {
    text-align: center;
    padding-top: 13px;
}

.page-deck .destinations--deck .dest-label {
    display: block;
    font-family: var(--head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--deep);
    line-height: 1.35;
}

.page-deck .destinations--deck .dest-resort {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 0.3px;
}

.page-deck .accommodation--deck {
    background: var(--white);
}

.page-deck .accommodation--deck .room-slide {
    display: flex;
    flex-direction: column;
}

.page-deck .accommodation--deck .rooms-viewport {
    background: var(--white);
    padding: 16px 16px 12px;
    border-radius: 16px;
    box-shadow:
        0 32px 64px rgba(21, 48, 59, 0.16),
        0 6px 18px rgba(21, 48, 59, 0.08);
    border: 1px solid rgba(21, 48, 59, 0.04);
}

.page-deck .accommodation--deck .room-slide img {
    border-radius: 10px;
    flex-shrink: 0;
}

.page-deck .accommodation--deck .room-caption {
    position: relative;
    left: auto;
    bottom: auto;
    background: transparent;
    box-shadow: none;
    text-align: center;
    padding: 14px 8px 4px;
    border-radius: 0;
}

.page-deck .accommodation--deck .room-caption strong {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12.5px;
}

.page-deck .accommodation--deck .room-caption span {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.page-deck .gallery--deck {
    background: linear-gradient(180deg, var(--sand) 0%, #f0ebe3 100%);
}

.page-deck .gallery--deck .gallery-grid {
    gap: 22px;
}

.page-deck .gallery--deck .gallery-item {
    background: var(--white);
    padding: 11px 11px 14px;
    border-radius: 4px;
    aspect-ratio: auto;
    overflow: visible;
    box-shadow:
        0 2px 6px rgba(21, 48, 59, 0.08),
        0 12px 28px rgba(21, 48, 59, 0.13);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-deck .gallery--deck .gallery-item:nth-child(6n+1) { transform: rotate(-2deg); }
.page-deck .gallery--deck .gallery-item:nth-child(6n+2) { transform: rotate(1.5deg); }
.page-deck .gallery--deck .gallery-item:nth-child(6n+3) { transform: rotate(-1deg); }
.page-deck .gallery--deck .gallery-item:nth-child(6n+4) { transform: rotate(2deg); }
.page-deck .gallery--deck .gallery-item:nth-child(6n+5) { transform: rotate(-1.5deg); }
.page-deck .gallery--deck .gallery-item:nth-child(6n+6) { transform: rotate(1deg); }

.page-deck .gallery--deck .gallery-item:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow:
        0 4px 10px rgba(21, 48, 59, 0.1),
        0 20px 44px rgba(21, 48, 59, 0.18);
    z-index: 2;
}

.page-deck .gallery--deck .gallery-item img {
    aspect-ratio: 4 / 3;
    border-radius: 2px;
}

.page-deck .gallery--deck .gallery-item figcaption {
    position: relative;
    opacity: 1;
    background: none;
    color: var(--deep);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 4px 0;
    text-align: center;
}

.page-deck .testimonials--deck {
    background: var(--white);
}

.page-deck .testimonials--deck .testi-carousel {
    --testi-gap: 28px;
}

.page-deck .testimonials--deck .testi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 26px 22px;
    box-shadow:
        0 2px 6px rgba(21, 48, 59, 0.06),
        0 16px 36px rgba(21, 48, 59, 0.11);
    border: 1px solid rgba(21, 48, 59, 0.04);
    position: relative;
}

.page-deck .testimonials--deck .testi-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(34, 184, 207, 0.35), transparent);
    border-radius: 999px;
}

.page-deck .testimonials--deck .testi-stars {
    font-size: 15px;
}

.page-deck .testimonials--deck .testi-card p {
    font-size: 15px;
    line-height: 1.65;
}

.page-deck .booking--deck {
    background:
        linear-gradient(135deg, rgba(251, 247, 239, 0.97) 0%, rgba(243, 236, 224, 0.98) 100%),
        url('img/karma-sawet-koh-samui/banner-1777897950-Koh-01.jpg') center / cover no-repeat;
}

.page-deck .booking--deck .booking-card {
    border: 14px solid var(--white);
    border-radius: 20px;
    box-shadow:
        0 32px 64px rgba(21, 48, 59, 0.22),
        0 6px 18px rgba(21, 48, 59, 0.1);
}

.page-deck .booking--deck .booking-intro {
    background: var(--deep);
}

.page-deck .booking--deck .booking-form {
    background: var(--white);
}

/* ==========================================================================
   Accommodation
   ========================================================================== */

.accommodation {
    background: var(--white);
}

.accom-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    min-width: 0;
}

.accom-carousel,
.accom-info,
.rooms-carousel,
.rooms-viewport {
    min-width: 0;
    max-width: 100%;
}

.accom-info {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.accom-info .section-tag {
    margin-bottom: 10px;
}

.accom-info .section-title {
    margin-bottom: 18px;
}

.accom-info > p {
    font-size: 15.5px;
    margin-bottom: 26px;
}

.accom-perks {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 32px;
}

.accom-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
}

.accom-perks svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--white);
    background: var(--aqua);
    border-radius: 50%;
    padding: 3.5px;
}

/* Rooms carousel */
.rooms-carousel {
    position: relative;
}

.rooms-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
}

.rooms-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.45, 0, 0.2, 1);
}

.room-slide {
    flex: 0 0 100%;
    position: relative;
}

.room-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.room-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    box-shadow: 0 6px 18px rgba(4, 57, 78, 0.18);
}

.room-caption strong {
    font-family: var(--head);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
}

.room-caption span {
    font-size: 12px;
    color: var(--teal);
    font-weight: 500;
}

.rooms-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(4, 57, 78, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.rooms-nav svg {
    width: 22px;
    height: 22px;
    fill: var(--deep);
    transition: fill 0.25s ease;
}

.rooms-nav:hover {
    background: var(--teal);
}

.rooms-nav:hover svg {
    fill: var(--white);
}

.rooms-nav.prev { left: -14px; }
.rooms-nav.next { right: -14px; }

.rooms-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.rooms-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: var(--line);
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.rooms-dot.active {
    width: 24px;
    background: var(--teal);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
    background: var(--sand);
}

.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-bottom: 36px;
}

.gallery-toolbar label {
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
}

.select-wrap {
    position: relative;
    min-width: 240px;
}

.select-wrap.full {
    min-width: 0;
    width: 100%;
}

.select-wrap::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.select-wrap select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--body);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 12px 44px 12px 20px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.select-wrap select:hover,
.select-wrap select:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(34, 184, 207, 0.15);
}

.gallery-count {
    display: none;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 14px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 57, 78, 0.78) 100%);
    color: var(--white);
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-more-wrap {
    text-align: center;
    margin-top: 36px;
}

.gallery-load-more.is-hidden {
    display: none;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
    background: var(--white);
}

.testi-carousel {
    position: relative;
    --testi-gap: 26px;
}

.testi-viewport {
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: var(--testi-gap);
    transition: transform 0.45s cubic-bezier(0.22, 0.85, 0.3, 1);
    will-change: transform;
}

.testi-track .testi-card {
    flex: 0 0 calc((100% - 2 * var(--testi-gap)) / 3);
    min-width: 0;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: var(--line);
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.testi-dot.active {
    width: 24px;
    background: var(--teal);
}

.testi-card {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testi-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 3px;
}

.testi-card p {
    font-size: 15px;
    color: var(--text);
    flex-grow: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-family: var(--head);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testi-author strong {
    display: block;
    font-family: var(--head);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.testi-author div span {
    font-size: 13px;
    color: var(--teal);
}

/* ==========================================================================
   Booking
   ========================================================================== */

.booking {
    background:
        linear-gradient(135deg, rgba(4, 57, 78, 0.96) 0%, rgba(14, 116, 144, 0.94) 100%),
        url('img/karma-sawet-koh-samui/banner-1777897950-Koh-01.jpg') center / cover no-repeat;
}

.booking-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(2, 28, 39, 0.45);
}

.booking-intro {
    background: var(--deep);
    color: rgba(255, 255, 255, 0.85);
    padding: 52px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-intro h2 {
    font-family: var(--head);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.booking-intro h2 em {
    font-style: normal;
    color: var(--aqua);
}

.booking-intro p {
    font-size: 15px;
    margin-bottom: 26px;
}

.booking-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-points li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.92);
}

.booking-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--coral);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 80% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 80% no-repeat;
    background-color: var(--coral);
}

.booking-form {
    background: var(--white);
    padding: 48px 46px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-family: var(--head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ink);
}

.form-group input,
.form-group select {
    font-family: var(--body);
    font-size: 15px;
    color: var(--ink);
    background: var(--sand);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    width: 100%;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-group .select-wrap select {
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    background: var(--sand);
    padding: 13px 44px 13px 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: var(--white);
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(34, 184, 207, 0.15);
}

.form-group input::placeholder {
    color: #9aa8af;
}

input.input-invalid {
    border-color: var(--coral) !important;
    background: #fff4f3 !important;
}

.field-error {
    font-size: 13px;
    color: var(--coral-dark);
    min-height: 17px;
}

/* intl-tel-input integration */
.phone-wrap .iti {
    width: 100%;
}

.phone-wrap .iti__selected-flag {
    background: transparent;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0 10px;
}

.phone-wrap .iti--separate-dial-code .iti__selected-dial-code {
    color: var(--ink);
    font-size: 14px;
}

.phone-wrap input {
    width: 100%;
}

.iti__country-list {
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    font-size: 14px;
    color: var(--ink);
}

.form-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-consent input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.form-consent label {
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.55;
}

.form-consent a,
.terms-modal-open {
    color: var(--teal);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.terms-modal-open {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--teal);
    text-decoration: underline;
}

.terms-modal-open:hover {
    color: var(--deep);
}

/* Terms & Conditions modal */
.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.terms-modal[hidden] {
    display: none;
}

.terms-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(21, 48, 59, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.terms-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: min(85vh, 640px);
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px 32px;
    box-shadow: var(--shadow-lift);
    border: 1px solid var(--line);
}

.terms-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--sand);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.terms-modal-close:hover {
    background: var(--line);
}

.terms-modal-panel h2 {
    font-family: var(--head);
    font-size: clamp(22px, 4vw, 26px);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
    padding-right: 36px;
}

.terms-modal-list {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.terms-modal-list li {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text);
    padding-left: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: #04293a;
    color: rgba(255, 255, 255, 0.72);
    padding: 70px 0 0;
    font-size: 14.5px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 52px;
}

.footer-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social svg {
    width: 17px;
    height: 17px;
    fill: var(--white);
}

.footer-social a:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

footer h4 {
    font-family: var(--head);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
}

footer .footer-address-heading {
    color: #c4a265;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-offices-title {
    font-family: var(--head);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-offices-list {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

.footer-offices-chevron {
    display: inline-block;
    margin-right: 6px;
    color: var(--white);
    font-size: 15px;
    line-height: 1;
    vertical-align: baseline;
}

.footer-offices-sep {
    margin: 0 0.45em;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--aqua);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--aqua);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom span {
    margin: 0 6px;
    opacity: 0.5;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .accom-grid {
        gap: 40px;
    }

    .room-slide img {
        height: 380px;
    }

    .rooms-nav.prev { left: 10px; }
    .rooms-nav.next { right: 10px; }
}

@media (max-width: 880px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    header .header-inner {
        position: relative;
    }

    .header-right {
        position: static;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(4, 57, 78, 0.12);
        padding: 10px 24px 20px;
        z-index: 1001;
        box-sizing: border-box;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 13px 4px;
        font-size: 15.5px;
        border-bottom: 1px solid var(--sand-dark);
        white-space: normal;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    nav a::after {
        display: none;
    }

    nav a.nav-cta {
        text-align: center;
        margin-top: 12px;
    }

    .brand-logo {
        height: 46px;
    }

    .header-inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    /* Hero stacks: copy on top, photo deck below */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 64px;
        padding-bottom: 110px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-sub {
        max-width: 560px;
    }

    .hero-dest-list {
        justify-content: center;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-deck {
        height: 470px;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    body:not(.page-book) .hero-grid {
        padding-bottom: 40px;
        gap: 32px;
    }

    .page-deck .hero-deck,
    body:not(.page-book) .hero-deck {
        margin: 8px auto 28px;
        max-width: min(480px, calc(100% - 32px));
    }

    .page-deck .highlights,
    body:not(.page-book) .highlights {
        padding-top: 20px;
    }

    .page-deck .highlights-grid,
    body:not(.page-book) .highlights-grid {
        margin-top: 0;
    }

    .destinations > .container,
    .destinations--journal > .container {
        overflow-x: clip;
    }

    .page-book .journal-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
        gap: 28px;
    }

    .page-book .journal-entry:nth-child(odd),
    .page-book .journal-entry:nth-child(even) {
        transform: none;
    }

    .deck-card img {
        height: 300px;
    }

    .page-book .hero-grid--book {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 36px;
        gap: 28px;
    }

    .page-book .hero-text {
        text-align: center;
        align-items: center;
    }

    .page-book .hero-sub {
        max-width: 560px;
    }

    .page-book .hero-dest-list,
    .page-book .hero-cta-row {
        justify-content: center;
    }

    .page-book .hero-book {
        max-width: 100%;
    }

    .page-book .open-book {
        height: clamp(360px, 70vw, 440px);
    }

    .page-book .book-left {
        flex: 0 0 38%;
        padding: 0;
    }

    .page-book .book-left-panel {
        padding: 22px 16px;
    }

    .page-book .book-chapter {
        font-size: 32px;
    }

    .page-book .highlights {
        padding-top: 28px;
    }

    .page-book .highlights-grid {
        margin-top: 0;
    }

    .dest-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 560px;
    }

    .page-book .journal-spread {
        padding: 28px 20px 32px;
    }

    .page-book .journal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 18px;
    }

    .page-book .journal-entry:nth-child(1),
    .page-book .journal-entry:nth-child(2),
    .page-book .journal-entry:nth-child(3),
    .page-book .journal-entry:nth-child(4) {
        transform: none;
    }

    .page-book .journal-entry:nth-child(odd) {
        transform: rotate(-1.2deg);
    }

    .page-book .journal-entry:nth-child(even) {
        transform: rotate(1.2deg);
    }

    .page-book .journal-entry:hover {
        transform: rotate(0deg) translateY(-8px);
    }

    .page-book .highlights--journal .highlights-grid {
        padding: 24px 24px 24px 40px;
    }

    .page-book .accommodation--journal .accom-info {
        padding: 28px 24px;
    }

    .page-deck .highlights--deck .highlight:nth-child(n) {
        transform: none;
    }

    .page-deck .highlights--deck .highlight:hover {
        transform: translateY(-4px);
    }

    .page-deck .gallery--deck .gallery-item:nth-child(n),
    .page-book .gallery--journal .gallery-item:nth-child(n) {
        transform: none;
    }

    .page-deck .gallery--deck .gallery-item:hover,
    .page-book .gallery--journal .gallery-item:hover {
        transform: translateY(-4px);
    }

    .page-deck .destinations--deck .dest-deck-card:nth-child(n) .dest-polaroid {
        transform: none;
    }

    .page-deck .destinations--deck .dest-deck-link:hover .dest-polaroid,
    .page-deck .destinations--deck .dest-deck-link:focus-visible .dest-polaroid {
        transform: translateY(-4px);
    }

    /* Highlights */
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 16px;
        padding: 24px;
        margin-top: -44px;
    }

    .page-deck .highlights--deck .highlights-grid {
        padding: 16px 0;
    }

    /* Accommodation stacks */
    .accom-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-book .accommodation--journal .accom-info {
        margin: 0;
        padding: 28px 22px;
    }

    .room-slide img {
        height: 340px;
    }

    /* Booking stacks */
    .booking-card {
        grid-template-columns: 1fr;
    }

    .booking-intro {
        padding: 40px 32px;
    }

    .booking-form {
        padding: 36px 32px;
    }

    .terms-modal-panel {
        padding: 32px 24px 28px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    /* Testimonials — 1 per slide on mobile */
    .testi-track {
        gap: 0;
    }

    .testi-track .testi-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .testi-track .testi-card {
        flex: 0 0 calc((100% - var(--testi-gap)) / 2);
    }
}

@media (max-width: 600px) {
    .section {
        padding: 64px 0;
    }

    .section-head {
        margin-bottom: 38px;
    }

    .topbar {
        font-size: 12px;
    }

    html {
        scroll-padding-top: 132px;
    }

    .topbar-inner {
        padding-top: 13px;
        padding-bottom: 13px;
        gap: 12px;
        line-height: 1.55;
    }

    .header-inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-grid {
        padding-top: 58px;
        padding-bottom: 90px;
    }

    .hero-eyebrow {
        font-size: 10.5px;
        letter-spacing: 2px;
        padding: 10px 18px;
        margin-bottom: 26px;
    }

    .hero-title {
        font-size: clamp(32px, 9vw, 42px);
    }

    .hero-sub {
        font-size: 14.5px;
        margin-bottom: 22px;
    }

    .hero-dest-list {
        gap: 10px 18px;
        margin-bottom: 28px;
    }

    .hero-dest-list li {
        font-size: 11.5px;
        letter-spacing: 1.5px;
    }

    .hero-cta-row {
        gap: 20px;
        margin-bottom: 28px;
    }

    .btn-lg {
        padding: 15px 30px;
        font-size: 15px;
    }

    .hero-price {
        padding-left: 20px;
    }

    .hero-deck {
        height: 400px;
    }

    body:not(.page-book) .hero-grid {
        padding-bottom: 28px;
        gap: 28px;
    }

    .hero {
        overflow-x: clip;
    }

    .page-deck .hero-deck,
    body:not(.page-book) .hero-deck {
        height: 380px;
        max-width: min(300px, calc(100% - 40px));
        margin: 0 auto 28px;
        padding-bottom: 8px;
    }

    .page-deck .hero-social,
    body:not(.page-book) .hero-social {
        margin-bottom: 8px;
    }

    .page-deck .highlights,
    body:not(.page-book) .highlights {
        padding-top: 24px;
    }

    .page-deck .highlights-grid,
    body:not(.page-book) .highlights-grid {
        margin-top: 0;
    }

    .page-deck .highlights--deck .highlights-grid {
        margin: 0;
        padding: 0;
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .page-deck .highlights--deck .highlight {
        flex-direction: row;
        text-align: left;
        padding: 16px 14px;
    }

    .topbar-inner {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 11.5px;
    }

    .page-book .highlights {
        padding-bottom: 28px;
    }

    .page-book .highlights--journal .highlights-grid {
        grid-template-columns: 1fr;
        padding: 18px 16px 18px 24px;
        margin: 0;
    }

    .page-book .highlights--journal .highlight {
        padding-left: 0;
    }

    .page-book .destinations--journal {
        padding-top: 56px;
    }

    .page-book .destinations--journal .section-head {
        padding-left: 24px;
        padding-right: 24px;
        margin-bottom: 32px;
    }

    .destinations > .container,
    .destinations--journal > .container {
        padding-left: 0;
        padding-right: 0;
        overflow-x: clip;
    }

    .destinations .section-head {
        padding-left: 24px;
        padding-right: 24px;
    }

    .dest-grid {
        margin: 0;
        padding: 4px 20px 16px;
        width: 100%;
        max-width: 100%;
        scrollbar-width: none;
    }

    .dest-grid::-webkit-scrollbar {
        display: none;
    }

    .dest-card {
        flex: 0 0 min(78vw, 270px);
    }

    .page-deck .destinations--deck .dest-deck-card {
        flex: 0 0 min(78vw, 280px);
        scroll-snap-align: center;
    }

    .page-deck .destinations--deck .dest-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .page-book .journal-spread {
        margin: 0;
        padding: 20px 0 24px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        overflow-x: clip;
    }

    .page-book .journal-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        max-width: 100%;
        margin: 0;
        padding: 8px 20px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .page-book .journal-grid::-webkit-scrollbar {
        display: none;
    }

    .page-book .journal-entry {
        flex: 0 0 min(78vw, 270px);
        scroll-snap-align: center;
        transform: none !important;
    }

    .page-book .journal-entry:hover {
        transform: translateY(-4px) !important;
    }

    .accommodation .container {
        padding-left: 16px;
        padding-right: 16px;
        overflow-x: clip;
    }

    .accom-grid {
        gap: 28px;
    }

    .page-book .accommodation--journal .accom-info,
    .page-deck .accommodation--deck .accom-info {
        margin: 0;
        padding: 24px 18px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .accom-info .section-title {
        font-size: clamp(22px, 6.5vw, 28px);
        line-height: 1.25;
        hyphens: auto;
    }

    .accom-info > p {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .accom-perks li {
        font-size: 14px;
        align-items: flex-start;
    }

    .rooms-carousel {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .page-deck .accommodation--deck .rooms-viewport,
    .page-book .accommodation--journal .rooms-viewport {
        margin: 0;
        padding: 10px 10px 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-deck .accommodation--deck .room-caption,
    .page-book .accommodation--journal .room-caption {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px 8px 10px;
    }

    .page-deck .accommodation--deck .room-caption strong,
    .page-book .accommodation--journal .room-caption strong {
        font-size: 13px;
        line-height: 1.3;
        word-break: break-word;
    }

    .page-deck .accommodation--deck .room-caption span,
    .page-book .accommodation--journal .room-caption span {
        font-size: 11px;
        word-break: break-word;
    }

    .room-slide img {
        height: min(52vw, 280px);
        width: 100%;
    }

    .rooms-nav {
        width: 36px;
        height: 36px;
        top: calc(min(52vw, 280px) / 2 + 10px);
    }

    .rooms-nav.prev {
        left: 6px;
    }

    .rooms-nav.next {
        right: 6px;
    }

    .rooms-nav svg {
        width: 20px;
        height: 20px;
    }

    .page-book .gallery--journal .gallery-toolbar {
        margin-left: 0;
        margin-right: 0;
    }

    .page-deck .gallery--deck .gallery-item,
    .page-book .gallery--journal .gallery-item {
        overflow: hidden;
        max-width: 100%;
    }

    .room-caption {
        left: auto;
        bottom: auto;
        max-width: calc(100% - 24px);
    }

    .page-deck .booking--deck .booking-card {
        border-width: 8px;
        border-radius: 14px;
        margin: 0 4px;
    }

    .page-book .journal-booking-card {
        grid-template-columns: 1fr;
        border-radius: 10px;
        margin: 0 4px;
    }

    .page-book .journal-booking-aside {
        border-right: none;
        border-bottom: 1px dashed rgba(212, 196, 160, 0.7);
    }

    .page-book .journal-booking-aside-inner {
        position: relative;
        padding: 28px 96px 28px 24px;
    }

    .page-book .journal-booking-stamp {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 72px;
        height: 72px;
        margin-top: 0;
    }

    .deck-card {
        width: min(320px, 90%);
    }

    .deck-card img {
        height: 250px;
    }

    .page-book .open-book {
        height: auto;
        min-height: 0;
        flex-direction: column;
        overflow: visible;
    }

    .page-book .book-left {
        flex: none;
        width: 100%;
        min-height: 220px;
        border-radius: 12px 12px 0 0;
        border-right: 1px solid rgba(212, 196, 160, 0.55);
        border-bottom: none;
        padding: 0;
    }

    .page-book .book-left-panel {
        padding: 20px 18px;
    }

    .page-book .book-spine {
        flex: none;
        width: 100%;
        height: 14px;
    }

    .page-book .book-right {
        flex: none;
        width: 100%;
        min-height: 280px;
        border-radius: 0 0 12px 12px;
        border-left: 1px solid rgba(212, 196, 160, 0.55);
    }

    .page-book .book-chapter {
        font-size: 28px;
    }

    .page-book .book-place {
        font-size: 20px;
    }

    .page-book .book-blurb {
        font-size: 13px;
    }

    .page-book .book-left-stage,
    .page-book .book-stage {
        perspective: 1400px;
    }

    .page-book .hero-book {
        margin-bottom: 12px;
    }

    .page-book .hero-grid--book {
        padding-bottom: 48px;
    }

    .page-book .highlights-grid {
        margin-top: 0;
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px 18px;
    }

    .gallery .section-head,
    .accommodation .section-head,
    .testimonials .section-head {
        padding-left: 24px;
        padding-right: 24px;
    }

    .gallery .container,
    .testimonials .container,
    .booking .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .highlight {
        gap: 10px;
    }

    .highlight-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .highlight-icon svg {
        width: 20px;
        height: 20px;
    }

    .highlight-text strong {
        font-size: 14px;
    }

    .highlight-text span {
        font-size: 12px;
    }

    .dest-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        max-width: none;
        margin: 0 -24px;
        padding: 4px 24px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .dest-card {
        flex: 0 0 min(72vw, 260px);
        scroll-snap-align: start;
    }

    .page-deck .destinations--deck .dest-deck-card {
        flex: 0 0 min(72vw, 270px);
        scroll-snap-align: center;
    }

    .page-deck .destinations--deck .dest-polaroid {
        padding: 11px 11px 13px;
    }

    .page-deck .destinations--deck .dest-deck-num {
        width: 26px;
        height: 26px;
        font-size: 10px;
        top: -4px;
        left: -4px;
    }

    .dest-card-link {
        aspect-ratio: 3 / 5.5;
        min-height: 340px;
    }

    .dest-badge {
        top: 12px;
        right: 12px;
        padding: 10px 12px;
        max-width: calc(100% - 24px);
    }

    .dest-badge h3 {
        font-size: 20px;
    }

    .dest-btn {
        bottom: 12px;
        font-size: 11px;
        padding: 8px 16px;
    }

    .page-book .journal-cta {
        opacity: 1;
        transform: none;
        margin-top: 10px;
    }

    .page-book .journal-label {
        font-size: 18px;
    }

    .page-book .journal-booking-form {
        padding: 24px 20px 26px 24px;
    }

    .page-book .journal-form-grid {
        grid-template-columns: 1fr;
    }

    .room-slide img {
        height: min(52vw, 280px);
    }

    .room-caption {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: 100%;
        padding: 12px 8px 10px;
    }

    .rooms-nav {
        width: 36px;
        height: 36px;
        top: calc(min(52vw, 280px) / 2 + 10px);
    }

    .gallery-toolbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .select-wrap {
        min-width: 0;
    }

    .gallery-count {
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-intro {
        padding: 34px 24px;
    }

    .booking-form {
        padding: 30px 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .hero-grid {
        padding-top: 52px;
    }

    .brand-logo {
        height: 40px;
    }

    .hero-title {
        letter-spacing: 0;
    }

    .hp-value {
        font-size: 28px;
    }

    .hero-deck {
        height: 360px;
    }

    .page-deck .hero-deck,
    body:not(.page-book) .hero-deck {
        max-width: min(280px, calc(100% - 40px));
        margin-left: auto;
        margin-right: auto;
    }

    .page-deck .highlights--deck .highlights-grid {
        grid-template-columns: 1fr;
    }

    .deck-card {
        width: min(280px, 92%);
    }

    .deck-card img {
        height: 215px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .room-slide img {
        height: 220px;
    }
}

/* ==========================================================================
   Checkout & confirmation pages (pay-now.php, thank-you.php)
   ========================================================================== */

.page-checkout {
    background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
}

.page-checkout #siteHeader .header-right nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.page-checkout .checkout-main {
    padding: 36px 0 64px;
}

.page-checkout .checkout-shell {
    max-width: 680px;
    margin: 0 auto;
}

.page-checkout .checkout-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-lift);
    padding: 28px 28px 32px;
}

.page-checkout .checkout-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.page-checkout .checkout-card-head h1 {
    font-family: var(--head);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-top: 6px;
}

.page-checkout .checkout-card-sub {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
    max-width: 420px;
}

.page-checkout .checkout-price-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(14, 116, 144, 0.08);
    border: 1px solid rgba(14, 116, 144, 0.15);
    text-align: center;
}

.page-checkout .checkout-price-chip span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--teal);
}

.page-checkout .checkout-price-chip strong {
    font-family: var(--head);
    font-size: 22px;
    color: var(--deep);
    line-height: 1.1;
}

/* ==========================================================================
   Checkout Form — Photodeck Premium Design
   ========================================================================== */

.page-checkout .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.page-checkout .checkout-form.has-confirm-later #preferred-date-group,
.page-checkout .checkout-form.has-confirm-later #preferred-date-2-group {
    display: none !important;
}

@media (min-width: 768px) {
    .page-checkout .checkout-form.has-confirm-later .form-row-dob-date {
        grid-template-columns: 1fr !important;
    }
}

/* ── Form Row grid ── */
.page-checkout .checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 580px) {
    .page-checkout .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ── Form Group (label + input wrapper) ── */
.page-checkout .checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

/* ── Labels ── */
.page-checkout .checkout-form .form-group label {
    font-family: var(--head);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── All text inputs ── */
.page-checkout .checkout-form .form-group input[type="text"],
.page-checkout .checkout-form .form-group input[type="email"],
.page-checkout .checkout-form .form-group input[type="tel"],
.page-checkout .checkout-form .form-group input[type="date"],
.page-checkout .checkout-form .form-group input[type="number"] {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 14px 18px;
    width: 100%;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.page-checkout .checkout-form .form-group input[type="text"]::placeholder,
.page-checkout .checkout-form .form-group input[type="email"]::placeholder,
.page-checkout .checkout-form .form-group input[type="number"]::placeholder {
    color: #b0bec5;
    font-weight: 400;
}

.page-checkout .checkout-form .form-group input:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.12);
    background: #fafeff;
}

.page-checkout .checkout-form .form-group input.input-invalid {
    border-color: var(--coral) !important;
    background: #fff5f4 !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.1) !important;
}

/* ── Select dropdowns ── */
.page-checkout .checkout-form .form-group select,
.page-checkout .checkout-form .form-group .select-wrap select {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 14px 48px 14px 18px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    outline: none;
    cursor: pointer;
}

.page-checkout .checkout-form .select-wrap::after {
    border-right: 2.5px solid var(--teal);
    border-bottom: 2.5px solid var(--teal);
    right: 18px;
}

.page-checkout .checkout-form .form-group .select-wrap select:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.12);
}

/* ── Date inputs ── */
.page-checkout .checkout-form .form-group input[type="date"] {
    color: var(--ink);
    cursor: pointer;
}

/* ── Phone wrap ── */
.page-checkout .checkout-form .phone-wrap .iti {
    width: 100%;
}

.page-checkout .checkout-form .phone-wrap input[type="tel"] {
    font-size: 15px;
    padding: 14px 18px 14px 54px;
    border-radius: 14px;
    border: 2px solid var(--line);
    background: var(--white);
}

.page-checkout .checkout-form .phone-wrap input[type="tel"]:focus {
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(34, 184, 207, 0.12);
}

/* ── Field error ── */
.page-checkout .checkout-form .field-error {
    font-size: 12px;
    color: var(--coral-dark);
    font-weight: 500;
    margin-top: 5px;
    min-height: 16px;
}

/* ── Form note at bottom ── */
.page-checkout .checkout-form-note {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: var(--text);
    opacity: 0.8;
}

/* ── Booking alert within form ── */
.page-checkout .checkout-form .booking-alert {
    margin-bottom: 14px;
}

/* ── Consents / checkboxes ── */
.page-checkout .checkout-form .form-consents {
    gap: 12px;
    margin-bottom: 22px;
}

.page-checkout .checkout-form .form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: var(--sand);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.page-checkout .checkout-form .form-consent:has(input:checked) {
    background: rgba(14, 116, 144, 0.04);
    border-color: rgba(14, 116, 144, 0.25);
}

.page-checkout .checkout-form .form-consent input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--teal);
    cursor: pointer;
}

.page-checkout .checkout-form .form-consent label {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text);
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-family: var(--body);
}

/* ── Submit button ── */
.page-checkout .checkout-form #checkoutSubmitBtn {
    margin-top: 4px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 24px rgba(255, 107, 94, 0.36);
    transition: all 0.25s ease;
}

.page-checkout .checkout-form #checkoutSubmitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 107, 94, 0.44);
}

.page-checkout .checkout-form #checkoutSubmitBtn:active {
    transform: translateY(0);
}

/* ── Upgrade layout: 2-col grid for amount + ref ── */
.cf-upgrade-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

@media (max-width: 580px) {
    .cf-upgrade-fields {
        grid-template-columns: 1fr;
    }
}

/* ── Currency field with icon + code ── */
.cf-currency-field {
    position: relative;
    display: flex;
    align-items: center;
}

.cf-currency-icon {
    position: absolute;
    left: 18px;
    font-size: 16px;
    font-weight: 800;
    color: var(--teal);
    pointer-events: none;
    font-family: var(--head);
    line-height: 1;
    z-index: 1;
}

.cf-currency-code {
    position: absolute;
    right: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    opacity: 0.7;
    pointer-events: none;
    font-family: var(--head);
}

.cf-currency-field input {
    padding-left: 34px !important;
    padding-right: 52px !important;
}

/* ── Optional tag on labels ── */
.cf-optional-tag {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.08);
    color: var(--teal);
    font-family: var(--head);
}

/* ── Cashback breakdown box ── */
#cashbackBreakdownBox {
    background: linear-gradient(135deg, #f0f9ff, #e8f4f8);
    border: 1.5px solid rgba(14, 116, 144, 0.2);
    border-radius: 14px;
    margin-top: 12px;
}

/* ── Flight tickets upload ── */
#flightTicketsContainer {
    background: rgba(14, 116, 144, 0.03);
    border: 2px dashed rgba(14, 116, 144, 0.3);
    border-radius: 14px;
    margin-top: 12px;
}

.checkout-section {
    padding: 48px 0 88px;
}

.checkout-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);

    box-shadow: var(--shadow-lift);
    padding: 44px 40px;
    border: 1px solid var(--line);
}

.checkout-head {
    text-align: center;
    margin-bottom: 28px;
}

.checkout-head .section-tag {
    margin-bottom: 12px;
}

.checkout-head h1 {
    font-family: var(--head);
    font-size: clamp(26px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 10px;
}

.checkout-head p {
    max-width: 640px;
    margin: 14px auto 0;
    font-size: 16px;
    color: var(--text);
    text-align: center;
}

.checkout-booking {
    padding-top: 0;
    padding-bottom: 96px;
}

.checkout-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(14, 116, 144, 0.08);
    border: 1px solid rgba(14, 116, 144, 0.18);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--deep);
}

.checkout-timer strong {
    font-family: var(--head);
    font-size: 18px;
    color: var(--teal);
    letter-spacing: 1px;
}

.payment-summary {
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.payment-summary h2 {
    font-family: var(--head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(228, 222, 210, 0.8);
    font-size: 14px;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span:first-child {
    color: var(--text);
    flex-shrink: 0;
}

.summary-row span:last-child {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
}

.summary-row--total {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid var(--line);
    border-bottom: none;
}

.summary-row--total span:last-child {
    font-family: var(--head);
    font-size: 22px;
    font-weight: 800;
    color: var(--deep);
}

.checkout-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
}

.checkout-consent input[type="checkbox"] {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal);
}

.checkout-consent label {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--text);
}

.checkout-secure svg {
    width: 16px;
    height: 16px;
    fill: var(--teal);
    flex-shrink: 0;
}

.checkout-cancel {
    display: block;
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--teal);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-cancel:hover {
    color: var(--deep);
}

/* Thank you page */
.thank-you-card {
    text-align: center;
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 184, 207, 0.15), rgba(14, 116, 144, 0.12));
    border: 2px solid rgba(14, 116, 144, 0.25);
    color: var(--teal);
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.thank-you-card h1 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--teal);
}

.thank-you-info {
    text-align: left;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
    margin: 28px 0;
}

.thank-you-next {
    margin-bottom: 28px;
}

.thank-you-next h2 {
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.thank-you-next p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
}

.thank-you-icon--success {
    background: linear-gradient(135deg, rgba(34, 184, 207, 0.15), rgba(14, 116, 144, 0.12));
    border-color: rgba(14, 116, 144, 0.25);
    color: var(--teal);
}

.thank-you-icon--cancelled {
    background: rgba(21, 48, 59, 0.06);
    border-color: rgba(21, 48, 59, 0.14);
    color: var(--deep);
}

.thank-you-icon--failed {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.25);
    color: #c0392b;
}

.thank-you-icon--expired {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.28);
    color: #b7791f;
}

.booking-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.booking-status--success {
    background: rgba(14, 116, 144, 0.12);
    color: var(--teal);
}

.booking-status--cancelled,
.booking-status--expired {
    background: rgba(21, 48, 59, 0.08);
    color: var(--deep);
}

.booking-status--failed {
    background: rgba(220, 53, 69, 0.1);
    color: #c0392b;
}

.booking-alert {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.booking-alert-inner strong {
    display: block;
    font-family: var(--head);
    font-size: 14px;
    margin-bottom: 4px;
}

.booking-alert-inner p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.booking-alert--error {
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.2);
    color: #8b1e2d;
}

.booking-alert--warning {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.28);
    color: #8a5a00;
}

.booking-alert--info {
    background: rgba(14, 116, 144, 0.08);
    border-color: rgba(14, 116, 144, 0.18);
    color: var(--deep);
}

.booking-alert-dismiss {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
}

.booking-alert-dismiss:hover {
    opacity: 1;
}

.page-book .journal-booking-form .booking-alert {
    margin-bottom: 16px;
}

.footer-grid--compact {
    grid-template-columns: 1.6fr 1fr 1fr;
}

@media (max-width: 880px) {
    .page-checkout #siteHeader .header-right nav ul {
        display: none;
    }

    .checkout-card {
        padding: 32px 24px;
    }

    .page-checkout .checkout-card {
        padding: 22px 20px 26px;
    }

    .page-checkout .checkout-card-head {
        flex-direction: column;
    }

    .page-checkout .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid--compact {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .checkout-section {
        padding: 32px 0 64px;
    }

    .summary-row {
        flex-direction: column;
        gap: 4px;
    }

    .summary-row span:last-child {
        text-align: left;
    }
}

/* ── Destination detail page — Photo Deck Theme & Premium Aesthetic ── */

.page-destination {
    background: #fbf9f6;
    color: var(--text);
    overflow-x: hidden;
    --pd-font-hand: 'Caveat', cursive;
    --pd-font-display: 'Outfit', 'Poppins', sans-serif;
    
    /* Premium Shadows */
    --pd-shadow-photo: 0 16px 40px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
    --pd-shadow-photo-hover: 0 24px 50px rgba(15, 23, 42, 0.16), 0 10px 22px rgba(15, 23, 42, 0.08);
    --pd-shadow-glass: 0 20px 50px rgba(4, 57, 78, 0.15);
    
    /* Glassmorphism */
    --pd-glass-bg: rgba(255, 255, 255, 0.82);
    --pd-glass-border: rgba(255, 255, 255, 0.45);
    --pd-glass-blur: blur(20px);
    
    /* Dark Premium */
    --pd-dark-bg: #091a24;
    --pd-dark-card: #112633;
}

.page-destination .dp-main {
    overflow: visible;
}

/* ── Hero Section (Dashboard Glass Deck) ── */
.page-destination .dp-hero {
    position: relative;
    min-height: clamp(420px, 62vh, 620px);
    display: flex;
    align-items: flex-end;
    color: var(--white);
}

.page-destination .dp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-destination .dp-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-destination .dp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 57, 78, 0.35) 0%, rgba(4, 57, 78, 0.82) 72%, rgba(4, 57, 78, 0.92) 100%);
    z-index: 1;
}

.page-destination .dp-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 56px;
}

.page-destination .dp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.page-destination .dp-breadcrumb a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-destination .dp-breadcrumb a:hover {
    color: var(--white);
}

.page-destination .dp-breadcrumb span {
    font-size: 11px;
    opacity: 0.5;
}

.page-destination .dp-hero-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--white);
}

.page-destination .dp-hero-title {
    max-width: 760px;
    font-family: var(--head);
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: var(--white);
}

.page-destination .dp-hero-subtitle {
    max-width: 620px;
    margin-top: 14px;
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.page-destination .dp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

.page-destination .dp-offer-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.page-destination .dp-offer-badge span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.78);
}

.page-destination .dp-offer-badge strong {
    font-family: var(--head);
    font-size: 24px;
    color: var(--white);
}

/* ── Stats Section (Overlapping Glass Panel) ── */
.page-destination .dp-stats {
    position: relative;
    z-index: 10;
    margin-top: -48px;
    padding: 0 24px;
}

.page-destination .dp-stats-list {
    list-style: none;
    margin: 0 auto;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--pd-glass-bg);
    border: 1px solid var(--pd-glass-border);
    border-radius: 28px;
    backdrop-filter: var(--pd-glass-blur);
    -webkit-backdrop-filter: var(--pd-glass-blur);
    box-shadow: var(--pd-shadow-glass);
    max-width: 1180px;
}

.page-destination .dp-stats-list li {
    padding: 24px 32px;
    border-right: 1px solid rgba(4, 57, 78, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.page-destination .dp-stats-list li:hover {
    transform: translateY(-2px);
}

.page-destination .dp-stats-list li:last-child {
    border-right: 0;
}

.page-destination .dp-stats-list strong {
    display: block;
    font-family: var(--pd-font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 4px;
}

.page-destination .dp-stats-list span {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* ── Section Titles & Tags ── */
.page-destination .dp-section {
    padding: 100px 0;
}

.page-destination .section-head {
    text-align: center;
    margin-bottom: 56px;
}

.page-destination .section-tag {
    font-family: var(--pd-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    display: block;
    margin-bottom: 12px;
}

.page-destination .section-title {
    font-family: var(--pd-font-display);
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.page-destination .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--aqua), var(--teal));
    border-radius: 99px;
}

.page-destination .section-title.left {
    text-align: left;
    display: block;
}

.page-destination .section-title.left::after {
    left: 0;
    transform: none;
}

/* ── About Section (Stacked Photo Deck) ── */
.page-destination .dp-about {
    background: var(--sand);
}

.page-destination .dp-about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

/* Photo Stack layout */
.page-destination .dp-about-media {
    margin: 0;
    position: relative;
    padding-bottom: 20px;
    z-index: 5;
}

/* The primary image card */
.page-destination .dp-about-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    border: 10px solid var(--white);
    box-shadow: var(--pd-shadow-photo);
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* The background photo cards forming a deck */
.page-destination .dp-about-media::before,
.page-destination .dp-about-media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 10px solid var(--white);
    background: #e2ecf0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

.page-destination .dp-about-media::before {
    z-index: 2;
    transform: rotate(3.5deg) scale(0.98) translate(10px, 8px);
}

.page-destination .dp-about-media::after {
    z-index: 1;
    transform: rotate(-4deg) scale(0.96) translate(-15px, -5px);
    background: #d8e5eb;
}

/* Stack spread-out interaction on hover */
.page-destination .dp-about-media:hover img {
    transform: scale(1.02) rotate(-0.5deg);
    box-shadow: var(--pd-shadow-photo-hover);
}

.page-destination .dp-about-media:hover::before {
    transform: rotate(6deg) scale(0.99) translate(25px, 15px);
}

.page-destination .dp-about-media:hover::after {
    transform: rotate(-7deg) scale(0.97) translate(-30px, -8px);
}

.page-destination .dp-about-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-destination .dp-about-text {
    margin: 24px 0 36px;
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--text);
}

/* ── Gallery Section (Polaroid Photo Deck) ── */
.page-destination .dp-gallery {
    background: var(--white);
}

.page-destination .dp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: 10px 0;
}

/* Polaroid item design */
.page-destination .dp-gallery-item {
    margin: 0;
    background: var(--white);
    padding: 14px 14px 44px 14px;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease, z-index 0s;
    cursor: zoom-in;
}

.page-destination .dp-gallery-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    background: #f1f5f9;
}

.page-destination .dp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-destination .dp-gallery-caption {
    font-family: var(--pd-font-hand);
    font-size: 22px;
    font-weight: 700;
    color: #334155;
    text-align: center;
    margin-top: 14px;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Alternate Scatter Rotations for real photo-deck feeling */
.page-destination .dp-gallery-item:nth-child(3n+1) {
    transform: rotate(-2deg);
}

.page-destination .dp-gallery-item:nth-child(3n+2) {
    transform: rotate(2.5deg);
}

.page-destination .dp-gallery-item:nth-child(3n+3) {
    transform: rotate(-1.5deg);
}

.page-destination .dp-gallery-item:nth-child(even) {
    transform: rotate(1.8deg) translateY(5px);
}

/* Hover effect on Polaroid deck */
.page-destination .dp-gallery-item:hover {
    transform: scale(1.08) rotate(0deg) translateY(-8px);
    z-index: 15;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.2), 0 8px 16px rgba(15, 23, 42, 0.08);
}

.page-destination .dp-gallery-item:hover img {
    transform: scale(1.04);
}

/* ── Experiences Section (Immersive Image Blocks) ── */
.page-destination .dp-experiences {
    background: var(--sand);
}

.page-destination .dp-experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.page-destination .dp-experience-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--pd-dark-bg);
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    border: 1px solid rgba(4, 57, 78, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* The card image sets as the entire background */
.page-destination .dp-experience-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 0;
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.page-destination .dp-experience-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dark gradient overlay for text legibility */
.page-destination .dp-experience-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 26, 36, 0.92) 0%, rgba(9, 26, 36, 0.5) 45%, transparent 75%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* Text overlay panel inside */
.page-destination .dp-experience-card h3 {
    position: relative;
    z-index: 3;
    color: var(--white);
    font-family: var(--pd-font-display);
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    padding: 24px 24px 8px 24px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-destination .dp-experience-card p {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
    padding: 0 24px 28px 24px;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
}

/* Hover effects */
.page-destination .dp-experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(9, 26, 36, 0.25);
}

.page-destination .dp-experience-card:hover .dp-experience-icon img {
    transform: scale(1.08);
}

.page-destination .dp-experience-card:hover::after {
    background: linear-gradient(to top, rgba(9, 26, 36, 0.98) 0%, rgba(9, 26, 36, 0.6) 50%, rgba(9, 26, 36, 0.2) 100%);
}

.page-destination .dp-experience-card:hover h3 {
    transform: translateY(-4px);
}

.page-destination .dp-experience-card:hover p {
    color: #ffffff;
}

/* ── Nearby Attractions (Premium Postcards) ── */
.page-destination .dp-nearby {
    background: var(--pd-dark-bg);
    position: relative;
    padding: 100px 0 110px;
}

.page-destination .dp-nearby::before {
    display: none; /* remove standard accent bar */
}

.page-destination .dp-nearby .section-title {
    color: var(--white);
}

.page-destination .dp-nearby .section-tag {
    color: var(--aqua);
}

.page-destination .dp-nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Postcard item */
.page-destination .dp-nearby-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 0;
    padding: 12px 12px 28px 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.45s ease;
    display: flex;
    flex-direction: column;
}

/* Postcard Scatter Rotations */
.page-destination .dp-nearby-card:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.page-destination .dp-nearby-card:nth-child(even) {
    transform: rotate(2deg) translateY(4px);
}

.page-destination .dp-nearby-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #f1f5f9;
}

.page-destination .dp-nearby-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.page-destination .dp-nearby-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

.page-destination .dp-nearby-content {
    padding: 18px 6px 0 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-destination .dp-nearby-content h3 {
    font-family: var(--pd-font-hand);
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
    margin: 0;
}

.page-destination .dp-nearby-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    flex: 1;
    margin: 0;
}

/* Postcard Hover */
.page-destination .dp-nearby-card:hover {
    transform: scale(1.05) rotate(0deg) translateY(-8px);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.page-destination .dp-nearby-card:hover .dp-nearby-media img {
    transform: scale(1.05);
}

/* ── Resorts Section (Luxury Cards) ── */
.page-destination .dp-resorts {
    background: var(--white);
    padding: 100px 0;
}

.page-destination .dp-resort-list {
    display: grid;
    gap: 40px;
}

.page-destination .dp-resort-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border: 1px solid rgba(4, 57, 78, 0.08);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(4, 57, 78, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.page-destination .dp-resort-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(4, 57, 78, 0.12);
}

.page-destination .dp-resort-media {
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

/* ── Resort Gallery Carousel ── */
.page-destination .dp-resort-carousel {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: #0a1628;
}

.page-destination .dp-rcarousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-destination .dp-rcarousel-slide {
    flex: 0 0 100%;
    height: 100%;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.page-destination .dp-rcarousel-slide img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-destination .dp-resort-card:hover .dp-rcarousel-slide img {
    transform: scale(1.04);
}

/* Prev / Next buttons */
.page-destination .dp-rcarousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
    backdrop-filter: blur(6px);
}

.page-destination .dp-resort-carousel:hover .dp-rcarousel-btn {
    opacity: 1;
}

.page-destination .dp-rcarousel-btn:hover {
    background: #fff;
}

.page-destination .dp-rcarousel-prev { left: 14px; }
.page-destination .dp-rcarousel-next { right: 14px; }

/* Dots */
.page-destination .dp-rcarousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.page-destination .dp-rcarousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.page-destination .dp-rcarousel-dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* fallback for single image (old dp-resort-media img still used elsewhere) */
.page-destination .dp-resort-media > img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-destination .dp-resort-card:hover .dp-resort-media > img {
    transform: scale(1.04);
}

.page-destination .dp-resort-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.page-destination .dp-resort-location {
    font-family: var(--pd-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
}

.page-destination .dp-resort-content h3 {
    font-family: var(--pd-font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-destination .dp-resort-about {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 24px;
}

/* Luxury Amenities Pills */
.page-destination .dp-resort-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.page-destination .dp-resort-amenities li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    background: #f1f6f8;
    border: 1px solid #e2edf1;
    font-size: 12px;
    font-weight: 600;
    color: var(--deep);
    transition: background 0.25s ease, border 0.25s ease;
}

.page-destination .dp-resort-amenities li:hover {
    background: #e2edf1;
    border-color: #cbdbe1;
}

.page-destination .dp-amenity-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

.page-destination .dp-amenity-emoji {
    font-size: 13px;
    line-height: 1;
}

/* Resort Testimonials */
.page-destination .dp-resort-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 13px;
}

.page-destination .dp-resort-stars .is-filled {
    color: #fbbf24;
}

.page-destination .dp-resort-quote {
    margin: 0 0 28px;
    padding: 20px 24px;
    border-left: 4px solid var(--teal);
    background: #fcfbfa;
    border-radius: 0 16px 16px 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.01);
}

.page-destination .dp-resort-quote p {
    font-style: italic;
    margin: 0;
}

.page-destination .dp-resort-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
}

.page-destination .dp-resort-content .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 14px 36px;
}

/* ── Resort Testimonial Banner (below card) ── */
.page-destination .dp-resort-testimonial {
    margin-top: -8px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #f0f7fa 0%, #e8f4f8 100%);
    border: 1px solid rgba(4, 57, 78, 0.08);
    border-top: none;
    border-radius: 0 0 32px 32px;
    padding: 32px 48px 36px;
    position: relative;
    overflow: hidden;
}

.page-destination .dp-resort-testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2304394e' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    pointer-events: none;
}

.page-destination .dp-rt-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.page-destination .dp-rt-quote-icon {
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 0.75;
    color: var(--teal);
    opacity: 0.25;
    flex-shrink: 0;
    margin-top: 6px;
    user-select: none;
}

.page-destination .dp-rt-body {
    flex: 1;
}

.page-destination .dp-rt-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    font-style: italic;
    margin: 8px 0 10px;
}

.page-destination .dp-rt-author {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    font-style: normal;
}

/* ── Booking Section ── */
.page-destination .dp-booking {
    padding: 100px 0;
}

/* ── Responsive Styling ── */
@media (max-width: 1100px) {
    .page-destination .dp-stats-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 24px;
        padding: 6px;
    }
    .page-destination .dp-stats-list li {
        padding: 20px;
    }
    .page-destination .dp-stats-list li:nth-child(2) {
        border-right: 0;
    }
    .page-destination .dp-stats-list li:nth-child(-n+2) {
        border-bottom: 1px solid rgba(4, 57, 78, 0.08);
    }
    .page-destination .dp-about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .page-destination .dp-resort-card {
        grid-template-columns: 1fr;
    }
    .page-destination .dp-resort-media img {
        min-height: 320px;
    }
    .page-destination .dp-resort-content {
        padding: 36px;
    }
    .page-destination .dp-nearby-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .page-destination .dp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
    .page-destination .dp-experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .page-destination .dp-nearby-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .page-destination .dp-hero-content {
        padding: 40px 24px;
        border-radius: 24px;
    }
    .page-destination .dp-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .page-destination .dp-hero-actions .btn {
        width: 100%;
    }
    .page-destination .dp-offer-badge {
        align-self: center;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .page-destination .dp-stats {
        margin-top: -24px;
    }
    .page-destination .dp-stats-list {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    .page-destination .dp-stats-list li {
        border-right: 0;
        border-bottom: 1px solid rgba(4, 57, 78, 0.08);
        padding: 16px;
    }
    .page-destination .dp-stats-list li:last-child {
        border-bottom: 0;
    }
    .page-destination .dp-section {
        padding: 70px 0;
    }
    .page-destination .dp-gallery-grid,
    .page-destination .dp-experience-grid,
    .page-destination .dp-nearby-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .page-destination .dp-gallery-item {
        padding: 10px 10px 32px 10px;
    }
    .page-destination .dp-gallery-caption {
        font-size: 18px;
    }
    .page-destination .dp-nearby-card {
        padding: 10px 10px 24px 10px;
    }
    .page-destination .dp-nearby-content h3 {
        font-size: 22px;
    }
}

/* ==========================================================================
   Pre-Checkout Payment Type Intent Selector (Couples Offer vs Upgrade)
   ========================================================================== */
.intent-selector-wrap {
    margin-bottom: 24px;
}

.intent-selector-title {
    font-family: var(--head);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

@media (max-width: 640px) {
    .intent-grid {
        grid-template-columns: 1fr;
    }
}

.intent-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 14px;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intent-card:hover {
    border-color: #0e7490;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.12);
    transform: translateY(-1px);
}

.intent-card.active {
    border-color: #0e7490;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

.intent-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.intent-card-icon {
    font-size: 22px;
    line-height: 1;
}

.intent-card-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.intent-card.active .intent-card-radio {
    border-color: #0e7490;
    background: #0e7490;
}

.intent-card-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.intent-card.active .intent-card-radio::after {
    opacity: 1;
    transform: scale(1);
}

.intent-card-title {
    font-family: var(--head);
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.intent-card-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.intent-card-price {
    display: inline-block;
    margin-top: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0e7490;
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.input-currency-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-currency-prefix {
    position: absolute;
    left: 14px;
    font-weight: 700;
    font-size: 13.5px;
    color: #0e7490;
    pointer-events: none;
}

.input-currency-wrap input {
    padding-left: 60px !important;
}

/* ==========================================================================
   Intent Modal — Photo Deck Theme
   ========================================================================== */

/* Backdrop */
.intent-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(4, 57, 78, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: intentFadeIn 0.28s ease-out both;
}

@keyframes intentFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Outer wrapper (for stacked deck cards behind) */
.intent-modal-dialog {
    position: relative;
    max-width: 700px;
    width: 100%;
    animation: intentSlideUp 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes intentSlideUp {
    from { transform: scale(0.93) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Stacked "photo deck" cards behind main dialog */
.intent-modal-deck-card {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: var(--white);
    border: 8px solid var(--white);
    box-shadow: 0 16px 40px rgba(4, 57, 78, 0.12);
}

.deck-behind-1 {
    transform: rotate(2.5deg) scale(0.98) translate(6px, 8px);
    opacity: 0.65;
    z-index: 0;
    background: #e8f4f8;
}

.deck-behind-2 {
    transform: rotate(-3deg) scale(0.96) translate(-8px, 4px);
    opacity: 0.4;
    z-index: -1;
    background: #d4eaf2;
}

/* Inner dialog card (on top of the deck) */
.intent-modal-dialog > .intent-modal-head,
.intent-modal-dialog > .intent-modal-body {
    position: relative;
    z-index: 2;
}

.intent-modal-head {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--deep) 0%, #0a4d67 100%);
    border-radius: 24px 24px 0 0;
    padding: 28px 32px 24px;
    border-bottom: 3px solid rgba(34, 184, 207, 0.25);
    overflow: hidden;
}

.intent-modal-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% -10%, rgba(34, 184, 207, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 5% 110%, rgba(255, 107, 94, 0.10) 0%, transparent 55%);
    pointer-events: none;
}

.intent-modal-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--head);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--aqua);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.intent-modal-brand-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    flex-shrink: 0;
}

.intent-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.intent-modal-close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
    transform: scale(1.08);
}

.intent-modal-title {
    font-family: var(--head);
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 800;
    color: var(--white);
    margin: 0 0 6px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.intent-modal-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Modal body / card grid */
.intent-modal-body {
    position: relative;
    z-index: 2;
    background: var(--sand);
    border-radius: 0 0 24px 24px;
    padding: 28px 28px 20px;
}

.intent-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 580px) {
    .intent-modal-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .intent-modal-head {
        padding: 22px 20px 18px;
    }
    .intent-modal-body {
        padding: 20px 18px 16px;
    }
}

/* Option card */
.intent-modal-card {
    background: var(--white);
    border: 2.5px solid var(--line);
    border-radius: 18px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(4, 57, 78, 0.06);
}

.intent-modal-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 5px;
    border-radius: 18px 18px 0 0;
    background: transparent;
    transition: background 0.25s ease;
}

.intent-modal-card:hover {
    border-color: var(--teal);
    box-shadow: 0 10px 28px rgba(14, 116, 144, 0.15);
    transform: translateY(-3px);
}

.intent-modal-card:hover::before {
    background: linear-gradient(90deg, var(--aqua), var(--teal));
}

.intent-modal-card.active {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.14), 0 10px 28px rgba(14, 116, 144, 0.12);
}

.intent-modal-card.active::before {
    background: linear-gradient(90deg, var(--aqua), var(--teal));
}

/* Selected check badge */
.intent-card-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.intent-card-check svg {
    width: 13px;
    height: 13px;
    color: var(--white);
}

.intent-modal-card.active .intent-card-check {
    opacity: 1;
    transform: scale(1);
}

/* Card media / image area */
.intent-card-media {
    display: flex;
    justify-content: flex-start;
}

.intent-card-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(4, 57, 78, 0.12);
}

.intent-card-img--standard {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.intent-card-img--upgrade {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.intent-card-img-inner {
    line-height: 1;
}

/* Card body */
.intent-card-body {
    flex: 1;
}

.intent-card-badge {
    display: inline-block;
    font-family: var(--head);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.badge-standard {
    background: rgba(14, 116, 144, 0.1);
    color: var(--teal);
    border: 1px solid rgba(14, 116, 144, 0.2);
}

.badge-upgrade {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.intent-card-title {
    font-family: var(--head);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.25;
}

.intent-card-desc {
    font-size: 12.5px;
    color: var(--text);
    line-height: 1.5;
    margin: 0 0 10px;
}

.intent-card-price-row {
    display: flex;
    align-items: center;
}

.intent-card-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    background: rgba(14, 116, 144, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(14, 116, 144, 0.14);
}

.intent-card-price--upgrade {
    color: #92400e;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.intent-card-price strong {
    font-weight: 800;
}

/* Card CTA buttons */
.intent-card-cta {
    width: 100%;
    padding: 11px 18px;
    border-radius: 10px;
    border: none;
    font-family: var(--head);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 0.2px;
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(255, 107, 94, 0.32);
}

.btn-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 107, 94, 0.4);
}

.btn-sand {
    background: var(--sand-dark);
    color: var(--ink);
    border: 1.5px solid var(--line);
}

.btn-sand:hover {
    background: var(--line);
    transform: translateY(-1px);
}

/* Teal CTA — used on upgrade/additional payment card */
.btn-teal {
    background: var(--deep);
    color: var(--white);
    border: none;
    box-shadow: 0 6px 18px rgba(4, 57, 78, 0.28);
}

.btn-teal:hover {
    background: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(14, 116, 144, 0.36);
}

/* Field hint text below input */
.cf-field-hint {
    font-size: 11.5px;
    color: var(--text);
    margin: 6px 0 0;
    line-height: 1.45;
    opacity: 0.8;
}


/* Footer note */
.intent-modal-footer-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text);
    text-align: center;
    justify-content: center;
    opacity: 0.8;
}

/* ==========================================================================
   Checkout Form — Photodeck Theme Elements
   ========================================================================== */

/* ── Payment Mode Status Bar ── */
.cf-mode-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4f8 100%);
    border: 1.5px solid rgba(14, 116, 144, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(14, 116, 144, 0.06);
}

.cf-mode-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cf-mode-pip {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.cf-mode-bar-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cf-mode-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    font-family: var(--head);
}

.cf-mode-value {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    font-family: var(--head);
}

.cf-mode-change-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--white);
    border: 1.5px solid rgba(14, 116, 144, 0.25);
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    cursor: pointer;
    font-family: var(--head);
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.cf-mode-change-btn:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.22);
}

/* ── Upgrade Notice Box ── */
.cf-upgrade-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4f8 100%);
    border: 1.5px solid rgba(14, 116, 144, 0.2);
    border-left: 5px solid var(--teal);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-shadow: 0 3px 10px rgba(14, 116, 144, 0.06);
}

.cf-upgrade-notice-icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--teal);
}

.cf-upgrade-notice strong {
    display: block;
    font-family: var(--head);
    font-size: 11px;
    font-weight: 800;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cf-upgrade-notice p {
    font-size: 13px;
    color: var(--text);
    margin: 0;
    line-height: 1.55;
}


/* ── Section Divider ── */
.cf-section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 18px;
}

.cf-section-divider::before,
.cf-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.cf-section-divider span {
    font-family: var(--head);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal);
    white-space: nowrap;
}

/* ── Currency Input Field ── */
.cf-currency-field {
    position: relative;
    display: flex;
    align-items: center;
}

.cf-currency-prefix {
    position: absolute;
    left: 14px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--teal);
    pointer-events: none;
    font-family: var(--head);
}

.cf-currency-field input {
    padding-left: 64px !important;
    width: 100%;
}

/* ── Optional label tag ── */
.cf-optional {
    font-size: 11px;
    font-weight: 500;
    color: var(--text);
    opacity: 0.75;
}

/* Legacy aliases (keep working for any old selectors) */
.input-currency-wrap { position: relative; display: flex; align-items: center; width: 100%; }
.input-currency-prefix { position: absolute; left: 14px; font-weight: 700; font-size: 13.5px; color: var(--teal); pointer-events: none; }
.input-currency-wrap input { padding-left: 60px !important; }

.upgrade-notice-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef9e7 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.3);
    border-left: 5px solid #f59e0b;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.55;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.08);
}

.upgrade-notice-box strong {
    color: #451a03;
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

/* Old mode bar aliases */
.intent-status-bar {
    display: none; /* replaced by cf-mode-bar */
}

.intent-status-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid rgba(14, 116, 144, 0.25);
    border-radius: 8px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    cursor: pointer;
    transition: all 0.2s ease;
}

.intent-status-btn:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}


/* ==========================================================================
   Pre-Checkout Payment Type Intent Modal (Popup Overlay)
   ========================================================================== */
.intent-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.intent-modal-dialog {
    background: #ffffff;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(14, 116, 144, 0.15);
    overflow: hidden;
    animation: slideUpModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpModal {
    from { transform: scale(0.95) translateY(15px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.intent-modal-head {
    position: relative;
    padding: 24px 28px 18px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.intent-modal-tag {
    font-family: var(--head);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0e7490;
    margin-bottom: 4px;
}

.intent-modal-title {
    font-family: var(--head);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.intent-modal-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.intent-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.intent-modal-close:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.intent-modal-body {
    padding: 24px 28px 28px;
}

.intent-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 640px) {
    .intent-modal-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .intent-modal-head, .intent-modal-body {
        padding: 20px 18px;
    }
}

.intent-modal-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.intent-modal-card:hover {
    border-color: #0e7490;
    box-shadow: 0 8px 25px rgba(14, 116, 144, 0.14);
    transform: translateY(-2px);
}

.intent-modal-card.active {
    border-color: #0e7490;
    background: #f0f9ff;
    box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.15);
}

.intent-modal-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.intent-modal-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.intent-modal-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.badge-new {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.badge-upgrade {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.price-upgrade {
    background: #fef3c7;
    color: #92400e;
}

.upgrade-notice-box {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 13.5px;
    color: #78350f;
    line-height: 1.55;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.08);
}

.upgrade-notice-box strong {
    color: #451a03;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 2px;
}


.intent-status-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #0e7490;
    cursor: pointer;
    transition: all 0.2s ease;
}

.intent-status-btn:hover {
    background: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
}


