/*** Product Lightbox & Product Table CSS Start ***/
.prodetail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}
.prodetail-overlay.active {
    opacity: 1;
    visibility: visible;
}
.prodetail-popup {
    width: 100%;
    max-width: 750px;
    height: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.popup-left {
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.popup-left h4 {
    color: #fff;
    padding: 50px 20px; 
    font-size: 30px;
    padding-top: 80px;
}
.popup-product-body {
    flex: 1;
    overflow: hidden;
}
.popup-left img {
    width: 90%;
    border-radius: 10px;
}
.popup-right {
    display: flex;
    flex-direction: column;
    position: relative;
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}
.popup-right h3 {
    margin-bottom: 15px;
    font-size: 22px;
    text-align: center;
}
.popup-right form {
    display: flex;
    flex-direction: column;
    height: 83%;
}
.popup-right form .row {
    --bs-gutter-x: 0;
}
.popup-right form .inquiry-field {
    color: #3b3a3a;
}
.popup-right form .inquiry-field {
    color: #3b3a3a;
}
.popup-right form .row .nice-select {
    padding-bottom: 6px !important;
}
.popup-right form .nice-select .list {
    max-height: 200px;
    overflow-y: auto;
}
.popup-right form .nice-select .option {
    padding: 8px 12px;
    line-height: 20px;
}
.popup-right form .nice-select .list::-webkit-scrollbar {
    width: 5px;
}
.popup-right form .nice-select .list::-webkit-scrollbar-thumb {
    background: #ff5e1c;
    border-radius: 10px;
}
.prodetail-popup .row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.inquiry-field,
.popup-right textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.popup-right textarea {
    resize: none;
}
.popup-right button {
    margin-top: auto;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(45deg,#ff3c3c,#ff7b00);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 20px;
    margin-top: 15px;
}
@media (max-width: 768px){
    .popup-right form .inquiry-field, .popup-right form textarea {
        padding: 10px;
    }
    .prodetail-overlay {
        align-items: flex-start;
    }
    .prodetail-popup {
        width: 100%;
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .popup-left {
        display: none;
    }
    .popup-right {
        width: 100%;
        height: 100%;
        padding: 20px 15px;
    }
    .popup-right h3 {
        font-size: 22px;
    }
    .popup-close {
        top: 15px;
        right: 15px;
        font-size: 26px;
    }
    .prodetail-popup .row {
        flex-direction: column;
    }
    .popup-right textarea {
        height: 80px;
    }
    .popup-right button {
        font-size: 16px;
    }
}
.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 14px;
}
.product-specs tr {
    border-bottom: 1px solid #e5e5e5;
}
.product-specs td {
    padding: 8px 12px;
    vertical-align: top;
    line-height: 1.4;
}
.product-specs td:first-child {
    width: 40%;
    font-weight: 700;
    background: #f8f8f8;
    color: #222;
}
.product-specs td:last-child {
    width: 60%;
    color: #555;
    word-break: break-word;
}
.product-specs tr:hover {
    background: #f5faff;
}
.product-specs tr:nth-child(even) {
    background: #fcfcfc;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.product-specs {
    min-width: 500px;
    border-collapse: collapse;
}
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
@media (max-width: 767px) {
    .product-specs {
        min-width: 480px;
    }
}
@media (max-width:768px) {
    .popup-left {
        background: #000;
        height: 200px;
        display: flex;
        flex-direction: column;
        padding: 15px;
        overflow: hidden;
    }
    .popup-left h4 {
        color: #fff;
        text-align: center;
        margin: 0 0 15px;
    }
    .popup-product-body {
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 15px;
        min-height: 0;
        flex: 1;
    }
    .popup-left img {
        width: 110px;
        height: 110px;
        object-fit: cover;
        border-radius: 10px;
        align-self: center;
    }
}