/* Cookie banner, "still thinking about it?" card and exit-intent prompt (assets/js/dn-track.js).
   Self-contained colours: the booking pages don't load app-ui.css tokens. */
.dn-consent, .dn-nudge, .dn-exit { font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; }

.dn-consent {
    position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .875rem 1rem;
    background: #0A1F24; color: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(10, 31, 36, .3); font-size: .875rem;
}
.dn-consent p { margin: 0; flex: 1 1 260px; color: #fff; line-height: 1.45; }
.dn-consent a { color: #9BE3F5; text-decoration: underline; }
.dn-consent__actions { display: flex; gap: .5rem; margin-left: auto; }
.dn-consent__btn, .dn-nudge__btn, .dn-exit__btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: .5rem 1rem;
    border: 1px solid #0B7C99; border-radius: 10px; background: #0B7C99; color: #fff !important; font-weight: 700;
    font-size: .875rem; text-decoration: none !important; cursor: pointer;
}
.dn-consent__btn:hover, .dn-nudge__btn:hover, .dn-exit__btn:hover { background: #096880; border-color: #096880; }
.dn-consent__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); }
.dn-consent__btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.dn-consent__btn:focus-visible, .dn-nudge__btn:focus-visible, .dn-exit__btn:focus-visible,
.dn-nudge__close:focus-visible, .dn-exit__close:focus-visible { outline: 3px solid #F2B544; outline-offset: 2px; }

.dn-nudge {
    position: fixed; z-index: 1070; left: 1rem; bottom: 1rem; width: min(320px, calc(100vw - 2rem));
    padding: 1rem 1rem 1.1rem; background: #fff; color: #113D48; border: 1px solid #E2E9EB; border-radius: 14px;
    box-shadow: 0 12px 32px rgba(10, 31, 36, .18); animation: dn-rise .35s ease-out both;
}
.dn-nudge__eyebrow, .dn-exit__eyebrow { margin: 0 0 .2rem; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0B7C99; }
.dn-nudge__title { margin: 0 2rem .25rem 0; font-weight: 800; font-size: 1rem; color: #0A1F24; }
.dn-nudge__meta { margin: 0 0 .75rem; font-size: .8125rem; color: #4A6066; }
.dn-nudge__btn { width: 100%; }
.dn-nudge__close, .dn-exit__close {
    position: absolute; top: .4rem; right: .5rem; width: 36px; height: 36px; border: 0; border-radius: 8px;
    background: transparent; color: #4A6066; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.dn-nudge__close:hover, .dn-exit__close:hover { background: #F4F8F9; color: #0A1F24; }
@media (max-width: 767.98px) { .dn-nudge { bottom: 5.25rem; } } /* above the mobile "Check dates & book" bar */

.dn-exit { position: fixed; inset: 0; z-index: 1090; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(10, 31, 36, .55); }
.dn-exit__card { position: relative; width: min(440px, 100%); padding: 1.75rem 1.5rem 1.5rem; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(10, 31, 36, .35); animation: dn-rise .25s ease-out both; }
.dn-exit__title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 800; color: #0A1F24 !important; }
.dn-exit__text { margin: 0 0 1.25rem; color: #4A6066; font-size: .9375rem; line-height: 1.5; }
.dn-exit__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dn-exit__actions .dn-exit__btn { flex: 1 1 160px; }
.dn-exit__btn--ghost { background: #fff; color: #0B7C99 !important; }
.dn-exit__btn--ghost:hover { background: #F4F8F9; }

@keyframes dn-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dn-nudge, .dn-exit__card { animation: none; } }

/* Social proof / scarcity lines on trip pages and cards (real numbers only) */
.dn-proof { display: flex; flex-direction: column; gap: .375rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .875rem; }
.dn-proof li { display: flex; align-items: center; gap: .5rem; color: #113D48; }
.dn-proof i { color: #0B7C99; }
.dn-proof .is-urgent { color: #9A3412; font-weight: 700; }
.dn-proof .is-urgent i { color: #C2410C; }
.dn-badge-popular { display: inline-flex; margin: 0 0 .5rem; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: #F2B544; color: #0A1F24; font-size: .75rem; font-weight: 800; }
.dn-season-note { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 1rem; padding: .625rem .75rem; border-radius: 10px; background: #FEF6E4; color: #6B4A06; font-size: .8125rem; }

/* ---- Language switch (partials/language-switcher) ---- */
.dn-lang { position: relative; display: inline-block; font-family: inherit; }
.dn-lang > summary {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .75rem 0 .625rem;
    border-radius: 999px; background: rgba(17, 61, 72, .06); color: #113D48;
    font-size: .875rem; font-weight: 650; line-height: 1; white-space: nowrap;
    list-style: none; cursor: pointer; user-select: none;
}
.dn-lang > summary::-webkit-details-marker { display: none; }
.dn-lang > summary:hover, .dn-lang[open] > summary { background: rgba(17, 61, 72, .11); }
.dn-lang > summary:focus-visible { outline: 3px solid #1CA8CB; outline-offset: 2px; }
.dn-lang--dark > summary { color: #fff; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.dn-lang--dark > summary:hover, .dn-lang--dark[open] > summary { background: rgba(255, 255, 255, .24); }
.dn-lang__globe { flex: none; }
.dn-lang__code { display: none; font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.dn-lang__caret { flex: none; opacity: .7; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.dn-lang[open] .dn-lang__caret { transform: rotate(180deg); }
.dn-lang__menu {
    position: absolute; z-index: 1100; top: calc(100% + .5rem); inset-inline-end: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
    width: min(392px, calc(100vw - 1.5rem)); max-height: min(72dvh, 520px); overflow-y: auto; overscroll-behavior: contain;
    margin: 0; padding: .375rem; list-style: none;
    background: #fff; border: 1px solid rgba(10, 31, 36, .07); border-radius: 18px; box-shadow: 0 18px 44px -10px rgba(10, 31, 36, .3);
}
.dn-lang__menu a {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 50px; padding: .4375rem .625rem;
    border-radius: 12px; color: #0A1F24 !important; text-decoration: none !important; transition: background-color .12s ease;
}
.dn-lang__name { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.dn-lang__name > span { overflow: hidden; font-size: .9375rem; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.dn-lang__name small { overflow: hidden; color: #5E747B; font-size: .71875rem; font-weight: 500; line-height: 1.2; text-align: start; text-overflow: ellipsis; white-space: nowrap; }
.dn-lang__menu a:hover { background: #F4F8F9; }
.dn-lang__menu a:focus-visible { outline: 2px solid #1CA8CB; outline-offset: -2px; }
.dn-lang__menu a[aria-current="true"] { background: #E6F5F9; color: #0B7C99 !important; }
.dn-lang__check { flex: none; color: #0B7C99; }
@media (max-width: 991.98px) {
    .dn-lang > summary { gap: .3125rem; padding: 0 .625rem; }
    .dn-lang__label { display: none; }
    .dn-lang__code { display: inline; }
}
@media (max-width: 575.98px) {
    .dn-site-header .dn-lang, .header-1 .dn-lang { position: static; }
    .dn-site-header .dn-lang__menu, .header-1 .dn-lang__menu { top: calc(100% + .25rem); inset-inline: .75rem; width: auto; }
}

/* ---- "View this page in …?" bar (partials/language-suggest) ---- */
.dn-lang-suggest { position: relative; z-index: 1085; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; padding: .625rem 1rem; background: #0A1F24; color: #fff; font-size: .9375rem; font-family: inherit; }
.dn-lang-suggest__go { display: inline-flex; align-items: center; min-height: 36px; padding: .25rem .875rem; border-radius: 999px; background: #F2B544; color: #0A1F24 !important; font-weight: 800; text-decoration: none !important; }
.dn-lang-suggest__no { min-height: 36px; padding: .25rem .5rem; border: 0; background: transparent; color: rgba(255, 255, 255, .8); text-decoration: underline; cursor: pointer; font: inherit; }
.dn-lang-suggest__go:focus-visible, .dn-lang-suggest__no:focus-visible { outline: 3px solid #1CA8CB; outline-offset: 2px; }

/* Non-Latin scripts: the script font after Manrope (Latin digits keep Manrope) */
:root[lang] body { font-family: "Manrope", var(--dn-script-font, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif; }
:root[lang] :is(h1, h2, h3, h4, h5, h6, .btn, button, input, select, textarea) { font-family: "Manrope", var(--dn-script-font, system-ui), system-ui, -apple-system, "Segoe UI", sans-serif; }
:root[dir="rtl"] .dn-nudge { left: auto; right: 1rem; }
:root[dir="rtl"] .dn-nudge__title { margin: 0 0 .25rem 2rem; }
:root[dir="rtl"] .dn-nudge__close, :root[dir="rtl"] .dn-exit__close { right: auto; left: .5rem; }

/* Bootstrap .row gutters can stick out of narrow containers (more visible in RTL); clip doesn't break sticky headers. */
html, body { overflow-x: clip; }

/* Menus grow from their button; the reminder leaves the way it came */
@keyframes dn-menu-pop { from { opacity: 0; scale: .96; } }
.dn-lang[open] .dn-lang__menu { animation: dn-menu-pop .16s cubic-bezier(.2, .8, .2, 1); transform-origin: top right; }
:root[dir="rtl"] .dn-lang[open] .dn-lang__menu { transform-origin: top left; }
.dn-lang > summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: scale .22s cubic-bezier(.2, .8, .2, 1), background-color .15s ease; }
.dn-lang > summary:active { scale: .97; transition: scale 0s; }
@keyframes dn-sink { to { opacity: 0; transform: translateY(12px); } }
.dn-nudge { border-radius: 20px; }
.dn-nudge.is-leaving { animation: dn-sink .18s ease-in both; }
@media (prefers-reduced-motion: reduce) { .dn-lang[open] .dn-lang__menu, .dn-nudge.is-leaving { animation: none; } .dn-lang > summary:active { scale: none; } }
