.store-locator-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.store-locator-popup.active {
    display: block;
}

.store-locator-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.store-locator-popup .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.store-locator-popup .popup-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, #CD6317 0%, #e07828 100%);
    text-align: center;
    color: #fff;
}

.store-locator-popup .popup-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-locator-popup .popup-icon svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.store-locator-popup .popup-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.store-locator-popup .popup-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.store-locator-popup .popup-body {
    padding: 20px;
    background: #fafafa;
}

.store-locator-popup .store-list-container {
    max-height: 350px;
    overflow-y: auto;
}

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

.store-locator-popup .store-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.store-locator-popup .store-list-container::-webkit-scrollbar-thumb {
    background: #CD6317;
    border-radius: 3px;
}

.store-locator-popup .store-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-locator-popup .store-item {
    padding: 18px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-locator-popup .store-item:hover {
    border-color: #CD6317;
    box-shadow: 0 4px 15px rgba(205, 99, 23, 0.15);
    transform: translateY(-2px);
}

.store-locator-popup .store-name {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 6px;
    color: #333;
}

.store-locator-popup .store-address,
.store-locator-popup .store-city,
.store-locator-popup .store-phone {
    font-size: 13px;
    color: #777;
    margin-bottom: 2px;
}

.store-locator-popup .store-item .select-store {
    margin-top: 12px;
    width: 100%;
    padding: 12px 20px;
    background: #CD6317;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.store-locator-popup .store-item .select-store:hover {
    background: #b55614;
}

.store-locator-popup .no-stores {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 15px;
}

body.store-popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .store-locator-popup .popup-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .store-locator-popup .popup-header {
        padding: 25px 15px;
    }

    .store-locator-popup .popup-header h2 {
        font-size: 22px;
    }

    .store-locator-popup .popup-body {
        padding: 15px;
    }

    .store-locator-popup .store-item {
        padding: 15px;
    }
}
