/* Let Me Discover v2: the cart (button in the nav, side panel, cart page, cart checkout, booked page).
   Loads after lmd-v2.css (tokens, .lmd-btn). Same rules as the rest of the tour site: all text white, only the
   site's blues, white and the button gradient; calm motion, hover only a small scale, no heavy blur. */
.lmd-cart, .lmd-cl, .lmd-cl__empty, .lmd-cartbtn {
    --lmd-cart-blue: var(--lmd-tp-blue, linear-gradient(160deg, #4d9ee0 0%, #3a8bd2 50%, #2a74ba 100%));
    --lmd-cart-line: rgba(255, 255, 255, .22);
    --lmd-cart-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ───── the nav button: a bag and its count ───── */
.lmd-cartbtn {
    position: relative; flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    color: var(--lmd-white); text-decoration: none; border: 1px solid rgba(255, 255, 255, .6);
    transition: background .2s ease, transform .2s ease;
}
.lmd-cartbtn:hover { background: rgba(255, 255, 255, .16); color: var(--lmd-white); transform: scale(1.04); }
.lmd-cartbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.lmd-cartbtn__n {
    position: absolute; top: -5px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center; font: 700 11px/1 var(--lmd-body); color: var(--lmd-white);
    background: var(--lmd-btn); border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 4px 10px -4px rgba(15, 45, 90, .6);
    transition: transform .3s var(--lmd-cart-ease), opacity .3s ease;
}
.lmd-cartbtn__n.is-zero { transform: scale(0); opacity: 0; }
.lmd-nav.is-solid .lmd-cartbtn { width: 44px; height: 44px; }
.lmd-cartbtn.is-phone { display: none; }
/* the photo landed: the cart takes it in, the count pops */
.lmd-cartbtn.is-bump { animation: lmd-cart-take .6s var(--lmd-cart-ease); }
.lmd-cartbtn.is-bump .lmd-cartbtn__n { animation: lmd-cart-pop .6s var(--lmd-cart-ease) .08s; }
@keyframes lmd-cart-take { 0% { transform: scale(1); } 35% { transform: scale(.88); } 70% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes lmd-cart-pop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (max-width: 900px) {
    .lmd-nav__in { grid-template-columns: 1fr auto auto; }
    .lmd-cartbtn.is-phone { display: grid; }
    .lmd-nav.is-open .lmd-nav__actions .lmd-cartbtn { display: none; }
}

/* the flying photo */
.lmd-fly {
    position: fixed; z-index: 3000; pointer-events: none; background: center / cover no-repeat;
    border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 24px 50px -18px rgba(15, 45, 90, .7);
    will-change: transform, opacity;
}

/* ───── the side panel ───── */
.lmd-cart__veil {
    position: fixed; inset: 0; z-index: 2000; background: rgba(15, 45, 90, .34); opacity: 0; transition: opacity .35s ease;
}
.lmd-cart__veil.is-on { opacity: 1; }
html.lmd-cart-lock { overflow: hidden; }
.lmd-cart {
    position: fixed; z-index: 2001; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px));
    display: flex; flex-direction: column; padding: 22px 22px 0; outline: none;
    font-family: var(--lmd-body); color: var(--lmd-white);
    background: var(--lmd-cart-blue); border: 1px solid rgba(255, 255, 255, .7); border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(15, 45, 90, .7);
    transform: translateX(calc(100% + 24px)); visibility: hidden;
    transition: transform .55s var(--lmd-cart-ease), visibility 0s linear .55s;
}
.lmd-cart.is-open { transform: none; visibility: visible; transition: transform .55s var(--lmd-cart-ease), visibility 0s; }
.lmd-cart__head { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--lmd-cart-line); }
.lmd-cart__head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 22px/1.1 var(--lmd-display); color: var(--lmd-white); }
.lmd-cart__head h2 small {
    display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px;
    font: 700 13px var(--lmd-body); border: 1px solid rgba(255, 255, 255, .55);
}
.lmd-cart__close {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: var(--lmd-white); transition: background .2s ease, transform .2s ease;
}
.lmd-cart__close:hover { background: rgba(255, 255, 255, .16); transform: scale(1.04); }
.lmd-cart__close svg, .lmd-cl__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lmd-cart__msg { flex-shrink: 0; margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: rgba(255, 255, 255, .12); border-left: 3px solid var(--lmd-white); }
.lmd-cart__list {
    flex: 1; min-height: 0; overflow-y: auto; margin: 0 -22px; padding: 4px 22px 12px;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .45) transparent;
}
/* loading: three dots */
.lmd-cart__wait { display: flex; justify-content: center; gap: 8px; padding: 60px 0; }
.lmd-cart__wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--lmd-white); opacity: .4; animation: lmd-cart-dot 1s ease-in-out infinite; }
.lmd-cart__wait i:nth-child(2) { animation-delay: .15s; }
.lmd-cart__wait i:nth-child(3) { animation-delay: .3s; }
@keyframes lmd-cart-dot { 50% { opacity: 1; transform: translateY(-4px); } }
.lmd-cart__foot { flex-shrink: 0; padding: 16px 0 20px; border-top: 1px solid var(--lmd-cart-line); }
.lmd-cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lmd-cart__total > span { font-size: 14px; color: var(--lmd-white-2); }
.lmd-cart__total small { display: block; font-size: 12px; color: var(--lmd-white-3); }
.lmd-cart__total b { font: 600 26px var(--lmd-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmd-cart__acts { display: flex; gap: 10px; }
.lmd-cart__acts .lmd-btn { flex: 1; justify-content: space-between; height: 48px; border-radius: 999px; font-size: 15px; }
.lmd-cart__acts .lmd-btn.is-off { pointer-events: none; opacity: .5; }

/* ghost button (the account pages' one, for pages that don't load lmd-account.css) */
.lmd-cart .lmd-ac__ghost, .lmd-cl__empty .lmd-ac__ghost, .lmd-ct .lmd-ac__ghost {
    display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 999px; flex-shrink: 0;
    font: 600 14px var(--lmd-body); color: var(--lmd-white); text-decoration: none; cursor: pointer;
    background: transparent; border: 1px solid rgba(255, 255, 255, .6); transition: background .2s ease;
}
.lmd-cart .lmd-ac__ghost:hover, .lmd-cl__empty .lmd-ac__ghost:hover, .lmd-ct .lmd-ac__ghost:hover { background: rgba(255, 255, 255, .14); color: var(--lmd-white); }

/* ───── the list (panel and cart page) ───── */
.lmd-cl { margin: 0; padding: 0; list-style: none; }
.lmd-cl__it {
    position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: start;
    padding: 16px 0; border-bottom: 1px solid var(--lmd-cart-line); overflow: hidden;
    animation: lmd-cl-in .5s var(--lmd-cart-ease) calc(var(--i, 0) * 60ms) both;
    transition: opacity .3s ease, transform .3s ease, max-height .32s ease, padding .32s ease;
    max-height: 400px;
}
@keyframes lmd-cl-in { from { opacity: 0; transform: translateX(18px); } }
.lmd-cl__it.is-busy { opacity: .6; pointer-events: none; }
.lmd-cl__it.is-out { opacity: 0; transform: translateX(40px); max-height: 0; padding-top: 0; padding-bottom: 0; }
/* the tour just added: a soft light passes over it once */
.lmd-cl__it.is-new::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%) no-repeat;
    background-size: 220% 100%; animation: lmd-cl-shine 1.4s ease .35s both;
}
@keyframes lmd-cl-shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.lmd-cl__ph { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.lmd-cl__ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lmd-cl__ph:hover img { transform: scale(1.04); }
.lmd-cl__body { min-width: 0; }
.lmd-cl__name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font: 600 15px/1.3 var(--lmd-display); color: var(--lmd-white); text-decoration: none;
}
.lmd-cl__name:hover { color: var(--lmd-white); text-decoration: underline; text-underline-offset: 3px; }
.lmd-cl__day { display: block; margin-top: 4px; font-size: 13px; color: var(--lmd-white-3); }
.lmd-cl__err { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--lmd-white); }
.lmd-cl__err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; font-size: 11px; border: 1px solid var(--lmd-white); }
.lmd-cl__who { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.lmd-cl__step { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--lmd-white-2); }
.lmd-cl__step span { margin-right: 2px; }
.lmd-cl__step b { min-width: 14px; text-align: center; font: 600 14px var(--lmd-display); color: var(--lmd-white); }
.lmd-cl__step button {
    display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; cursor: pointer;
    font: 600 15px/1 var(--lmd-body); color: var(--lmd-white); background: transparent; border: 1px solid rgba(255, 255, 255, .5);
    transition: background .2s ease, transform .2s ease;
}
.lmd-cl__step button:hover:not(:disabled) { background: rgba(255, 255, 255, .18); transform: scale(1.06); }
.lmd-cl__step button:disabled { opacity: .35; cursor: default; }
.lmd-cl__end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lmd-cl__end s { font-size: 12px; color: var(--lmd-white-3); }
.lmd-cl__price { font: 600 16px var(--lmd-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lmd-cl__x {
    display: grid; place-items: center; width: 30px; height: 30px; margin-top: 6px; border-radius: 50%; cursor: pointer;
    color: var(--lmd-white-2); background: transparent; border: 1px solid transparent; transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.lmd-cl__x:hover { color: var(--lmd-white); border-color: rgba(255, 255, 255, .5); transform: scale(1.04); }
.lmd-cl__empty { padding: 50px 10px; text-align: center; animation: lmd-cl-in .5s var(--lmd-cart-ease) both; }
.lmd-cl__empty svg { width: 54px; height: 54px; fill: none; stroke: var(--lmd-white); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.lmd-cl__empty b { display: block; margin-top: 14px; font: 600 18px var(--lmd-display); }
.lmd-cl__empty p { margin: 6px 0 18px; font-size: 14px; color: var(--lmd-white-3); }

/* the panel: the price and × at the top right, so the people get the whole width under the name */
.lmd-cl.is-compact .lmd-cl__it { grid-template-columns: 76px minmax(0, 1fr); }
.lmd-cl.is-compact .lmd-cl__end { position: absolute; top: 16px; right: 0; }
.lmd-cl.is-compact .lmd-cl__name, .lmd-cl.is-compact .lmd-cl__day { padding-right: 92px; }
.lmd-cl.is-compact .lmd-cl__x { margin-top: 2px; }
.lmd-cl.is-compact .lmd-cl__who { gap: 8px 12px; }

/* bigger on the cart page */
.lmd-cl:not(.is-compact) .lmd-cl__it { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; }
.lmd-cl:not(.is-compact) .lmd-cl__ph { aspect-ratio: 4 / 3; border-radius: 16px; }
.lmd-cl:not(.is-compact) .lmd-cl__name { font-size: 18px; }
.lmd-cl:not(.is-compact) .lmd-cl__price { font-size: 20px; }
.lmd-cl:not(.is-compact) .lmd-cl__step { font-size: 14px; }
.lmd-cl:not(.is-compact) .lmd-cl__step button { width: 28px; height: 28px; }

@media (max-width: 600px) {
    .lmd-cl__it, .lmd-cl:not(.is-compact) .lmd-cl__it { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .lmd-cl:not(.is-compact) .lmd-cl__ph { aspect-ratio: 1; }
    .lmd-cl__end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
    .lmd-cl__x { margin: 0; }
}

/* ───── the cart page (cart/page) ───── */
.lmd-ct {
    min-height: 100vh; padding: 84px var(--lmd-gutter) 48px;   /* no nav: room for the back pill */
    font-family: var(--lmd-body); color: var(--lmd-white);
    background: linear-gradient(90deg, #f2f9ff 0%, #deedfb 30%, #c6def5 65%, #afd0f0 100%);
}
.lmd-ct__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.lmd-ct__main, .lmd-ct__sum {
    border-radius: 24px; background: var(--lmd-tp-blue); border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 30px 60px -30px rgba(15, 45, 90, .55); padding: clamp(20px, 3vh, 30px) clamp(20px, 2.6vw, 34px);
    animation: lmd-cl-in .6s var(--lmd-cart-ease, ease) both;
}
.lmd-ct__sum { position: sticky; top: 24px; animation-delay: .08s; }
.lmd-ct h1 { margin: 0 0 6px; font: 600 clamp(26px, 2.4vw, 36px)/1.1 var(--lmd-display); letter-spacing: -.02em; color: var(--lmd-white); }
.lmd-ct__lead { margin: 0 0 8px; font-size: 15px; color: var(--lmd-white-3); }
.lmd-ct__sum h2 { margin: 0 0 14px; font: 600 12px var(--lmd-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lmd-white-2); }
.lmd-ct__rows { margin: 0; padding: 0; list-style: none; }
.lmd-ct__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--lmd-white-2); }
.lmd-ct__rows li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lmd-ct__rows li b { color: var(--lmd-white); font-weight: 600; white-space: nowrap; }
.lmd-ct__total { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.lmd-ct__total span { font-size: 14px; color: var(--lmd-white-2); }
.lmd-ct__total b { font: 600 28px var(--lmd-display); font-variant-numeric: tabular-nums; }
.lmd-ct__go { display: flex; flex-direction: column; gap: 10px; }
.lmd-ct__go .lmd-btn { justify-content: space-between; height: 50px; border-radius: 999px; font-size: 15px; }
.lmd-ct__go .lmd-btn.is-off { pointer-events: none; opacity: .5; }
.lmd-ct__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--lmd-white-3); }
@media (max-width: 900px) {
    .lmd-ct__in { grid-template-columns: minmax(0, 1fr); }
    .lmd-ct__sum { position: static; }
}

/* ───── cart checkout (cart/checkout): one block per tour ───── */
.lmd-cc__tour { margin: 0 0 26px; padding: 0 0 6px; border-bottom: 1px solid rgba(255, 255, 255, .22); animation: lmd-cl-in .5s var(--lmd-cart-ease, ease) calc(var(--i, 0) * 80ms) both; }
.lmd-cc__top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.lmd-cc__top img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.lmd-cc__top b { display: block; font: 600 17px/1.25 var(--lmd-display); }
.lmd-cc__top small { display: block; margin-top: 3px; font-size: 13px; color: var(--lmd-white-3); }
.lmd-cc__top em { margin-left: auto; font: 600 17px var(--lmd-display); font-style: normal; white-space: nowrap; }
.lmd-cc__kind { margin: 14px 0 0; font: 600 13px var(--lmd-display); color: var(--lmd-white); }
.lmd-cc__same { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 13px; color: var(--lmd-white-2); cursor: pointer; }
.lmd-cc__same input { accent-color: #3486cc; }
.lmd-cc__sum li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--lmd-white-2); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lmd-cc__sum li span { min-width: 0; }
.lmd-cc__sum li small { display: block; font-size: 12px; color: var(--lmd-white-3); }
.lmd-cc__sum li b { color: var(--lmd-white); white-space: nowrap; }
.lmd-cc__sum { margin: 0 0 6px; padding: 0; list-style: none; }
.lmd-cc__login { margin: 0 0 14px; font-size: 14px; color: var(--lmd-white-2); }
.lmd-cc__login a { color: var(--lmd-white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* the page after checkout (cart/done) */
.lmd-cd__list { margin: 6px 0 22px; padding: 0; list-style: none; }
.lmd-cd__list li {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22); animation: lmd-cl-in .5s var(--lmd-cart-ease, ease) calc(var(--i, 0) * 90ms) both;
}
.lmd-cd__list b { font: 600 16px/1.3 var(--lmd-display); }
.lmd-cd__list small { font-size: 13px; color: var(--lmd-white-3); }
.lmd-cd__list a { grid-row: 1 / span 2; grid-column: 2; font-size: 14px; font-weight: 600; color: var(--lmd-white); text-decoration: underline; text-underline-offset: 3px; }
.lmd-cd__code { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; font: 600 12px var(--lmd-body); letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .5); }

@media (prefers-reduced-motion: reduce) {
    .lmd-cart, .lmd-cart__veil, .lmd-cl__it, .lmd-cartbtn, .lmd-cartbtn__n, .lmd-ct__main, .lmd-ct__sum, .lmd-cc__tour, .lmd-cd__list li { animation: none !important; transition: none !important; }
    .lmd-cl__it.is-new::after { display: none; }
}

/* ───── the tour page: Add to cart next to Book now (v2/tour) ───── */
.lmd-tp__acts:has(.lmd-tp__add) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lmd-tp__acts:has(.lmd-tp__add) .lmd-tp__optbtn { grid-column: 1 / -1; }
.lmd-tp__add {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px;
    border-radius: 12px; cursor: pointer; overflow: hidden;
    font: 700 14px var(--lmd-body); letter-spacing: .02em; color: var(--lmd-tp-text, #0f3d66); white-space: nowrap;
    background: rgba(255, 255, 255, .6); border: 0; transition: background .2s ease, transform .2s ease;
}
.lmd-tp__add:hover { background: var(--lmd-white); transform: scale(1.02); }
.lmd-tp__add:disabled { opacity: .7; cursor: wait; }
.lmd-tp__add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
/* added: the plus turns into a tick for a moment */
.lmd-tp__add.is-done svg { animation: lmd-cart-pop .6s var(--lmd-cart-ease, ease); }
.lmd-tp__add.is-done span { animation: lmd-add-ok 1.6s ease; }
@keyframes lmd-add-ok { 0%, 100% { opacity: 1; } 10%, 85% { opacity: .55; } }
.lmd-tp__err { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--lmd-tp-text, #0f3d66); }
@media (max-width: 900px) {
    .lmd-tp__acts:has(.lmd-tp__add) { grid-template-columns: auto minmax(0, 1fr); }
    .lmd-tp__acts:has(.lmd-tp__optbtn):has(.lmd-tp__add) { grid-template-columns: auto auto minmax(0, 1fr); }
    .lmd-tp__acts:has(.lmd-tp__add) .lmd-tp__optbtn { grid-column: auto; }
    .lmd-tp__acts:has(.lmd-tp__add):not(:has(.lmd-tp__optbtn)) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .lmd-tp__add { height: 46px; padding: 0 12px; }
    .lmd-tp__err { position: absolute; left: 16px; right: 16px; bottom: 100%; margin-bottom: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(248, 252, 255, .97); }
}

/* pages without the nav bar (tour, country): the cart as a round button at the top right, like the back pill */
.lmd-cartbtn.is-float {
    position: fixed; z-index: 1000; top: 20px; right: var(--lmd-gutter); width: 46px; height: 46px;
    background: var(--lmd-btn); border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 12px 30px -16px rgba(15, 45, 90, .6);
}
/* logged in on a tour page the Help button sits at the top right too (lmd-v2.css): the cart goes just left of it */
body:has(.lmd-tp__book.is-form):has(.lmd-help) .lmd-cartbtn.is-float { top: 16px; right: calc(clamp(16px, 2.4vw, 32px) + 56px); }
.lmd-cartbtn.is-float:hover { background: var(--lmd-wave); }

/* the cart button takes room in the nav pill: a little wider, and the button labels stay on one line */
.lmd-nav .lmd-btn__label { white-space: nowrap; }
@media (min-width: 901px) {
    .lmd-nav:not(.is-solid):has(.lmd-cartbtn) { width: min(900px, calc(100% - 32px)); }
    .lmd-nav.has-credit:not(.is-solid):has(.lmd-cartbtn) { width: min(1000px, calc(100% - 32px)); }
}

/* cart checkout, guests: the note about the account made from their email */
.lmd-cc__new { margin: 0 0 16px; font-size: 14px; }
/* a line's price changed: a small tick */
.lmd-cl__price.is-tick { animation: lmd-cart-pop .45s var(--lmd-cart-ease, ease); }

/* the TravelDesk option and add-ons the line is for */
.lmd-cl__opt { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--lmd-white-3); overflow-wrap: anywhere; }
.lmd-cl.is-compact .lmd-cl__opt { padding-right: 92px; }

/* checkout summary: × removes a tour (asks first) */
.lmd-cc__sum li { align-items: flex-start; }
.lmd-cc__sum li span { flex: 1; }
.lmd-cc__x {
    flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; margin: -3px -4px 0 0; padding: 0; border-radius: 50%; cursor: pointer;
    color: var(--lmd-white-3); background: none; border: 1px solid transparent; transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.lmd-cc__x:hover, .lmd-cc__x:focus-visible { color: #c0392b; background: rgba(192, 57, 43, .08); border-color: rgba(192, 57, 43, .25); outline: 0; }

/* the kids' ages on a cart line, and the age box for + Kids (TravelDesk tours) */
.lmd-cl__ages { display: block; margin-top: 4px; font-size: 12.5px; color: #5b7f9f; }
.lmd-cagebox {
    width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid #fff; border-radius: 24px; font-family: var(--lmd-body); color: #1f5f9e;
    background: #fff; box-shadow: 0 40px 90px -30px rgba(15, 61, 102, .5);
}
.lmd-cagebox::backdrop { background: rgba(214, 240, 255, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lmd-cagebox header { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 6px 24px; }
.lmd-cagebox h2 { margin: 0; font: 700 20px var(--lmd-display); color: #1f5f9e; }
.lmd-cagebox header button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer; color: #1f5f9e; background: #eef6fd; border: 1px solid #dfe6ee; }
.lmd-cagebox__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px; padding: 10px 24px 6px; }
.lmd-cagebox__grid button {
    display: grid; place-items: center; align-content: center; gap: 1px; height: 54px; border-radius: 14px; cursor: pointer;
    font: 700 18px var(--lmd-display); color: #1f5f9e; background: #fff; border: 1px solid #dfe6ee; transition: background .2s ease, transform .2s ease;
}
.lmd-cagebox__grid button small { font: 600 10.5px var(--lmd-body); color: #5b7f9f; }
.lmd-cagebox__grid button:hover { background: #eef6fd; border-color: #55a6e0; transform: scale(1.04); }
.lmd-cagebox__grid button.is-adult { grid-column: span 2; color: #fff; background: var(--lmd-btn); border-color: transparent; }
.lmd-cagebox__grid button.is-adult small { color: rgba(255, 255, 255, .9); }
.lmd-cagebox__help { margin: 0; padding: 10px 24px 20px; font-size: 13px; color: #5b7f9f; }
