.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1000;
}

.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0c987 100%);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    max-width: 420px;
    width: 90%;
    padding: 0;
    position: relative;
    animation: slideUp 0.4s ease-out;
    border: 2px solid #f0c987;
}

.popup-header {
    background: linear-gradient(135deg, #f0c987 0%, #e6b35c 100%);
    color: white;
    font-weight: bold;
    padding: 18px 25px;
    border-radius: 14px 14px 0 0;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    font-size: 20px;
    margin-bottom: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.popup-header p {
    font-size: 13px;
    opacity: 0.9;
    font-style: italic;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.popup-content {
    padding: 20px 25px;
}

.contact-info-pop-up {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item-pop-up {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 5px solid #f0c987;
}

.contact-item-pop-up:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon-pop-up {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #fff 0%, #f0c987 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
}

.contact-details-pop-up h3 {
    color: #8b4513;
    font-size: 14px;
    margin-bottom: 3px;
}

.contact-details-pop-up p {
    color: #666;
    font-size: 13px;
    line-height: 1.3;
}

.contact-details-pop-up a {
    color: #d4a574;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-details-pop-up a:hover {
    color: #c49660;
}

.cta-section {
    margin-top: 18px;
    text-align: center;
    padding: 15px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 10px;
    border: 1px dashed #d4a574;
}

.cta-section p {
    color: #8b4513;
    margin-bottom: 12px;
    font-style: italic;
    font-size: 14px;
}

.selected-product {
    color: #8b4513;
    font-weight: bold;
}

.cta-button {
    background: linear-gradient(135deg, #f0c987 0%, #e6b35c 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(212, 165, 116, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(212, 165, 116, 0.4);
}


@media (max-width: 480px) {
    .popup-container {
        width: 95%;
        margin: 10px;
        max-width: 350px;
    }

    .popup-header,
    .popup-content {
        padding: 15px 20px;
    }

    .contact-item-pop-up {
        padding: 10px;
    }

    .contact-icon-pop-up {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .contact-details-pop-up h3 {
        font-size: 13px;
    }

    .contact-details-pop-up p {
        font-size: 12px;
    }
}