/* ============================================================
   Sedunia single-tour "_temp" redesign — 2026-08-01
   Loaded only on tours flagged _sed_temp_tour (see loader).
   Brand: gold #c8a24d · deep green #0f6f51 · ink #181818
   ============================================================ */

.stt-page {
    --stt-gold: #c8a24d;
    --stt-green: #0f6f51;
    --stt-ink: #181818;
    --stt-muted: #6a6a64;
    --stt-line: rgba(24, 24, 24, .1);
    font-family: "Barlow", sans-serif;
    background: #fff;
}

.stt-page .stt-h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    color: var(--stt-ink);
    margin: 0 0 18px;
}

.stt-muted { color: var(--stt-muted); font-size: 14px; }

/* The theme wrapper's overflow:hidden turns it into a clip container and
   silently disables every position:sticky inside. `clip` keeps stray
   horizontal overflow contained without breaking sticky. (This stylesheet
   only loads on temp tour pages.) */
.btwrapper { overflow: visible !important; }
@supports (overflow: clip) {
    .btwrapper { overflow-x: clip !important; overflow-y: visible !important; }
    /* body { overflow-x: hidden } equally disables sticky — clip preserves
       the horizontal containment without creating a scroll container */
    body.single-tour { overflow-x: clip !important; overflow-y: visible !important; }
    html { overflow-x: clip; }
}

/* ---------- Hero ---------- */
.stt-hero { position: relative; min-height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end; }
.stt-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.stt-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 30%, rgba(0,0,0,.68) 100%); }
.stt-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 26px 20px 30px; color: #fff; }

.stt-crumbs { font-size: 12.5px; margin-bottom: 12px; opacity: .92; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.stt-crumbs a { color: #fff; text-decoration: none; }
.stt-crumbs a:hover { color: var(--stt-gold); }

.stt-hero__offer {
    display: inline-block; padding: 5px 14px; border-radius: 8px; margin-bottom: 12px;
    background: linear-gradient(120deg, #b58f3e, #d8b76a); color: #fff;
    font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.stt-hero__title { font-size: clamp(26px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin: 0 0 14px; color: #fff; }

.stt-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stt-chip {
    display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13px; font-weight: 600;
}
.stt-chip i { color: var(--stt-gold); }
.stt-chip--type { background: rgba(15,111,81,.55); }

/* ---------- Sub-navigation ---------- */
/* --stt-header-h is kept in sync with the theme's fixed header by JS so the
   two sticky bars stack instead of overlapping. */
.stt-subnav { position: sticky; top: var(--stt-header-h, 0px); z-index: 60; background: #fff; border-bottom: 1px solid var(--stt-line); box-shadow: 0 2px 10px rgba(24,24,24,.05); transition: top .15s ease; }
.stt-subnav__track { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.stt-subnav__track::-webkit-scrollbar { display: none; }
.stt-subnav__track a {
    flex: 0 0 auto; padding: 14px 14px 12px; font-size: 13.5px; font-weight: 600; color: var(--stt-muted);
    text-decoration: none; border-bottom: 2.5px solid transparent; white-space: nowrap; transition: color .2s ease;
}
.stt-subnav__track a:hover { color: var(--stt-ink); }
.stt-subnav__track a.is-active { color: var(--stt-green); border-bottom-color: var(--stt-gold); }

/* ---------- Layout ---------- */
.stt-layout { max-width: 1240px; margin: 0 auto; padding: 26px 20px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
@media (max-width: 1023px) {
    .stt-layout { grid-template-columns: 1fr; padding-bottom: 110px; }
}

.stt-section { padding: 26px 0; border-bottom: 1px solid var(--stt-line); scroll-margin-top: calc(var(--stt-header-h, 0px) + 66px); }
.stt-section:last-child { border-bottom: none; }

.stt-promo-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: var(--stt-green); margin: 0 0 6px; line-height: 1.25; }
.stt-promo-sub { color: var(--stt-muted); margin: 0 0 16px; }

.stt-prose { color: #3c3c38; line-height: 1.8; font-size: 15.5px; }
.stt-prose p { margin: 0 0 14px; }

/* facts grid */
.stt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 20px; }
.stt-fact {
    display: flex; gap: 12px; align-items: center; padding: 13px 15px;
    background: #faf8f3; border: 1px solid rgba(200,162,77,.22); border-radius: 12px;
}
.stt-fact i { color: var(--stt-gold); font-size: 17px; flex: 0 0 auto; }
.stt-fact span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--stt-muted); }
.stt-fact strong { font-size: 14px; color: var(--stt-ink); line-height: 1.3; }

/* notes */
.stt-notes { margin-top: 18px; }
.stt-note { border: 1px solid var(--stt-line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.stt-note summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--stt-ink); list-style: none; }
.stt-note summary::-webkit-details-marker { display: none; }
.stt-note summary::after { content: "+"; float: right; color: var(--stt-gold); font-weight: 700; }
.stt-note[open] summary::after { content: "–"; }
.stt-note > div { padding: 0 16px 14px; color: #3c3c38; line-height: 1.7; }

/* ---------- Itinerary timeline ---------- */
.stt-timeline { position: relative; padding-left: 18px; }
.stt-timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--stt-gold), rgba(200,162,77,.15)); }
.stt-day { position: relative; border: 1px solid var(--stt-line); border-radius: 14px; margin-bottom: 12px; background: #fff; transition: box-shadow .25s ease; }
.stt-day[open] { box-shadow: 0 8px 22px rgba(24,24,24,.07); }
.stt-day::before { content: ""; position: absolute; left: -18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--stt-gold); box-shadow: 0 0 0 3px rgba(200,162,77,.25); }
.stt-day summary { display: flex; align-items: center; gap: 12px; padding: 15px 18px; cursor: pointer; list-style: none; }
.stt-day summary::-webkit-details-marker { display: none; }
.stt-day__num {
    flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; background: #eef6f2;
    color: var(--stt-green); font-size: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.stt-day__head { flex: 1 1 auto; font-weight: 700; color: var(--stt-ink); font-size: 15px; line-height: 1.35; }
.stt-day summary i { color: var(--stt-muted); transition: transform .25s ease; font-size: 13px; }
.stt-day[open] summary i { transform: rotate(180deg); }
.stt-day__body { padding: 0 18px 16px; color: #3c3c38; line-height: 1.75; font-size: 14.5px; }
.stt-day__meal { margin-top: 10px; color: var(--stt-green); font-weight: 600; font-size: 13.5px; }
.stt-day__meal i { margin-right: 6px; }

/* ---------- Inclusions ---------- */
.stt-incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .stt-incl-grid { grid-template-columns: 1fr; } }
.stt-incl { border-radius: 14px; padding: 18px 20px; border: 1px solid var(--stt-line); }
.stt-incl--yes { background: #f4faf7; border-color: rgba(15,111,81,.2); }
.stt-incl--no { background: #fbf7f5; border-color: rgba(180,80,60,.18); }
.stt-incl h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; }
.stt-incl--yes h3 i { color: var(--stt-green); }
.stt-incl--no h3 i { color: #b4503c; }
.stt-incl ul { margin: 0; padding-left: 18px; }
.stt-incl li { margin-bottom: 7px; line-height: 1.55; font-size: 14.5px; color: #3c3c38; }

.stt-extra { margin-top: 16px; border: 1px dashed rgba(200,162,77,.4); border-radius: 12px; padding: 15px 18px; background: #fdfaf3; }
.stt-extra h3 { font-size: 14.5px; margin: 0 0 10px; }
.stt-extra h3 i { color: var(--stt-gold); margin-right: 6px; }
.stt-extra ul { margin: 0; padding-left: 18px; }
.stt-extra__prices { list-style: none; padding: 0 !important; }
.stt-extra__prices li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--stt-line); font-size: 14px; }
.stt-extra__prices li:last-child { border-bottom: none; }

/* ---------- Price cards ---------- */
.stt-pricecards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.stt-pricecard {
    text-align: left; border: 1.5px solid var(--stt-line); border-radius: 14px; padding: 16px 18px;
    background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; font-family: inherit;
}
.stt-pricecard:hover { border-color: rgba(200,162,77,.6); }
.stt-pricecard.is-selected { border-color: var(--stt-green); box-shadow: 0 6px 18px rgba(15,111,81,.12); }
.stt-pricecard__label { display: block; font-weight: 700; color: var(--stt-ink); font-size: 14.5px; margin-bottom: 10px; }
.stt-pricecard.is-selected .stt-pricecard__label::after { content: " ✓ selected"; color: var(--stt-green); font-size: 12px; }
.stt-pricecard__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.stt-pricecard__cols em { display: block; font-style: normal; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--stt-muted); }
.stt-pricecard__cols strong { font-size: 14px; color: var(--stt-green); }

/* ---------- Hotels ---------- */
.stt-hotels { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.stt-hotel { border: 1px solid var(--stt-line); border-radius: 14px; overflow: hidden; background: #fff; }
.stt-hotel__img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.stt-hotel__body { padding: 14px 16px; }
.stt-hotel__body h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.stt-hotel__stars { color: #f5b301; margin: 0 0 4px; font-size: 13px; letter-spacing: 2px; }
.stt-hotel__loc { color: var(--stt-muted); font-size: 13px; margin: 0 0 8px; }
.stt-hotel__desc { font-size: 13.5px; color: #3c3c38; line-height: 1.6; }

/* ---------- Gallery ---------- */
.stt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.stt-gallery__item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.stt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.stt-gallery__item:hover img { transform: scale(1.06); }

.stt-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(10,10,10,.92); display: flex; align-items: center; justify-content: center; padding: 30px; }
.stt-lightbox[hidden] { display: none !important; }
.stt-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.stt-lightbox__close { position: absolute; top: 14px; right: 20px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* ---------- Booking sidebar (desktop) / bottom sheet (mobile) ---------- */
.stt-aside { position: sticky; top: calc(var(--stt-header-h, 0px) + 66px); }
.stt-sheet-handle, .stt-sheet-backdrop { display: none; }

@media (max-width: 1023px) {
    .stt-aside {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 96;
        max-height: 84vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
        transform: translateY(103%); transition: transform .35s cubic-bezier(.22, .9, .3, 1);
        padding: 0;
    }
    .stt-aside.is-open { transform: none; }
    .stt-aside .stt-book {
        border-radius: 20px 20px 0 0; border-bottom: none;
        box-shadow: 0 -12px 44px rgba(24, 24, 24, .25);
        padding-bottom: calc(22px + env(safe-area-inset-bottom));
    }
    .stt-aside .stt-book__offer { border-radius: 0; margin-top: 0; }
    .stt-sheet-handle {
        display: flex; align-items: center; justify-content: center; position: relative;
        background: #fff; border-radius: 20px 20px 0 0; padding: 10px 0 0;
        margin-bottom: -21px; z-index: 2;
    }
    .stt-sheet-handle__bar { width: 44px; height: 4.5px; border-radius: 3px; background: #d9d2c2; display: block; }
    .stt-sheet-handle__close {
        position: absolute; right: 10px; top: 4px; width: 34px; height: 34px;
        border: none; background: none; font-size: 26px; line-height: 1; color: #6a6a64; cursor: pointer;
    }
    .stt-sheet-backdrop {
        display: block; position: fixed; inset: 0; z-index: 95;
        background: rgba(10, 10, 10, .45); opacity: 0; visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
    }
    .stt-sheet-backdrop.is-on { opacity: 1; visibility: visible; }
    body.stt-sheet-open { overflow: hidden; }

    /* Lift the floating WhatsApp widget clear of the sticky price bar,
       and hide it entirely while the booking sheet is open */
    .ufw_wrap { bottom: 96px !important; }
    body.stt-sheet-open .ufw_wrap { opacity: 0 !important; pointer-events: none !important; }
}

.stt-book { border: 1px solid var(--stt-line); border-radius: 18px; padding: 22px; background: #fff; box-shadow: 0 10px 30px rgba(24,24,24,.08); }
.stt-book__offer {
    margin: -22px -22px 16px; padding: 9px 20px; border-radius: 17px 17px 0 0;
    background: linear-gradient(120deg, #b58f3e, #d8b76a); color: #fff;
    font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-align: center;
}
.stt-book__price { margin-bottom: 16px; }
.stt-book__from { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stt-muted); }
.stt-book__amount { font-size: 17px; color: var(--stt-green); font-weight: 600; }
.stt-book__amount strong { font-size: 30px; letter-spacing: -.01em; }
.stt-book__amount em { font-style: normal; font-size: 13px; color: var(--stt-muted); }
.stt-book__price del { display: block; color: #b3b3ad; font-size: 13.5px; }

.stt-calc { border-top: 1px dashed var(--stt-line); padding-top: 16px; margin-bottom: 16px; }
.stt-calc__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stt-muted); margin-bottom: 6px; }
.stt-calc__select {
    width: 100%; padding: 11px 12px; border: 1.5px solid var(--stt-line); border-radius: 10px;
    font-family: inherit; font-size: 14px; color: var(--stt-ink); background: #fff; margin-bottom: 12px;
}
.stt-calc__occ { display: grid; gap: 8px; margin-bottom: 12px; }
.stt-occ-opt {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--stt-line);
    border-radius: 10px; cursor: pointer; font-size: 13.5px; transition: border-color .2s ease;
}
.stt-occ-opt input { accent-color: var(--stt-green); }
.stt-occ-opt.is-on { border-color: var(--stt-green); background: #f4faf7; }
.stt-occ-opt strong { margin-left: auto; color: var(--stt-green); white-space: nowrap; }

.stt-calc__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.stt-stepper { display: inline-flex; align-items: center; gap: 4px; }
.stt-stepper button {
    width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--stt-line); background: #fff;
    font-size: 17px; line-height: 1; cursor: pointer; color: var(--stt-ink); transition: all .2s ease;
}
.stt-stepper button:hover { border-color: var(--stt-green); color: var(--stt-green); }
.stt-stepper output { min-width: 34px; text-align: center; font-weight: 700; font-size: 15px; }

.stt-calc__total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: #f4faf7; border-radius: 10px; font-size: 13.5px; }
.stt-calc__total strong { font-size: 21px; color: var(--stt-green); }
.stt-calc__note { font-size: 11.5px; color: var(--stt-muted); margin: 8px 0 0; line-height: 1.5; }

.stt-book__ctas { display: grid; gap: 9px; margin-bottom: 16px; }
.stt-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 18px; border-radius: 999px; border: none; cursor: pointer;
    font-family: "Barlow", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .04em;
    text-decoration: none; text-align: center; transition: all .22s ease;
}
/* The theme's .btTourBook a::before paints a slide-in gradient over the whole
   button on hover (expects a z-indexed span); our buttons have their own hover
   states, so remove the overlay entirely. */
.stt-book__ctas .stt-btn::before,
.stt-book__ctas .stt-btn::after {
    display: none !important;
    content: none !important;
}

.stt-btn--primary { background: var(--stt-green) !important; color: #fff !important; }
.stt-btn--primary:hover { background: var(--stt-gold) !important; color: #fff !important; transform: translateY(-1px); }
.stt-btn--wa { background: #25d366 !important; color: #fff !important; }
.stt-btn--wa:hover { background: #1eb857 !important; color: #fff !important; }
.stt-btn--ghost { background: #fff !important; color: var(--stt-ink) !important; border: 1.5px solid var(--stt-line) !important; }
.stt-btn--ghost:hover { border-color: var(--stt-gold) !important; color: var(--stt-gold) !important; }

.stt-trust { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--stt-line); }
.stt-trust li { font-size: 12.5px; color: var(--stt-muted); margin-bottom: 7px; }
.stt-trust i { color: var(--stt-gold); width: 18px; }

.stt-book__brand { display: block; margin-top: 12px; text-align: center; }
.stt-book__brand img { max-height: 55px; width: auto; }

/* QR code in the booking card */
.stt-qr { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--stt-line); text-align: center; }
.stt-qr img, .stt-qr canvas { width: 112px !important; height: 112px !important; margin: 0 auto 8px !important; display: block; float: none !important; }
.stt-qr .kaya-qrcode, .stt-qr center, .stt-qr div, .stt-qr p { margin: 0 auto !important; float: none !important; text-align: center !important; }
.stt-qr a[download] { display: none; }
.stt-qr span { display: block; font-size: 12px; color: var(--stt-muted); line-height: 1.5; }

/* ---------- Mobile sticky bar ---------- */
.stt-mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: none; align-items: center; justify-content: space-between; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--stt-line); box-shadow: 0 -6px 20px rgba(24,24,24,.12);
}
@media (max-width: 1023px) { .stt-mobilebar { display: flex; cursor: pointer; } }
.stt-mobilebar__chevron {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f4faf7; border: 1.5px solid rgba(15, 111, 81, .3); color: var(--stt-green);
    animation: stt-bounce 2.2s ease-in-out infinite;
}
@keyframes stt-bounce {
    0%, 100% { transform: translateY(0); }
    12% { transform: translateY(-4px); }
    24% { transform: translateY(0); }
}
.stt-mobilebar__price { flex: 1 1 auto; min-width: 0; }
.stt-mobilebar__price span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--stt-muted); }
.stt-mobilebar__price strong { font-size: 18px; color: var(--stt-green); }
.stt-mobilebar__price em {
    display: block; font-style: normal; font-size: 10.5px; color: var(--stt-gold); font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stt-mobilebar .stt-btn { padding: 12px 22px; flex: 0 0 auto; }

/* ---------- Modal selection summary ---------- */
.stt-modal-selection { margin: 0 0 14px; }
.stt-modal-selection:empty { display: none; }
.stt-modal-selection div {
    display: inline-block; background: #f4faf7; border: 1px solid rgba(15,111,81,.25);
    color: var(--stt-green); border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600;
}
