﻿/* ===== INQUIRY PANEL - FIXED VERSION ===== */
.inquiry-panel {
    position: fixed;
    z-index: 9999 !important;
    top: 50%;
    right: 0;
    left: auto;
    transform: translateY(-50%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.inquiry-panel-item {
    position: relative;
    text-align: center;
    height: 46px;
    width: 46px;
    clear: both;
    margin-bottom: 2px;
    display: block !important;
    visibility: visible !important;
}

    .inquiry-panel-item:nth-child(1) .inquiry-panel-btn {
        background: #25D366 !important;
    }

    .inquiry-panel-item:nth-child(2) .inquiry-panel-btn {
        background: #17a2b8 !important;
    }

    .inquiry-panel-item:nth-child(3) .inquiry-panel-btn {
        background: #DE2741 !important;
    }

.inquiry-panel .inquiry-panel-btn {
    display: flex !important;
    position: relative;
    right: 0;
    top: 0;
    width: 46px;
    height: 46px;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0 !important;
    overflow: hidden;
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    .inquiry-panel .inquiry-panel-btn i {
        font-size: 24px;
        color: #fff;
    }

.inquiry-panel .inquiry-panel-inside {
    position: absolute;
    top: 0;
    right: -280px;
    width: 280px;
    background-color: rgba(255,255,255,0.98);
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    border-radius: 8px 0 0 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
    opacity: 0;
}

/* 🔥 Desktop: Close button hide */
.inquiry-panel-inside .close-btn {
    display: none !important;
}

/* ===== DESKTOP / TABLET (768px and above) ===== */
@media (min-width: 768px) {
    .inquiry-panel-item:hover .inquiry-panel-inside {
        right: 46px;
        opacity: 1;
        pointer-events: all;
    }

    .inquiry-panel-item:hover .inquiry-panel-btn {
        transform: scale(1.05);
    }
}

/* ===== MOBILE (767px and below) ===== */
@media (max-width: 767px) {
    .inquiry-panel {
        top: auto !important;
        bottom: 80px !important;
        right: 10px !important;
        left: auto !important;
        transform: none !important;
        z-index: 99999 !important;
    }

    /* 🔥 FIX: Remove box-shadow completely */
    .inquiry-panel-item {
        margin-bottom: 10px !important;
        box-shadow: none !important; /* ← Force remove */
        background: transparent !important;
        border: none !important;
    }

    .inquiry-panel .inquiry-panel-btn {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
    }

        .inquiry-panel .inquiry-panel-btn i {
            font-size: 24px !important;
        }

    .inquiry-panel .inquiry-panel-inside {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 280px !important;
        max-width: 90vw !important;
        z-index: 100000 !important;
        display: none !important;
        opacity: 1 !important;
        pointer-events: all !important;
        border-radius: 12px !important;
        padding: 20px !important;
        background: white !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    }

    .inquiry-panel-item.active .inquiry-panel-inside {
        display: block !important;
    }

    /* 🔥 Mobile: Backdrop overlay */
    .inquiry-panel-item.active::before {
        content: '';
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0,0,0,0.6) !important;
        z-index: 99999 !important;
        backdrop-filter: blur(3px) !important;
    }

    /* 🔥 Mobile: Close button show */
    .inquiry-panel-inside .close-btn {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: rgba(0,0,0,0.1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 18px !important;
        color: #666 !important;
        z-index: 100001 !important;
        border: none !important;
    }

        .inquiry-panel-inside .close-btn:hover {
            background: rgba(0,0,0,0.2) !important;
            color: #333 !important;
        }

    .inquiry-panel-inside .btn {
        cursor: pointer !important;
        position: relative !important;
        z-index: 100002 !important;
        pointer-events: auto !important;
    }

    .inquiry-panel-inside {
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .inquiry-panel {
        bottom: 20px !important;
        right: 8px !important;
    }

        .inquiry-panel .inquiry-panel-btn {
            width: 42px !important;
            height: 42px !important;
        }

            .inquiry-panel .inquiry-panel-btn i {
                font-size: 20px !important;
            }

        .inquiry-panel .inquiry-panel-inside {
            width: 260px !important;
            padding: 15px !important;
        }

    .inquiry-content i {
        font-size: 40px !important;
    }

    .inquiry-content h4 {
        font-size: 16px !important;
    }

    .inquiry-content p {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }

    .inquiry-content .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
}

.inquiry-content {
    text-align: center;
}

    .inquiry-content i {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .inquiry-content h4 {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    .inquiry-content p {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .inquiry-content .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 20px;
        border-radius: 30px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        border: none;
        cursor: pointer;
        width: 100%;
        transition: all 0.3s ease;
    }

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

    .btn-whatsapp:hover {
        background: #128C7E;
        color: #fff;
    }

.btn-inquiry {
    background: #17a2b8;
    color: #fff;
}

    .btn-inquiry:hover {
        background: #138496;
        color: #fff;
    }

.btn-quote {
    background: #DE2741;
    color: #fff;
}

    .btn-quote:hover {
        background: #b71c33;
        color: #fff;
    }
