/* Shipping Location Popup Styles */

.ops-shipping-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ops-shipping-popup.show {
    opacity: 1;
    visibility: visible;
}

.ops-shipping-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.ops-shipping-popup-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.ops-shipping-popup.show .ops-shipping-popup-content {
    transform: scale(1);
}

.ops-shipping-popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.ops-shipping-popup-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

.ops-shipping-popup-header p {
    margin: 0;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.ops-shipping-popup-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.ops-shipping-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 30px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ops-shipping-btn:hover {
    border-color: #2271b1;
    background: #f0f6fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2);
}

.ops-shipping-btn:active {
    transform: translateY(0);
}

.ops-shipping-btn-ny:hover {
    border-color: #0073aa;
    background: linear-gradient(135deg, #f0f6fc 0%, #e3f2fd 100%);
}

.ops-shipping-btn-outside:hover {
    border-color: #00a32a;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
}

.ops-shipping-icon {
    font-size: 32px;
    line-height: 1;
}

.ops-shipping-text {
    font-size: 18px;
}

/* Change Location Link */
.ops-shipping-change-location {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    font-size: 14px;
}

.ops-current-location {
    color: #666;
}

.ops-current-location strong {
    color: #333;
}

.ops-change-location-link {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ops-change-location-link:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Mobile Responsive */
@media screen and (max-width: 600px) {
    .ops-shipping-popup-content {
        padding: 30px 20px;
        width: 95%;
    }

    .ops-shipping-popup-header h2 {
        font-size: 24px;
    }

    .ops-shipping-popup-header p {
        font-size: 14px;
    }

    .ops-shipping-btn {
        padding: 16px 20px;
        font-size: 16px;
    }

    .ops-shipping-icon {
        font-size: 28px;
    }

    .ops-shipping-text {
        font-size: 16px;
    }

    .ops-shipping-change-location {
        bottom: 10px;
        right: 10px;
        left: 10px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 13px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}