/* ==========================================================================
   Ganesha Sangeetholsavam Festival & Download Modal Styles
   Swayambhoo Sree Mahaganapathy Temple, Panangad
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Collapsible Side Drawer (Unobtrusive floating tab on the right)
   -------------------------------------------------------------------------- */
.fest-drawer {
    position: fixed;
    top: 36%;
    right: 0;
    z-index: 9990;
    display: flex;
    align-items: flex-start;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Collapsed state */
.fest-drawer.collapsed {
    transform: translateX(370px);
}

/* Tab indicator sticking out from right edge */
.fest-drawer-tab {
    position: absolute;
    right: 100%;
    top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(38, 22, 22, 0.96) 0%, rgba(18, 20, 26, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-right: none;
    border-radius: 25px 0 0 25px;
    box-shadow: -5px 6px 22px rgba(0, 0, 0, 0.65), 0 0 12px rgba(212, 175, 55, 0.2);
    color: #ffd700;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    outline: none;
}

.fest-drawer-tab:hover {
    transform: translateX(-6px);
    box-shadow: -7px 8px 25px rgba(0, 0, 0, 0.75), 0 0 18px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(55, 24, 24, 0.98) 0%, rgba(22, 26, 34, 0.98) 100%);
    border-color: rgba(212, 175, 55, 0.7);
}

/* Ensure the tab is COMPLETELY hidden when the drawer is expanded so it never peeks out */
.fest-drawer.expanded .fest-drawer-tab {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.fest-drawer-tab .tab-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ff3344;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3344;
    animation: festPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

.fest-drawer-tab .tab-icon {
    stroke: #ffd700;
    flex-shrink: 0;
}

.fest-drawer-tab .tab-chevron {
    stroke: #ffd700;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.fest-drawer-tab:hover .tab-chevron {
    transform: translateX(-2px);
}

/* Expanded Drawer Panel */
.fest-drawer-panel {
    width: 370px;
    max-width: calc(100vw - 20px);
    background: linear-gradient(160deg, rgba(30, 20, 20, 0.97) 0%, rgba(18, 20, 26, 0.98) 55%, rgba(12, 13, 16, 0.99) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-right: none;
    border-radius: 16px 0 0 16px;
    padding: 1.5rem 1.65rem;
    box-shadow: -15px 12px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #e6e6e6;
    box-sizing: border-box;
}

.fest-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fest-drawer-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    background: rgba(201, 22, 31, 0.2);
    border: 1px solid rgba(201, 22, 31, 0.55);
    border-radius: 20px;
    color: #ff9da4;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    white-space: nowrap !important;
}

.fest-drawer-badge .badge-dot {
    width: 7px;
    height: 7px;
    background-color: #ff3344;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3344;
    animation: festPulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

/* Minimalist Circular Vector Close Button for Drawer */
.fest-drawer-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d8d8d8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fest-drawer-close-btn:hover {
    background: #c9161f;
    border-color: #ff4d58;
    color: #ffffff;
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 14px rgba(201, 22, 31, 0.6);
}

.drawer-fest-title {
    color: #ffd700;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    letter-spacing: 0.03rem;
    line-height: 1.35;
}

.drawer-fest-subtitle {
    color: #cfcfcf;
    font-size: 0.82rem;
    margin: 0 0 1.1rem 0;
    line-height: 1.4;
}

.drawer-notice-box {
    background: rgba(201, 22, 31, 0.12);
    border: 1px solid rgba(201, 22, 31, 0.35);
    border-radius: 8px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.drawer-notice-box .notice-icon {
    color: #ff6b75;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.drawer-notice-box .notice-lbl {
    display: block;
    font-size: 0.7rem;
    color: #ffa8af;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    margin-bottom: 2px;
}

.drawer-notice-box .notice-val {
    display: block;
    font-size: 0.86rem;
    color: #ffffff;
    font-weight: 600;
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-dl-btn {
    width: 100%;
    height: 2.85rem !important;
    line-height: 2.85rem !important;
    padding: 0 1.25rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.08rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #c9161f 0%, #aa0f17 100%) !important;
    border: 1px solid rgba(255, 100, 110, 0.5) !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 18px rgba(201, 22, 31, 0.45) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    transition: all 0.25s ease !important;
}

.drawer-dl-btn:hover {
    background: linear-gradient(135deg, #df1b25 0%, #c9161f 100%) !important;
    box-shadow: 0 6px 22px rgba(201, 22, 31, 0.65) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.drawer-fest-link {
    width: 100%;
    height: 2.75rem !important;
    line-height: 2.75rem !important;
    padding: 0 1.25rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.08rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    color: #e5c158 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    text-transform: uppercase;
    transition: all 0.25s ease !important;
}

.drawer-fest-link:hover {
    border-color: #ffd700 !important;
    background: rgba(212, 175, 55, 0.12) !important;
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Button styles */
.fest-btn-download {
    background: linear-gradient(135deg, #c9161f 0%, #b01018 100%) !important;
    border: 1px solid #ff4d58 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: 0.1rem !important;
    box-shadow: 0 4px 15px rgba(201, 22, 31, 0.4) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease !important;
}

.fest-btn-download:hover {
    background: linear-gradient(135deg, #df1b25 0%, #c9161f 100%) !important;
    box-shadow: 0 6px 20px rgba(201, 22, 31, 0.6) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.fest-btn-details {
    border-color: rgba(212, 175, 55, 0.6) !important;
    color: #e5c158 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease !important;
}

.fest-btn-details:hover {
    border-color: #ffd700 !important;
    background-color: rgba(212, 175, 55, 0.12) !important;
    color: #ffd700 !important;
}

/* Marquee highlight */
.tr-cross-scrtips ul li a.marquee-download-link {
    color: #ffd700 !important;
    background: #c9161f;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    transition: background 0.2s ease;
}
.tr-cross-scrtips ul li a.marquee-download-link:hover {
    background: #e61c27;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   2. Festivals Article Featured Box (#fest)
   -------------------------------------------------------------------------- */
.fest-featured-card {
    background: linear-gradient(145deg, rgba(32, 24, 20, 0.95) 0%, rgba(18, 20, 26, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-left: 5px solid #d4af37;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.fest-featured-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.fest-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.fest-card-header .fest-card-title-group h3 {
    margin: 0 0 0.3rem 0;
    color: #ffd700;
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
}

.fest-card-header .fest-card-title-group h4 {
    margin: 0;
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 400;
}

.fest-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.9rem;
    background: rgba(201, 22, 31, 0.2);
    border: 1px solid #c9161f;
    border-radius: 20px;
    color: #ff7880;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.fest-grid-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.fest-detail-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1rem;
    transition: background 0.2s ease;
}

.fest-detail-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.fest-detail-item .item-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #d4af37;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 0.4rem;
}

.fest-detail-item .item-value {
    color: #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
}

.fest-detail-item .item-sub {
    color: #a0a0a0;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.fest-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fest-card-actions .download-note {
    color: #a8a8a8;
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   3. Festival Download Popup Modal (?download-form)
   -------------------------------------------------------------------------- */
.fest-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 10, 14, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    box-sizing: border-box;
}

.fest-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fest-modal-dialog {
    background: linear-gradient(150deg, #1f1a18 0%, #15181e 50%, #121419 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.2);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.25rem 2.5rem;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    color: #e6e6e6;
}

.fest-modal-overlay.active .fest-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Minimalist Circular Vector Close Button for Modal */
.fest-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    padding: 0;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.fest-modal-close:hover {
    background: #c9161f;
    border-color: #ff4d58;
    color: #ffffff;
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 16px rgba(201, 22, 31, 0.65);
}

/* Modal Header Content */
.fest-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.fest-modal-header .temple-icon-wrap {
    display: inline-block;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.fest-modal-header .temple-sub {
    font-size: 0.8rem;
    color: #e5c158;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    margin: 0 0 0.4rem 0;
    font-weight: 600;
}

.fest-modal-header h2 {
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    letter-spacing: 0.05rem;
    line-height: 1.3;
}

.fest-modal-header .fest-subtitle {
    font-size: 0.95rem;
    color: #d0d0d0;
    margin: 0;
    font-weight: 300;
}

/* Auto-download notification bar */
.auto-download-indicator {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.45);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #75f08f;
    font-size: 0.85rem;
}

.auto-download-indicator .status-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(117, 240, 143, 0.3);
    border-top-color: #75f08f;
    border-radius: 50%;
    animation: festSpin 0.8s linear infinite;
    flex-shrink: 0;
}

.auto-download-indicator.completed .status-spinner {
    display: none;
}

.auto-download-indicator.completed {
    background: rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.45);
    color: #70b8ff;
}

/* --------------------------------------------------------------------------
   Large Download Button CTA (Single-line main text & single-line sub text)
   -------------------------------------------------------------------------- */
.large-download-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #c9161f 0%, #a00e16 50%, #d4af37 100%);
    background-size: 200% auto;
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 1.15rem 1.4rem;
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(201, 22, 31, 0.5), 0 0 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.large-download-cta:hover {
    background-position: right center;
    box-shadow: 0 12px 30px rgba(201, 22, 31, 0.7), 0 0 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.large-download-cta:active {
    transform: translateY(1px);
}

.large-download-cta .cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.large-download-cta .cta-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.large-download-cta .cta-text-box {
    text-align: left;
    min-width: 0;
    overflow: hidden;
}

/* Strictly single line main headline */
.large-download-cta .cta-headline {
    display: block;
    white-space: nowrap !important;
    font-size: clamp(0.85rem, 2.5vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.05rem;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Strictly single line sub text on next line */
.large-download-cta .cta-subline {
    display: block;
    white-space: nowrap !important;
    font-size: clamp(0.68rem, 1.85vw, 0.82rem);
    font-weight: 400;
    color: #ffefc2;
    margin-top: 0.35rem;
    letter-spacing: 0.03rem;
    line-height: 1.25;
}

/* Festival Highlights Inside Modal */
.fest-modal-highlights {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.fest-modal-highlights h4 {
    color: #ffd700;
    font-size: 0.95rem;
    margin: 0 0 0.85rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fest-highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fest-highlight-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
    color: #dcdcdc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.fest-highlight-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fest-highlight-list .li-icon {
    color: #e5c158;
    flex-shrink: 0;
    margin-top: 2px;
}

.fest-highlight-list strong {
    color: #ffffff;
}

/* Modal Bottom Actions */
.fest-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: #a0a0a0;
}

.fest-modal-footer a.modal-close-link {
    color: #d0d0d0;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.fest-modal-footer a.modal-close-link:hover {
    color: #ffd700;
}

/* Animations */
@keyframes festPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

@keyframes festSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsiveness (max-width: 736px): Prevents any overlap with navigation menu */
@media screen and (max-width: 736px) {
    /* Modal dialog styling on mobile */
    .fest-modal-dialog {
        padding: 1.5rem 1.15rem;
    }

    .fest-modal-header h2 {
        font-size: 1.35rem;
    }

    .large-download-cta {
        padding: 0.95rem 0.75rem;
    }

    .large-download-cta .cta-inner {
        gap: 10px;
    }

    .large-download-cta .cta-icon-box {
        width: 36px;
        height: 36px;
    }

    .large-download-cta .cta-icon-box svg {
        width: 20px;
        height: 20px;
    }

    .large-download-cta .cta-headline {
        white-space: nowrap !important;
        font-size: clamp(0.72rem, 3.6vw, 0.95rem) !important;
    }

    .large-download-cta .cta-subline {
        white-space: nowrap !important;
        font-size: clamp(0.56rem, 2.6vw, 0.72rem) !important;
    }

    .fest-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* --------------------------------------------------------------------------
       Mobile Side Drawer: Relocated away from center to bottom-right corner.
       Zero overlap with #header nav ul!
       -------------------------------------------------------------------------- */
    .fest-drawer {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        pointer-events: none;
        z-index: 9995;
        transition: background 0.3s ease;
    }

    /* Floating Tab on Mobile: Neatly docked at bottom-right corner */
    .fest-drawer-tab {
        position: fixed !important;
        top: auto !important;
        bottom: 18px !important;
        right: 14px !important;
        left: auto !important;
        border-radius: 25px !important;
        border: 1px solid rgba(212, 175, 55, 0.55) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 14px rgba(212, 175, 55, 0.25) !important;
        padding: 8px 14px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.06rem !important;
        pointer-events: auto !important;
        z-index: 9996 !important;
        transform: none !important;
    }

    .fest-drawer-tab:hover {
        transform: translateY(-2px) !important;
    }

    .fest-drawer-tab .tab-chevron {
        transform: rotate(-90deg);
        margin-left: 2px;
    }

    /* Expanded Drawer as Native Mobile Bottom Sheet */
    .fest-drawer.expanded {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .fest-drawer.expanded .fest-drawer-tab {
        display: none !important;
    }

    .fest-drawer-panel {
        width: 100% !important;
        max-width: 440px !important;
        border-radius: 20px 20px 0 0 !important;
        border: 1px solid rgba(212, 175, 55, 0.45) !important;
        border-bottom: none !important;
        padding: 1.4rem 1.25rem 1.85rem 1.25rem !important;
        box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.15) !important;
        margin: 0 auto !important;
        pointer-events: auto !important;
        animation: festSlideUpSheet 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Collapsed state on mobile */
    .fest-drawer.collapsed {
        transform: none !important;
        background: transparent !important;
        pointer-events: none !important;
    }

    .fest-drawer.collapsed .fest-drawer-panel {
        display: none !important;
    }
}

@keyframes festSlideUpSheet {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
