/* Button */
.wc-inquiry-btn {
    padding: 12px 26px;
    background: linear-gradient(135deg, #ff7a00, #ff9a3c);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wc-inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

/* Popup wrapper */
#wc-inquiry-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

/* Overlay */
.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(3px);
}

/* Popup box */
.popup-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    margin: 5% auto;
    padding: 30px 25px;
    border-radius: 12px;
    z-index: 2;
    animation: popupFade 0.35s ease;
}

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scrollbar */
.popup-content::-webkit-scrollbar {
    width: 6px;
}
.popup-content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}

/* Close button */
.close-popup {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.close-popup:hover {
    color: #000;
    transform: rotate(90deg);
}

/* Heading */
.inquiry-title {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

/* Product highlight */
#popup-product-name {
    color: #ff7a00;
    font-weight: 700;
}

/* Prevent scroll */
body.popup-open {
    overflow: hidden;
}