/* =========================
   HEADER
========================== */

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.header-cart i {
    font-size: 21px;
}

.cart-count {
    position: absolute;
    top: -11px;
    right: -12px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #d71920;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   PAGE
========================== */

.product-page {
    width: 94%;
    /*max-width: 1450px;*/
    margin: 35px auto 70px;
}

.product-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    align-items: start;
}


/* =========================
   SIDEBAR
========================== */

.product-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-search {
    display: flex;
    background: #eef4f8;
    padding: 8px;
    border-radius: 18px;
    margin-bottom: 28px;
}

.sidebar-search input {
    width: 100%;
    height: 42px;
    border: 0;
    outline: 0;
    padding: 0 15px;
    background: #fff;
    font-size: 14px;
}

.sidebar-search button {
    width: 50px;
    border: 0;
    background: #d71920;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
}


.category-box {
    border: 1px solid #dce4e9;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.category-title {
    background: #011c29;
    padding: 20px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
}

.category-title i {
    color: #eee;
    font-size: 19px;
}


/* =========================
   LEVEL 1
========================== */

.category-list {
    padding: 12px;
}

.category-item {
    margin-bottom: 8px;
}

.category-main {
    background: #e6f0fe;
    padding: 14px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: .3s ease;
}

.category-main:hover,
.category-main.active {
    background: #d71920;
    color: #fff;
}

.category-main i {
    font-size: 11px;
}


/* =========================
   LEVEL 2
========================== */

.subcategory {
    display: none;
    padding: 7px 0 0 10px;
}

.category-item.open > .subcategory {
    display: block;
}

.subcategory-item {
    margin-bottom: 5px;
}

.subcategory-title {
    padding: 11px 12px;
    background: #f2f5f7;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subcategory-title:hover {
    color: #d71920;
}


/* =========================
   LEVEL 3
========================== */

.third-level {
    display: none;
    padding: 5px 0 5px 12px;
}

.subcategory-item.open > .third-level {
    display: block;
}

.third-level a {
    display: block;
    padding: 7px 10px;
    color: #555;
    font-size: 13px;
    border-left: 2px solid transparent;
    transition: .25s ease;
}

.third-level a:hover,
.third-level a.active {
    color: #d71920;
    border-left-color: #d71920;
    padding-left: 15px;
}


/* =========================
   PRODUCT CONTENT
========================== */

.product-content {
    min-width: 0;
}

 .product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
}

.product-toolbar-brand {
    position: relative;
    width: 300px;
    flex: 0 0 300px;
}

.product-toolbar-brand::after {
    content: "\f107";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    font-family: 'Font Awesome 6 Pro';
    font-size: 10px;
    font-weight: 900;
    color: #555;
    pointer-events: none;
    transition: .25s ease;
}

.product-toolbar-brand:hover::after,
.product-toolbar-brand:focus-within::after {
    color: #d71920;
}

.product-toolbar-brand select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    height: 48px;
    border: 1px solid #d7dfe4;
    border-radius: 9px;
    padding: 0 50px 0 16px;

    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    line-height: 48px;

    outline: none;
    cursor: pointer;
    transition: .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

.product-toolbar-brand select:hover {
    border-color: #c6d0d6;
}

.product-toolbar-brand select:focus {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .08);
}

.product-toolbar-brand select option {
    background: #fff;
    color: #222;
    font-size: 14px;
}

.product-toolbar-search {
    width: 100%;
    max-width: 550px;
    height: 48px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d7dfe4;
    border-radius: 9px;
    overflow: hidden;
    transition: .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

.product-toolbar-search:focus-within {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .08);
}

.product-toolbar-search input {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    padding: 0 16px;
    background: transparent;
    color: #222;
    font-size: 14px;
}

.product-toolbar-search input::placeholder {
    color: #999;
}

.product-toolbar-search button {
    width: 52px;
    height: 100%;
    border: 0;
    background: #d71920;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: .3s ease;
}

.product-toolbar-search button:hover {
    background: #111;
}


/* Mobile */

@media (max-width: 575px) {

    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-toolbar-brand {
        width: 100%;
        flex: 1 1 auto;
    }

    .product-toolbar-brand::after {
        right: 17px;
    }

    .product-toolbar-search {
        max-width: 100%;
    }

}


/* =========================
   PRODUCT GRID
========================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    border: 1px solid #cfdbe3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
    border-color: #d71920;
}


/* =========================
   PRODUCT IMAGE
========================== */

.product-image {
    height: 225px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #dce4e9;
    padding: 20px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}


.product-actions {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #1769aa;
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
    cursor: pointer;
}


/* =========================
   PRODUCT DETAILS
========================== */

.product-info {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-code {
    color: #d71920;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.product-name {
    font-size: 16px;
    line-height: 1.4;
    color: #222;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-description {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-price {
    color: #008c55;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
}


/* =========================
   PRODUCT SPECIFICATIONS
========================== */

.product-card.horizontal-product .product-specs {
    list-style: none;
    margin: 2px 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 8px;
    max-width: 900px;
}

.product-card.horizontal-product .product-specs li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #2c2c2c;
    font-size: 14px;
    line-height: 1.3;
}

.product-card.horizontal-product .product-specs li i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #d71920;
    font-size: 10px;
}

.product-card.horizontal-product .product-specs li:hover {
    color: #222;
}


/* Mobile specifications */

@media (max-width: 767px) {

    .product-card.horizontal-product .product-specs {
        grid-template-columns: 1fr;
        row-gap: 7px;
        margin-bottom: 16px;
    }

}

/* ========================================
   PRODUCT BUTTONS
======================================== */

.product-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
}


/* ========================================
   ENQUIRY BUTTON
======================================== */

.product-buttons .enquiry-btn {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;

    height: 46px;
    min-height: 46px;

    margin: 0;
    padding: 0 18px;

    border: 1px solid #d71920;
    border-radius: 6px;

    background: #d71920;
    color: #fff;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    white-space: nowrap;

    transition: all .3s ease;
}

.product-buttons .enquiry-btn:hover {
    background: #111;
    border-color: #111;
}

.product-buttons .enquiry-btn.added {
    background: #111;
    border-color: #111;
}


/* ========================================
   DOWNLOAD PDF BUTTON
======================================== */

.product-buttons .download-pdf-btn {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;

    height: 46px;

    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #f6f7f8;
    color: #d71920;

    border: 1px solid #d71920;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: all .3s ease;
}

.product-buttons .download-pdf-btn i {
    font-size: 16px;
}

.product-buttons .download-pdf-btn:hover {
    background: #d71920;
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(215, 25, 32, .18);
}




.enquiry-product-brand {
    display: inline-block;
    margin-top: 4px;
    color: #d71920 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
}


/* ========================================
   HORIZONTAL PRODUCT BUTTON WIDTH
======================================== */

.product-card.horizontal-product .product-buttons {
    width: auto;
    max-width: 420px;
}

.product-card.horizontal-product .enquiry-btn {
    width: 240px;
    max-width: 240px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 575px) {

    .product-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .product-card.horizontal-product .product-buttons {
        max-width: 100%;
    }

    .product-buttons .enquiry-btn,
    .product-buttons .download-pdf-btn {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
    }

}


/* =========================
   ENQUIRY PANEL
========================== */

.enquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 998;
}

.enquiry-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 430px;
    max-width: 92%;
    height: 100vh;
    background: #fff;
    z-index: 999;
    box-shadow: -10px 0 35px rgba(0,0,0,.15);
    transition: .4s ease;
    display: flex;
    flex-direction: column;
}

.enquiry-panel.active {
    right: 0;
}

.enquiry-header {
    padding: 22px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.enquiry-header h3 {
    font-size: 20px;
    margin: 0;
}

.enquiry-close {
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.enquiry-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.enquiry-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.enquiry-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
}

.enquiry-item-info {
    flex: 1;
}

.enquiry-item-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.enquiry-item-info span {
    font-size: 12px;
    color: #d71920;
}

.remove-enquiry {
    border: 0;
    background: transparent;
    color: #999;
    cursor: pointer;
    align-self: flex-start;
}

.remove-enquiry:hover {
    color: #d71920;
}

.empty-enquiry {
    text-align: center;
    color: #777;
    padding: 60px 20px;
}

.enquiry-footer {
    padding: 18px;
    border-top: 1px solid #eee;
}

.send-enquiry-btn {
    width: 100%;
    height: 48px;
    border: 0;
    background: #d71920;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
}

.send-enquiry-btn:hover {
    background: #111;
}


/* =========================
   ENQUIRY PANEL SCROLLBAR
========================== */

.enquiry-items::-webkit-scrollbar {
    width: 6px;
}

.enquiry-items::-webkit-scrollbar-track {
    background: #f2f2f2;
}

.enquiry-items::-webkit-scrollbar-thumb {
    background: #d71920;
    border-radius: 10px;
}

.enquiry-items::-webkit-scrollbar-thumb:hover {
    background: #111;
}


/* =========================
   HEADER CART HOVER
========================== */

.header-cart:hover {
    color: #d71920;
}

.header-cart:hover i {
    color: #d71920;
}

.cart-count {
    transition: .25s ease;
}

.header-cart:hover .cart-count {
    background: #111;
}


/* =========================
   RESPONSIVE
========================== */

@media (max-width: 1100px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-layout {
        grid-template-columns: 250px 1fr;
    }

}


@media (max-width: 767px) {

    .product-header {
        padding: 0 20px;
    }

    .product-logo img {
        max-width: 190px;
    }

    .header-cart span {
        display: none;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .product-sort select {
        width: 100%;
    }

    .enquiry-panel {
        width: 400px;
        max-width: 92%;
    }

}


@media (max-width: 480px) {

    .product-page {
        width: 92%;
        margin-top: 20px;
    }

    .product-logo img {
        max-width: 170px;
    }

    .product-image {
        height: 210px;
    }

    .category-title {
        font-size: 19px;
    }

    .enquiry-panel {
        width: 100%;
        max-width: 100%;
    }

}


/* =========================================================
   HORIZONTAL PRODUCT LIST
   One Product Per Row
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card.horizontal-product {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 200px;
    border: 1px solid #d4dfe6;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: .3s ease;
}

.product-card.horizontal-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    border-color: #d71920;
}

/* Product image - left side */
.product-card.horizontal-product .product-image {
    height: 100%;
    min-height: 200px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #cde0f7;
    border-bottom: 0;
    border-right: 1px solid #e1e7eb;
}

.product-card.horizontal-product .product-image img {
    width: 100%;
    height: 100%;
    max-height: 210px;
    object-fit: contain;
}

/* Product details - right side */
.product-card.horizontal-product .product-info {
    min-width: 0;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card.horizontal-product .product-code {
    margin-bottom: 9px;
    font-size: 12px;
}

.product-card.horizontal-product .product-name {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.1px;
    word-spacing: 1px;
}

.product-card.horizontal-product .product-description {
    max-width: 720px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.product-card.horizontal-product .product-price {
    margin-bottom: 18px;
    font-size: 18px;
}

.product-card.horizontal-product .enquiry-btn {
    width: 240px;
    max-width: 100%;
    /*margin-top: 8px;*/
}

/* Product action icon */
.product-card.horizontal-product .product-actions {
    right: 18px;
    bottom: 18px;
}

/* Keep only one product per row at all desktop widths */
@media (max-width: 1100px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card.horizontal-product {
        grid-template-columns: 260px minmax(0, 1fr);
    }

}

/* Tablet */
@media (max-width: 767px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card.horizontal-product {
        grid-template-columns: 220px minmax(0, 1fr);
        min-height: 220px;
    }

    .product-card.horizontal-product .product-image {
        min-height: 220px;
        padding: 18px;
    }

    .product-card.horizontal-product .product-info {
        padding: 22px;
    }

    .product-card.horizontal-product .product-name {
        font-size: 18px;
    }

}

/* Mobile - stack image and details */
@media (max-width: 575px) {

    .product-card.horizontal-product {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .product-card.horizontal-product .product-image {
        min-height: 210px;
        height: 210px;
        border-right: 0;
        border-bottom: 1px solid #e1e7eb;
        padding: 20px;
    }

    .product-card.horizontal-product .product-image img {
        max-height: 175px;
    }

    .product-card.horizontal-product .product-info {
        padding: 20px;
    }

    .product-card.horizontal-product .product-name {
        font-size: 17px;
    }

    .product-card.horizontal-product .enquiry-btn {
        width: 100%;
    }

}


/***************************************************************************************************************************************************************************/


/* ========================================
   PRODUCT IMAGE LIGHTBOX
======================================== */

.product-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
    transition: opacity .3s ease, visibility .3s ease;
}

.product-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-lightbox-inner {
    position: relative;
    width: min(850px, 92vw);
    height: min(720px, 88vh);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 45px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .35);
    transform: scale(.92);
    transition: transform .3s ease;
}

.product-lightbox.active .product-lightbox-inner {
    transform: scale(1);
}

.product-lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #d71920;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
    transition: .25s ease;
}

.product-lightbox-close:hover {
    background: #111;
    transform: rotate(90deg);
}

.product-action-btn {
    cursor: pointer;
}

.product-view-btn {
    transition: .3s ease;
}

.product-view-btn:hover {
    background: #d71920;
    color: #fff;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 575px) {

    .product-lightbox {
        padding: 15px;
    }

    .product-lightbox-inner {
        width: 100%;
        height: 70vh;
        padding: 35px 20px 20px;
    }

    .product-lightbox-close {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
    }

}





/*********************PRODUCT DETAIL PAGE***********************************************************************************************************************************************************************************************************************************************/

/* =====================================================
   TECHNICAL SYSTEMS
   PRODUCT DETAIL PAGE
===================================================== */


/* =====================================================
   MAIN SECTION
===================================================== */

.product-detail-section {
    padding: 50px 0 50px;
    background: #f7f8fa;
}



/* =====================================================
   PRODUCT CARD
===================================================== */

.product-detail-card {
    display: grid;
    grid-template-columns: 48% 52%;
    background: #fff;
    border: 1px solid #e3e6e9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0,0,0,.09);
}



/* =====================================================
   GALLERY
===================================================== */

.product-gallery {
    padding: 35px;
    background: #f1f5f8;
    border-right: 1px solid #e5e5e5;
}

.product-main-image {
    height: 430px;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 25px;
    transition: .3s ease;
}

.product-main-image img:hover {
    transform: scale(1.04);
}


/* =====================================================
   PRODUCT INFORMATION
===================================================== */

.product-information {
    padding: 40px;
}

.product-brand {
    display: inline-block;
    margin-bottom: 12px;
    color: #d71920;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.product-brand span {
    color: #d71920;
}

.product-information h1 {
    margin: 0 0 12px;
    color: #111;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    font-family: inherit;
}

.product-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    color: #777;
}

.product-meta strong {
    color: #111;
}

.product-short-description {
    margin: 20px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}



/* =====================================================
   ACTION BOX
===================================================== */

.product-action-box {
    margin-top: 25px;
    padding: 20px;
    background: #f7f8fa;
    border: 1px solid #e4e7ea;
    border-radius: 8px;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.product-quantity label {
    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.quantity-control {
    display: flex;
    align-items: center;
    height: 42px;
    border: 1px solid #d8dde1;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.quantity-control button {
    width: 40px;
    height: 42px;
    border: 0;
    background: #fff;
    color: #111;
    font-size: 20px;
    cursor: pointer;
    transition: .2s ease;
}

.quantity-control button:hover {
    background: #d71920;
    color: #fff;
}

.quantity-control input {
    width: 50px;
    height: 42px;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    outline: none;
}



/* =====================================================
   BUTTONS
===================================================== */

.product-buttons {
    display: flex;
    gap: 12px;
}

.detail-enquiry-btn,
.detail-pdf-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: .3s ease;
}

.detail-enquiry-btn {
    flex: 1;
    border: 1px solid #d71920;
    background: #d71920;
    color: #fff;
}

.detail-enquiry-btn:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.detail-enquiry-btn.added {
    background: #111;
    border-color: #111;
}

.detail-enquiry-btn.added:hover {
    background: #d71920;
    border-color: #d71920;
}

.detail-pdf-btn {
    border: 1px solid #d71920;
    background: #fff;
    color: #d71920;
}

.detail-pdf-btn:hover {
    background: #d71920;
    color: #fff;
}



/* =====================================================
   SERVICE INFO
===================================================== */

.product-service-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 25px;
}

.product-service-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 13px;
}

.product-service-info i {
    color: #d71920;
    width: 18px;
}



/* =====================================================
   PRODUCT INFORMATION TABS
===================================================== */

.product-information-section {
    margin-top: 35px;
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 12px;
    overflow: hidden;
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    background: #fafafa;
}

.product-tab {
    position: relative;
    padding: 18px 25px;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.product-tab::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -1px;
    height: 2px;
    background: #d71920;
    transform: scaleX(0);
    transition: .25s ease;
}

.product-tab.active {
    color: #d71920;
}

.product-tab.active::after {
    transform: scaleX(1);
}

.product-tab-content {
    display: none;
    padding: 35px;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h2 {
    margin: 0 0 15px;
    color: #111;
    font-size: 23px;
    font-weight: 700;
    font-family: inherit;
}

.product-tab-content p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}



/* =====================================================
   FEATURES
===================================================== */

.feature-list,
.application-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li,
.application-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #444;
    font-size: 15px;
}

.feature-list li::before,
.application-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #d71920;
    font-weight: 700;
}



/* =====================================================
   SPECIFICATIONS
===================================================== */

.specification-table {
    border: 1px solid #e2e5e8;
    border-radius: 6px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 35% 65%;
    border-bottom: 1px solid #e5e5e5;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-title {
    padding: 13px 15px;
    background: #f5f6f7;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.spec-value {
    padding: 13px 15px;
    color: #555;
    font-size: 14px;
}



/* =====================================================
   HELP BOX
===================================================== */

.product-help-box {
    margin-top: 30px;
    padding: 25px 30px;
    background: #111;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-help-box span {
    color: #ffc979;
    font-size: 15px;
    font-weight: 600;
    text-transform: inherit;
}

.product-help-box h3 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 24px;
    font-family: inherit;
}

.product-help-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #d71920;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s ease;
}

.product-help-box a:hover {
    background: #fff;
    color: #111;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        border-right: 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .product-main-image {
        height: 380px;
    }

}


@media (max-width: 767px) {

    .product-detail-section {
        padding: 35px 0 50px;
    }

    .product-gallery {
        padding: 20px;
    }

    .product-information {
        padding: 25px 20px;
    }

    .product-information h1 {
        font-size: 25px;
    }

    .product-main-image {
        height: 300px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .detail-enquiry-btn,
    .detail-pdf-btn {
        width: 100%;
    }

    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-tab {
        padding: 15px 18px;
    }

    .product-tab-content {
        padding: 25px 20px;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-title {
        border-bottom: 1px solid #e5e5e5;
    }

    .product-help-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 575px) {

    .product-main-image {
        height: 260px;
    }

    .product-information h1 {
        font-size: 23px;
    }

    .product-action-box {
        padding: 15px;
    }

    .product-quantity {
        justify-content: space-between;
    }

}



/***************************************************************************************************************************************************************************************************************************************************************************************/

/* ========================================
   PRODUCT DETAIL TABS
======================================== */

.product-details-tabs {
    margin-top: 35px;
    background: #fff;
    border: 1px solid #dfe4e8;
    border-radius: 14px;
    overflow: hidden;
}


/* ========================================
   TAB NAVIGATION
======================================== */

.product-tabs-nav {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e5e8;
    background: #fff;
    padding: 0 20px;
    gap: 5px;
}

.product-tab-btn {
    position: relative;
    border: 0;
    background: transparent;
    padding: 20px 25px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
    font-family: inherit;
}

.product-tab-btn::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 2px;
    background: #d71920;
    transform: scaleX(0);
    transform-origin: center;
    transition: .3s ease;
}

.product-tab-btn:hover {
    color: #d71920;
}

.product-tab-btn.active {
    color: #d71920;
}

.product-tab-btn.active::after {
    transform: scaleX(1);
}


/* ========================================
   TAB CONTENT
======================================== */

.product-tabs-content {
    padding: 32px 35px;
}

.product-tab-panel {
    display: none;
    animation: productTabFade .3s ease;
}

.product-tab-panel.active {
    display: block;
}

@keyframes productTabFade {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ========================================
   TAB HEADING
======================================== */

.product-tab-panel h2 {
    margin: 0 0 15px;
    color: #111;
    font-size: 23px;
    font-weight: 700;
    font-family: inherit;
}

.product-tab-panel p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}


/* ========================================
   FEATURE LIST
======================================== */

.product-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 35px;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.product-feature-list li i {
    flex: 0 0 auto;
    margin-top: 5px;

    color: #d71920;
    font-size: 11px;
}


/* ========================================
   SPECIFICATION TABLE
======================================== */

.product-specification-table {
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 260px 1fr;

    min-height: 48px;

    border-bottom: 1px solid #e5e8ea;
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-row span,
.spec-row strong {
    padding: 13px 16px;
}

.spec-row span {
    background: #f6f7f8;
    color: #555;
    font-size: 14px;
    font-weight: 500;
}

.spec-row strong {
    color: #222;
    font-size: 14px;
    font-weight: 600;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 767px) {

    .product-tabs-nav {
        padding: 0;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .product-tab-btn {
        padding: 16px 18px;
        font-size: 13px;
        white-space: nowrap;
    }

    .product-tabs-content {
        padding: 25px 20px;
    }

    .product-tab-panel h2 {
        font-size: 20px;
    }

    .product-feature-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-row span {
        border-bottom: 1px solid #e5e8ea;
        font-weight: 700;
    }

}