#loc-modal[hidden],
#delivery-notification[hidden],
#ru-cookie-notice[hidden] {
    display: none !important;
}

body.sto-location-modal-open {
    overflow: hidden;
}

#loc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.loc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.loc-window {
    position: relative;
    max-width: 340px;
    margin: 15vh auto;
    padding: 40px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    text-align: center;
}

.loc-window p {
    margin: 0 0 20px;
    color: #000;
    font-size: 22px;
    font-weight: 700;
}

.loc-switcher {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.loc-btn {
    padding: 14px 24px;
    border: 0;
    border-radius: 8px;
    background: #ddd;
    color: #333;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.loc-btn:hover {
    background: #ccc;
}

.loc-btn.active {
    background: #28a745;
    color: #fff;
}

#rosha-closed-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .65);
}

.rosha-closed-card {
    width: min(480px, 100%);
    padding: 40px 35px 35px;
    border: 3px solid #ff9800;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .3);
    color: #1a1a1a;
    text-align: center;
}

.rosha-closed-title {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 800;
}

.rosha-closed-card p {
    font-size: 19px;
    line-height: 1.5;
}

.rosha-closed-success {
    color: #1a7732;
    font-weight: 700;
}

#rosha-modal-ok {
    padding: 14px 55px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

#whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    opacity: .85;
}

#whatsapp-float:hover {
    opacity: 1;
}

#whatsapp-float a {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
}

#delivery-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999999;
    max-width: 320px;
}

.notice-card {
    position: relative;
    padding: 20px;
    border-left: 5px solid #007cba;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .2);
    color: #333;
}

.notice-close {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 0 5px;
    border: 0;
    background: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
}

.notice-content h3 {
    margin: 0 0 10px;
    color: #007cba;
    font-size: 16px;
}

.notice-content p {
    margin: 5px 0 15px;
    font-size: 14px;
    line-height: 1.4;
}

.btn-agree,
#accept-cookie-btn {
    padding: 9px 18px;
    border: 0;
    border-radius: 5px;
    background: #007cba;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.btn-agree {
    width: 100%;
}

#ru-cookie-notice {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999999;
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, .05);
}

.cookie-notice-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-notice-inner p {
    flex: 1;
    margin: 0;
    color: #4a5568;
    font-size: 13px;
    line-height: 1.5;
}

.ivan-quick-price-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ivan-quick-price-wrapper input {
    width: 80px;
}

@media (max-width: 768px) {
    .cookie-notice-inner {
        flex-direction: column;
        text-align: center;
    }

    #accept-cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #delivery-notification {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-width: none;
    }

    .rosha-closed-card {
        padding: 30px 20px;
    }

    .rosha-closed-title {
        font-size: 23px;
    }
}
