/* Let Me Discover v2: one tour (website/tours/v2/tour, visitors not logged in). Loads after lmd-v2.css (tokens, .lmd-btn).
   Desktop: everything on one screen over our sky (title, facts and the texts in tabs on the left; the photos and the
   price on the right); only the tab text scrolls. A small "Similar tours" hint leads down to the next section.
   Phones: one column that scrolls, the price becomes a bar at the bottom of the screen.
   Photos are never shown wider than they are (TravelDesk 1280px, ours 1000px), so they stay sharp. */
:root {
    --lmd-orange: #ff9a2e;
    --lmd-ease-out: cubic-bezier(.2, .7, .2, 1);
    --lmd-page: #e6f4fe;
    --lmd-line: rgba(15, 61, 102, .12);
    --lmd-muted: #4f7699;
    --lmd-tp-blue: linear-gradient(160deg, #4d9ee0 0%, #3a8bd2 50%, #2a74ba 100%);   /* the panels: white text stays clear on it */   /* a light blue glass (as the home search bar) that keeps white text readable */
}
@keyframes lmd-tp-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes lmd-tp-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes lmd-tp-cloud { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
@keyframes lmd-tp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@keyframes lmd-fade { from { opacity: 0; } }

.lmd-tp {
    font-family: var(--lmd-body); color: var(--lmd-white);
    /* under the first screen: the split of the home page's "Where to next?" section */
    background: linear-gradient(90deg, #f2f9ff 0%, #deedfb 30%, #c6def5 65%, #afd0f0 100%);
}
/* on the first screen every text is white with a soft blue shadow */
/* on the light split every text is blue (no near-black navy): --lmd-tp-text for reading, lighter blues around it */
.lmd-tp__screen { --lmd-tp-text: #1f5f9e; --lmd-tp-soft: #4f8cc4; text-shadow: none; }
/* the title and the open tab: deep blue running into sky blue inside the letters */
.lmd-tp__head h1, .lmd-tp__tablist button[aria-selected="true"] {
    background: linear-gradient(90deg, #1d5a96 0%, #2f7fc4 45%, #5cb4f0 100%); -webkit-background-clip: text; background-clip: text;
    color: transparent !important;
}
.lmd-tp h1, .lmd-tp h2, .lmd-tp h3 { font-family: var(--lmd-display); }
.lmd-tp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* back button instead of the nav bar (same as the country page) */
.lmd-home {
    position: fixed; z-index: 1000; top: 20px; left: var(--lmd-gutter);
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px;
    font: 600 14px var(--lmd-body); color: var(--lmd-white); text-decoration: none; text-shadow: 0 1px 6px rgba(15, 61, 102, .3);
    background: var(--lmd-btn); border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 12px 30px -16px rgba(15, 45, 90, .55);
    transition: background .25s ease, gap .3s var(--lmd-ease-out);
}
.lmd-home:hover { background: var(--lmd-wave); color: var(--lmd-white); gap: 12px; }

/* ───── the first screen ───── */
.lmd-tp__screen {
    position: relative; isolation: isolate;   /* nothing clipped: the panel shadows run into the similar tours */
    height: 100vh; min-height: 640px; padding: 76px var(--lmd-gutter) 50px;
}
.lmd-tp__in {
    height: 100%; max-width: 1400px; margin: 0 auto;
    /* the title row spans both columns; under it the texts (left) and the photos + price (right) start and end on the same lines */
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 560px); grid-template-rows: auto minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 48px); row-gap: 20px;
}
.lmd-tp__head { grid-column: 1 / -1; animation: lmd-tp-rise .9s var(--lmd-ease-out) .05s both; }
.lmd-tp__left, .lmd-tp__right { min-height: 0; display: flex; flex-direction: column; }
.lmd-tp__left { animation: lmd-tp-rise .9s var(--lmd-ease-out) .15s both; }
.lmd-tp__right { gap: 14px; animation: lmd-tp-in .9s var(--lmd-ease-out) .2s both; }

/* title, chips */
.lmd-tp__head { flex-shrink: 0; color: var(--lmd-ink); }
.lmd-tp__crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; font-size: 13px; font-weight: 500; }
.lmd-tp__crumbs > * + *::before { content: "/"; margin-right: 6px; opacity: .6; }
.lmd-tp__crumbs { color: var(--lmd-muted); }
.lmd-tp__crumbs a { color: var(--lmd-muted); text-decoration: none; }
.lmd-tp__crumbs a:hover { color: var(--lmd-wave); text-decoration: underline; text-underline-offset: 3px; }
.lmd-tp__head h1 {
    margin: 0; font-size: clamp(26px, 2.6vw, 42px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em;
    text-transform: capitalize; text-wrap: balance; overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* the facts: one plain line, small icons, a dot between them (no chips) */
.lmd-tp__chips { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; text-shadow: none; }
.lmd-tp__chips li { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: var(--lmd-tp-text); white-space: nowrap; }
.lmd-tp__chips li:not(:last-child)::after { content: ""; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: rgba(47, 127, 196, .35); }
.lmd-tp__chips svg { width: 15px; height: 15px; flex-shrink: 0; color: #55a6e0; }
.lmd-tp__stars { color: var(--lmd-orange); gap: 1px !important; }
.lmd-tp__stars svg { width: 13px; height: 13px; color: var(--lmd-orange); }

/* the texts, one tab at a time; only this part scrolls */
.lmd-tp__tabs { flex: 1; min-height: 160px; display: flex; flex-direction: column; overflow: hidden; }
.lmd-tp__tablist { flex-shrink: 0; display: flex; gap: 26px; padding: 0; overflow-x: auto; scrollbar-width: none; }
.lmd-tp__tablist::-webkit-scrollbar { display: none; }
.lmd-tp__tablist.is-more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.lmd-tp__tablist.is-more-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.lmd-tp__tablist.is-more-l.is-more-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
/* the tabs: plain words; the open one is darker with a short blue line under it */
.lmd-tp__tablist button {
    position: relative; flex-shrink: 0; height: 36px; padding: 0; border: 0; cursor: pointer; background: none;
    font: 600 14px var(--lmd-body); color: var(--lmd-tp-soft); transition: color .2s ease;
}
.lmd-tp__tablist button::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #1d5a96, #5cb4f0);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--lmd-ease-out);
}
.lmd-tp__tablist button:hover { color: var(--lmd-tp-text); }
.lmd-tp__tablist button[aria-selected="true"]::after { transform: scaleX(1); }
.lmd-tp__panes {
    flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px 26px 0;
    scrollbar-width: thin; scrollbar-color: rgba(47, 127, 196, .3) transparent;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent 100%);
}

/* texts typed in Tours Builder or sent by TravelDesk bring their own fonts, colours and headings: tame them */
.lmd-tp__prose { max-width: 760px; font-size: var(--fit, 17px); line-height: 1.7; color: var(--lmd-tp-text); overflow-wrap: anywhere; }
.lmd-tp__prose[hidden] { display: none; }
.lmd-tp__prose * { font-family: inherit !important; color: inherit !important; background: transparent !important; font-size: inherit !important; line-height: inherit !important; }
.lmd-tp__prose h1, .lmd-tp__prose h2, .lmd-tp__prose h3, .lmd-tp__prose h4 { margin: .9em 0 .35em; font-family: var(--lmd-display) !important; font-size: 1.02em !important; font-weight: 700; }
.lmd-tp__prose > :first-child { margin-top: 0; }
.lmd-tp__prose p { margin: 0 0 10px; }
.lmd-tp__prose ul, .lmd-tp__prose ol { margin: 0 0 10px; padding-left: 20px; }
.lmd-tp__prose li { margin: 3px 0; }
.lmd-tp__prose li::marker { color: #55a6e0; }
.lmd-tp__prose a { text-decoration: underline; }
.lmd-tp__prose img { max-width: 100%; height: auto; border-radius: 12px; }
.lmd-tp__prose table { width: 100%; border-collapse: collapse; }
.lmd-tp__prose td, .lmd-tp__prose th { padding: 6px 8px; border-bottom: 1px solid rgba(47, 127, 196, .15); }

/* the framed slideshow: takes the height that is left above the price */
.lmd-tp__show {
    position: relative; flex: 1; min-height: 200px; border-radius: 24px; overflow: hidden;
    background: linear-gradient(160deg, #a9dcff 0%, #6cb8f6 60%, #4a9fe0 100%);
    box-shadow: 0 34px 70px -30px rgba(15, 61, 102, .65);
}
.lmd-tp__slides { position: absolute; inset: 0; }
.lmd-tp__slide {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none;
    opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.lmd-tp__slide.is-on { opacity: 1; visibility: visible; }
.lmd-tp__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lmd-tp__slide.is-broken { cursor: default; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='40' viewBox='0 0 64 40'%3E%3Cpath d='M0 40 22 12l10 12 8-8 24 24Z' fill='%23ffffff' fill-opacity='.5'/%3E%3Ccircle cx='48' cy='8' r='5' fill='%23ffffff' fill-opacity='.65'/%3E%3C/svg%3E") center / 80px no-repeat; }
.lmd-tp__slide.is-broken img { display: none; }
.lmd-tp__arrow {
    position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; padding: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: var(--lmd-white);
    background: rgba(29, 90, 150, .4); border: 1px solid var(--lmd-glass-line);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.lmd-tp__arrow--prev { left: 12px; }
.lmd-tp__arrow--next { right: 12px; }
.lmd-tp__show:hover .lmd-tp__arrow, .lmd-tp__arrow:focus-visible { opacity: 1; }
.lmd-tp__arrow:hover { background: rgba(29, 90, 150, .65); }
.lmd-tp__dots {
    position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%);
    display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(15, 61, 102, .35);
}
.lmd-tp__dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
    background: rgba(255, 255, 255, .55); transition: width .3s var(--lmd-ease-out), background .3s ease;
}
.lmd-tp__dots button[aria-current] { width: 22px; background: var(--lmd-white); }
.lmd-tp__n {
    position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; pointer-events: none;
    font-size: 12px; font-weight: 700; color: var(--lmd-white); background: rgba(15, 61, 102, .45);
}

/* our light-blue finish on every tour photo: a little softer and cooler, a pale-blue veil from the top */
.lmd-tp__slide img, .lmd-tp__row img, .lmd-tp__box img { filter: saturate(.85) contrast(.95) brightness(1.05) hue-rotate(-6deg); }
.lmd-tp__slide::after, .lmd-tp__row a::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(170deg, rgba(150, 212, 255, .6) 0%, rgba(110, 185, 245, .3) 45%, rgba(40, 110, 190, .3) 100%);
    mix-blend-mode: soft-light;
}
.lmd-tp__slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(214, 240, 255, .18) 0%, rgba(214, 240, 255, 0) 40%);
}

/* price, under the photos */
/* price, under the photos: plain text and the button, no box */
.lmd-tp__book { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding: 4px 0 0; }
.lmd-tp__price { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; }
.lmd-tp__price small { font-size: 13px; color: var(--lmd-tp-soft); }
.lmd-tp__price small:first-child { width: 100%; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.lmd-tp__price s { font-size: 14px; color: var(--lmd-tp-soft); }
.lmd-tp__price b {
    font: 700 32px/1.1 var(--lmd-display);
    background: linear-gradient(90deg, #1d5a96 0%, #2f7fc4 60%, #5cb4f0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* the rest of the facts, small under the price */
.lmd-tp__more { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: var(--lmd-tp-soft); }
.lmd-tp__more a { color: var(--lmd-tp-text); text-decoration: none; }
.lmd-tp__more a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* two buttons side by side: the options (when TravelDesk has several) and Log in to book */
.lmd-tp__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lmd-tp__go:first-child { grid-column: 1 / -1; }   /* no options: the button takes the whole row */
.lmd-tp__optbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 12px; cursor: pointer;
    font: 700 14px var(--lmd-body); letter-spacing: .02em; color: var(--lmd-tp-text); white-space: nowrap;
    background: rgba(255, 255, 255, .6); border: 0; transition: background .2s ease;
}
.lmd-tp__optbtn em { font-style: normal; }
.lmd-tp__optbtn:hover { background: var(--lmd-white); }
.lmd-tp__go { height: 48px; }
.lmd-tp__go .lmd-btn__label { flex: 1; justify-content: center; text-align: center; }
.lmd-tp__new { grid-column: 1 / -1; }
.lmd-tp__new { margin: 0; text-align: center; font-size: 13px; color: var(--lmd-tp-soft); }
.lmd-tp__new a { font-weight: 700; color: #2f7fc4; text-underline-offset: 3px; }
.lmd-tp__new a:hover { color: var(--lmd-wave); }

/* the hint at the bottom of the screen */
.lmd-tp__down {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px;
    font: 600 12px var(--lmd-body); letter-spacing: .04em; color: var(--lmd-ink); text-decoration: none;
    background: rgba(255, 255, 255, .85); border: 1px solid rgba(15, 61, 102, .1); box-shadow: 0 8px 20px -12px rgba(15, 61, 102, .5);
    animation: lmd-fade .6s ease 1s both;
}
.lmd-tp__down svg { animation: lmd-tp-bob 1.6s ease-in-out infinite; }
.lmd-tp__down:hover { background: rgba(255, 255, 255, .85); color: var(--lmd-ink); }

/* ───── similar tours ───── */
.lmd-tp__rel { max-width: 1400px; margin: 0 auto; padding: 40px var(--lmd-gutter) 56px; color: var(--lmd-ink); }
.lmd-tp__rel header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lmd-tp__rel h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--lmd-ink); }
.lmd-tp__rel h2 em { font-style: normal; color: #2f8fd6; }
.lmd-tp__relall { font-weight: 700; color: var(--lmd-wave); text-underline-offset: 4px; }
.lmd-tp__row {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px;
    margin: 0; padding: 6px 2px 18px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(15, 61, 102, .25) transparent;
}
.lmd-tp__row li { scroll-snap-align: start; }
.lmd-tp__row a {
    position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px;
    color: var(--lmd-white); text-decoration: none;
    background: linear-gradient(160deg, #a9dcff 0%, #6cb8f6 60%, #4a9fe0 100%);
    border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 16px 34px -16px rgba(11, 18, 51, .5);
    transition: transform .25s ease-out;
}
.lmd-tp__row a:hover { transform: scale(1.04); color: var(--lmd-white); }
.lmd-tp__row img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.lmd-tp__rprice {
    position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px;
    font: 700 12px var(--lmd-display); color: var(--lmd-ink); background: rgba(255, 255, 255, .92);
}
.lmd-tp__rcap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 11px;
    background: linear-gradient(0deg, rgba(15, 61, 102, .8) 0%, rgba(15, 61, 102, .4) 60%, rgba(15, 61, 102, 0) 100%);
}
.lmd-tp__rcap h3 {
    margin: 0; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--lmd-white); text-transform: capitalize;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ───── options: a card over the blurred page (same as the filters on the country page) ───── */
.lmd-tp__optbox {
    width: min(720px, calc(100% - 32px)); max-width: none; max-height: min(82vh, 720px); padding: 0; overflow: hidden;
    flex-direction: column; font-family: var(--lmd-body); color: var(--lmd-ink);
    border-radius: 26px; border: 1px solid rgba(255, 255, 255, .95);
    background: linear-gradient(160deg, rgba(255, 255, 255, .97) 0%, rgba(240, 249, 255, .96) 55%, rgba(220, 240, 253, .96) 100%);
    box-shadow: 0 40px 90px -30px rgba(15, 61, 102, .5);
}
.lmd-tp__optbox[open] { display: flex; animation: lmd-tp-rise .35s var(--lmd-ease-out) both; }
.lmd-tp__optbox::backdrop { background: rgba(214, 240, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lmd-tp__optbox header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 8px 26px; }
.lmd-tp__optbox h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--lmd-ink); }
.lmd-tp__x {
    display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; cursor: pointer;
    color: var(--lmd-ink); background: rgba(15, 61, 102, .06); border: 1px solid rgba(15, 61, 102, .1); transition: background .2s ease;
}
.lmd-tp__x:hover { background: rgba(15, 61, 102, .12); }
.lmd-tp__optscroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 26px 6px; }
.lmd-tp__opts { margin: 0; padding: 0; list-style: none; }
.lmd-tp__opts li { border-bottom: 1px dashed var(--lmd-line); }
.lmd-tp__opts li:last-child { border-bottom: 0; }
.lmd-tp__opts li.is-off { opacity: .45; }
/* one row: the radio / tick box, the option, its price; the whole row picks it */
.lmd-tp__opt { display: flex; align-items: center; gap: 14px; margin: 0 -10px; padding: 14px 10px; border-radius: 12px; cursor: pointer; transition: background .2s ease; }
.lmd-tp__opt:hover { background: rgba(92, 200, 255, .1); }
.lmd-tp__opt:has(input:checked) { background: rgba(92, 200, 255, .16); }
.lmd-tp__opt:has(input:disabled) { cursor: not-allowed; }
.lmd-tp__opt:has(input:focus-visible) { outline: 2px solid var(--lmd-sky); outline-offset: -2px; }
.lmd-tp__opt input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--lmd-wave); }
.lmd-tp__opt > div:first-of-type { flex: 1; min-width: 0; }
.lmd-tp__opts b { display: block; font-size: 15px; font-weight: 600; color: var(--lmd-ink); }
.lmd-tp__opts small { display: block; font-size: 13px; color: var(--lmd-muted); }
.lmd-tp__addh { margin: 14px 0 2px; font: 700 13px var(--lmd-body); letter-spacing: .06em; text-transform: uppercase; color: var(--lmd-wave); }
.lmd-tp__oprice { flex-shrink: 0; text-align: right; }
.lmd-tp__oprice b { font: 700 18px var(--lmd-display); }
.lmd-tp__note {
    flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 14px 26px 20px;
    font-size: 13px; color: var(--lmd-muted); border-top: 1px solid var(--lmd-line);
}
.lmd-tp__done { flex-shrink: 0; height: 44px; padding: 0 26px; }
/* the option the booking form is for, under the total */
.lmd-tp__chosen { margin: -4px 0 10px; font-size: 13px; color: var(--lmd-tp-soft); }
.lmd-tp__chosen b { font-weight: 700; color: var(--lmd-tp-text); }

/* ───── all photos ───── */
.lmd-tp__box {
    width: min(1100px, 94vw); max-width: none; height: min(78vh, 760px); max-height: none; padding: 0; overflow: visible;
    border: 0; background: transparent;
}
.lmd-tp__box::backdrop { background: rgba(11, 18, 51, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lmd-tp__box.is-single .lmd-tp__bnav, .lmd-tp__box.is-single .lmd-tp__bcount { display: none; }
.lmd-tp__box[open] { display: flex; align-items: center; justify-content: center; gap: 14px; }
.lmd-tp__box img { min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.lmd-tp__bx, .lmd-tp__bnav {
    flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer;
    color: var(--lmd-white); background: rgba(255, 255, 255, .16); border: 1px solid var(--lmd-glass-line); transition: background .2s ease;
}
.lmd-tp__bx:hover, .lmd-tp__bnav:hover { background: rgba(255, 255, 255, .3); }
.lmd-tp__bx { position: absolute; top: -56px; right: 0; }
.lmd-tp__bcount { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--lmd-white-2); }

/* ───── short laptop screens: a little tighter ───── */
@media (min-width: 901px) and (max-height: 760px) {
    .lmd-tp__screen { padding-top: 70px; padding-bottom: 46px; }
    .lmd-tp__head h1 { font-size: clamp(24px, 2.4vw, 36px); -webkit-line-clamp: 2; }
    .lmd-tp__chips { margin-top: 10px; }
    .lmd-tp__price b { font-size: 28px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
    .lmd-tp__in { grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); }
    .lmd-tp__acts { grid-template-columns: 1fr; }
}

/* ───── phones and small tablets: one column that scrolls, the price is a bar at the bottom ───── */
@media (max-width: 900px) {
    .lmd-tp { padding-bottom: 84px; }
    .lmd-tp__screen { height: auto; min-height: 0; padding: 76px var(--lmd-gutter) 28px; }
    .lmd-tp__in { height: auto; display: flex; flex-direction: column; gap: 18px; }
    .lmd-tp__left, .lmd-tp__right { display: contents; }
    .lmd-tp__head, .lmd-tp__show, .lmd-tp__tabs { min-width: 0; width: 100%; }
    .lmd-tp__head { order: 1; }
    .lmd-tp__show { order: 2; flex: none; aspect-ratio: 4 / 3; min-height: 0; border-radius: 20px; }
    .lmd-tp__tabs { order: 3; flex: none; min-height: 0; margin: 0; }
    .lmd-tp__panes { max-height: 60vh; }
    .lmd-tp__arrow { opacity: 1; width: 36px; height: 36px; margin-top: -18px; }
    .lmd-tp__down { display: none; }
    .lmd-tp__book {
        position: fixed; z-index: 900; left: 0; right: 0; bottom: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0;
        background: rgba(248, 252, 255, .97); box-shadow: 0 -12px 30px -16px rgba(15, 61, 102, .45);
    }
    .lmd-tp__price small:first-child, .lmd-tp__new, .lmd-tp__more { display: none; }
    .lmd-tp__price { flex: none; flex-wrap: nowrap; flex-direction: column; align-items: flex-start; row-gap: 0; }
    .lmd-tp__price b { font-size: 22px; white-space: nowrap; }
    .lmd-tp__price small { white-space: nowrap; }
    .lmd-tp__kids { display: none; }
    .lmd-tp__book { flex-direction: row; align-items: center; }
    .lmd-tp__book { gap: 10px; }
    .lmd-tp__acts { flex: 1; min-width: 0; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
    .lmd-tp__optbtn { height: 46px; padding: 0 12px; font-size: 13px; }
    .lmd-tp__optbtn em { display: none; }
    .lmd-tp__go { height: 46px; }
    .lmd-tp__go .lmd-btn__label { padding: 0 4px 0 10px; white-space: nowrap; overflow: hidden; }
    .lmd-tp__rel { padding-top: 28px; }
}
@media (max-width: 560px) {
    .lmd-tp__head h1 { font-size: 26px; -webkit-line-clamp: 4; }
    .lmd-tp__chips li { font-size: 13px; }
    .lmd-tp__chips li:not(:last-child)::after { margin: 0 9px; }
    .lmd-tp__panes { padding: 14px 0 18px; }
    .lmd-tp__optscroll { padding: 0 18px 6px; }
    .lmd-tp__opt { flex-wrap: wrap; row-gap: 4px; }
    .lmd-tp__oprice { flex-basis: 100%; padding-left: 32px; text-align: left; }
    .lmd-tp__oprice small, .lmd-tp__oprice b { display: inline; }
    .lmd-tp__note { padding: 12px 18px 18px; }
    .lmd-tp__row { grid-auto-columns: 72%; }
    .lmd-tp__box[open] { gap: 6px; }
    .lmd-tp__bnav { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .lmd-tp *, .lmd-tp *::before, .lmd-tp *::after { animation: none !important; transition: none !important; }
}

/* the cookie notice: in lmd-v2.css (every v2 page) */
/* very narrow phones with the options button too: the booking button drops its arrow so its label fits */
@media (max-width: 420px) {
    .lmd-tp__acts:has(.lmd-tp__optbtn) .lmd-tp__go .lmd-btn__icon { display: none; }
    .lmd-tp__acts:has(.lmd-tp__optbtn) .lmd-tp__go .lmd-btn__label { padding: 0 12px; }
    .lmd-tp__optbtn { padding: 0 10px; }
}

/* ───── logged in: the booking form under the price (date, people, Book) ───── */
.lmd-tp__book.is-form { margin: 0; gap: 10px; }
.lmd-tp__form { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(var(--steps, 3), minmax(0, 1fr)); gap: 8px; }
/* kids / infants the option does not take: gone, the others share the row (--steps, set by the option picker) */
.lmd-tp__step[hidden] { display: none; }
/* each traveller's price and ages, under the form */
.lmd-tp__who { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: -2px 0 0; font-size: 13px; color: var(--lmd-tp-soft); }
.lmd-tp__who b { font-weight: 700; color: var(--lmd-tp-text); }
.lmd-tp__date, .lmd-tp__step {
    display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; height: 58px; margin: 0; padding: 6px 12px;
    border-radius: 14px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); transition: background .2s ease, border-color .2s ease;
}
.lmd-tp__date { cursor: pointer; }
.lmd-tp__date:hover, .lmd-tp__date:focus-within { background: var(--lmd-white); border-color: #55a6e0; }
.lmd-tp__date > span, .lmd-tp__step > span { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lmd-tp-soft); }
.lmd-tp__date input {
    width: 100%; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; cursor: pointer;
    font: 700 15px var(--lmd-body); color: var(--lmd-tp-text);
}
.lmd-tp__date input::placeholder { color: var(--lmd-tp-soft); font-weight: 500; }
.lmd-tp__step > div { display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.lmd-tp__step input {
    width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; text-align: center;
    font: 700 16px var(--lmd-display); color: var(--lmd-tp-text);
}
.lmd-tp__step button {
    flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; cursor: pointer;
    font: 600 16px/1 var(--lmd-body); color: var(--lmd-tp-text); background: none; border: 1px solid rgba(31, 95, 158, .3);
    transition: background .2s ease, color .2s ease;
}
.lmd-tp__step button:hover:not(:disabled) { color: var(--lmd-white); background: #3486cc; border-color: #3486cc; }
.lmd-tp__step button:disabled { opacity: .35; cursor: default; }
.lmd-tp__book.is-form .lmd-tp__price small:last-child { width: 100%; }

@media (min-width: 901px) and (max-width: 1250px) {
    .lmd-tp__form { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); }
    .lmd-tp__date { grid-column: 1 / -1; height: 52px; }
}
/* phones: logged in, the form is part of the page under the photos (no bottom bar) */
@media (max-width: 900px) {
    .lmd-tp:has(.is-form) { padding-bottom: 0; }
    .lmd-tp__book.is-form {
        position: static; order: 3; flex-direction: column; align-items: stretch; padding: 0; border-radius: 0; background: none; box-shadow: none;
    }
    .lmd-tp:has(.is-form) .lmd-tp__tabs { order: 4; }
    .lmd-tp__book.is-form .lmd-tp__price small:first-child { display: block; }
    .lmd-tp__book.is-form .lmd-tp__price { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
    .lmd-tp__book.is-form .lmd-tp__price b { font-size: 28px; }
    .lmd-tp__form { grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); }
    .lmd-tp__date { grid-column: 1 / -1; }
    .lmd-tp__book.is-form .lmd-tp__acts { grid-template-columns: 1fr; }
    .lmd-tp__book.is-form .lmd-tp__go { height: 50px; }
}

/* ───── the date on the tour page: the calendar as a card in the middle, the page blurred behind ───── */
.lmd-tp__veil {
    position: fixed; inset: 0; z-index: 2050; pointer-events: none; opacity: 0;
    background: rgba(15, 45, 90, .26); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    transition: opacity .35s ease;
}
.lmd-tp__veil.is-on { opacity: 1; pointer-events: auto; }
body.lmd-tp-picking .lmd-help, body.lmd-tp-picking .lmd-cartbtn { pointer-events: none; }
.datepicker.lmd-dp--mid {
    position: fixed !important; z-index: 2100 !important; top: 50% !important; left: 50% !important; margin: 0 !important;
    transform: translate(-50%, -50%); animation: lmd-dp-mid .45s cubic-bezier(.22, .61, .36, 1) both;
}
.datepicker.lmd-dp--mid::before, .datepicker.lmd-dp--mid::after { display: none; }   /* no little arrow: it points at nothing now */
@keyframes lmd-dp-mid { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .datepicker.lmd-dp--mid { animation: none; } .lmd-tp__veil { transition: none; } }
