/* =========================================================
   🌻 TOUR DOSSIER MODAL - FULLY OPTIMIZED
   ========================================================= */

   #tour-sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(110%);
    width: 100vw;
    max-width: 600px;
    background: #fffdfa;
    border-top: 6px solid #FFCC00;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -15px 50px rgba(0,0,0,0.4);
    z-index: 6000;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    pointer-events: all;
}

#tour-sheet.tour-sheet-active {
    transform: translateX(-50%) translateY(0);
}

/* 1. CAROUSEL AREA */
.tour-carousel {
    position: relative;
    width: 100%;
    height: 200px; /* Locked height */
    background: #f7f7f7;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.tour-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.45, 0, 0.55, 1);
}

.tour-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Photo Nav Overlay */
.tour-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 2;
}
#tour-photo-prev { left: 10px; }
#tour-photo-next { right: 10px; }

/* 2. THE 4-COLUMN INTERACTION GRID */
.tour-details {
    display: grid;
    /* Precise lane control: Main, Logo, Message, Navigation */
    grid-template-columns: 1.4fr 60px 1.1fr 75px; 
    gap: 12px;
    padding: 20px 15px;
    background: #ffffff;
    align-items: center;
}

/* Column 1: Identity */
.tour-col-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tour-col-main h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1.2;
}

.tour-tag-label {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    background: #fff5d6;
    color: #b08900;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.tour-more-info {
    margin-top: 8px;
    background: #fdf2f2;
    border: 1px solid #FFCC00;
    border-radius: 8px;
    font-size: 0.75rem;
    padding: 4px 8px;
    cursor: pointer;
    width: fit-content;
}

/* Column 2: Logo */
.tour-col-logo {
    display: flex;
    justify-content: center;
}

.tour-sponsor-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

/* Column 3: Message */
.tour-col-message {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Column 4: Nav Stack */
.tour-col-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid #edf2f7;
}

.tour-nav-label {
    font-size: 0.6rem;
    color: #a0aec0;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tour-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tour-nav-arrow {
    background: #FFCC00;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 0 #d4aa00;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
}

.tour-nav-arrow:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d4aa00;
}

/* 3. DESCRIPTION DRAWER */
.tour-description-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.tour-description-drawer.is-expanded {
    transform: translateY(0);
}

.tour-drawer-content {
    padding: 30px 20px;
    overflow-y: auto;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

#tour-collapse-btn {
    padding: 15px;
    background: #FFCC00;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* Close Button */
.tour-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 20px;
    cursor: pointer;
}