/* Tour Details Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Variables */
:root {
    --primary: #131332;
    --primary-lighter: #F9F9F9;
    --secondary: #131332;
    --neutral: #f9f9f9;
    --neutral-darker: #ffffff;
    --neutral-secondary: #e9e9e9;
    --text: #7f7f7f;
    --accent: #ffffff;
    --dark: #1e0e3a;
    --secondary-lighter: #F9F9F9;
}

#overview {
    padding-left: 5rem;
}

/* Font Family - Only apply to tour details content, not header */
#offer-detail *:not(.toolbar):not(.toolbar *):not(.menu-voice-div):not(.language-chip):not(.language-dropdown) {
    font-family: Montserrat, sans-serif !important;
    font-size: 0.9rem;
    /* Decreased base font size */
}

/* Main Container */
#offer-detail {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Ensure sections use full width */
.offers-detail-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.padded {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Header Container */
.offers-header-container {
    position: relative;
    height: 90vh;
    /* Increased to 90vh for bigger images */
    overflow: hidden;
    background: none;
    /* Remove any background color */
}

/* Image Slider */
.offers-detail-slider {
    height: 100%;
    position: relative;
}

.swiper {
    height: 100%;
    width: 100%;
}

.swiper-wrapper {
    height: 100%;
}

.swiper-slide {
    height: 100%;
    position: relative;
}

.swiper-lazy {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Offer Header */
.offers-detail-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 5;
}

.offers-detail-title-container {
    padding: 3rem 2rem 2rem;
}

.offers-detail-title-container h1 {
    color: var(--accent);
    font-size: 2.4rem;
    /* Decreased from 3rem */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.offers-detail-title-container h3 {
    color: var(--accent);
    font-size: 1.1rem;
    /* Decreased from 1.3rem */
    font-weight: 400;
    opacity: 0.9;
}

.whitebox-info {
    background-color: var(--accent);
    padding: 2rem;
    margin: 0 2rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-header {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Navigation - Now outside main container */
.sections-offers-container {
    text-align: left;
    background-color: hsla(0, 0%, 100%, 0.95);
    padding: 0.1rem 0;
    position: sticky;
    top: 68px;
    /* Account for toolbar height */
    z-index: 100;
    /* Lower z-index to not interfere with header */
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    left: 0;
    right: 0;
}

.sections-offers {
    display: flex;
    justify-content: left;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
}

.sections-offers a {
    text-decoration: none;
    color: var(--dark);
}

.sections-offers-voice-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.2rem 1.2rem;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    font-size: 0.95rem;
    /* Added decreased font size */
}

.sections-offers-voice-container:hover {
    background-color: var(--primary-lighter);
    color: var(--primary);
}

.selected-offers-voice .sections-offers-voice-container {
    background-color: var(--primary);
    color: var(--accent);
}

.sections-offers-voice-container i {
    font-size: 1rem;
    /* Decreased from 1.2rem */
}

/* Section Styles */
.offers-detail-section {
    padding: 1rem 2rem;
    width: 100%;
    max-width: 100%;
    scroll-margin-top: 120px;
    /* Account for sticky navigation bar */
}

.offers-detail-h1 {
    color: var(--secondary);
    font-size: 2rem;
    /* Decreased from 2.5rem */
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.two-columns-paragraph {
    max-width: 100%;
    line-height: 1.8;
    color: var(--text);
    font-size: 1.1rem;
    /* Increased from 0.95rem */
    margin-bottom: 2rem;
}

/* Description Container - 80% width, centered, responsive */
.description-container {
    max-width: 80%;
    margin: 0 auto;
    width: 100%;
}

.description-container .two-columns-paragraph {
    font-size: 1.5rem;
    line-height: 1.8;
}

/* Image Gallery */
.gallery-div {
    margin-top: 3rem;
}

.destinations-gallery-div {
    /* background-color: var(--neutral-darker); */
    padding: 2rem;
    border-radius: 8px;
}

.items-gallery-div {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.items-gallery-div::-webkit-scrollbar {
    height: 8px;
}

.items-gallery-div::-webkit-scrollbar-track {
    background: var(--neutral-secondary);
    border-radius: 4px;
}

.items-gallery-div::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.items-gallery-div img {
    width: auto;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    flex-grow: 0;
    /* Desktop: 30% width with 280px minimum */
    max-width: 30%;
    min-width: 280px;
}

.items-gallery-div img:hover {
    transform: scale(1.05);
}

/* Where Section */
.flex-columns {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.dove-flex-container {
    flex: 1;
}

.map-frame {
    flex: 1;
    min-height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Itinerary Styles */
.itinerario-list-container {
    flex: 1;
}

.itinerary-item-container {
    margin-bottom: 1.5rem;
    border: 1px solid var(--neutral-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.itinerary-item-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.itinerary-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--primary);
    color: var(--accent);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.itinerary-item-title:hover {
    background-color: var(--dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.itinerary-item-title-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.itinerary-item-date {
    font-weight: 700;
    font-size: 0.95rem;
    /* Decreased from 1.1rem */
    min-width: 80px;
}

.itinerary-item-little-desc {
    font-size: 0.95rem;
    /* Decreased from 1.1rem */
    font-weight: 500;
}

.itinerary-item-text {
    padding: 1.5rem;
    background-color: var(--primary);
    /* Same as day header */
    color: white;
    /* White text to match header */
    line-height: 1.7;
    font-size: 0.9rem;
    /* Decreased from 1rem */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.itinerary-item-text-closed {
    max-height: 0;
    padding: 0 1.5rem;
}

.itinerary-item-text:not(.itinerary-item-text-closed) {
    max-height: 1000px;
    /* Large enough value for content */
    padding: 1.5rem;
}

.toggle-icon {
    transition: transform 0.4s ease-in-out;
    font-size: 1.2rem;
}

.toggle-icon.close-icon {
    transform: rotate(0deg);
}

.toggle-icon.open-icon {
    transform: rotate(180deg);
}

.open-icon {
    transform: rotate(180deg);
}

/* Section Dividers */
.offers-section-line-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.offers-section-line {
    border: none;
    height: 2px;
    background-color: #ccc;
    margin: 40px 0;
    /* space around the line - matching home.css */
}

/* Utility Classes */
.padded {
    padding-left: 0 2rem;
}

.flex-row {
    display: flex;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .offers-detail-section {
        padding: .2rem 1.5rem;
    }

    .sections-offers {
        padding: 0 1.5rem;
    }

    .offers-section-line-container {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .offers-header-container {
        height: 60vh;
    }

    .offers-detail-title-container {
        padding: 1.5rem 1rem 0.1rem !important;
    }

    .sections-offers-container {
        padding: 0.05rem 0 !important;
    }

    .offers-detail-section {
        padding: 1rem 1rem !important;
        margin: 0.5rem 0 !important;
    }

    .offers-section-line-container {
        padding: 0.5rem 1rem !important;
        margin: 0.25rem 0 !important;
    }

    .offers-detail-title-container h1 {
        font-size: 2.2rem;
    }

    .offers-detail-title-container h3 {
        font-size: 1.1rem;
    }

    .whitebox-info {
        margin: 0 1rem 1.5rem;
        padding: 1.5rem;
    }

    /* Increase description font size */
    .two-columns-paragraph p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }

    /* Description container responsive */
    .description-container {
        max-width: 90% !important;
    }

    /* Make Where section 2 rows (text + map) */
    .section-two-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .section-content-column {
        order: 1 !important;
        width: 100% !important;
    }

    .section-visual-column {
        order: 2 !important;
        width: 100% !important;
    }

    /* Make Tour section 2 rows (text + days) */
    .itinerario-list-container {
        margin-top: 1rem !important;
    }

    .sections-offers {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .sections-offers-voice-container {
        padding: 0.5rem 0.75rem !important;
        flex: none !important;
        width: auto !important;
        text-align: center !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .flex-columns {
        flex-direction: column;
        gap: 2rem;
    }

    .map-frame {
        min-height: 300px;
    }

    .offers-detail-section {
        padding: 1.5rem 1rem;
    }

    .offers-detail-h1 {
        font-size: 2rem;
    }

    .items-gallery-div img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        max-width: 100% !important;
        min-width: unset !important;
    }

    .itinerary-item-title {
        padding: 1.2rem;
    }

    .itinerary-item-title-container {
        gap: 1rem;
    }

    .itinerary-item-text {
        padding: 1.2rem;
        background-color: var(--primary);
        /* Same as day header */
        color: white;
        /* White text to match header */
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .itinerary-item-text-closed {
        max-height: 0;
        padding: 0 1.2rem;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .offers-header-container {
        height: 50vh;
    }

    .offers-detail-title-container h1 {
        font-size: 1.8rem;
    }

    .offers-detail-title-container h3 {
        font-size: 1rem;
    }

    .whitebox-info {
        margin: 0 0.5rem 1rem;
        padding: 1rem;
    }

    .sections-offers {
        padding: 0 0.5rem;
    }

    .offers-detail-section {
        padding: 1.5rem 0.5rem;
    }

    .offers-detail-h1 {
        font-size: 1.6rem;
    }

    .items-gallery-div {
        padding: 0.5rem 0;
    }

    .items-gallery-div img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        max-width: 100% !important;
        min-width: unset !important;
    }

    .itinerary-item-title {
        padding: 1rem;
    }

    .itinerary-item-text {
        padding: 1rem;
    }

    .padded {
        padding: 0 1rem;
    }
}

/* AOS Animation Support */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.sections-offers-voice-container:focus,
.itinerary-item-title:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading States */
.swiper-lazy {
    background-color: var(--neutral-secondary);
}

.swiper-lazy.swiper-lazy-loaded {
    background-color: transparent;
}

/* Two-Column Layout for Each Section */
.section-content-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 2rem;
    width: 100%;
    max-width: 100%;
}

.section-visual-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
}

/* Compact Itinerary */
.compact-itinerary .itinerary-item-container {
    margin-bottom: 0.5rem;
    /* Reduced from default */
}

.compact-itinerary .itinerary-item-title {
    padding: 0.5rem 0.75rem;
    /* Reduced padding */
    min-height: 40px;
    /* Reduced height */
}

.compact-itinerary .itinerary-item-text {
    padding: 0.5rem 0.75rem;
    /* Reduced padding */
    max-height: 120px;
    /* Limited height */
    overflow-y: auto;
}

.compact-itinerary .itinerary-item-text-closed {
    max-height: 0;
    padding: 0 0.75rem;
    overflow: hidden;
}

/* No Itinerary Message */
.no-itinerary-message {
    text-align: center;
    padding: 2rem;
    color: var(--text);
}

.no-itinerary-message p {
    margin-bottom: 1rem;
    font-style: italic;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .offers-header-container {
        height: 95vh;
        /* Even bigger images on large screens */
    }

    .offers-detail-title-container {
        padding: 4rem 3rem 3rem;
    }

    .offers-detail-title-container h1 {
        font-size: 3.5rem;
    }

    .offers-detail-title-container h3 {
        font-size: 1.4rem;
    }

    .section-two-columns {
        gap: 4rem;
        min-height: 500px;
        width: 100%;
        max-width: 100%;
    }

    .section-content-column {
        width: 100%;
        max-width: 100%;
    }

    .section-visual-column {
        width: 100%;
        max-width: 100%;
    }

    .map-frame iframe {
        height: 500px;
        width: 100%;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .offers-header-container {
        height: 90vh;
        /* Bigger images on desktop */
    }

    .offers-detail-title-container h1 {
        font-size: 3rem;
    }

    .section-two-columns {
        gap: 3rem;
        min-height: 450px;
    }

    .map-frame iframe {
        height: 450px;
    }
}

/* Large Tablet (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .offers-header-container {
        height: 80vh;
        /* Maintain good image size on tablets */
    }

    .offers-detail-title-container {
        padding: 2.5rem 2rem 2rem;
    }

    .offers-detail-title-container h1 {
        font-size: 2.8rem;
    }

    .section-two-columns {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
    }

    .section-content-column {
        padding-right: 0;
        padding-bottom: 1.5rem;
    }

    .map-frame iframe {
        height: 400px;
    }

    .offers-detail-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
        /* Maintain margins on tablets */
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .offers-header-container {
        height: 70vh;
    }

    .offers-detail-title-container {
        padding: 2rem 1.5rem 0.1rem !important;
    }

    .offers-detail-title-container h1 {
        font-size: 2.5rem;
    }

    .offers-detail-title-container h3 {
        font-size: 1.2rem;
    }

    .section-two-columns {
        gap: 2rem;
    }

    .section-content-column {
        padding-bottom: 1rem;
    }

    .map-frame iframe {
        height: 350px;
    }

    .offers-detail-section {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        /* Maintain margins on mobile */
    }

    .sections-offers {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 1rem;
        justify-content: flex-start;
    }

    .sections-offers-voice-container {
        padding: 0.5rem 0.75rem !important;
        flex: none !important;
        width: auto !important;
        text-align: center !important;
        border-radius: 8px !important;
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .two-columns-paragraph {
        column-count: 1;
    }

    .items-gallery-div img {
        max-width: 50%;
        max-height: 400px;
        min-width: 250px;
        width: auto;
        height: auto;
    }
}

/* Mobile Large (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .offers-header-container {
        height: 60vh;
    }

    .offers-detail-title-container {
        padding: 1.5rem 1rem 0.1rem !important;
    }

    .offers-detail-section {
        padding: 1rem 1rem !important;
        margin: 0.5rem 0 !important;
    }

    .offers-section-line-container {
        padding: 0.5rem 1rem !important;
        margin: 0.25rem 0 !important;
    }

    /* Increase description font size */
    .two-columns-paragraph p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }

    /* Description container responsive */
    .description-container {
        max-width: 95% !important;
    }

    /* Make Where section 2 rows (text + map) */
    .section-two-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .section-content-column {
        order: 1 !important;
        width: 100% !important;
    }

    .section-visual-column {
        order: 2 !important;
        width: 100% !important;
    }

    /* Make Tour section 2 rows (text + days) */
    .itinerario-list-container {
        margin-top: 1rem !important;
    }

    .offers-detail-title-container h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .offers-detail-title-container h3 {
        font-size: 1.1rem;
    }

    .section-two-columns {
        gap: 1.5rem;
    }

    .section-content-column {
        padding-bottom: 0.5rem;
    }

    .map-frame iframe {
        height: 300px;
    }

    .offers-detail-section {
        padding: 1.5rem 0.75rem;
        margin: 1rem 0;
        /* Maintain margins on small mobile */
    }

    .sections-offers {
        flex-direction: row;
        gap: 0.4rem;
        padding: 0 0.75rem;
        justify-content: flex-start;
    }

    .sections-offers-voice-container {
        padding: 0.5rem 0.6rem !important;
        flex: none !important;
        width: auto !important;
        text-align: center !important;
        border-radius: 8px !important;
        font-size: 0.85rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.4rem !important;
    }

    .offers-detail-h1 {
        font-size: 1.8rem;
    }

    .two-columns-paragraph {
        column-count: 1;
        font-size: 0.95rem;
    }

    .items-gallery-div img {
        max-width: 45%;
        max-height: 300px;
        min-width: 200px;
        width: auto;
        height: auto;
    }

    .itinerary-item-title {
        padding: 1rem;
    }

    .itinerary-item-text {
        padding: 1rem;
        background-color: var(--primary);
        /* Same as day header */
        color: white;
        /* White text to match header */
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    .itinerary-item-text-closed {
        max-height: 0;
        padding: 0 1rem;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px;
        padding: 1rem;
    }

    .compact-itinerary .itinerary-item-text {
        max-height: 120px;
    }

    /* Ensure smooth transitions work on smaller mobile screens */
    .itinerary-item-text {
        background-color: var(--primary) !important;
        color: white !important;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out !important;
        max-height: 0;
        overflow: hidden;
    }

    .itinerary-item-text-closed {
        max-height: 0 !important;
        padding: 0 1rem !important;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px !important;
        padding: 1rem !important;
    }

    .toggle-icon {
        transition: transform 0.4s ease-in-out !important;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .offers-header-container {
        height: 50vh;
    }

    .offers-detail-title-container {
        padding: 1rem 0.75rem 0.05rem !important;
    }

    .sections-offers-container {
        padding: 0.02rem 0 !important;
    }

    .offers-detail-section {
        padding: 0.75rem 0.75rem !important;
        margin: 0.25rem 0 !important;
    }

    .offers-section-line-container {
        padding: 0.25rem 0.75rem !important;
        margin: 0.125rem 0 !important;
    }

    /* Increase description font size for smaller screens */
    .two-columns-paragraph p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    /* Description container responsive for small screens */
    .description-container {
        max-width: 95% !important;
    }

    /* Ensure 2-row layout for Where and Tour sections */
    .section-two-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .section-content-column {
        order: 1 !important;
        width: 100% !important;
    }

    .section-visual-column {
        order: 2 !important;
        width: 100% !important;
    }

    .itinerario-list-container {
        margin-top: 0.75rem !important;
    }

    .offers-detail-title-container h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .offers-detail-title-container h3 {
        font-size: 1rem;
    }

    .section-two-columns {
        gap: 1rem;
    }

    .section-content-column {
        padding-bottom: 0.25rem;
    }

    .map-frame iframe {
        height: 250px;
    }

    .offers-detail-section {
        padding: 1rem 0.5rem;
    }

    .sections-offers {
        flex-direction: row;
        gap: 0.3rem;
        padding: 0 0.5rem;
        justify-content: flex-start;
    }

    .sections-offers-voice-container {
        padding: 0.4rem 0.5rem !important;
        flex: none !important;
        width: auto !important;
        text-align: center !important;
        border-radius: 6px !important;
        font-size: 0.8rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.3rem !important;
    }

    .offers-detail-h1 {
        font-size: 1.6rem;
    }

    .two-columns-paragraph {
        column-count: 1;
        font-size: 0.9rem;
    }

    .items-gallery-div img {
        max-width: 40%;
        max-height: 250px;
        min-width: 150px;
        width: auto;
        height: auto;
    }

    .itinerary-item-title {
        padding: 0.75rem;
        min-height: 35px;
    }

    .itinerary-item-text {
        padding: 0.75rem;
    }

    .compact-itinerary .itinerary-item-text {
        max-height: 100px;
    }

    /* Ensure smooth transitions work on 480px mobile screens */
    .itinerary-item-text {
        background-color: var(--primary) !important;
        color: white !important;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out !important;
        max-height: 0;
        overflow: hidden;
    }

    .itinerary-item-text-closed {
        max-height: 0 !important;
        padding: 0 1rem !important;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px !important;
        padding: 1rem !important;
    }

    .toggle-icon {
        transition: transform 0.4s ease-in-out !important;
    }

    .padded {
        padding: 0 0.5rem;
    }

    .whitebox-info {
        margin: 0 0.5rem 1rem;
        padding: 0.75rem;
    }

    .info-header {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 320px) {
    .offers-header-container {
        height: 45vh;
    }

    .offers-detail-title-container h1 {
        font-size: 1.6rem;
    }

    .offers-detail-title-container h3 {
        font-size: 0.9rem;
    }

    .map-frame iframe {
        height: 200px;
    }

    .offers-detail-h1 {
        font-size: 1.4rem;
    }

    .items-gallery-div img {
        max-width: 35%;
        max-height: 200px;
        min-width: 120px;
        width: auto;
        height: auto;
    }

    .itinerary-item-title {
        padding: 0.5rem;
        min-height: 30px;
    }

    .itinerary-item-text {
        padding: 0.5rem;
    }

    .compact-itinerary .itinerary-item-text {
        max-height: 80px;
    }

    /* Ensure smooth transitions work on smallest mobile screens */
    .itinerary-item-text {
        background-color: var(--primary) !important;
        color: white !important;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out !important;
        max-height: 0;
        overflow: hidden;
    }

    .itinerary-item-text-closed {
        max-height: 0 !important;
        padding: 0 0.75rem !important;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px !important;
        padding: 0.75rem !important;
    }

    .toggle-icon {
        transition: transform 0.4s ease-in-out !important;
    }
}

/* ===== TOUCH AND ACCESSIBILITY ENHANCEMENTS ===== */

/* Touch-friendly elements for mobile */
@media (max-width: 768px) {
    .itinerary-item-title {
        min-height: 44px;
        /* Minimum touch target size */
        cursor: pointer;
    }

    /* Ensure smooth transitions work on mobile */
    .itinerary-item-text {
        background-color: var(--primary) !important;
        color: white !important;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out !important;
        max-height: 0;
        overflow: hidden;
    }

    .itinerary-item-text-closed {
        max-height: 0 !important;
        padding: 0 1.5rem !important;
    }

    .itinerary-item-text:not(.itinerary-item-text-closed) {
        max-height: 1000px !important;
        padding: 1.5rem !important;
    }

    .toggle-icon {
        transition: transform 0.4s ease-in-out !important;
    }

    .sections-offers-voice-container {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        margin: 0 8px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .swiper-lazy {
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .offers-header-container {
        height: 100vh;
    }

    .offers-detail-title-container {
        padding: 1rem 1.5rem;
    }

    .offers-detail-title-container h1 {
        font-size: 2rem;
    }

    .section-two-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .map-frame iframe {
        height: 250px;
    }
}

/* Print styles */
@media print {
    .offers-header-container {
        height: auto;
        page-break-inside: avoid;
    }

    .section-two-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .itinerary-item-text-closed {
        max-height: none !important;
        display: block !important;
    }

    .sections-offers-container,
    .swiper-pagination {
        display: none;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .swiper {
        --swiper-theme-color: var(--primary);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --neutral: #1a1a1a;
        --neutral-darker: #2a2a2a;
        --neutral-secondary: #333333;
        --text: #cccccc;
    }
}

/* ===== ZOOM AND STRETCH OPTIMIZATION ===== */

/* Ensure content stretches at all zoom levels */
.section-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Force full width utilization */
@media (min-width: 1200px) {
    .section-two-columns {
        width: 100%;
        max-width: none;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .section-two-columns {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Ensure map and itinerary stretch to full width */
.map-frame {
    width: 100%;
    max-width: 100%;
}

.map-frame iframe {
    width: 100%;
    max-width: 100%;
}

.itinerario-list-container {
    width: 100%;
    max-width: 100%;
}

/* Force content to use available space */
.section-content-column,
.section-visual-column {
    flex: 1;
    min-width: 0;
}

/* ===== NON-PACKAGE TOUR (DAY TRIP) STYLES ===== */

/* Day Trip Container */
.day-trip-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

/* Modern Card Design */
.day-trip-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.day-trip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Card Icon */
.day-trip-card-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(19, 19, 50, 0.2);
}

.day-trip-card-icon i {
    font-size: 2rem;
    color: white;
}

/* Card Content */
.day-trip-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.day-trip-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.day-trip-card-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

/* Highlights Card - Slightly Different Style */
.highlights-card {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

.highlights-card .day-trip-card-icon {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.highlights-content {
    text-align: justify;
}

.highlights-content br {
    display: block;
    content: "";
    margin-top: 0.75rem;
}

/* No Highlights Message */
.no-highlights-message {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.no-highlights-message p {
    font-size: 1.2rem;
    color: var(--text);
    font-style: italic;
    margin: 0;
}

/* Responsive Design for Day Trip Cards */
@media (max-width: 768px) {
    .day-trip-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        align-items: center;
        text-align: center;
    }

    .day-trip-card-icon {
        width: 60px;
        height: 60px;
    }

    .day-trip-card-icon i {
        font-size: 1.75rem;
    }

    .day-trip-card-title {
        font-size: 1.5rem;
    }

    .day-trip-card-text {
        font-size: 1.15rem;
    }

    .highlights-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .day-trip-info-container {
        gap: 1.5rem;
    }

    .day-trip-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .day-trip-card-icon {
        width: 50px;
        height: 50px;
    }

    .day-trip-card-icon i {
        font-size: 1.5rem;
    }

    .day-trip-card-title {
        font-size: 1.3rem;
    }

    .day-trip-card-text {
        font-size: 1.05rem;
    }

    .no-highlights-message {
        padding: 2rem 1.5rem;
    }

    .no-highlights-message p {
        font-size: 1.05rem;
    }
}

/* ===== UPDATED NON-PACKAGE TOUR CENTERED LAYOUT ===== */

/* Centered Layout Container */
.day-trip-centered-layout {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Centered Header */
.day-trip-header {
    text-align: center;
    margin-bottom: 3rem;
}

.day-trip-header .info-header {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.day-trip-header .offers-detail-h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Simple Duration Display */
.day-trip-duration-simple {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(19, 19, 50, 0.05);
    border-radius: 50px;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
}

.day-trip-duration-simple i {
    font-size: 1rem;
    color: var(--primary);
}

/* Activities Box - Light Background */
.day-trip-activities-box {
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.activities-box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.activities-box-title i {
    font-size: 1.3rem;
    color: #ff9800;
}

.activities-box-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text);
    text-align: justify;
}

.activities-box-content br {
    display: block;
    content: "";
    margin-top: 1rem;
}

/* Responsive Design for Centered Layout */
@media (max-width: 768px) {
    .day-trip-centered-layout {
        padding: 1.5rem 0.5rem;
    }

    .day-trip-header .offers-detail-h1 {
        font-size: 2rem;
    }

    .day-trip-duration-simple {
        font-size: 1rem;
        padding: 0.6rem 1.25rem;
    }

    .day-trip-activities-box {
        padding: 2rem 1.5rem;
    }

    .activities-box-title {
        font-size: 1.3rem;
    }

    .activities-box-content {
        font-size: 1.1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .day-trip-header .offers-detail-h1 {
        font-size: 1.75rem;
    }

    .day-trip-duration-simple {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .day-trip-activities-box {
        padding: 1.5rem 1rem;
    }

    .activities-box-title {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .activities-box-content {
        font-size: 1rem;
    }
}