/* =============================
   Modern Product Filter
============================= */

.productFilter {
    position: sticky;
    top: var(--navbar-height);
    z-index: 998;
    padding: 20px 0;
    transition: all 0.3s ease;
}


.filter-bar {
    background: #a7ffab;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

/* Sticky state */
.filter-bar.sticky {
    position: fixed;
    top: 103px;
    /* adjust to header height */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 999;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Tabs */

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tabs .nav-link {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.filter-tabs .nav-link:hover {
    background: #ffffff;
    color: #16a34a;
}

.filter-tabs .nav-link.active {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

/* Search */

.filter-search {
    position: relative;
}

.filter-search input {
    border-radius: 30px;
    border: 1px solid #eee;
    padding: 8px 40px 8px 15px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.filter-search input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.filter-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Responsive */

@media(max-width: 992px) {
    .filter-bar {
        flex-direction: column;
        border-radius: 20px;
    }

    .filter-bar.sticky {
        width: 95%;
        top: 70px;
    }
}

/* =============================
   PRODUCT PAGE PRODUCT CARDS
============================= */
.product-card {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-image {
    background: #ffffff;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.product-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 20px;
    text-align: center;
    background: #f5f7f6;
}

.product-content h6 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.product-card:hover h6 {
    color: #0aa34f;
}

.view-btn {
    font-size: 14px;
    color: #0aa34f;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .view-btn {
    opacity: 1;
    letter-spacing: 1px;
}



/* =========================================
   PRODUCT DETAILS SECTION
========================================= */

.product-details-section {
    padding: 70px 0;
    background: #efefef;
}

/* ---------- Typography ---------- */

.product-details-section p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #555;
}

.product-details-section h4 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.product-details-section nav {
    margin-bottom: 30px;
}

.product-details-section .breadcrumb a {
    font-size: .875rem;
    font-weight: 400;
    text-decoration: none;
    color: #666;
}

.product-details-section .breadcrumb a:hover {
    color: #0d6efd;
}


/* ---------- Product Image ---------- */

.product-img-wrap {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.productDisImg {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

/* ---------- Product Info Box ---------- */

.product-info-box {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    margin-bottom: 8px;
}

.product-info-box p:first-child {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}

.product-info-box p:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}

/* ---------- Product Navigation ---------- */

.product-nav {
    background: #fff;
    border-bottom: 1px solid #eeeeee;
    padding: 12px 0;
    position: sticky;
    top: 80px;
    z-index: 20;
}

.product-tabs .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-tabs .nav-link:hover {
    background: #f1f3f5;
}

.product-tabs .nav-link.active {
    background: #02e057;
    color: #fff;
}

/* ---------- Mobile Dropdown ---------- */

.product-dropdown {
    font-size: 0.9rem;
    padding: 8px 14px;
}

/* ---------- Section Spacing ---------- */

.productDiscription>div {
    margin-top: 60px;
}

.productDiscription p {
    max-width: 900px;
    margin: auto;
}

/* ---------- Summary ---------- */

#summary p {
    font-size: 0.95rem;
    color: #555;
}

/* ---------- Features ---------- */

.featuresList {
    max-width: 900px;
    margin: auto;
}

.featuresList li {
    margin-bottom: 18px;
}

.featuresList li p:first-child {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
}

.featuresList li p:last-child {
    font-size: 0.9rem;
    color: #666;
}

/* ---------- Specification Section ---------- */

#specifications {
    background: #fafafa;
    padding: 40px 30px;
    border-radius: 10px;
}

/* ---------- Table Styling ---------- */

.product-details-section table {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.product-details-section table th {
    background: #f5f6f7;
    font-weight: 600;
    color: #333;
}

.product-details-section table td {
    color: #555;
}

.product-details-section .table {
    border-radius: 8px;
    overflow: hidden;
}

/* ---------- Section Category Titles ---------- */

.product-details-section .row>.col-lg-3 p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
}

/* ---------- Dimensions ---------- */

#dimensions table {
    max-width: 500px;
    margin: auto;
}

/* ---------- Download Button ---------- */

.productDnld {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0d6efd;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.productDnld:hover {
    background: #084298;
    color: #fff;
}

/* ---------- Owl Carousel Navigation ---------- */

.product-image-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-carousel .owl-prev {
    left: 12px;
}

.product-image-carousel .owl-next {
    right: 12px;
}

.product-image-carousel .owl-nav span {
    font-size: 22px;
}

/* ---------- Responsive ---------- */

@media (max-width:992px) {

    .product-details-section {
        padding: 50px 0;
    }

    .product-img-wrap {
        padding: 20px;
    }

    .productDisImg {
        max-height: 320px;
    }

    .product-nav {
        top: 70px;
    }

}

@media (max-width:768px) {

    .product-details-section h4 {
        font-size: 1.25rem;
    }

    .product-details-section p {
        font-size: 0.9rem;
    }

    .featuresList li p:first-child {
        font-size: 0.9rem;
    }

    .featuresList li p:last-child {
        font-size: 0.88rem;
    }

    #specifications {
        padding: 25px 15px;
    }

}