/* ===== BANNER ===== */
.cat-banner {
    height: 380px;
    background-size: cover;
    background-position: center;
}

/* ===== HEADING + DESCRIPTION ===== */
.cat-heading-section {
    padding: 50px 20px;
    background: #fff;
}

.cat-heading-section .container {
    max-width: 1200px;
    margin: auto;
}

.cat-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: #000;
}

.cat-desc {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}


/* ===== SUB CATEGORIES ===== */


/* ===== SUB CATEGORY SECTION ===== */
.subcat-section {
    padding: 60px 20px;
    background: #f7f7f7;
}

/* GRID WITH 300PX BOX */
.subcat-section .container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    justify-content: center;
    gap: 30px;
}

/* BOX */
.subcat-box {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* TITLE */
.subcat-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #000;
}

/* IMAGE WRAPPER */
.subcat-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

/* HOVER EFFECTS */
.subcat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.subcat-box:hover img {
    transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
    .subcat-section .container {
        grid-template-columns: 1fr;
    }
}




/* BREADCRUMB */
.breadcrumb-section {
    background: #f5f5f5;
    padding: 12px 0;
}

/* SHOP LAYOUT */
.shop-layout {
    padding: 40px 20px;
}

.shop-layout .container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* SIDEBAR */
.shop-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

/* PRODUCTS GRID */
.shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* PRODUCT CARD */
.shop-products ul.products li.product {
    text-align: center;
}

.shop-products ul.products li.product img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.shop-products ul.products li.product h2 {
    font-size: 16px;
    margin-top: 10px;
}



/* SHOP LAYOUT */
.shop-layout .container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* PRODUCT GRID */
.shop-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* PRODUCT IMAGE */
.shop-products ul.products li.product img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* PRODUCT NAME */
.shop-products ul.products li.product h2 {
    font-size: 16px;
    margin-top: 10px;
}

/* ACF SUB HEADING */
.product-sub-heading {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

/* ENQUIRY BUTTON */
.product-enquiry-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}




/* PRODUCT CARD */
.shop-products ul.products li.product {
    text-align: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.shop-products ul.products li.product:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* IMAGE SIZE */
.shop-products ul.products li.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

/* PRODUCT NAME */
.shop-products ul.products li.product h2 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 12px;
    color: #000;
}

/* SUB HEADING (ACF) */
.product-sub-heading {
    font-size: 13px;
    color: #666;
    margin: 6px 0;
}






/* ===============================
   SINGLE PRODUCT LAYOUT-------------------------------------------------------------------------------
================================ */

.single-product-wrap {
    padding: 60px 0;
    background: #fff;
}

.single-product-wrap .container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* LEFT IMAGE */


/* Product Image Box */
.product-image-box {
    width: 100%;
    height: 420px;                 /* 🔧 FIXED HEIGHT */
    /* background: #f8f9fa; */
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

/* Image */
.product-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* Hover Effect */
.product-image-box:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Zoom Image on Hover */
.product-image-box:hover .product-main-img {
    transform: scale(1.08);
}

/* RIGHT CONTENT */
.product-right {
    width: 55%;
}

.product-right h1 {
    font-size: 34px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
}

/* ATTRIBUTES */
.product-attributes {
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.attr-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

.attr-row span {
    font-weight: 600;
    color: #444;
}

.attr-row strong {
    color: #000;
}

/* ENQUIRY BUTTON */
.enquiry-btn {
    margin-top: 30px;
    padding: 14px 35px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.enquiry-btn:hover {
    background: #e53935;
}

/* ===============================
   MODAL POPUP
================================ */

.enquiry-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
}

.enquiry-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.enquiry-modal .modal-box {
    background: #fff;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    border-radius: 6px;
    position: relative;
}

.modal-box h3 {
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .single-product-wrap .container {
        flex-direction: column;
    }

    .product-left,
    .product-right {
        width: 100%;
    }
}



/* single product end ------------------------------------------------------------------------------- */






/* =========================
   RECENT PRODUCTS SLIDER
========================= */

.recentProducts .card {
    height: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

/* SAME IMAGE HEIGHT */
.recentProducts .card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

/* CONTENT ALIGNMENT */
.recentProducts .card h6 {
    min-height: 45px;
    font-weight: 600;
    margin-top: 15px;
}

/* BUTTON */
.recentProducts .btn-outline-danger {
    border-radius: 30px;
    padding: 6px 20px;
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.recentProducts .card:hover {
    box-shadow: 0 12px 25px rgba(229,57,53,0.25);
    transform: translateY(-6px);
}

.recentProducts .card:hover img {
    transform: scale(1.08);
}

.recentProducts .card:hover .btn-outline-danger {
    background-color: #e53935;
    color: #fff;
}

/* SLIDER ARROWS */
.swiper-button-next,
.swiper-button-prev {
    color: #e53935;
}

/* MOBILE FIX */
@media (max-width: 576px) {
    .recentProducts .card img {
        height: 180px;
    }
}






/* Tab styling */

.nav-tabs .nav-link {
    color: #e53935;
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    background-color: #e53935;
    color: #fff;
}

.technical-spec table {
    width: 100%;
    border-collapse: collapse;
}

.technical-spec table td,
.technical-spec table th {
    border: 1px solid #ddd;
    padding: 10px;
}

/* Tab styling End */







/* Color option show images style */

.color-box img {
    max-height: 120px;
    object-fit: contain;
}

.color-box {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
}


/* End */











/* ===========================
   REVIEW FORM STYLING
=========================== */

.custom-reviews-box {
    max-width: 900px;
}

.woocommerce-Reviews {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* Star Rating */
.comment-form-rating {
    margin-bottom: 20px;
}

.comment-form-rating label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.stars {
    font-size: 26px;
}

.stars a {
    color: #ccc !important;
}

.stars a:hover,
.stars a.active {
    color: #e63946 !important;
}

/* Inputs */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit Button */
.comment-form .submit {
    background: #e63946;
    color: #fff;
    padding: 10px 30px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.comment-form .submit:hover {
    background: #c92c3b;
}

/* Review List */
.commentlist {
    list-style: none;
    padding-left: 0;
}

.commentlist li {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment-text {
    margin-top: 10px;
}

.comment-text .meta {
    font-size: 14px;
    color: #666;
}

.star-rating {
    color: #f4c150;
}

/* Mobile */
@media (max-width: 768px) {
    .stars {
        font-size: 22px;
    }
}



/* =========================
   FIX WOOCOMMERCE STAR ICONS
========================= */

/* ==============================
   FORCE WOO STAR ICONS TO APPEAR
============================== */

.woocommerce p.stars,
.woocommerce p.stars a {
    font-family: "WooCommerce" !important;
}

.woocommerce p.stars a {
    position: relative;
    width: 1em;
    height: 1em;
    display: inline-block;
    text-indent: -999em;
    margin-right: 6px;
}

.woocommerce p.stars a::before {
    content: "\e021";
    font-family: "WooCommerce" !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #ccc;
    font-size: 30px;
    text-indent: 0;
}

.woocommerce p.stars a:hover::before,
.woocommerce p.stars a.active::before {
    content: "\e020";
    color: #e63946;
}

.woocommerce p.stars.selected a::before {
    content: "\e020";
    color: #e63946;
}

.woocommerce p.stars.selected a.active ~ a::before {
    content: "\e021";
    color: #ccc;
}








/* cateogory products show styling */


/* ================= SHOP LAYOUT ================= */

#ajax-products ul.products::before,
#ajax-products ul.products::after {
    content: none !important;
    display: none !important;
}

.shop-layout .container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ================= SIDEBAR ================= */
.shop-sidebar {
    width: 260px;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    background: #e53935;
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
    text-transform: uppercase;  
    border-radius: 3px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}

.filter-group input {
    margin-right: 6px;
}

/* ================= PRODUCTS AREA ================= */
.shop-products {
    width: 100%;
}

/* ================= TOP BAR ================= */
.shop-top-bar {
    /* display: grid; */
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 30px;
}

/* Center result count */
.shop-top-bar .woocommerce-result-count {
    text-align: center;
    grid-column: 2;
}

/* Sorting right */
.shop-top-bar .woocommerce-ordering {
    grid-column: 3;
    justify-self: end;
}

/* ================= PRODUCT GRID ================= */
#ajax-products ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* ================= PRODUCT CARD ================= */
#ajax-products li.product {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

#ajax-products li.product:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}

/* Product image */
#ajax-products li.product img {
    transition: transform 0.4s ease;
}

#ajax-products li.product:hover img {
    transform: scale(1.08);
}

/* Product title */
#ajax-products li.product h2 {
    font-size: 14px;
    margin: 15px 0;
    text-transform: uppercase;
}

/* Enquiry / Button */
#ajax-products .button,
#ajax-products .enquiry-btn {
    background: #000;
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 10px;
}

/* ================= AJAX FADE ================= */
#ajax-products {
    transition: opacity 0.3s ease;
}



/* Tablet (2 per row) */
@media (max-width: 991px) {

    .shop-layout .container {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
    }

    #ajax-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (1 per row) */
@media (max-width: 575px) {

    #ajax-products ul.products {
        grid-template-columns: 1fr;
    }

    .shop-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}







.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.subcategory-box {
    text-align: center;
    border: 1px solid #eee;
    padding: 30px 20px;
    transition: all .3s ease;
}

.subcategory-box:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
    transform: translateY(-6px);
}

.subcategory-box img {
    max-width: 180px;
    margin-bottom: 15px;
}

.subcategory-box h3 {
    font-size: 16px;
    text-transform: uppercase;
}


