/* =========================================================
   🏔️ PEAK DOSSIER MODAL - COMPLETE TOUR MIRROR
   ========================================================= */

   #peak-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;
}

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

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

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

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

/* Photo Navigation Arrows */
.peak-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;
    display: flex;
    align-items: center;
    justify-content: center;
}
#peak-photo-prev { left: 10px; }
#peak-photo-next { right: 10px; }

/* 2. THE 4-COLUMN INTERACTION GRID */
.peak-details {
    display: grid;
    grid-template-columns: 1.4fr 60px 1.1fr 75px; 
    gap: 12px;
    padding: 20px 15px;
    background: #ffffff;
    align-items: center;
}

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

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

.peak-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;
}

.peak-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;
    transition: background 0.2s;
}

.peak-more-info:hover { background: #fff5d6; }

/* Column 2: Range Icon (Replaces Logo) */
.peak-col-logo {
    display: flex;
    justify-content: center;
}

.peak-range-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Column 3: Message (Range & Elevation) */
.peak-col-message {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.3;
}

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

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

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

.peak-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;
}

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

/* 3. DESCRIPTION DRAWER */
.peak-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;
}

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

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

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

/* Close Button */
.peak-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;
    display: flex;
    align-items: center;
    justify-content: center;
}