.vpt-plan-section-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 2rem 0 1rem;
    color: var(--vpt-text);
    font-size: 1.45rem;
    font-weight: 700 !important;
}

.vpt-plan-section-heading i {
    color: var(--vpt-muted);
}

.vpt-plan-day-number {
    color: var(--vpt-primary);
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.vpt-plan-day-title {
    color: var(--vpt-text);
    font-weight: 600;
}

.plan-days-list .plan-day-item,
.itinerary-day-item {
    border-bottom: 1px solid #e9ecef;
}

.plan-days-list .plan-day-item:last-child,
.itinerary-day-item:last-child {
    border-bottom: 0;
}

.vpt-plan-day-accordion .accordion-item,
.ttv-plan-day-accordion .accordion-item {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.vpt-plan-day-accordion .accordion-button,
.ttv-plan-day-accordion .accordion-button {
    align-items: center;
    gap: 10px;
    padding: .9rem 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--vpt-text) !important;
}

.vpt-plan-day-accordion .accordion-button:not(.collapsed),
.ttv-plan-day-accordion .accordion-button:not(.collapsed),
.vpt-plan-day-accordion .accordion-button:hover,
.ttv-plan-day-accordion .accordion-button:hover,
.vpt-plan-day-accordion .accordion-button:focus,
.ttv-plan-day-accordion .accordion-button:focus {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--vpt-text) !important;
}

.vpt-plan-day-accordion .accordion-button::after,
.ttv-plan-day-accordion .accordion-button::after {
    background-image: none !important;
    content: "+" !important;
    flex: 0 0 auto !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    height: auto !important;
    line-height: 1 !important;
    margin-left: 0 !important;
    order: -1 !important;
    transform: none !important;
    width: 1rem !important;
}

.vpt-plan-day-accordion .accordion-button:not(.collapsed)::after,
.ttv-plan-day-accordion .accordion-button:not(.collapsed)::after {
    background-image: none !important;
    content: "-" !important;
    transform: none !important;
}

.vpt-plan-day-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
}

.vpt-plan-day-accordion .accordion-body,
.ttv-plan-day-accordion .accordion-body {
    padding: 0 0 1rem !important;
    background: transparent !important;
    color: var(--vpt-text) !important;
}

.vpt-plan-content-full {
    color: var(--vpt-text);
    overflow-wrap: anywhere;
}

.vpt-plan-content-full > :last-child {
    margin-bottom: 0;
}

.vpt-plan-content-full p,
.vpt-plan-content-full ul,
.vpt-plan-content-full ol {
    margin-bottom: .85rem;
}

.vpt-plan-content-full ul,
.vpt-plan-content-full ol {
    padding-left: 1.25rem;
}

/* Day-image carousel rendered by [dayN]. */
.vpt-plan-day-gallery {
    margin: 18px 0 28px;
}

.vpt-plan-day-gallery-controls {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 12px;
    max-width: 30%;
    margin: 14px auto 0;
}

.vpt-plan-day-gallery-prev,
.vpt-plan-day-gallery-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .18);
    color: #555;
    transition: background .25s ease, color .25s ease;
}

.vpt-plan-day-gallery-prev { justify-self: start; }
.vpt-plan-day-gallery-next { justify-self: end; }

.vpt-plan-day-gallery-prev:hover,
.vpt-plan-day-gallery-next:hover {
    background: rgba(0, 0, 0, .3);
    color: #fff;
}

.vpt-plan-day-gallery-prev svg,
.vpt-plan-day-gallery-next svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Tour photos and Behind the Scenes share one gallery renderer. */
.vpt-plan-gallery,
.ttv-plan-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    margin: 18px 0 0;
    width: 100%;
}

.vpt-plan-gallery-item,
.ttv-plan-gallery-item {
    display: block;
    width: 100%;
    margin: 0;
    min-width: 0;
}

.vpt-plan-gallery .vpt-plan-photo-open,
.ttv-plan-gallery .ttv-plan-photo-open {
    position: relative;
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.vpt-plan-gallery .vpt-plan-photo-open img,
.ttv-plan-gallery .ttv-plan-photo-open img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.vpt-plan-photo-open:focus-visible {
    outline: 3px solid var(--vpt-apple-blue);
    outline-offset: -3px;
}

.vpt-plan-photo-open::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(47, 48, 51, .42);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.vpt-plan-photo-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.1rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .vpt-plan-photo-open:hover::before,
    .vpt-plan-photo-open:focus-visible::before,
    .vpt-plan-photo-open:hover .vpt-plan-photo-zoom,
    .vpt-plan-photo-open:focus-visible .vpt-plan-photo-zoom {
        opacity: 1;
    }
}

.vpt-plan-photo-modal,
.ttv-plan-photo-modal {
    position: fixed;
    inset: 0;
    width: min(1200px, 96vw);
    max-width: 96vw;
    max-height: 94vh;
    margin: auto;
    padding: 16px;
    border: 0;
    border-radius: 12px;
    background: #2f3033;
    color: #fff;
    overflow: hidden;
}

.vpt-plan-photo-modal[open],
.ttv-plan-photo-modal[open] {
    display: flex;
    flex-direction: column;
}

.vpt-plan-photo-modal::backdrop,
.ttv-plan-photo-modal::backdrop {
    background: rgba(47, 48, 51, .88);
}

.vpt-plan-photo-modal .vpt-plan-modal-toolbar,
.ttv-plan-photo-modal .ttv-plan-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vpt-plan-photo-modal button:not(.btn),
.ttv-plan-photo-modal button:not(.btn) {
    border: 0;
    background: transparent;
    color: #fff;
    padding: 8px;
}

.vpt-plan-photo-modal .vpt-plan-image-status,
.ttv-plan-photo-modal .ttv-plan-image-status {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vpt-plan-image-status .ph-spinner {
    font-size: 32px;
    animation: vpt-plan-image-spin 1s linear infinite;
}

@keyframes vpt-plan-image-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vpt-plan-image-status .ph-spinner {
        animation: none;
    }
}

.vpt-plan-photo-modal .vpt-plan-modal-controls,
.ttv-plan-photo-modal .ttv-plan-modal-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.inclusions-section,
.day-params-section,
.inclusion-item,
.day-param-item {
    background: var(--vpt-surface-light);
}

.inclusions-section,
.day-params-section {
    padding: 1rem;
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .vpt-plan-photo-open::before,
    .vpt-plan-photo-open:focus-visible::before,
    .vpt-plan-photo-open:hover::before,
    .vpt-plan-photo-open .vpt-plan-photo-zoom,
    .vpt-plan-photo-open:focus-visible .vpt-plan-photo-zoom,
    .vpt-plan-photo-open:hover .vpt-plan-photo-zoom {
        opacity: 0 !important;
    }

    .vpt-plan-day-gallery {
        margin-top: 16px;
    }

    .vpt-plan-day-gallery-controls {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        max-width: 60%;
        margin-top: 20px;
    }

    .vpt-plan-gallery,
    .ttv-plan-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 16px;
    }

    .vpt-plan-gallery--bts,
    .ttv-plan-gallery--bts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vpt-plan-day-accordion .accordion-button {
        padding: .85rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .vpt-plan-gallery,
    .ttv-plan-gallery,
    .vpt-plan-gallery--bts,
    .ttv-plan-gallery--bts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
