@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Syne:wght@600;700;800&display=swap');

/* ===== /lib/xdatepickerv1.3.2/xdatepicker.css ===== */
/* ════════════════════════════════════════════════════════════
   XDatePicker v1.5 — Component styles
   Import this file alongside xdatepicker.js
   ════════════════════════════════════════════════════════════ */

/* ── CSS variables (override to theme) ── */
:root {
    --xdp-primary: #3b5bdb;
    --xdp-primary-light: #748ffc;
    --xdp-primary-dark: #2f4ac2;
    --xdp-accent: #f03e3e;
    --xdp-surface: #ffffff;
    --xdp-surface-2: #f8f9fe;
    --xdp-surface-3: #eef0fb;
    --xdp-text: #1a1d2e;
    --xdp-text-muted: #868e9c;
    --xdp-text-light: #c1c7d0;
    --xdp-border: #e4e7f0;
    --xdp-range-bg: #eef1ff;
    --xdp-shadow: 0 8px 40px rgba(59,91,219,.18), 0 2px 8px rgba(0,0,0,.08);
    --xdp-shadow-sm: 0 2px 10px rgba(59,91,219,.10);
    --xdp-radius: 16px;
    --xdp-radius-sm: 8px;
    --xdp-font: 'DM Sans', system-ui, sans-serif;
    --xdp-mono: 'DM Mono', monospace;
    --xdp-t: .15s cubic-bezier(.4,0,.2,1);
    --xdp-cell: 36px;
    --xdp-hw: 160px; /* header column width */
}

/* ════════════════════════════
   Overlay (modal backdrop)
════════════════════════════ */
.xdp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,17,30,.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: xov-in .22s ease forwards;
    z-index: 10000000;
}

    .xdp-overlay.closing {
        animation: xov-out .2s ease forwards;
        pointer-events: none;
    }

@keyframes xov-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes xov-out {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

/* ════════════════════════════
   Popover / dropdown mode
════════════════════════════ */
.xdp-overlay--popover {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
    opacity: 1;
    display: block;
}

    .xdp-overlay--popover.closing {
        animation: none;
        pointer-events: none;
    }

    .xdp-overlay--popover > .xdp-wrapper {
        position: fixed;
        animation: xdp-popover-in .2s cubic-bezier(.34,1.4,.64,1) forwards;
    }

        .xdp-overlay--popover > .xdp-wrapper.closing {
            animation: xdp-popover-out .16s ease forwards;
        }

@keyframes xdp-popover-in {
    from {
        transform: scale(.97) translateY(6px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

@keyframes xdp-popover-out {
    from {
        transform: scale(1) translateY(0);
        opacity: 1
    }

    to {
        transform: scale(.97) translateY(6px);
        opacity: 0
    }
}

/* ════════════════════════════
   Wrapper — horizontal layout
   header (left) | calendar (right)
════════════════════════════ */
.xdp-wrapper {
    font-family: var(--xdp-font);
    font-size: 14px;
    color: var(--xdp-text);
    background: var(--xdp-surface);
    border-radius: var(--xdp-radius);
    box-shadow: var(--xdp-shadow);
    overflow: hidden;
    display: inline-flex;
    flex-direction: row;
    transform: scale(.95) translateY(8px);
    animation: xpop-in .24s cubic-bezier(.34,1.56,.64,1) forwards;
    user-select: none;
    -webkit-user-select: none;
    max-width: calc(100vw - 24px);
}

    .xdp-wrapper.closing {
        animation: xpop-out .18s ease forwards;
    }

@keyframes xpop-in {
    from {
        transform: scale(.95) translateY(8px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

@keyframes xpop-out {
    from {
        transform: scale(1) translateY(0);
        opacity: 1
    }

    to {
        transform: scale(.95) translateY(8px);
        opacity: 0
    }
}

.xdp-wrapper:focus {
    outline: none;
}

/* ════════════════════════════
   Inline mode
════════════════════════════ */
.xdp-wrapper.xdp-inline {
    box-shadow: var(--xdp-shadow-sm);
    border: 1px solid var(--xdp-border);
    transform: none;
    animation: none;
    display: flex; /* respeta el ancho del host */
    width: 100%;
    max-width: 100%;
}

/* ════════════════════════════
   Split layout: vertical
   (header arriba | calendario abajo, como mobile)
════════════════════════════ */
.xdp-wrapper.xdp-split-v {
    flex-direction: column;
}

    .xdp-wrapper.xdp-split-v .xdp-header {
        width: 100%;
        min-width: unset;
        padding: 20px 20px 16px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .xdp-wrapper.xdp-split-v .xdp-header-range {
        flex-direction: row;
        width: 100%;
    }

    .xdp-wrapper.xdp-split-v .xdp-header-range-arrow svg {
        transform: rotate(0deg);
    }

    .xdp-wrapper.xdp-split-v .xdp-right {
        min-width: unset;
    }

    .xdp-wrapper.xdp-split-v .xdp-body {
        flex-direction: column;
        overflow-x: hidden;
    }

    .xdp-wrapper.xdp-split-v .xdp-panel {
        flex: 0 0 auto;
        min-width: unset;
        width: 100%;
    }

        .xdp-wrapper.xdp-split-v .xdp-panel + .xdp-panel {
            border-left: none;
            border-top: 1px solid var(--xdp-border);
            padding-left: 0;
            padding-top: 12px;
        }

    /* Skeleton en split vertical */
    .xdp-wrapper.xdp-split-v .xdp-skeleton {
        flex-direction: column;
        width: 100%;
    }

    .xdp-wrapper.xdp-split-v .xdp-skeleton-bar {
        width: 100%;
        height: 80px;
    }

    .xdp-wrapper.xdp-split-v .xdp-skeleton-body {
        min-width: unset;
    }

/* ════════════════════════════
   Sticky mode
════════════════════════════ */
.xdp-wrapper.xdp-sticky {
    position: sticky;
    top: var(--xdp-sticky-top, 8px);
    z-index: 200;
    transform: scale(.95) translateY(8px);
    animation: xpop-in .24s cubic-bezier(.34,1.56,.64,1) forwards;
    margin-top: 6px;
    align-self: flex-start;
}

    .xdp-wrapper.xdp-sticky.closing {
        animation: xpop-out .18s ease forwards;
    }

/* ════════════════════════════
   Header — left column
════════════════════════════ */
.xdp-header {
    background: linear-gradient(160deg, var(--xdp-primary) 0%, var(--xdp-primary-light) 100%);
    padding: 24px 18px;
    position: relative;
    overflow: hidden;
    width: var(--xdp-hw);
    min-width: var(--xdp-hw);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .xdp-header::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -30px;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }

    .xdp-header::after {
        content: '';
        position: absolute;
        bottom: -30px;
        left: -10px;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

    .xdp-header > * {
        position: relative;
        z-index: 1;
    }

.xdp-header-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.6);
}

.xdp-header-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.18);
    line-height: 1.3;
}

/* Inline skeleton */
.xdp-skeleton {
    display: inline-flex;
    border-radius: var(--xdp-radius);
    border: 1px solid var(--xdp-border);
    overflow: hidden;
    box-shadow: var(--xdp-shadow-sm);
    background: var(--xdp-surface);
    width: 100%;
}

.xdp-skeleton-bar {
    width: var(--xdp-hw);
    background: linear-gradient(160deg, var(--xdp-primary) 0%, var(--xdp-primary-light) 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xdp-skeleton-body {
    flex: 1;
    min-width: 252px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xdp-skeleton-line {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--xdp-surface-3) 25%, var(--xdp-border) 50%, var(--xdp-surface-3) 75%);
    background-size: 200% 100%;
    animation: xdp-shimmer 1.4s infinite;
}

    .xdp-skeleton-line.wide {
        width: 70%;
    }

    .xdp-skeleton-line.short {
        width: 40%;
    }

.xdp-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-top: 4px;
}

.xdp-skeleton-cell {
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--xdp-surface-3) 25%, var(--xdp-border) 50%, var(--xdp-surface-3) 75%);
    background-size: 200% 100%;
    animation: xdp-shimmer 1.4s infinite;
}

    .xdp-skeleton-cell:nth-child(2n) {
        animation-delay: .1s;
    }

    .xdp-skeleton-cell:nth-child(3n) {
        animation-delay: .2s;
    }

.xdp-skeleton-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: xdp-spin .8s linear infinite;
}

@keyframes xdp-shimmer {
    from {
        background-position: 200% 0
    }

    to {
        background-position: -200% 0
    }
}

@keyframes xdp-spin {
    to {
        transform: rotate(360deg)
    }
}

.xdp-header-weekday {
    font-size: 12px;
    color: rgba(255,255,255,.75);
}

.xdp-header-day {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.xdp-header-month-year {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    margin-top: 4px;
    line-height: 1.4;
}

/* Range header */
.xdp-header-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xdp-header-range-item {
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background var(--xdp-t);
}

    .xdp-header-range-item.active {
        background: rgba(255,255,255,.22);
        box-shadow: 0 0 0 2px rgba(255,255,255,.4);
    }

.xdp-header-range-label {
    font-size: 9px;
    color: rgba(255,255,255,.6);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.xdp-header-range-value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-top: 3px;
    word-break: break-word;
}

.xdp-header-range-arrow {
    color: rgba(255,255,255,.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .xdp-header-range-arrow svg {
        width: 16px;
        height: 16px;
        stroke-width: 2;
        transform: rotate(90deg);
    }

/* ════════════════════════════
   Right column
════════════════════════════ */
.xdp-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* ════════════════════════════
   Body / Panels
════════════════════════════ */
.xdp-body {
    padding: 16px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.xdp-panel {
    flex: 0 0 252px;
}

    .xdp-panel + .xdp-panel {
        border-left: 1px solid var(--xdp-border);
        padding-left: 12px;
    }

/* ════════════════════════════
   Navigation
════════════════════════════ */
.xdp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.xdp-nav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--xdp-text);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--xdp-radius-sm);
    transition: background var(--xdp-t);
}

    .xdp-nav-title:hover {
        background: var(--xdp-surface-3);
    }

.xdp-nav-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--xdp-text-muted);
    transition: background var(--xdp-t), color var(--xdp-t);
    flex-shrink: 0;
}

    .xdp-nav-btn:hover {
        background: var(--xdp-surface-3);
        color: var(--xdp-primary);
    }

    .xdp-nav-btn svg {
        width: 16px;
        height: 16px;
        stroke-width: 2.2;
    }

/* ════════════════════════════
   Weekday headers
════════════════════════════ */
.xdp-weekdays {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    margin-bottom: 4px;
}

.xdp-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--xdp-text-light);
    padding: 4px 0;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ════════════════════════════
   Day grid
════════════════════════════ */
.xdp-days {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 0;
}

.xdp-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--xdp-cell);
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    color: var(--xdp-text);
    transition: color var(--xdp-t);
    z-index: 0;
}

    .xdp-day::after {
        content: '';
        position: absolute;
        width: var(--xdp-cell);
        height: var(--xdp-cell);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        transition: background var(--xdp-t);
        z-index: -1;
    }

    .xdp-day:hover:not(.xdp-disabled):not(.xdp-other)::after {
        background: var(--xdp-surface-3);
    }

    .xdp-day:hover:not(.xdp-disabled):not(.xdp-other) {
        color: var(--xdp-primary);
        font-weight: 500;
    }

    .xdp-day.xdp-other {
        color: var(--xdp-text-light);
        pointer-events: none;
    }

    .xdp-day.xdp-disabled {
        color: var(--xdp-text-light);
        cursor: not-allowed;
        opacity: .5;
        pointer-events: none;
    }

    .xdp-day.xdp-today:not(.xdp-sel):not(.xdp-rs):not(.xdp-re) {
        font-weight: 700;
        color: var(--xdp-primary);
    }

        .xdp-day.xdp-today:not(.xdp-sel):not(.xdp-rs):not(.xdp-re)::after {
            box-shadow: inset 0 0 0 1.5px var(--xdp-primary);
        }

    .xdp-day.xdp-sel {
        color: #fff !important;
        font-weight: 600;
        z-index: 1;
    }

        .xdp-day.xdp-sel::after {
            background: var(--xdp-primary) !important;
            box-shadow: none;
        }

    .xdp-day.xdp-rs {
        background: linear-gradient(to right, transparent 50%, var(--xdp-range-bg) 50%);
        color: #fff !important;
        font-weight: 600;
        z-index: 1;
    }

    .xdp-day.xdp-re {
        background: linear-gradient(to left, transparent 50%, var(--xdp-range-bg) 50%);
        color: #fff !important;
        font-weight: 600;
        z-index: 1;
    }

        .xdp-day.xdp-rs::after, .xdp-day.xdp-re::after {
            background: var(--xdp-primary) !important;
            box-shadow: none;
        }

    .xdp-day.xdp-rs.xdp-re {
        background: transparent !important;
    }

    .xdp-day.xdp-in {
        background: var(--xdp-range-bg);
        color: var(--xdp-primary-dark);
    }

    .xdp-day.xdp-hin {
        background: var(--xdp-range-bg);
    }

    .xdp-day.xdp-hrs {
        background: linear-gradient(to right, transparent 50%, var(--xdp-range-bg) 50%);
        color: var(--xdp-primary) !important;
        font-weight: 500;
    }

    .xdp-day.xdp-hre {
        background: linear-gradient(to left, transparent 50%, var(--xdp-range-bg) 50%);
        color: var(--xdp-primary) !important;
        font-weight: 500;
    }

    .xdp-day.xdp-hrs::after {
        background: rgba(59,91,219,.18) !important;
    }

    .xdp-day.xdp-hre::after {
        background: rgba(59,91,219,.18) !important;
    }

    .xdp-day.xdp-hrs.xdp-hre {
        background: transparent !important;
    }

    .xdp-day.xdp-marked::before {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--xdp-accent);
        z-index: 2;
    }

    .xdp-day.xdp-sel.xdp-marked::before,
    .xdp-day.xdp-rs.xdp-marked::before,
    .xdp-day.xdp-re.xdp-marked::before {
        background: rgba(255,255,255,.8);
    }

/* ════════════════════════════
   Month / Year grids
════════════════════════════ */
.xdp-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 6px;
    padding: 4px 0;
}

.xdp-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: var(--xdp-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--xdp-text);
    transition: background var(--xdp-t), color var(--xdp-t);
}

    .xdp-grid-item:hover {
        background: var(--xdp-surface-3);
        color: var(--xdp-primary);
    }

    .xdp-grid-item.active {
        background: var(--xdp-primary);
        color: #fff;
    }

    .xdp-grid-item.disabled {
        color: var(--xdp-text-light);
        cursor: not-allowed;
        opacity: .5;
        pointer-events: none;
    }

/* ════════════════════════════
   Time picker
════════════════════════════ */
.xdp-time {
    border-top: 1px solid var(--xdp-border);
    padding: 10px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.xdp-time-slot-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--xdp-primary);
    margin-bottom: 4px;
}

.xdp-spin {
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.xdp-spin-val {
    font-family: var(--xdp-mono);
    font-size: 24px;
    font-weight: 500;
    color: var(--xdp-text);
    width: 40px;
    text-align: center;
    letter-spacing: -.02em;
    padding: 2px 0;
    border-radius: 6px;
    transition: background var(--xdp-t);
}

    .xdp-spin-val:hover {
        background: var(--xdp-surface-3);
    }

.xdp-time-sep {
    padding: 0 2px;
    color: var(--xdp-text-muted);
    font-family: var(--xdp-mono);
    font-size: 24px;
    margin-bottom: 22px;
}

.xdp-spin-btn {
    width: 28px;
    height: 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--xdp-text-muted);
    transition: background var(--xdp-t), color var(--xdp-t);
}

    .xdp-spin-btn:hover {
        background: var(--xdp-surface-3);
        color: var(--xdp-primary);
    }

    .xdp-spin-btn svg {
        width: 13px;
        height: 13px;
        stroke-width: 2.5;
    }

.xdp-ampm {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 8px;
}

.xdp-ampm-btn {
    padding: 4px 8px;
    border: 1.5px solid var(--xdp-border);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--xdp-font);
    color: var(--xdp-text-muted);
    letter-spacing: .04em;
    transition: all var(--xdp-t);
}

    .xdp-ampm-btn.active {
        background: var(--xdp-primary);
        border-color: var(--xdp-primary);
        color: #fff;
    }

.xdp-time-spinners {
    display: flex;
    align-items: center;
    gap: 2px;
}

.xdp-time-hint {
    font-size: 10px;
    color: var(--xdp-text-muted);
    margin-top: 4px;
    text-align: center;
}

.xdp-time-pair {
    border-top: 1px solid var(--xdp-border);
    display: flex;
    align-items: stretch;
}

    .xdp-time-pair > .xdp-time {
        flex: 1;
        border-top: none;
        padding: 10px 6px 12px;
    }

.xdp-time-pair-div {
    width: 1px;
    background: var(--xdp-border);
    margin: 10px 0;
    flex-shrink: 0;
}

/* ════════════════════════════
   Footer
════════════════════════════ */
.xdp-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
    gap: 8px;
    border-top: 1px solid var(--xdp-border);
    background: var(--xdp-surface-2);
}

.xdp-btn {
    padding: 7px 18px;
    border-radius: var(--xdp-radius-sm);
    border: none;
    font-family: var(--xdp-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .02em;
    transition: all var(--xdp-t);
}

.xdp-btn-cancel {
    background: transparent;
    color: var(--xdp-text-muted);
}

    .xdp-btn-cancel:hover {
        background: var(--xdp-surface-3);
        color: var(--xdp-text);
    }

.xdp-btn-clear {
    background: transparent;
    color: var(--xdp-accent);
    margin-right: auto;
}

    .xdp-btn-clear:hover {
        background: #fff0f0;
    }

.xdp-btn-ok {
    background: var(--xdp-primary);
    color: #fff;
    box-shadow: 0 3px 12px rgba(59,91,219,.35);
}

    .xdp-btn-ok:hover {
        background: var(--xdp-primary-dark);
        box-shadow: 0 4px 16px rgba(59,91,219,.45);
        transform: translateY(-1px);
    }

    .xdp-btn-ok:active {
        transform: none;
    }

/* ════════════════════════════
   Responsive
════════════════════════════ */
@media (max-width: 600px) {
    .xdp-overlay {
        align-items: flex-end;
    }

    .xdp-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
        max-height: 92vh;
        overflow-y: auto;
    }

    .xdp-header {
        width: 100%;
        min-width: unset;
        padding: 20px 20px 16px;
    }

    .xdp-header-range {
        flex-direction: row;
    }

    .xdp-header-range-arrow svg {
        transform: rotate(0deg);
    }

    .xdp-body {
        flex-direction: column;
        overflow-x: hidden;
    }

    .xdp-panel {
        flex: 0 0 auto;
        min-width: unset;
        width: 100%;
    }

        .xdp-panel + .xdp-panel {
            border-left: none;
            border-top: 1px solid var(--xdp-border);
            padding-left: 0;
            padding-top: 12px;
        }

    .xdp-skeleton {
        flex-direction: column;
        width: 100%;
    }

    .xdp-skeleton-bar {
        width: 100%;
        height: 80px;
    }

    .xdp-skeleton-body {
        min-width: unset;
    }

    .xdp-wrapper.xdp-sticky {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        border-radius: 20px;
    }

    .xdp-overlay--popover.xdp-overlay--popover-mobile {
        display: flex;
        align-items: flex-end;
        background: rgba(15,17,30,.45);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        animation: xov-in .22s ease forwards;
        opacity: 0;
    }

        .xdp-overlay--popover.xdp-overlay--popover-mobile > .xdp-wrapper {
            position: static;
            animation: xpop-in .24s cubic-bezier(.34,1.56,.64,1) forwards;
        }

            .xdp-overlay--popover.xdp-overlay--popover-mobile > .xdp-wrapper.closing {
                animation: xpop-out .18s ease forwards;
            }

    .xdp-overlay--popover:not(.xdp-overlay--popover-mobile) > .xdp-wrapper {
        max-width: calc(100vw - 16px);
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .xdp-header {
        --xdp-hw: 130px;
    }
}

/* ===== /lib/NumStepper/numstepper.css ===== */
.ns-wrapper {
    --ns-surface: #1a1a20;
    --ns-border: #2e2e38;
    --ns-accent: #5a5aff;
    --ns-text: #f0f0f5;
    --ns-text-hover: #fff;
    --ns-muted: #6b6b7e;
    --ns-btn-bg: #212129;
    --ns-btn-hover: #2e2e3d;
    --ns-radius: 14px;
    --ns-font-mono: 'DM Mono', monospace;
    --ns-font-display: 'Syne', sans-serif;
    --ns-font-size: 26px;
    --ns-transition: .18s cubic-bezier(.4,0,.2,1);
    --ns-width: auto;
    --ns-height: auto;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--ns-font-mono);
    width: var(--ns-width);
}

.ns-label {
    font-family: var(--ns-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ns-muted);
    padding-left: 4px;
    user-select: none;
}

.ns-track {
    display: flex;
    align-items: stretch;
    background: var(--ns-surface);
    border: 1.5px solid var(--ns-border);
    border-radius: var(--ns-radius);
    overflow: hidden;
    transition: border-color var(--ns-transition), box-shadow var(--ns-transition);
    position: relative;
}

    .ns-track:focus-within {
        border-color: var(--ns-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--ns-accent) 30%, transparent);
    }

.ns-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--ns-accent) 14%, transparent), color-mix(in srgb, var(--ns-accent) 4%, transparent));
    border-radius: var(--ns-radius);
    pointer-events: none;
    transition: width .25s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

.ns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* fijo en vez de max-width + width:100% */
    min-width: 28px; /* puede encoger hasta 28px antes de rendirse */
    min-height: var(--ns-height, 36px);
    background: var(--ns-btn-bg);
    border: none;
    cursor: pointer;
    color: var(--ns-muted);
    transition: background var(--ns-transition), color var(--ns-transition), transform .1s ease;
    flex-shrink: 1; /* permite encoger en vez de desaparecer */
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .ns-btn:hover:not(:disabled) {
        background: var(--ns-btn-hover);
        color: var(--ns-text-hover);
    }

    .ns-btn:active:not(:disabled) {
        background: var(--ns-accent);
        color: #fff;
        transform: scale(.92);
    }

    .ns-btn:disabled {
        opacity: .28;
        cursor: not-allowed;
    }
    .ns-btn svg {
        flex-shrink: 0;
        width: 14px;
        height: 14px;
    }

.ns-btn-dec {
    border-radius: var(--ns-radius) 0 0 var(--ns-radius);
}

.ns-btn-inc {
    border-radius: 0 var(--ns-radius) var(--ns-radius) 0;
}

.ns-divider {
    width: 1px;
    background: var(--ns-border);
    flex-shrink: 0;
    z-index: 1;
}

.ns-input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 12px;
    z-index: 1;
}

.ns-input {
    font-family: var(--ns-font-mono);
    font-size: var(--ns-font-size);
    font-weight: 500;
    color: var(--ns-text);
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    width: 100%;
    min-width: 60px;
    letter-spacing: .04em;
    -moz-appearance: textfield;
}

    .ns-input::-webkit-inner-spin-button, .ns-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

.ns-unit {
    font-family: var(--ns-font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ns-muted);
    user-select: none;
}

.ns-range-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
}

.ns-range-label {
    font-size: 10px;
    font-family: var(--ns-font-mono);
    color: var(--ns-muted);
    min-width: 20px;
    user-select: none;
}

    .ns-range-label.right {
        text-align: right;
    }

.ns-range-track {
    flex: 1;
    height: 3px;
    background: var(--ns-border);
    border-radius: 99px;
    position: relative;
    cursor: pointer;
}

.ns-range-thumb {
    position: absolute;
    top: 50%;
    height: 9px;
    width: 9px;
    background: var(--ns-accent);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 0 2px var(--ns-surface), 0 0 8px color-mix(in srgb, var(--ns-accent) 40%, transparent);
    transition: left .2s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}

.ns-range-fill-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--ns-accent);
    border-radius: 99px;
    opacity: .4;
    transition: width .2s cubic-bezier(.4,0,.2,1);
}

@keyframes ns-bump {
    0% {
        transform: scale(1)
    }

    40% {
        transform: scale(1.12)
    }

    100% {
        transform: scale(1)
    }
}

.ns-bump {
    animation: ns-bump .2s cubic-bezier(.4,0,.2,1);
}

/* ===== /lib/DropDownX/Dropdown.css ===== */
.dropdown-item.active, .dropdown-item:active {
    background: rgb(0 0 0 / 0.1) !important;
    color: inherit !important
}

.form-floating .form-control.btn.btn-secondary:focus,
.form-floating .dropdown.show .form-control.btn.btn-secondary,
.form-floating .form-control.btn.btn-secondary[aria-expanded="true"] {
    background-color: var(--tblr-secondary) !important; /* deja el color original */
    color: var(--tblr-secondary-text, #fff) !important; /* ajusta texto si necesitas */
}

/* si usas btn-primary */
.form-floating .form-control.btn.btn-primary:focus,
.form-floating .dropdown.show .form-control.btn.btn-primary,
.form-floating .form-control.btn.btn-primary[aria-expanded="true"] {
    background-color: var(--tblr-primary) !important;
    color: var(--tblr-primary-text, #000) !important;
}
.btn:not([data-bs-toggle="dropdown"]):focus,
.btn:not([data-bs-toggle="dropdown"]):active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgb(37 140 251 / 0.3) !important;
}

/* ── Readonly ────────────────────────────────────────── */
.form-floating.dropdown[data-readonly] .dropdown-toggle {
    pointer-events: none;
    background-color: var(--tblr-gray-100) !important;
    border-style: dashed !important;
    cursor: default;
}

.form-floating.dropdown[data-readonly] .bi-caret-down-fill {
    transition: opacity 0.2s ease;
    opacity: 0;
}

@media(min-width: 576px) {
    .dropdown-menu {
        opacity: 0;
        transition: all 0.3s
    }

        .dropdown-menu.show {
            margin-top: 0;
            opacity: 1;
        }
}

/* ===== /css/book.css ===== */
#booker {
    font-size: 16px;
    /* overflow: hidden; */
}

    #booker .form-floating > .form-control-plaintext::placeholder,
    #booker .form-floating > .form-control::placeholder {
        color: var(--bs-secondary-color);
        text-align: end;
    }

    #booker .form-floating > .form-control-plaintext:focus::placeholder,
    #booker .form-floating > .form-control:focus::placeholder {
        text-align: start;
    }

    #booker .panel-reservas {
        /* max-width: 450px; */
        width: 100%;
    }

    #booker .btn-increase,
    #booker .btn-decrease {
        width: 30px;
        aspect-ratio: 1/1;
        font-size: 20px;
    }

    #booker .error-page-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4rem 1.5rem;
        text-align: center;
        min-height: 60vh;
    }

    #booker .error-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background-color: rgba(var(--tblr-danger-rgb), 0.08);
        border: 1px solid rgba(var(--tblr-danger-rgb), 0.25);
        color: var(--tblr-danger);
        border-radius: 50px;
        padding: 4px 14px;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        margin-bottom: 1.5rem;
    }

    #booker .error-badge-dot {
        width: 6px;
        height: 6px;
        background-color: var(--tblr-danger);
        border-radius: 50%;
    }

    #booker .error-icon-wrap {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background-color: rgba(var(--tblr-danger-rgb), 0.08);
        border: 1px solid rgba(var(--tblr-danger-rgb), 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }

    #booker .error-code {
        font-size: 6rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -0.04em;
        color: var(--tblr-danger);
        margin: 0;
    }

    #booker .error-divider {
        width: 40px;
        height: 3px;
        background-color: var(--tblr-danger);
        border-radius: 2px;
        margin: 1.25rem auto;
        opacity: 0.5;
    }

    #booker .error-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--tblr-body-color);
        margin: 0 0 0.5rem;
    }

    #booker .error-description {
        font-size: 0.9rem;
        color: var(--tblr-secondary);
        max-width: 380px;
        margin: 0 auto 2rem;
        line-height: 1.6;
    }

    #booker .error-actions {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    #booker footer {
        height: fit-content
    }

.booker-placeholder {
    font-family: sans-serif;
    min-height: 500px;
    overflow: hidden
}

    .booker-placeholder .tour-header {
        background: #2c6134;
        padding: 18px 24px 14px;
    }

    /* ── Card ── */
    .booker-placeholder .DirtyMonkeyAdventure-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,.08);
        padding: 20px;
    }

    /* ── Stepper skeleton ── */
    .booker-placeholder .stepper-skel {
        display: flex;
        align-items: center;
        gap: 0;
        border: 1.5px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }

        .booker-placeholder .stepper-skel .s-btn {
            width: 34px;
            height: 34px;
            background: #e9ecef;
        }

        .booker-placeholder .stepper-skel .s-num {
            width: 36px;
            height: 34px;
            background: #f8f9fa;
        }

    /* ── Summary box ── */
    .booker-placeholder .summary-box {
        background: #e8f5ea;
        border: 1.5px solid #c3dfc8;
        border-radius: 10px;
        padding: 20px 16px;
    }

    /* ── CTA skeleton ── */
    .booker-placeholder .btn-skel {
        height: 46px;
        border-radius: 8px;
        background: #9cbfa2;
    }

/* =====================================================================
   Código promocional del widget (Home / Tours / ficha): plegable, igual
   que el del wizard ("Have a promo code?").
   ===================================================================== */
.bk-promo {
    margin: 10px 12px;
    border: 1px solid #e8e2d6;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
}

.bk-promo__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f6b34;
    text-align: left;
}

    .bk-promo__toggle i { transition: transform .2s ease; }
    .bk-promo__toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.bk-promo__body { margin-top: 10px; }

.bk-promo__row { display: flex; gap: 8px; }

.bk-promo__input {
    text-transform: uppercase;
    border-radius: 10px !important;
}

/* El form #reserve marca todos los inputs en verde al validar: el del código
   no debe verse "válido" sólo por tener texto. */
.was-validated .bk-promo__input:valid,
.bk-promo__input.is-valid {
    border-color: var(--tblr-border-color, #dce1e7) !important;
    background-image: none !important;
    padding-right: .75rem !important;
}

.bk-promo__input.is-bad { border-color: #c23d3d !important; }

.bk-promo__apply {
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    background: #23211c;
    color: #fff;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 700;
}

    .bk-promo__apply:hover { background: #000; color: #fff; }
    .bk-promo__apply:disabled { opacity: .6; }

.bk-promo__err {
    margin-top: 6px;
    font-size: 12.5px;
    color: #c23d3d;
}

.bk-promo__ok {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bk-promo__ok-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1f6b34;
}

    .bk-promo__ok-text i { font-size: 18px; }

.bk-promo__remove {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
    color: #8f897c;
    text-decoration: underline;
}

/* ===== /css/Views/Tour/Index.css ===== */
body {
    background: rgb(0 0 0 / 0.05)
}

#galleryCarousel, .carousel-item {
    height: 350px !important
}
#activity-details #activity-details-header .nav .nav-item .active {
    color: var(--tblr-primary) !important;
    border-bottom-color: var(--tblr-primary);
}

.share-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 16px 10px;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .share-card i {
        font-size: 1.8rem;
    }

    .share-card span {
        font-size: .85rem;
        font-weight: 500;
    }

    .share-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,.12);
    }

.copy-success {
    background-color: #198754 !important;
    color: #fff !important;
    border-color: #198754 !important;
}

.TA_certificateOfExcellence * img {
    width: 70px !important;
}
#CDSWIDCOE {
    width: 70px !important;
}

@media (max-width: 1140px) {
    .column-static {
        width: 100%;
        flex: 0 0 auto;
    }

    #experience {
        margin-top: 0;
    }
}


@media (max-width: 700px) {
    #experience {
        margin-top: -50px;
    }
}

/* ============================================
   FIX PARA TABS/ACCORDION HÍBRIDO EN TABLER
   ============================================ */

/* Asegurar que el acordeón en mobile no tenga bordes raros */
.accordion-flush .accordion-item {
    border: none !important;
}

/* En mobile, los tab-pane deben mostrarse SIEMPRE (no depender de 'active') */
/* (corte en 768: desde tableta ya se usan las pestañas de _DesktopView) */
@media (max-width: 767.98px) {
    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
    }

    /* Pero ocultar el contenido desktop dentro del tab-pane */
    .tab-pane > .d-none.d-lg-block {
        display: none !important;
    }
}

/* En tableta y escritorio, restaurar comportamiento normal de tabs */
@media (min-width: 768px) {
    .tab-content > .tab-pane {
        display: none;
    }

        .tab-content > .tab-pane.active {
            display: block;
        }

    /* Ocultar acordeón en desktop */
    .tab-pane > .d-lg-none.accordion {
        display: none !important;
    }
}

/* Fix para que el acordeón no rompa el layout de tab-content */
.accordion-body {
    padding: 0.5rem;
}



.carousel-control-prev-icon, .carousel-control-next-icon {
    background: #fff;
    border-radius: 50%;
    color: var(--tblr-primary);
    display: flex;
    width: 40px;
    height: 40px;
    box-shadow: 0 1.25rem 5px rgb(0 0 0 / 0.05);
}

/* ===== /css/Views/Tour/MobileView.css ===== */
/* =============================================================================
   FICHA DE TOUR — MÓVIL

   Estos estilos vivían en un <style> dentro de
   Views/Shared/ToursPartials/_MobileView.cshtml. Al estar al final del partial
   el navegador pintaba la ficha entera sin CSS antes de llegar a ellos: ése era
   el destello de uno o dos segundos. Aquí viajan en el <head> y además se
   cachean entre páginas.

   OJO: el partial ya NO es autosuficiente. Quien lo pinte tiene que enlazar
   este archivo; hoy lo hace Views/Tour/Index.cshtml en su @section Stylesheet.
   ========================================================================== */

    .dma-mobile {
        --dma-sand: #f7f3ec;
        --dma-sand-deep: #efe8dc;
        --dma-ink: #23211c;
        --dma-ink-soft: #5c574d;
        --dma-ink-faint: #929187;
        --dma-jungle: #1f6b34;
        --dma-jungle-deep: #17532a;
        --dma-lime: #57b947;
        --dma-clay: #c2703d;
        --dma-line: #e5ddd0;
        --dma-danger: #c23d3d;
        --dma-display: "Poppins","Inter",system-ui,sans-serif;
        --dma-body: "Inter",system-ui,-apple-system,sans-serif;
        /* Una sola flecha para los dos acordeones. Va como máscara, no como
               background-image: así toma el color del texto y, sobre todo, está
               centrada de verdad en su caja — un glifo como ❯ no lo está, y por eso
               se veía chueca al rotarla. */
        --dma-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
        /* La misma flecha apuntando a la derecha, para el acordeón de afuera. */
        --dma-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
        padding-bottom: 110px;
        background: var(--dma-sand);
        color: var(--dma-ink);
        font-family: var(--dma-body);
    }

    /* ---------- HERO ---------- */
    .dma-mobile__hero {
        position: relative;
        height: 288px;
        background: linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.10) 40%,rgba(0,0,0,.70) 100%), var(--hero-img) center/cover no-repeat;
        background-color: var(--dma-jungle-deep);
    }

    /* ---------- pantalla completa: sin footer ni FAB del sitio ----------
           El header del sitio (logo, idioma y menú) SÍ se ve en móvil: se quitó
           de esta lista a pedido de diseño para que el usuario tenga el menú a
           la mano. Por eso ya no se anula el margen de main.main-bottom-of-header
           ni se esconde el offcanvas #mobileMenu (lo abre la hamburguesa).
           Siguen ocultos el footer y el chat #wa-wrap, que se encimaba con el
           botón BOOK NOW.

           SÓLO ABAJO DE 1000px, que es donde se pinta _MobileView (el mismo corte
           que d-block d-lg-none en Views/Tour/Index.cshtml). */
    @media (max-width: 999.98px) {
        body.dma-chromeless > footer.footer-page,
        body.dma-chromeless > #wa-wrap {
            display: none !important;
        }
    }

    /* Header translúcido al hacer scroll (site.js le quita .header-fixed):
       un poco de desenfoque para que el logo y la hamburguesa se lean sobre
       las fotos, y el botón de idioma también se vuelve translúcido. */
    @media (max-width: 999.98px) {
        body.dma-chromeless .header-container {
            transition: background .25s ease;
        }

            body.dma-chromeless .header-container:not(.header-fixed) {
                backdrop-filter: blur(6px);
                -webkit-backdrop-filter: blur(6px);
            }
    }

    /* Botón de idioma del header: estilos base movidos a site.css (.header-lang-mobile). */

    .dma-mobile__hero-caption {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 20px;
        color: #fff;
    }

    .dma-mobile__location {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: var(--dma-lime);
    }

    .dma-mobile__title {
        margin: 0;
        font-family: var(--dma-display);
        font-size: 30px;
        font-weight: 500;
        line-height: .95;
        text-transform: uppercase;
    }

    .dma-mobile__subtitle {
        margin-top: 4px;
        font-size: 12.5px;
        font-weight: 600;
        color: rgba(255,255,255,.85);
    }

    .dma-mobile__ridge {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        width: 100%;
        height: 20px;
        color: var(--dma-sand);
        display: block;
    }

    /* ---------- META ---------- */
    .dma-mobile__meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 12px;
        font-size: 13px;
    }

    .dma-mobile__duration {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--dma-ink-soft);
    }

    .dma-mobile__rating {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-weight: 700;
        color: var(--dma-clay);
    }

    .dma-mobile__stars {
        letter-spacing: .06em;
    }

    .dma-mobile__meta-faint,
    .dma-mobile__meta-dot {
        color: var(--dma-ink-faint);
    }

    /* ---------- TRIPADVISOR ---------- */
    .dma-mobile__ta-card {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 12px;
        background: #fff;
        border: 1px solid var(--dma-line);
        border-radius: 14px;
        padding: 10px 14px;
        text-decoration: none;
    }

        .dma-mobile__ta-card img {
            height: 34px;
            width: auto;
        }

    .dma-mobile__ta-title {
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: #00af87;
    }

    .dma-mobile__ta-sub {
        font-size: 12px;
        color: var(--dma-ink-faint);
    }

    /* ---------- ABOUT ---------- */
    .dma-mobile__eyebrow {
        margin: 20px 0 6px;
        font-size: 11px;
        font-weight: 100;
        text-transform: uppercase;
        letter-spacing: .14em;
        color: var(--dma-ink-faint);
    }

    .dma-mobile__about {
        font-size: 14px;
        line-height: 1.6;
        color: var(--dma-ink-soft);
    }

    .dma-mobile__readmore {
        margin-top: 6px;
        border: 0;
        background: transparent;
        padding: 0;
        font-size: 13px;
        font-weight: 100;
        color: var(--dma-jungle);
        text-decoration: underline;
    }

    /* ---------- GALERÍA ---------- */
    .dma-mobile__gallery {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-top: 16px;
        padding-bottom: 4px;
    }

    .dma-mobile__shot {
        flex: 0 0 auto;
        padding: 0;
        border: 0;
        background: transparent;
        border-radius: 12px;
        line-height: 0;
        scroll-snap-align: start;
        -webkit-tap-highlight-color: transparent;
    }

        .dma-mobile__shot img {
            display: block;
            width: 144px;
            height: 112px;
            object-fit: cover;
            border: 1px solid var(--dma-line);
            border-radius: 12px;
            background: var(--dma-sand-deep);
            transition: transform .12s ease;
        }

        .dma-mobile__shot:active img {
            transform: scale(.97);
        }

        .dma-mobile__shot:focus-visible img {
            outline: 2px solid var(--dma-jungle);
            outline-offset: 2px;
        }

    /* ---------- VISOR DE GALERÍA ---------- */
    .dma-lb {
        position: fixed;
        inset: 0;
        z-index: 1075;
    }

        .dma-lb[hidden] {
            display: none;
        }

    .dma-lb__scrim {
        position: absolute;
        inset: 0;
        background: rgba(20,19,16,.94);
        animation: dma-fade .2s ease;
    }

    .dma-lb__stage {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 64px 56px calc(64px + env(safe-area-inset-bottom));
        pointer-events: none;
    }

        /* La foto sí recibe el toque, para que tocarla no cierre el visor:
           el stage está en pointer-events:none para que el resto del área
           caiga en el scrim y ahí sí cierre. */
        .dma-lb__stage img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 12px;
            pointer-events: auto;
            animation: dma-fade .25s ease;
        }

    .dma-lb__x,
    .dma-lb__nav {
        position: absolute;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 999px;
        background: rgba(255,255,255,.12);
        color: #fff;
        backdrop-filter: blur(6px);
        transition: background .15s ease, transform .12s ease;
    }

        .dma-lb__x:active,
        .dma-lb__nav:active {
            transform: scale(.92);
            background: rgba(255,255,255,.22);
        }

    .dma-lb__x {
        top: calc(12px + env(safe-area-inset-top));
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .dma-lb__nav {
        top: 50%;
        margin-top: -22px;
        width: 44px;
        height: 44px;
    }

    .dma-lb__nav--prev {
        left: 8px;
    }

    .dma-lb__nav--next {
        right: 8px;
    }

    .dma-lb__count {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(20px + env(safe-area-inset-bottom));
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        color: rgba(255,255,255,.75);
        font-variant-numeric: tabular-nums;
    }

    .dma-lb.is-single .dma-lb__nav,
    .dma-lb.is-single .dma-lb__count {
        display: none;
    }

    .dma-lb.is-single .dma-lb__stage {
        padding-left: 16px;
        padding-right: 16px;
    }

    @media (prefers-reduced-motion: reduce) {
        .dma-lb *,
        .dma-lb__scrim {
            animation: none !important;
            transition: none !important;
        }
    }

    /* Estas dos viven también en el wizard, pero la ficha las necesita por su
       cuenta: cuando la experiencia usa Peek el partial del wizard no se pinta
       y el visor se quedaría sin animación y sin bloqueo de scroll. */
    @keyframes dma-fade {
        from {
            opacity: 0;
            transform: translateY(6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    body.dma-locked {
        overflow: hidden;
    }

    /* Hoja "Leer más" abierta: el body se congela en su lugar (el top lo pone
       dmaAboutOpen) para que la página de atrás no se desplace en iPhone. */
    body.dma-scroll-fixed {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
    }

    /* El scroll del texto no "se pasa" a la página al llegar al final. */
    .dma-sheet,
    .dma-sheet__body {
        overscroll-behavior: contain;
    }

    .dma-sheet__scrim {
        touch-action: none;
    }

    /* ---------- TRUST STRIP ---------- */
    .dma-mobile__trust {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 8px;
        margin-top: 16px;
    }

        .dma-mobile__trust > div {
            border: 1px solid var(--dma-line);
            border-radius: 12px;
            background: #fff;
            padding: 10px 8px;
            text-align: center;
        }

        .dma-mobile__trust b {
            display: block;
            font-size: 11.5px;
            font-weight: 100;
            line-height: 1.15;
        }

        .dma-mobile__trust small {
            font-size: 10px;
            color: var(--dma-ink-faint);
        }

    .dma-mobile__trust-icon {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        margin: 0 auto 4px;
        border-radius: 999px;
        background: rgba(31,107,52,.1);
        color: var(--dma-jungle);
        font-size: 16px;
    }

    /* ---------- HIGHLIGHTS ---------- */
    /* Tarjeta de aspectos destacados: ya no va en el acordeón, va a la vista
       justo después de Tripadvisor. */
    .dma-mobile__hl-card {
        margin-top: 16px;
        padding: 16px;
        border: 1px solid var(--dma-line);
        border-radius: 16px;
        background: #fff;
    }

    .dma-mobile__hl-title {
        margin: 0 0 12px;
        font-family: var(--dma-display);
        font-size: 16px;
        font-weight: 800;
        color: var(--dma-ink);
    }

    .dma-mobile__highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .dma-mobile__highlight {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 12.5px;
        line-height: 1.3;
    }

        .dma-mobile__highlight i {
            font-size: 20px;
            color: var(--dma-jungle);
            flex-shrink: 0;
        }

    /* ---------- ACORDEÓN ---------- */
    .dma-mobile__accordion {
        margin-top: 20px;
        border: 1px solid var(--dma-line);
        border-radius: 16px;
        background: #fff;
        overflow: hidden;
    }

        .dma-mobile__accordion .accordion-item {
            border: 0;
            border-bottom: 1px solid var(--dma-line);
            background: transparent;
        }

            .dma-mobile__accordion .accordion-item:last-child {
                border-bottom: 0;
            }

        /* Layout del encabezado. La tipografía va aparte, en .accordion-title,
           para poder reusar esa clase en el resto del sitio. */
        .dma-mobile__accordion .accordion-button {
            display: flex;
            align-items: center; /* el título de 2 líneas ya no sube la flecha */
            gap: 12px;
            padding: 16px;
            background: transparent;
            box-shadow: none;
        }

        .dma-mobile__accordion .accordion-title {
            font-family: "Montserrat", var(--dma-body);
            font-size: 13px;
            font-weight: inherit;
            letter-spacing: .3px;
            line-height: 1.3;
            text-transform: uppercase;
            color: var(--dma-ink);
        }

            .dma-mobile__accordion .accordion-button:not(.collapsed) {
                color: var(--dma-jungle);
            }

            /* Reemplaza el chevron de Bootstrap (imagen de fondo con su propio
                   color) por la máscara: mismo dibujo que el acordeón interno y hereda
                   el color del encabezado. */
            /* Cerrado apunta a la derecha y abierto gira a abajo, como el
               prototipo. Va como máscara, no como background-image: así se le
               puede dar color propio (verde) sin depender del texto. */
            .dma-mobile__accordion .accordion-button::after {
                content: "";
                flex: 0 0 18px;
                width: 18px;
                height: 18px;
                margin-left: auto;
                background-image: none;
                background-color: var(--dma-jungle);
                -webkit-mask: var(--dma-chevron-right) center / 18px 18px no-repeat;
                mask: var(--dma-chevron-right) center / 18px 18px no-repeat;
                transform: rotate(0deg);
                transition: transform .25s cubic-bezier(.4, 0, .2, 1);
            }

            .dma-mobile__accordion .accordion-button:not(.collapsed)::after {
                transform: rotate(90deg);
            }

            .dma-mobile__accordion .accordion-button:focus-visible {
                outline: 2px solid var(--dma-jungle);
                outline-offset: -2px;
                border-radius: 12px;
            }

        .dma-mobile__accordion .accordion-body {
            padding: 0 16px 16px;
            font-size: 13.5px;
            color: var(--dma-ink-soft);
        }

            .dma-mobile__accordion .accordion-body ul {
                list-style: none;
                padding-left: 0;
                margin: 0;
            }

                .dma-mobile__accordion .accordion-body ul li {
                    display: flex;
                    align-items: flex-start;
                    gap: 8px;
                    padding: 3px 0;
                }

                    .dma-mobile__accordion .accordion-body ul li::before {
                        content: "\2713";
                        color: var(--dma-jungle);
                        font-weight: 700;
                        flex-shrink: 0;
                    }

            /* Restricciones: ✕ en lugar de palomita (pedido de diseño). */
            .dma-mobile__accordion .accordion-body.dma-acc--restrictions ul li::before {
                content: "\2715";
                color: var(--dma-danger, #c23d3d);
            }

            .dma-mobile__accordion .accordion-body h4,
            .dma-mobile__accordion .accordion-body h5 {
                display: block;
                margin: 14px 0 4px;
                font-size: 11px;
                font-weight: 800;
                letter-spacing: .12em;
                text-transform: uppercase;
                color: var(--dma-ink-faint);
            }

            /* ---- tarjetas "no incluye" / "política de cancelación" ----
                   No vienen del backend: se pintan en la vista. Van dentro del cuerpo
                   del acordeón, como nota al pie de la sección. */
            .dma-mobile__accordion .accordion-body .dma-note {
                margin-top: 16px;
                padding: 12px 14px;
                background: var(--dma-sand-deep);
                border-radius: 12px;
            }

            .dma-mobile__accordion .accordion-body .dma-note__title {
                margin-bottom: 6px;
                font-size: 11px;
                font-weight: 800;
                letter-spacing: .12em;
                text-transform: uppercase;
                color: var(--dma-ink-faint);
            }

            .dma-mobile__accordion .accordion-body .dma-note--warn .dma-note__title {
                color: var(--dma-clay);
            }

            .dma-mobile__accordion .accordion-body .dma-note__body {
                margin: 0;
                font-size: 12.5px;
                line-height: 1.5;
                color: var(--dma-ink-soft);
            }

            /* Punto, no palomita: esto es lo que NO entra. Gana en
                       especificidad a la regla general de li::before. */
            .dma-mobile__accordion .accordion-body ul.dma-note__list {
                margin: 0;
                padding-left: 0;
                list-style: none;
            }

                .dma-mobile__accordion .accordion-body ul.dma-note__list li {
                    display: flex;
                    align-items: flex-start;
                    gap: 8px;
                    padding: 2px 0;
                    font-size: 12.5px;
                    color: var(--dma-ink-soft);
                }

                    .dma-mobile__accordion .accordion-body ul.dma-note__list li::before {
                        content: "\2022";
                        color: var(--dma-clay);
                        font-weight: 700;
                        line-height: 1.35;
                        flex-shrink: 0;
                    }

            /* ---- ACORDEÓN ANIDADO: el FAQ_html viene como <details><summary> ----
                   Sí se puede meter un acordeón dentro del otro; lo que hacía falta era
                   que se leyera como subordinado (fondo hundido, tipografía menor) y que
                   la flecha fuera la misma que la de afuera. */
            .dma-mobile__accordion .accordion-body details {
                background: var(--dma-sand);
                border: 1px solid var(--dma-line);
                border-radius: 12px;
                margin-top: 8px;
                overflow: hidden;
            }

                .dma-mobile__accordion .accordion-body details:first-of-type {
                    margin-top: 4px;
                }

                .dma-mobile__accordion .accordion-body details[open] {
                    background: #fff;
                    border-color: var(--dma-jungle);
                }

                .dma-mobile__accordion .accordion-body details > summary {
                    list-style: none;
                    display: grid;
                    grid-template-columns: 1fr 18px; /* la flecha en su propia
                                                              columna: nunca se encima
                                                              ni baila con el texto */
                    align-items: start;
                    gap: 12px;
                    padding: 12px 14px;
                    cursor: pointer;
                    font-size: 13px;
                    font-weight: 700;
                    line-height: 1.4;
                    color: var(--dma-ink);
                    -webkit-tap-highlight-color: transparent;
                }

                    .dma-mobile__accordion .accordion-body details > summary::-webkit-details-marker {
                        display: none;
                    }

                    .dma-mobile__accordion .accordion-body details > summary::marker {
                        content: "";
                    }

                    .dma-mobile__accordion .accordion-body details > summary::after {
                        content: "";
                        width: 18px;
                        height: 18px;
                        margin-top: 1px; /* a la altura de la 1ª línea */
                        background-color: var(--dma-jungle);
                        -webkit-mask: var(--dma-chevron) center / 18px 18px no-repeat;
                        mask: var(--dma-chevron) center / 18px 18px no-repeat;
                        transform: rotate(0deg);
                        transition: transform .25s cubic-bezier(.4, 0, .2, 1);
                    }

                    .dma-mobile__accordion .accordion-body details > summary:focus-visible {
                        outline: 2px solid var(--dma-jungle);
                        outline-offset: -2px;
                        border-radius: 12px;
                    }

                .dma-mobile__accordion .accordion-body details[open] > summary::after {
                    transform: rotate(-180deg);
                }

            /* Envoltura que crea el JS para poder animar la altura.
                       Sin ella <details> abre de golpe: no hay nada que transicionar. */
            .dma-mobile__accordion .accordion-body .dma-faq__panel {
                padding: 0 14px 12px;
                font-size: 13px;
                line-height: 1.5;
                color: var(--dma-ink-soft);
            }

                .dma-mobile__accordion .accordion-body .dma-faq__panel > :first-child {
                    margin-top: 0;
                }

                .dma-mobile__accordion .accordion-body .dma-faq__panel > :last-child {
                    margin-bottom: 0;
                }

    /* Sin JS (o con animaciones reducidas) el acordeón interno sigue
                   funcionando: es <details> nativo. */
    @media (prefers-reduced-motion: reduce) {
        .dma-mobile__accordion .accordion-button::after,
        .dma-mobile__accordion .accordion-body details > summary::after {
            transition: none;
        }
    }

    .dma-mobile__terms {
        display: block;
        margin-top: 16px;
        text-align: center;
        font-size: 12px;
        color: var(--dma-ink-faint);
    }

    /* ---------- BARRA FIJA ---------- */
    .dma-mobile__book-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        border-top: 1px solid var(--dma-line);
        background: rgba(247,243,236,.97);
        backdrop-filter: blur(8px);
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    }

    .dma-mobile__book-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .dma-mobile__from {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: var(--dma-ink-soft);
    }

    /* Precio más grande para que llame la atención */
    .dma-mobile__price {
        display: flex;
        align-items: baseline;
        gap: 4px;
        font-family: var(--dma-display);
        font-size: 28px;
        font-weight: 800;
        line-height: 1.05;
        color: var(--dma-ink);
    }

    .dma-mobile__currency {
        font-size: 13px;
        font-weight: 800;
    }

    .dma-mobile__per {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: var(--dma-ink-faint);
    }

    .dma-mobile__book-btn {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 0;
        border-radius: 12px;
        background: var(--dma-jungle);
        color: #fff;
        padding: 15px 26px;
        font-family: var(--dma-display);
        font-size: 17px;
        font-weight: 800;
        letter-spacing: .02em;
        box-shadow: 0 8px 20px -8px rgba(31,107,52,.7);
    }

        .dma-mobile__book-btn:active {
            transform: scale(.96);
        }

    /* ---------- HOJA GENÉRICA (About) ---------- */
    .dma-sheet {
        position: fixed;
        inset: 0;
        z-index: 1070;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

        .dma-sheet[hidden] {
            display: none;
        }

    .dma-sheet__scrim {
        position: absolute;
        inset: 0;
        background: rgba(35,33,28,.45);
    }

    .dma-sheet__panel {
        position: relative;
        display: flex;
        flex-direction: column;
        max-height: 88vh;
        border-radius: 24px 24px 0 0;
        background: var(--dma-sand);
        animation: dma-sheet-up .32s cubic-bezier(.2,.8,.2,1);
    }

    @media (min-width:480px) {
        .dma-sheet__panel {
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
        }
    }

    /* tableta: las hojas de la ficha igual de anchas que el wizard */
    @media (min-width: 640px) and (max-width: 999.98px) {
        .dma-sheet__panel {
            max-width: 720px;
        }
    }

    .dma-sheet__head {
        flex: 0 0 auto;
        padding: 12px 20px 8px;
    }

    .dma-sheet__grabber {
        display: block;
        width: 40px;
        height: 6px;
        margin: 0 auto;
        border-radius: 999px;
        background: var(--dma-line);
    }

    .dma-sheet__title {
        margin: 0;
        font-family: var(--dma-display);
        font-size: 20px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .dma-sheet__x {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--dma-ink-soft);
    }

    .dma-sheet__body {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 8px 20px 16px;
    }

    .dma-sheet__foot {
        flex: 0 0 auto;
        border-top: 1px solid var(--dma-line);
        padding: 14px 20px calc(20px + env(safe-area-inset-bottom));
    }

    .dma-sheet__close {
        width: 100%;
        border: 0;
        border-radius: 16px;
        background: var(--dma-ink);
        color: #fff;
        padding: 14px;
        font-family: var(--dma-display);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

/* ===== Qué ficha se ve (Views/Tour/Index.cshtml) =====
   Corte propio en 1000px (Bootstrap no tiene uno ahí): abajo, celular y tableta
   usan _MobileView; desde 1000px, _DesktopView. */
.dmt-vista-desk { display: none; }
.dmt-vista-movil { display: block; }

@media (min-width: 1000px) {
    .dmt-vista-desk { display: block; }
    .dmt-vista-movil { display: none; }
}

/* ===== Ficha móvil sin scroll lateral =====
   Algo más ancho que la pantalla (galería, carrusel) dejaba deslizar la página
   de lado. "clip" corta lo que sobra SIN romper los position:sticky (hidden sí
   los rompe). Sólo en la ficha móvil (< 1000px). */
@media (max-width: 999.98px) {
    html:has(body.dma-chromeless),
    body.dma-chromeless {
        overflow-x: clip;
        overscroll-behavior-x: none;
    }

    .dma-mobile {
        overflow-x: clip;
        max-width: 100%;
    }
}

/* ===== /css/Views/Tour/DesktopBooking.css ===== */
/* =========================================================================
   Reserva de ESCRITORIO de la ficha del tour
   (panel lateral · checkout · confirmación)

   El HTML lo pinta _BookingWizard en modo escritorio dentro de
   #dmaDeskPanel y #dmaDeskPage (_DesktopView). Reutiliza las piezas del
   wizard móvil (.dma-cal, .dma-veh, .dma-card, .dma-row, .dma-result…);
   aquí sólo va el layout de escritorio y lo que el mockup cambia.
   Prefijo propio: .dmd-*
   ========================================================================= */

.dma-desk {
    --dma-sand: #f7f3ec;
    --dma-sand-deep: #efe8dc;
    --dma-beige: #f3eee6;
    --dma-ink: #23211c;
    --dma-ink-soft: #5c574d;
    --dma-ink-faint: #8f897c;
    --dma-jungle: #1f6b34;
    --dma-jungle-deep: #17532a;
    --dma-lime: #57b947;
    --dma-clay: #c2703d;
    --dma-line: #e5ddd0;
    --dma-field: #cfcac1;
    --dma-danger: #c23d3d;
    --dma-display: "Inter", system-ui, sans-serif;
    --dma-body: "Inter", system-ui, -apple-system, sans-serif;
    --dma-mono: "DM Mono", ui-monospace, monospace;
    font-family: var(--dma-body);
    color: var(--dma-ink);
}

    .dma-desk button {
        font-family: inherit;
    }

/* ============================ PANEL LATERAL ============================ */

.dmd-panel {
    padding: 4px 12px 8px;
}

.dmd-from__label {
    display: block;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dma-ink-soft);
}

.dmd-from__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.1;
}

    .dmd-from__price b {
        font-size: 26px;
        font-weight: 400;
    }

    .dmd-from__price span {
        font-size: 20px;
        color: var(--dma-ink-faint);
    }

.dmd-sec {
    margin-top: 30px;
}

    .dmd-sec + .dmd-sec {
        margin-top: 30px;
    }

/* ---- acordeones "SELECT DATE" / "SELECT VEHICLE" ---- */
.dmd-acc {
    display: flex;
    width: 100%;
    min-height: fit-content;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--dma-ink-faint);
    border-radius: 4px;
    background: #f7f7f5;
    color: var(--dma-ink);
    text-align: left;
    transition: border-color .15s ease, background-color .15s ease;
}

    .dmd-acc:hover {
        border-color: var(--dma-ink);
    }

    .dmd-acc:focus-visible {
        outline: 2px solid var(--dma-jungle);
        outline-offset: 2px;
    }

.dmd-acc__main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dmd-acc__label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dmd-acc__value {
    font-size: 13px;
    color: var(--dma-jungle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dmd-acc__chev {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    transform: rotate(90deg);
    transition: transform .2s ease;
}

.dmd-acc.is-open .dmd-acc__chev {
    transform: rotate(-90deg);
}

/* calendario dentro del panel */
.dmd-panel .dma-cal {
    margin-top: 6px;
    border-color: var(--dma-ink-faint);
    border-radius: 4px;
    padding: 16px 14px 10px;
}

.dmd-panel .dma-cal__month {
    font-family: var(--dma-body);
    font-weight: 400;
}

.dmd-panel .dma-cal__dow {
    font-weight: 400;
    margin-bottom: 10px;
}

.dmd-panel .dma-day {
    font-weight: 400;
    font-size: 13px;
    border-radius: 999px;
    aspect-ratio: auto;
    height: 36px;
}

/* lista de vehículos dentro del panel */
.dmd-vlist {
    margin-top: 6px;
    border: 1px solid var(--dma-ink-faint);
    border-radius: 4px;
    padding: 4px;
    animation: dma-fade .25s ease;
}

.dmd-veh.dma-veh {
    margin: 4px;
    padding: 14px;
    border-radius: 10px;
    border-color: var(--dma-line);
}

    .dmd-veh.dma-veh.is-on {
        border-color: rgba(31,107,52,.45);
        background: rgba(31,107,52,.03);
    }

.dmd-veh .dma-veh__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--dma-beige);
    color: var(--dma-ink-soft);
}

.dmd-veh .dma-veh__name {
    font-family: var(--dma-body);
    font-size: 14.5px;
    font-weight: 500;
}

.dmd-veh .dma-veh__cap {
    font-size: 12px;
    color: var(--dma-ink-faint);
}

.dmd-veh .dma-veh__price {
    font-size: 13px;
    font-weight: 400;
    color: var(--dma-jungle);
}

    .dmd-veh .dma-veh__price span {
        color: var(--dma-ink-faint);
    }

.dmd-veh .dma-stepper {
    gap: 8px;
}

.dmd-veh .dma-stepbtn {
    width: 34px;
    height: 34px;
}

.dmd-vlist .dma-insnote {
    margin: 8px 4px 4px;
}

/* salidas */
.dmd-deps .dma-eyebrow {
    font-size: 12px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.dmd-deps .dma-group {
    margin-top: 10px;
}

.dmd-deps .dma-dep {
    border-radius: 8px;
    padding: 12px 14px;
}

.dmd-deps .dma-dep__time {
    font-family: var(--dma-body);
    font-size: 16px;
}

/* ---- "WHERE ARE YOU STAYING?" ---- */
.dmd-stay {
    margin-top: 40px;
}

.dmd-h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.dmd-stay .dmd-sub {
    margin: 6px 0 22px;
    font-size: 13px;
}

.dmd-stay .dma-search .dma-input {
    height: fit-content;
    border-radius: 4px;
    border-color: var(--dma-ink-faint);
    background: #f7f7f5;
}

.dmd-stay .dma-hint {
    margin-top: 10px;
    font-size: 11px;
    color: var(--dma-ink-faint);
}

/* "I haven't booked my accommodation yet": botón con contorno, centrado */
.dmd-stay .dma-dashed {
    width: 100%;
    margin: 10px 0 0;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--dma-jungle);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    justify-content: center;
    box-shadow: none;
    transition: background-color .15s ease;
}

    .dmd-stay .dma-dashed svg {
        display: none;
    }

    .dmd-stay .dma-dashed:hover {
        background: var(--dma-jungle-deep);
        color: #fff;
    }

.dmd-stay .dma-center {
    display: block;
    margin: 14px auto 0;
}

.dmd-stay .dma-result {
    margin-top: 16px;
}

/* ---- CTA "BOOK NOW" (panel y checkout) ---- */
.dmd-ctawrap {
    margin-top: 40px;
}

.dmd-cta {
    display: block;
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 10px;
    background: var(--dma-jungle);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background-color .15s ease, opacity .15s ease;
}

    .dmd-cta:hover:not(:disabled) {
        background: var(--dma-jungle-deep);
    }

    .dmd-cta:focus-visible {
        outline: 2px solid var(--dma-jungle);
        outline-offset: 3px;
    }

    .dmd-cta:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.dmd-cta__hint {
    margin: 10px 0 0;
    font-size: 12px;
    text-align: center;
    color: var(--dma-ink-faint);
}

/* =============================== CHECKOUT =============================== */

.dmd-page {
    background: #f7f7f5;
    min-height: 70vh;
}

.dmd-box {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
}

/* Resumen del checkout: sin scroll propio, acompaña al hacer scroll.
   Si es más alto que la ventana, el JS (deskFitSticky) le pone un "top"
   negativo para que se pegue por ABAJO y el botón Book now siempre se vea. */
@media (min-width: 768px) {
    .dmd-sticky {
        position: sticky;
        top: 20px;
    }
}

.dmd-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    border: 0;
    background: transparent;
    padding: 4px 0;
    font-size: 13.5px;
    color: var(--dma-ink-soft);
}

    .dmd-back:hover {
        color: var(--dma-jungle);
    }

.dmd-h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: .01em;
    text-transform: uppercase;
    line-height: 1.2;
}

.dmd-sub {
    margin: 6px 0 20px;
    font-size: 14px;
    color: var(--dma-ink);
}

.dmd-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.dmd-form__full {
    grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
    .dmd-form {
        grid-template-columns: 1fr;
    }
}

.dmd-checkout .dma-field {
    margin-bottom: 14px;
}

.dmd-checkout .dma-field__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dma-ink);
}

    .dmd-checkout .dma-field__label b {
        color: var(--dma-clay);
    }

.dmd-checkout .dma-field__hint {
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--dma-ink-faint);
}

.dmd-checkout .dma-input {
    min-height: 46px;
    border-radius: 8px;
    border-color: var(--dma-field);
    background: #fff;
    font-size: 14px;
}

.dmd-checkout textarea.dma-input {
    min-height: 88px;
}

.dmd-checkout .iti {
    width: 100%;
}

.dmd-privacy.dma-note {
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: var(--dma-beige);
    padding: 18px 20px;
    font-size: 12.5px;
}

.dmd-h2--pay {
    margin-top: 28px;
}

.dmd-checkout .dma-trust {
    justify-content: flex-start;
    margin: 12px 0 16px;
}

.dmd-stripe {
    min-height: 180px;
}

/* columna derecha: resumen */
.dmd-checkout .dma-card {
    border-radius: 10px;
    margin-bottom: 10px;
}

.dmd-checkout .dma-card__title {
    font-weight: 400;
}

.dmd-checkout .dma-row > span,
.dmd-checkout .dma-row > b {
    font-size: 13.5px;
}

.dmd-checkout .dma-total span {
    font-family: var(--dma-body);
    font-size: 13.5px;
}

.dmd-insnote {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    margin: 20px 0 20px;
    border-radius: 10px;
    background: var(--dma-beige);
    padding: 18px 16px;
    font-size: 12.5px;
    color: var(--dma-ink-soft);
}

    .dmd-insnote b {
        font-weight: 400;
        color: var(--dma-clay);
    }

/* ============================= CONFIRMACIÓN ============================= */

.dmd-done__hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 335px;
    max-width: 1275px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #3b3a35 center / cover no-repeat;
    color: #fff;
    text-align: center;
}

    .dmd-done__hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.5) 100%);
    }

.dmd-done__inner {
    position: relative;
    padding: 40px 20px 70px;
}

.dmd-done__check {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 999px;
    background: #4cb648;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
    animation: dma-pop .4s ease;
}

.dmd-done__title {
    margin: 22px 0 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.dmd-done__sub {
    margin: 8px 0 0;
    font-size: 15px;
    color: rgba(255,255,255,.92);
}

.dmd-done__code {
    position: relative;
    width: 342px;
    max-width: calc(100% - 32px);
    margin: -46px auto 0;
    border: 1px solid #cfcac1;
    border-radius: 10px;
    background: #fff;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

    .dmd-done__code span {
        display: block;
        font-size: 11px;
        letter-spacing: .15em;
        text-transform: uppercase;
        color: var(--dma-jungle);
    }

    .dmd-done__code b {
        display: block;
        margin-top: 6px;
        font-family: var(--dma-mono);
        font-size: 24px;
        font-weight: 400;
        letter-spacing: .15em;
    }

.dmd-done__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 980px;
    margin: 30px auto 0;
    align-items: start;
}

@media (max-width: 991.98px) {
    .dmd-done__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.dmd-done .dma-card {
    border-radius: 10px;
    padding: 18px 16px;
    margin-bottom: 16px;
}

.dmd-done .dma-card__title {
    font-weight: 400;
    margin-bottom: 14px;
}

.dmd-done .dma-row > span,
.dmd-done .dma-row > b {
    font-size: 13.5px;
}

.dmd-done__email.dma-note {
    margin: 20px 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--dma-beige);
    padding: 12px 14px;
    font-size: 12.5px;
}

.dmd-done__warn {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--dma-clay);
}

    .dmd-done__warn svg {
        flex: 0 0 auto;
        margin-top: 1px;
    }

.dmd-done__tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

    .dmd-done__tiles .dma-tile-btn {
        width: 100px;
        min-height: 90px;
        justify-content: center;
        border-radius: 8px;
        padding: 12px 6px;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .dmd-done__tiles .dma-tile-btn:hover {
            border-color: var(--dma-jungle);
            box-shadow: 0 2px 8px rgba(0,0,0,.06);
        }

        .dmd-done__tiles .dma-tile-btn span {
            font-size: 12.5px;
            font-weight: 400;
        }

.dmd-done__change {
    margin: 60px 0 40px;
    text-align: center;
    font-size: 13px;
    color: var(--dma-ink-soft);
}

    .dmd-done__change a {
        color: var(--dma-jungle);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.dmd-done-err {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 28px;
    text-align: center;
}

.dmd-done-err__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: rgba(194,61,61,.1);
    color: var(--dma-danger);
}

.dmd-done-err .dmd-done__tiles {
    margin-top: 20px;
}

/* Notas (privacidad, correo enviado): ícono y texto en la misma línea. */
.dma-desk .dma-note {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: var(--dma-ink-soft);
}

    .dma-desk .dma-note svg {
        flex: 0 0 auto;
        color: var(--dma-jungle);
    }

/* "SELECT DATE" ya no es acordeón: el calendario va siempre abierto debajo. */
.dmd-acc--static {
    cursor: default;
}

    .dmd-acc--static:hover {
        border-color: var(--dma-ink-faint);
    }

/* Nota azul del seguro: arriba de la lista de vehículos. */
.dmd-vlist > .dma-insnote:first-child {
    margin: 4px 4px 8px;
}

/* Botón "Confirm vehicles": cierra la lista de vehículos. */
.dmd-vdone {
    display: block;
    width: calc(100% - 8px);
    margin: 8px 4px 4px;
    padding: 12px;
    border: 1px solid var(--dma-jungle);
    border-radius: 10px;
    background: #fff;
    color: var(--dma-jungle);
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}

    .dmd-vdone:hover:not(:disabled) {
        background: var(--dma-jungle);
        color: #fff;
    }

    .dmd-vdone:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

/* =========================================================================
   PAGO Y CONFIRMACIÓN DENTRO DEL PANEL (columna angosta de la derecha)
   Ya no hay página aparte: el wizard pinta todo en #dmaDeskPanel.
   ========================================================================= */

/* el panel acompaña al scroll; el "top" lo pone el JS (deskFitSticky)
   para que quede debajo del header fijo del sitio */
@media (min-width: 768px) {
    .dmk-bookcard.dmd-sticky {
        position: sticky;
        top: 100px;
    }
}

.dmd-checkout--panel .dmd-back {
    margin-bottom: 10px;
}

.dmd-panel .dmd-h2 {
    font-size: 19px;
    font-weight: 500;
}

.dmd-panel .dmd-sub {
    font-size: 13px;
    margin-bottom: 14px;
}

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

.dmd-checkout--panel #dmaDeskRight {
    margin-bottom: 28px;
}

.dmd-checkout--panel #dmaDeskRight .dmd-insnote {
    margin-bottom: 0;
}

.dmd-checkout--panel #dmaDeskPayWrap {
    margin-top: 18px;
}

.dmd-panel .dmd-h2--pay {
    margin-top: 22px;
}

.dmd-panel .dmd-privacy.dma-note {
    padding: 14px 16px;
}

/* ---- confirmación ---- */
.dmd-panel .dmd-done {
    max-width: none;
    padding: 0 !important;
}

.dmd-panel .dmd-done__hero {
    min-height: 220px;
    border-radius: 10px;
}

.dmd-panel .dmd-done__inner {
    padding: 26px 14px 56px;
}

.dmd-panel .dmd-done__check {
    width: 62px;
    height: 62px;
}

.dmd-panel .dmd-done__title {
    margin-top: 14px;
    font-size: 19px;
}

.dmd-panel .dmd-done__sub {
    font-size: 13.5px;
}

.dmd-panel .dmd-done__code {
    width: auto;
    max-width: calc(100% - 28px);
    margin-top: -38px;
    padding: 16px 12px;
}

    .dmd-panel .dmd-done__code b {
        font-size: 21px;
    }

.dmd-panel .dmd-done__grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 6px;
}

.dmd-panel .dmd-done__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

    .dmd-panel .dmd-done__tiles .dma-tile-btn {
        width: auto;
        min-height: 78px;
    }

.dmd-panel .dmd-done__change {
    margin: 26px 0 8px;
}

.dmd-panel .dmd-done-err {
    padding: 24px 8px;
}

/* "Total today" debajo del formulario de Stripe (igual que el móvil) */
.dmd-totaltoday {
    margin-top: 18px;
    border-radius: 16px;
    background: rgba(239,232,220,.6);
    padding: 16px;
}

.dmd-totaltoday__ins {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 12px;
    color: var(--dma-ink-soft);
}

    .dmd-totaltoday__ins b {
        font-weight: 600;
        color: var(--dma-clay);
    }

/* =========================================================================
   PANEL COMPACTO
   Todo el panel (reserva, pago y confirmación) más apretado para que su alto
   se acerque al de la columna de contenido y no haya que scrollear tanto.
   Va al final para ganarle a las reglas de arriba con la misma especificidad.
   ========================================================================= */

.dmk-bookcard {
    padding: 14px 4px;
}

.dmd-panel {
    padding: 2px 12px 4px;
}

/* ---- paso 1: precio, fecha, vehículos, hospedaje ---- */
.dmd-panel .dmd-from__price b {
    font-size: 22px;
}

.dmd-panel .dmd-from__price span {
    font-size: 16px;
}

.dmd-panel .dmd-sec,
.dmd-panel .dmd-sec + .dmd-sec {
    margin-top: 14px;
}

.dmd-panel .dmd-acc {
    min-height: 50px;
    padding: 8px 12px 8px 10px;
}

.dmd-panel .dmd-acc__label {
    font-size: 13px;
}

.dmd-panel .dma-cal {
    padding: 10px 10px 6px;
}

.dmd-panel .dma-cal__nav {
    margin-bottom: 6px;
}

.dmd-panel .dma-day {
    height: 30px;
    font-size: 12.5px;
}

.dmd-panel .dmd-veh.dma-veh {
    padding: 10px;
    margin: 3px;
}

.dmd-panel .dmd-veh .dma-veh__icon {
    width: 36px;
    height: 36px;
}

.dmd-panel .dmd-veh .dma-stepbtn {
    width: 30px;
    height: 30px;
}

.dmd-panel .dmd-stay {
    margin-top: 22px;
}

.dmd-panel .dmd-h3 {
    font-size: 16px;
}

.dmd-panel .dmd-stay .dmd-sub {
    margin: 4px 0 12px;
}

.dmd-panel .dmd-stay .dma-search .dma-input {
    height: 50px;
}

.dmd-panel .dmd-stay .dma-dashed {
    margin-top: 14px;
    padding: 11px 18px;
}

.dmd-panel .dmd-ctawrap {
    margin-top: 22px;
}

.dmd-panel .dmd-cta {
    height: 46px;
}

/* ---- tarjetas de resumen (pago y confirmación) ---- */
.dmd-panel .dma-card {
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
}

.dmd-panel .dma-card__title {
    margin-bottom: 6px;
    font-size: 10.5px;
}

.dmd-panel .dma-row {
    padding: 2px 0;
}

    .dmd-panel .dma-row > span,
    .dmd-panel .dma-row > b {
        font-size: 12.5px;
    }

.dmd-panel .dma-hr {
    margin: 5px 0;
}

.dmd-panel .dma-muted {
    font-size: 11px;
    margin-top: 2px;
}

.dmd-panel .dma-total b {
    font-size: 18px;
}

.dmd-panel .dmd-h2 {
    font-size: 17px;
}

.dmd-panel .dmd-sub {
    margin: 2px 0 10px;
    font-size: 12.5px;
}

.dmd-checkout--panel .dmd-back {
    margin-bottom: 4px;
    font-size: 13px;
}

.dmd-checkout--panel #dmaDeskRight {
    margin-bottom: 0;
}

.dmd-checkout--panel #dmaDeskPayWrap {
    margin-top: 12px;
}

.dmd-panel .dmd-checkout .dma-field {
    margin-bottom: 10px;
}

.dmd-panel .dmd-checkout .dma-input {
    min-height: 40px;
}

.dmd-panel .dmd-checkout textarea.dma-input {
    min-height: 64px;
}

.dmd-panel .dmd-totaltoday {
    margin-top: 12px;
    padding: 12px 14px;
}

/* ---- confirmación ---- */
.dmd-panel .dmd-done__hero {
    min-height: 150px;
}

.dmd-panel .dmd-done__inner {
    padding: 14px 12px 40px;
}

.dmd-panel .dmd-done__check {
    width: 44px;
    height: 44px;
}

    .dmd-panel .dmd-done__check svg {
        width: 24px;
        height: 24px;
    }

.dmd-panel .dmd-done__title {
    margin-top: 8px;
    font-size: 16px;
}

.dmd-panel .dmd-done__sub {
    margin-top: 2px;
    font-size: 12.5px;
}

.dmd-panel .dmd-done__code {
    margin-top: -28px;
    padding: 10px 12px;
}

    .dmd-panel .dmd-done__code span {
        font-size: 10px;
    }

    .dmd-panel .dmd-done__code b {
        margin-top: 2px;
        font-size: 18px;
    }

.dmd-panel .dmd-done__email.dma-note {
    margin: 12px 0 8px;
    padding: 8px 12px;
    font-size: 11.5px;
}

.dmd-panel .dmd-done .dma-card {
    padding: 10px 14px;
    margin-bottom: 8px;
}

.dmd-panel .dmd-done__warn {
    margin-top: 4px;
    font-size: 11px;
}

/* los 5 botones (calendario, cómo llegar, compartir, WhatsApp, llamar) en una fila */
.dmd-panel .dmd-done__tiles {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-top: 4px;
}

    .dmd-panel .dmd-done__tiles .dma-tile-btn {
        min-height: 0;
        padding: 8px 2px;
        gap: 4px;
        border-radius: 8px;
    }

        .dmd-panel .dmd-done__tiles .dma-tile-btn svg {
            width: 16px;
            height: 16px;
        }

        .dmd-panel .dmd-done__tiles .dma-tile-btn span {
            font-size: 10.5px;
            line-height: 1.15;
        }

.dmd-panel .dmd-done__change {
    margin: 14px 0 4px;
    font-size: 12px;
}


/* =========================================================================
   TABLETA (768–991px): el panel es más angosto. Calendario sin desbordarse
   (minmax(0,1fr) deja que las columnas se encojan) y menos relleno.
   ========================================================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .dmd-panel {
        padding: 0 8px 4px;
    }

    .dmd-panel .dma-cal {
        padding: 8px 6px 4px;
    }

    .dmd-panel .dma-cal__grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 2px;
    }

    .dmd-panel .dma-day {
        min-width: 0;
        padding: 0;
        height: 28px;
        font-size: 12px;
    }

    .dmd-panel .dmd-acc {
        padding-left: 10px;
        padding-right: 10px;
    }
}
