
/* ==========================================
   Products Page Banner
========================================== */

.products-page-banner{
    padding:70px 0;
    color:#fff;
    text-align:center;
    background:linear-gradient(135deg,#198754,#0d6efd);
}

.products-page-subtitle{
    display:inline-block;
    margin-bottom:12px;
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    opacity:.95;
}

.products-page-banner h1{
    margin-bottom:16px;
    font-size:50px;
    font-weight:700;
}

.products-page-banner p{
    max-width:760px;
    margin:0 auto;
    font-size:18px;
    line-height:1.8;
    opacity:.95;
}


/* ==========================================
   Products Section
========================================== */

.all-products-section{
    background:#f7f9fc;
}

.products-heading-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:35px;
    padding:25px 28px;
    background:#fff;
    border:1px solid #e9edf3;
    border-radius:16px;
    box-shadow:0 8px 25px rgba(15,23,42,.06);
}

.products-small-title{
    display:block;
    margin-bottom:6px;
    color:#198754;
    font-size:13px;
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
}

.products-heading-wrapper h2{
    margin-bottom:5px;
    color:#1f2937;
    font-size:32px;
    font-weight:700;
}

.products-heading-wrapper p{
    margin:0;
    color:#6b7280;
}


/* ==========================================
   Product Card
========================================== */

.all-product-card{
    position:relative;
    display:flex;
    flex-direction:column;
    height:100%;
    overflow:hidden;
    background:#fff;
    border:1px solid #e7ebf0;
    border-radius:18px;
    box-shadow:0 9px 25px rgba(15,23,42,.08);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.all-product-card:hover{
    transform:translateY(-9px);
    box-shadow:0 18px 42px rgba(15,23,42,.15);
}

.all-product-card::after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    width:0;
    height:4px;
    margin:auto;
    background:#ff6a00;
    transition:width .35s ease;
}

.all-product-card:hover::after{
    width:100%;
}


/* ==========================================
   Product Image
========================================== */

.all-product-image-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    height:290px;
    padding:24px;
    overflow:hidden;
    background:#fff;
    border-bottom:1px solid #edf0f4;
}

.all-product-image{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .4s ease;
}

.all-product-card:hover .all-product-image{
    transform:scale(1.06);
}


/* ==========================================
   Product Content
========================================== */

.all-product-content{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:25px;
}

.all-product-content h3{
    margin-bottom:14px;
    font-size:21px;
    font-weight:700;
    line-height:1.45;
}

.all-product-content h3 a{
    color:#1f2937;
    text-decoration:none;
    transition:color .3s ease;
}

.all-product-content h3 a:hover{
    color:#1a2db8;
}


/* Product code */

.all-product-code{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:15px;
    color:#667085;
    font-size:13px;
}

.all-product-code i{
    margin-right:3px;
    color:#198754;
}

.all-product-code strong{
    color:#344054;
}


/* Description */

.all-product-description{
    margin-bottom:24px;
    color:#667085;
    font-size:15px;
    line-height:1.75;
}


/* ==========================================
   View Details Button
========================================== */

.all-product-footer{
    margin-top:auto;
}

.all-product-details-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:12px 22px;
    color:#1a2db8;
    font-weight:700;
    text-decoration:none;
    border:2px solid #1a2db8;
    border-radius:30px;
    transition:
        color .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.all-product-details-btn:hover{
    color:#fff;
    background:#ff6a00;
    border-color:#ff6a00;
}

.all-product-details-btn i{
    transition:transform .3s ease;
}

.all-product-details-btn:hover i{
    transform:translateX(5px);
}


/* ==========================================
   Empty Products
========================================== */

.products-empty-box{
    padding:75px 25px;
    text-align:center;
    background:#fff;
    border:1px solid #e8ecf1;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.products-empty-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:85px;
    height:85px;
    margin:0 auto 22px;
    color:#198754;
    font-size:38px;
    background:#ecf8f2;
    border-radius:50%;
}

.products-empty-box h3{
    margin-bottom:10px;
    color:#1f2937;
    font-weight:700;
}

.products-empty-box p{
    margin:0;
    color:#6b7280;
}


/* ==========================================
   Responsive
========================================== */

@media(max-width:991px){

    .products-page-banner{
        padding:60px 0;
    }

    .products-page-banner h1{
        font-size:42px;
    }

    .all-product-image-wrapper{
        height:265px;
    }

}

@media(max-width:767px){

    .products-page-banner{
        padding:50px 20px;
    }

    .products-page-banner h1{
        font-size:36px;
    }

    .products-page-banner p{
        font-size:16px;
    }

    .products-heading-wrapper{
        padding:20px;
    }

    .products-heading-wrapper h2{
        font-size:27px;
    }

    .all-product-image-wrapper{
        height:250px;
    }

    .all-product-content{
        padding:22px;
    }

}

@media(max-width:575px){

    .products-page-banner h1{
        font-size:32px;
    }

    .all-product-image-wrapper{
        height:240px;
    }

}
/* ==========================================
   Product Search
========================================== */

.products-heading-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.products-heading-content{
    flex:1;
}

.products-search-form{
    width:100%;
    max-width:430px;
}

.products-search-box{
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#f8fafc;
    border:1px solid #d9e0e8;
    border-radius:30px;
    transition:.3s;
}

.products-search-box:focus-within{
    border-color:#1a2db8;
    box-shadow:0 0 0 4px rgba(26,45,184,.08);
}

.products-search-box > i{
    margin-left:18px;
    color:#667085;
    font-size:16px;
}

.products-search-box input{
    min-width:0;
    flex:1;
    padding:13px 12px;
    color:#222;
    border:0;
    outline:0;
    background:transparent;
}

.products-search-box input::placeholder{
    color:#98a2b3;
}

.products-search-box button{
    align-self:stretch;
    padding:0 24px;
    color:#fff;
    font-weight:600;
    border:0;
    background:#1a2db8;
    transition:.3s;
}

.products-search-box button:hover{
    background:#198754;
}

.products-clear-search{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:10px;
    color:#dc3545;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.products-clear-search:hover{
    color:#b02a37;
}

.products-reset-button{
    display:inline-block;
    margin-top:10px;
    padding:12px 26px;
    color:#fff;
    font-weight:600;
    text-decoration:none;
    background:#1a2db8;
    border-radius:30px;
    transition:.3s;
}

.products-reset-button:hover{
    color:#fff;
    background:#198754;
}


/* Search Responsive */

@media(max-width:991px){

    .products-heading-wrapper{
        align-items:stretch;
        flex-direction:column;
    }

    .products-search-form{
        max-width:100%;
    }

}

@media(max-width:575px){

    .products-search-box{
        align-items:stretch;
        border-radius:12px;
    }

    .products-search-box button{
        padding:0 16px;
    }

}

/* ==========================================================
   PRODUCT DETAILS PAGE
========================================================== */

.product-gallery{
    position:sticky;
    top:120px;
}

.product-image-box{
    display:flex;
    align-items:center;
    justify-content:center;
    height:540px;
    padding:22px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.product-main-image{
    width:100%;
    height:100%;
    object-fit:contain;
    cursor:zoom-in;
    transition:
        opacity .2s ease,
        transform .35s ease;
}

.product-image-box:hover .product-main-image{
    transform:scale(1.05);
}

.product-thumbnail-list{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-top:14px;
}

.product-thumbnail-button{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:1 / 1;
    padding:8px;
    overflow:hidden;
    background:#fff;
    border:2px solid #e5e7eb;
    border-radius:12px;
    box-shadow:0 5px 16px rgba(15,23,42,.05);
    cursor:pointer;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.product-thumbnail-button:hover{
    transform:translateY(-2px);
    border-color:#94a3b8;
    box-shadow:0 8px 20px rgba(15,23,42,.1);
}

.product-thumbnail-button.is-active{
    border-color:#198754;
    box-shadow:
        0 0 0 3px rgba(25,135,84,.14),
        0 8px 20px rgba(15,23,42,.1);
}

.product-thumbnail-button:focus-visible{
    outline:3px solid rgba(13,110,253,.28);
    outline-offset:2px;
}

.product-thumbnail-button img{
    width:100%;
    height:100%;
    object-fit:contain;
}


/* ==========================================
   Product Information Table
========================================== */

.product-info-table{

    margin-top:20px;

}

.product-info-table th{

    width:35%;

    font-weight:600;

    color:#1f2937;

    background:#f8fafc;

}

.product-info-table td{

    vertical-align:middle;

}

.product-info-table th,
.product-info-table td{

    padding:14px 18px;

    border-color:#eef2f7;

}

.product-info-table i{

    font-size:16px;

}
/* ======================================
   Product Details Information Table
====================================== */

.product-info table{
    border-radius:12px;
    overflow:hidden;
}

.product-info table th{
    width:220px;
    background:#f8fafc;
    color:#1e293b;
    font-weight:600;
}

.product-info table th,
.product-info table td{
    padding:15px 18px;
    vertical-align:middle;
}

.product-info table tr:hover{
    background:#f8fbff;
}

.product-info table i{
    font-size:16px;
}
/*=========================================
PRODUCT HEADER
=========================================*/

.product-header{

    margin-bottom:35px;

}



.product-title{

    font-size:42px;

    font-weight:700;

    color:#17233d;

    margin-bottom:15px;

    line-height:1.2;

}

.product-code{

    font-size:17px;

    color:#555;

    margin-bottom:12px;

}

.product-code i{

    color:#0d6efd;

    margin-right:8px;

}

.btn-download{
    background:#198754;
    color:#fff;
    font-weight:600;
    padding:12px 26px;
    border-radius:8px;
}

.btn-download:hover{
    background:#157347;
}
/* ===============================
   Product Overview
================================= */

.product-description{
    background:#ffffff;
    border:1px solid #e9ecef;
    border-radius:12px;
    padding:25px;
    box-shadow:0 8px 24px rgba(0,0,0,.04);
}

.description-text{
    color:#555;
    line-height:1.9;
    font-size:15px;
    text-align:justify;
}
/*=========================================
      PRODUCT FEATURES
=========================================*/

.feature-list{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.feature-card{

    display:flex;
    align-items:center;

    padding:12px 16px;

    border:1px solid #e8edf3;
    border-radius:10px;

    background:#fff;

    transition:.3s ease;

}

.feature-card:hover{

    transform:translateX(6px);

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    border-color:#198754;

}

.feature-icon{

    width:28px;
    height:28px;

    background:#198754;
    color:#fff;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-right:14px;

    flex-shrink:0;

}

.feature-icon i{

    font-size:12px;

}

.feature-text{

    font-size:15px;

    color:#444;

    line-height:1.8;

    font-weight:500;

}
/*=========================================
        PRODUCT SPECIFICATIONS
=========================================*/

.specification-card{

    background:#ffffff;

    border:1px solid #e9ecef;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.04);

}

.specification-table{

    margin:0;

    border-collapse:collapse;

}

.specification-table thead th{

    background:#1f2937;

    color:#ffffff;

    font-size:15px;

    font-weight:600;

    padding:16px 20px;

    border:none;

}

.specification-table tbody td{

    padding:14px 20px;

    vertical-align:middle;

    border-color:#edf2f7;

    font-size:14px;

}

.specification-table tbody tr:nth-child(even){

    background:#f8fafc;

}

.specification-table tbody tr:hover{

    background:#eef7ff;

    transition:.25s;

}

.specification-table tbody td:first-child{

    width:40%;

    font-weight:600;

    color:#2d3748;

}

.specification-table tbody td:last-child{

    color:#555;

}
/* ==========================================================
   PRODUCT DETAILS — SMART CONTENT RENDERING
========================================================== */

.product-details-section{
    background:#f8fafc;
}

.product-info-card{
    padding:24px;
    background:#fff;
    border:1px solid #e9edf3;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.product-info-card .product-info-table{
    margin-top:0;
    margin-bottom:0;
}

.product-fixed-section,
.product-dynamic-section{
    margin-top:48px;
}

.product-dynamic-text-card{
    padding:26px;
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.product-dynamic-text{
    color:#4b5563;
    font-size:15px;
    line-height:1.9;
    overflow-wrap:anywhere;
}

.product-dynamic-list{
    display:grid;
    gap:14px;
}

.product-dynamic-list-item{
    display:flex;
    align-items:flex-start;
    gap:13px;
    padding:15px 18px;
    color:#374151;
    line-height:1.7;
    background:#fff;
    border:1px solid #e7ebf0;
    border-radius:11px;
    box-shadow:0 5px 16px rgba(15,23,42,.04);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.product-dynamic-list-item:hover{
    transform:translateX(5px);
    border-color:#198754;
    box-shadow:0 9px 22px rgba(15,23,42,.08);
}

.product-dynamic-list-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    margin-top:1px;
    flex:0 0 26px;
    color:#fff;
    font-size:11px;
    background:#198754;
    border-radius:50%;
}

.product-dynamic-table-card{
    overflow:hidden;
    background:#fff;
    border:1px solid #e5eaf0;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.product-dynamic-table{
    min-width:640px;
    margin:0;
    border-collapse:separate;
    border-spacing:0;
}

.product-dynamic-table thead th{
    padding:16px 18px;
    color:#fff;
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    background:#1f2937;
    border:0;
}

.product-dynamic-table tbody td{
    padding:14px 18px;
    color:#4b5563;
    font-size:14px;
    line-height:1.6;
    vertical-align:top;
    border-color:#edf1f5;
    overflow-wrap:anywhere;
}

.product-dynamic-table tbody tr:nth-child(even){
    background:#f8fafc;
}

.product-dynamic-table tbody tr:hover{
    background:#eef7ff;
}

.product-not-found{
    padding:70px 25px;
    text-align:center;
    background:#fff;
    border:1px solid #e7ebf0;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
}

.product-not-found > i{
    margin-bottom:18px;
    color:#198754;
    font-size:48px;
}

.product-not-found h3{
    margin:0;
    color:#1f2937;
    font-weight:700;
}

@media(max-width:991px){

    .product-gallery{
        position:static;
        top:auto;
    }

    .product-image-box{
        height:480px;
    }

    .product-thumbnail-list{
        grid-template-columns:repeat(6,minmax(0,1fr));
    }

}

@media(max-width:767px){

    .product-title{
        font-size:34px;
    }

    .product-info-card,
    .product-description,
    .product-dynamic-text-card{
        padding:20px;
    }

    .product-fixed-section,
    .product-dynamic-section{
        margin-top:38px;
    }

    .product-image-box{
        height:400px;
    }

    .product-thumbnail-list{
        grid-template-columns:repeat(5,minmax(0,1fr));
    }

}

@media(max-width:575px){

    .product-title{
        font-size:30px;
    }

    .product-image-box{
        height:320px;
        padding:14px;
    }

    .product-thumbnail-list{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:9px;
    }

    .product-thumbnail-button{
        padding:6px;
        border-radius:10px;
    }

    .product-info-table th,
    .product-info-table td{
        padding:12px;
    }

    .product-dynamic-list-item{
        padding:13px 14px;
    }

}
