/* VIRTUAL MALL - PRO SAAS THEME (Apple/Stripe Style) */
:root {
    /* 1. CORE BLUE - Single Source of Truth */
    --brand-blue: #4DA3FF;

    /* 2. BACKGROUNDS - Deep Blue Grey System */
    --bg-color: #0B1220;
    /* Base */
    --card-bg: #111A2E;
    /* Cards */
    --sub-card-bg: #16213A;
    /* Sub-elements / Input backgrounds */

    /* 3. BORDERS - Subtle &Refined */
    --border-color: rgba(255, 255, 255, 0.06);

    /* 4. SECONDARY ACCENT - OPTION B (Premium Violet) */
    --accent-violet: #8B7CFF;

    /* TEXT */
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;

    /* SHADOWS */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 40px rgba(77, 163, 255, 0.15);
    /* Blue glow */

    --radius: 16px;
}

@keyframes spaFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 0;
}

/* GLOBAL RESET for sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Apply animation to content wrappers instead of body to avoid 'transform' breaking position:fixed */
.main-header,
.showcase-panel {
    opacity: 0;
    animation: spaFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* HEADER - Clean SaaS Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(11, 18, 32, 0.8);
    /* Semi-transparent base */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-text .subtitle {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    gap: 8px;
    background: var(--sub-card-bg);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 40px !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-btn:hover {
    color: #fff;
}

.nav-btn.active {
    background: var(--brand-blue) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
}

/* LAYOUT */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.split-view {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    padding-top: 30px;
    min-height: 600px;
}

/* PANELS - The "Card" Look */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.showcase-panel {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.panel-header {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping on all sizes */
    gap: 15px;
    /* Gap when wrapped */
}

.panel-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h2 i {
    color: var(--accent-violet);
}

/* Option B Accent */

/* TAGS - Premium Pills */
.tags-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    /* Wrap tags on desktop/tablet */
}

.tag {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    background: var(--sub-card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: default;
    transition: 0.2s;
}

.tag.active {
    background: rgba(139, 124, 255, 0.15);
    /* Violet Tint */
    color: var(--accent-violet);
    border-color: var(--accent-violet);
    font-weight: 600;
}

/* PRODUCT GRID */
.product-grid {
    padding: 1.5rem;
    display: grid;
    /* Force 3 columns on standard desktop by reducing min-width requirement */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    /* Increase gap to prevent overlap */
    /* REMOVED align-items: start to allow Stretch (default) so all cards in row are same height */
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Fill the grid cell height */
    position: relative;
    background: var(--card-bg);
    /* Ensure solid background */
    z-index: 1;
    overflow: hidden;
    /* Prevent spillover */
    min-height: 350px;
    /* Ensure a healthy minimum height */
}

.product-card img {
    width: 100%;
    height: 180px;
    /* Fixed height for image area */
    object-fit: contain;
    /* Ensures image is fully visible */
    object-position: center;
    padding: 10px;
    /* Reduced vertical padding, rely on container for side spacing if needed */
    display: block;
    margin: 0 auto;
    /* Force horizontal centering */
}

/* CHAT PANEL - Consolidated & Clean */
.chat-panel {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    /* Adjusted for new header */
    position: sticky;
    top: 100px;
}

.chat-header {
    background: var(--sub-card-bg);
    /* Sligthly lighter header for chat */
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.ai-avatar {
    width: 44px;
    height: 44px;
    background: var(--brand-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.chat-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    font-size: 0.8rem;
    color: var(--brand-blue);
    /* "Online" = Brand Blue or Mint. Using Blue as requested "Online statuses" */
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--card-bg);
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-message {
    background: var(--sub-card-bg);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 2px;
    color: var(--text-secondary);
}

.user-message {
    background: var(--brand-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 10px rgba(77, 163, 255, 0.2);
}

/* INPUT AREA */
.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--card-bg);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.input-wrapper {
    background: var(--sub-card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    /* Slight rounded rect, not pill */
    padding: 8px 8px 8px 16px;
    display: flex;
    transition: 0.2s;
}

.input-wrapper:focus-within {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(77, 163, 255, 0.1);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

#send-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--brand-blue);
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#send-btn:hover {
    background: #3d92ec;
}

/* HOW IT WORKS - Static Footer */
.how-it-works {
    position: relative;
    width: 100%;
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
    padding: 4rem 0 !important;
    background: var(--sub-card-bg) !important;
    border-top: 1px solid var(--border-color);
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.01);
}

.step-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: var(--shadow-card);
}

.step-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.step-card:hover .step-icon {
    color: var(--accent-violet);
    /* Option B Hover */
    transform: scale(1.1);
}

.step-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* LOADING STATE */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--brand-blue);
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* FITTING MODAL */
.hidden {
    display: none !important;
}

.fitting-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 750px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-color) !important;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
}

.modal-header {
    background: var(--sub-card-bg);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 25px;
}

.user-preview-area {
    flex: 1;
    background: var(--sub-card-bg);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
}

.outfit-slots {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.slot {
    height: 80px;
    background: var(--sub-card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* --- MOBILE RESPONSIVE STYLES (Optimized for App-Feel) --- */
@media (max-width: 768px) {

    /* HEADER: Compact & Sticky */
    .main-header {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 10px;
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
        background: rgba(11, 18, 32, 0.95);
        backdrop-filter: blur(10px);
    }

    .logo-container {
        width: 100%;
        justify-content: center;
        margin-bottom: 2px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .logo-text {
        display: none;
        /* Hide name + subtitle on mobile to avoid duplication with logo image */
    }

    /* Nav: Distributed Evenly */
    .main-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        background: transparent;
        border: none;
        padding: 0;
        gap: 5px;
    }

    .nav-btn {
        flex: 1;
        padding: 8px 0;
        justify-content: center;
        font-size: 0.85rem;
        border-radius: 8px !important;
        white-space: nowrap;
    }

    .nav-btn i {
        font-size: 1.2rem;
        margin-right: 4px;
    }

    .nav-btn span {
        font-size: 0.75rem;
    }

    /* CONTAINER & LAYOUT */
    .container {
        padding: 0 0.5rem;
        padding-bottom: 90px;
        /* Space for collapsed drawer header */
    }

    .split-view {
        display: block !important;
        padding-top: 10px;
        height: auto !important;
    }

    /* PRODUCT SHOWCASE - Top Section */
    /* PRODUCT SHOWCASE - Desktop */
    .showcase-panel {
        overflow-y: auto;
        /* Scroll inside grid */
        display: flex;
        flex-direction: column;
    }

    /* .panel-header desktop styles are global. Mobile overrides moved below. */


    .tags-container {
        width: 100%;
        padding-bottom: 5px;
        display: none !important;
        flex-wrap: wrap !important;
        gap: 8px;
        overflow-x: visible !important;
        white-space: normal !important;
    }

    .tags-container::-webkit-scrollbar {
        display: none;
    }

    /* CHAT BUBBLE TRIGGER (Mobile Only Concept, but define base here) */
    .chat-bubble-btn {
        display: none;
        /* Hidden on Desktop */
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--store-primary, #3b82f6) !important;
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.3);
        z-index: 2000;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .chat-bubble-btn img {
        display: none;
    }

    .chat-bubble-btn::after {
        content: '\1F4AC';
        font-size: 1.6rem;
    }

    .chat-bubble-btn:active {
        transform: scale(0.95);
    }

    /* Global Close Button for Chat (Hidden on Desktop) */
    .close-chat-btn {
        display: none;
        background: transparent;
        border: none;
        color: var(--text-secondary);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
    }

    /* --- MOBILE RESPONSIVE STYLES --- */
    @media (max-width: 768px) {

        /* Show Bubble on Mobile */
        .chat-bubble-btn {
            display: flex;
        }

        /* HEADER: Compact */
        .main-header {
            padding: 0.8rem 1rem;
            flex-direction: column;
            gap: 10px;
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(11, 18, 32, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
        }

        /* ... (Keep existing header styles) ... */
        .logo-container {
            width: 100%;
            justify-content: center;
            margin-bottom: 2px;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            font-size: 18px;
        }

        .logo-text {
            display: none;
        }

        .main-nav {
            width: 100%;
            display: flex;
            justify-content: space-between;
            gap: 5px;
        }

        /* ... (Nav Buttons) ... */
        .nav-btn {
            flex: 1;
            padding: 8px 0;
            justify-content: center;
            font-size: 0.85rem;
            border-radius: 8px !important;
        }

        /* CONTAINER */
        .container {
            padding: 0 0.5rem;
            padding-bottom: 80px;
        }

        /* SPLIT VIEW - Stack on Mobile */
        .split-view {
            display: block !important;
            padding-top: 10px;
            height: auto !important;
        }

        /* SHOWCASE PANEL - Full Screen feel */
        .showcase-panel {
            min-height: auto;
            border: none;
        }

        .product-grid {
            align-items: start;
        }

        /* CHAT PANEL - Mobile Overlay (The "Bubble" content) */
        /* CHAT PANEL - Mobile Bubble Popover */
        .chat-panel {
            position: fixed;
            bottom: 90px;
            top: auto !important;
            /* Override Desktop Sticky Top */
            /* Above the bubble trigger + margin */
            right: 15px;
            left: 15px;
            /* Margins for floating look */
            width: auto !important;
            /* Determine by margins */
            height: 75vh !important;
            /* Increased height */
            z-index: 3000;
            background: var(--sub-card-bg);
            flex-direction: column;

            /* Hidden by default, toggled by JS */
            display: none;

            border-radius: 20px;
            /* Rounded corners like a bubble */
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            /* Heavy shadow for elevation */

            overflow: hidden;
            /* Contain children */
        }

        /* Active State */
        .chat-panel.active {
            display: flex !important;
            animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes popIn {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.95);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .chat-header {
            padding: 1rem;
            border-radius: 0;
            background: var(--bg-color);
            border-bottom: 1px solid var(--border-color);
        }

        /* Close Button inside header (ensure visibility) */
        #close-chat-btn {
            display: block !important;
        }

        .chat-messages {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            background: var(--card-bg);
        }

        .chat-input-area {
            padding: 10px;
        }

        .input-wrapper {
            padding: 5px 5px 5px 12px;
        }

        .input-wrapper input {
            min-width: 0;
            font-size: 16px !important;
        }

        #send-btn {
            flex-shrink: 0;
            width: 38px;
            height: 38px;
        }

        /* GRID: Default Mobile (2 Columns) */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            padding: 10px;
        }

        .product-card {
            min-height: 0;
            max-height: 350px;
            display: flex;
            flex-direction: column;
            align-self: start;
        }

        .product-card img {
            height: 110px;
            padding: 8px;
        }

        .product-card h3 {
            font-size: 0.85rem;
            margin: 5px 0;
            line-height: 1.3em;
            max-height: 2.6em;
            overflow: hidden;
        }

        .product-card .price {
            font-size: 1rem;
        }

        .product-card button {
            padding: 6px;
            font-size: 0.8rem;
        }

        /* FOOTER */
        .how-it-works {
            padding: 2rem 1rem !important;
            margin-top: 1rem !important;
            padding-bottom: 100px !important;
            /* Space for drawer */
        }

        .steps-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        /* MODAL */
        .fitting-modal {
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            transform: none;
            border-radius: 0;
            display: flex;
            flex-direction: column;
        }

        .modal-body {
            padding: 10px;
            flex-direction: column;
            overflow-y: auto;
        }

        .user-preview-area {
            width: 100%;
            height: 350px;
            flex-shrink: 0;
            margin-bottom: 10px;
        }

        .outfit-slots {
            width: 100%;
        }

        .slot {
            height: 70px;
            font-size: 1.2rem;
        }
    }

    /* --- ULTRA SMALL DEVICES (iPhone SE 1st Gen, Galaxy Fold Cover) < 360px --- */
    @media (max-width: 360px) {

        /* 1. Header tightening */
        .main-header {
            padding: 0.5rem;
        }

        .nav-btn span {
            display: none;
            /* Icons ONLY on tiny screens */
        }

        .nav-btn i {
            font-size: 1.4rem;
            margin: 0;
        }

        /* 2. Grid Update */
        .product-grid {
            /* Force 1 column if 2 is too tight, OR ensure min-width allows grid to auto-flow */
            grid-template-columns: 1fr;
            /* Single column for readability */
        }

        .product-card {
            flex-direction: row;
            /* Horizontal card for list view! Better use of vertical space */
            min-height: auto;
            height: auto;
            align-items: center;
            padding: 10px;
        }

        .product-card img {
            width: 80px;
            height: 80px;
            flex-shrink: 0;
        }

        .product-info {
            padding-left: 10px;
        }

        /* 3. Chat input fix */
        .input-wrapper {
            padding: 4px 4px 4px 10px;
        }

        #send-btn {
            width: 32px;
            height: 32px;
        }
    }

    /* --- SKELETON LOADING ANIMATION --- */
    .skeleton-card {
        background: var(--card-bg);
        border-radius: var(--radius);
        display: flex;
        flex-direction: column;
        gap: 10px;
        border: 1px solid var(--border-color);
        position: relative;
        overflow: hidden;
        min-height: 250px;
        /* Force height */
        padding: 0;
    }

    /* Shimmer Layer */
    .skeleton-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        background-image: linear-gradient(90deg,
                rgba(255, 255, 255, 0) 0,
                rgba(255, 255, 255, 0.05) 20%,
                rgba(255, 255, 255, 0.1) 60%,
                rgba(255, 255, 255, 0));
        animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
        100% {
            transform: translateX(100%);
        }
    }

    .skeleton-img {
        width: 100%;
        height: 180px;
        background: var(--sub-card-bg);
    }

    .skeleton-text {
        height: 14px;
        background: var(--sub-card-bg);
        border-radius: 4px;
        width: 80%;
        margin: 10px 15px 0 15px;
    }

    .skeleton-text.short {
        width: 40%;
        margin-top: 5px;
    }
}

@media (min-width: 769px) {

    #chat-bubble-trigger,
    .chat-bubble-btn,
    #close-chat-btn,
    .close-chat-btn {
        display: none !important;
    }

    .chat-panel {
        display: flex !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        position: sticky !important;
        top: 100px !important;
        height: calc(100vh - 140px) !important;
        width: auto !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        background: var(--card-bg) !important;
        border-radius: var(--radius) !important;
        box-shadow: none !important;
    }
}

/* GLOBAL RESPONSIVE logos */
@media (max-width: 768px) {
    .logo-container img {
        height: 30px !important;
        /* Force smaller height on mobile */
        width: auto !important;
        margin-right: 8px !important;
    }

    .logo-container h1 {
        font-size: 1.1rem !important;
        /* Smaller brand name */
    }

    .logo-container .subtitle {
        display: none !important;
        /* Hide subtitle on very small screens to save space */
    }
}

/* PAGE TRANSITION OVERLAY - SPA EFFECT */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.loaded #page-transition-overlay {
    opacity: 0;
}