.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    animation: popupFadeIn 0.3s ease forwards;
}

@keyframes popupFadeIn {
    to {
        transform: scale(1);
    }
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 18px;
    color: #545454;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
    z-index: 100000;
}

.popup-close-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
    color: #2956AD;
}

.popup-header {
    margin-bottom: 25px;
    text-align: center;
}

.popup-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2956AD;
    margin: 0 0 10px 0;
    padding: 0;
    letter-spacing: -0.5px;
}

.popup-subtitle {
    font-size: 18px;
    color: #545454;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.popup-contact-section {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 400;
}

.contact-value {
    font-size: 16px;
    color: #2956AD;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-value.phone,
.contact-value.email {
    font-size: 18px;
    font-weight: 600;
}

.contact-value:hover {
    color: #3D73D9;
}

.telegram-btn {
    display: inline-block;
    background: #0088cc;
    color: white !important;
    padding: 10px 20px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.popup-form-section {
    margin-top: 10px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-accordion {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

body.popup-open {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .popup-container {
        width: 95%;
        padding: 35px 20px 25px;
        margin: 15px;
    }

    .popup-header h3 {
        font-size: 22px;
    }

    .popup-subtitle {
        font-size: 16px;
    }

    .contact-value.phone,
    .contact-value.email {
        font-size: 16px;
    }

    .telegram-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

.popup-container::-webkit-scrollbar {
    width: 6px;
}

.popup-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.popup-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.popup-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.footer-text {
    cursor: pointer;
}

.footer_link_setting {
    font-size: 13px;
    color: #81b3ce;
    margin: 25px 0 0 0;
}

.footer-action {
    position: fixed;
    top: 87%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 300px;
    border-radius: 30px;
    background-color: #ADEA00;
    color: #343434!important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border: solid 3px #fff;
}

.footer-action:hover {
    background-color: #3D73D9;
    border: solid 3px #3D73D9;
    color: #fff !important;
}

.footer-block-address-flex {
    display: flex;
}

.footer-block-address-icon {
    margin: 0 10px 0 0;
    font-size: 0.9em;
}

.footer-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.footer-action.blink::before {
    left: 100%;
}

.footer-text {
    position: relative;
    z-index: 2;
}

.footer__address-item-title {
    font-weight: 600;
    color: #81b3ce;
    font-size: 1.4em;
    letter-spacing: -1px;
    line-height: 23px;
    margin: 20px 0;
    display: block;
}

.footer-block-address-flex span {
    display: block;
}

.footer-download {
    width: 45%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 0 40px 0;
}

.footer-logo-market {
    width: 100%;
    display: block;
}

.footer-download-qr-background {
    width: 38%;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
}

.qr-link {
    flex: 0 0 auto;
    width: 40%;
}

.stores-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    filter: brightness(7);
}

.qr-link,
.store-link {
    pointer-events: none;
    cursor: default;
}

@media (max-width: 768px) {
    .footer-download-qr-background {
        display: none;
    }

    .store-link {
        pointer-events: auto;
        cursor: pointer;
    }

    .stores-list {
        width: 100%;
    }
}