body, html {
    margin: 0; padding: 0; height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
}


.qr-header {
    position: fixed;
    top: 0; /* Прижимаем к верху */
    left: 0;
    width: 100%;
    height: 225px; /* Высота вашего блока с QR */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-container {
    position: fixed; top: 0; left: 0; width: 100%;
    bottom: 0; top: auto;
    height: 100px; display: flex; justify-content: center;
    align-items: center; gap: 15px; z-index: 100;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.nav-item {
    background: #e2e8f0; padding: 5px 25px;
    border-radius: 10px; text-align: center;
    cursor: pointer; transition: 0.3s;
}

.nav-item.active-day {
    background: #6366f1; color: white; transform: scale(1.05);
}

.day-name { font-size: 25px; font-weight: 800; display: block; }
.day-date { font-size: 17px; opacity: 0.8; }


iframe {
    position: absolute; 
    top: 200px;
    left: 0;
    width: 100%; 
    height: calc(100% - 160px); 
    border: none; opacity: 0; transition: opacity 0.5s;
    z-index: 1; pointer-events: none;
}
iframe.active { opacity: 1; z-index: 5; pointer-events: auto; }

.arrow-btn {
    position: fixed; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; background: rgba(99, 102, 241, 0.9);
    color: white; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
}
.arrow-left { left: 15px; }
.arrow-right { right: 15px; }


.qr-item img { height: 200px; width: auto; } 

/* @media (max-width: 1920px){
    .qr-header {
        height: 150px !important;
    }
    .qr-item img { 
        height: 100px !important; 
    } 
    .nav-container {
        height: 70px !important;
    }

    .day-name { font-size: 14px !important; }
    .day-date { font-size: 11px !important; }
} */


@media (max-width: 2560px) {
    .qr-header { height: 180px !important; }
    .qr-item img { height: 140px !important; }
    .nav-container { height: 85px !important; }
}

@media (max-width: 1440px) {
    .qr-header { height: 140px !important; }
    .qr-item img { height: 110px !important; }
    .nav-container { height: 70px !important; }
    
    .day-name { font-size: 16px !important; }
    .day-date { font-size: 13px !important; }
}

@media (max-width: 768px) {
    .qr-header { 
        height: 90px !important; 
        gap: 15px;
    }
    .qr-item img { 
        height: 70px !important; 
    }
    iframe {
        top: 110px !important;
        height: calc(100% - 130px) !important;
    }
}