/* ========================================================
   DATASHEETS PAGE - MODERN DESIGN SYSTEM
   ======================================================== */

/* ==================== SECTION 1: HERO ==================== */
.banner_section {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #EFF6FF 100%);
    padding: 130px 0px 80px 0px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    margin-top: 0;
}

.banner_section h1 {
    margin-bottom: 20px;
}

.banner_section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
}


/* ── SEARCH BAR IN HERO ────────────────────────────── */
.ds-search-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
}

.ds-search-container input {
    width: 100%;
    padding: 18px 60px 18px 30px;
    border-radius: 50px;
    border: 1px solid var(--ma-grey30);
    background: var(--ma-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.ds-search-container input:focus {
    border-color: var(--ma-type-primary);
    box-shadow: 0 10px 30px rgba(3, 70, 148, 0.1);
}

.ds-search-container i {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ma-grey90);
    font-size: 20px;
}

.ds-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ds-stat {
    text-align: center;
}

.ds-stat strong {
    display: block;
    font-size: 28px;
    font-family: var(--ma-font-bold);
    color: var(--ma-type-primary);
    line-height: 1;
    margin-bottom: 5px;
}

.ds-stat span {
    font-size: 12px;
    color: var(--ma-grey130);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--ma-font-medium);
}

/* ==================== SECTION 2: PRODUCT FILTER SYSTEM ==================== */
.product_filter_wrapper {
    padding: 80px 0;
    background-color: var(--ma-white);
}

.filter_sidebar {
    background-color: #F8FAFC;
    border: 1px solid var(--ma-grey30);
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter_group_title {
    font-size: 14px;
    font-family: var(--ma-font-bold);
    color: var(--ma-tag-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ma-grey40);
}

.filter_category {
    margin-bottom: 25px;
}

.filter_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter_item {
    margin-bottom: 8px;
}

.filter_btn_modern {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--ma-grey130);
    padding: 8px 12px;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter_btn_modern:hover {
    background-color: #EFF6FF;
    color: var(--ma-type-primary);
}

.filter_btn_modern.active {
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    font-family: var(--ma-font-semibold);
}

/* ── PRODUCT CARDS ────────────────────────────── */
.product_grid_modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.modern_product_card {
    background-color: var(--ma-white);
    border: 1px solid var(--ma-grey30);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern_product_card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--ma-type-primary);
}

.mp_image_box {
    padding: 30px;
    background-color: #fbfbfb;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mp_image_box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
}

.mp_content_box {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mp_content_box h3 {
    font-size: 18px;
    font-family: var(--ma-font-semibold);
    color: var(--ma-tag-black);
    margin-bottom: 8px;
}

.mp_content_box p {
    font-size: 14px;
    color: var(--ma-grey130);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.mp_actions {
    display: flex;
    gap: 10px;
}

.btn_mp_primary {
    flex: 1;
    padding: 10px;
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-family: var(--ma-font-semibold);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn_mp_primary:hover {
    background-color: var(--ma-type-primaryhoverdark);
    color: var(--ma-white);
}

.btn_mp_outline {
    width: 42px;
    height: 42px;
    border: 1px solid var(--ma-grey50);
    color: var(--ma-tag-black);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.btn_mp_outline:hover {
    background-color: #f0f0f0;
    border-color: var(--ma-grey90);
}

/* ── SECTION TITLES ────────────────────────────── */
.product_section_item h3 {
    font-size: 24px;
    font-family: var(--ma-font-bold);
    color: var(--ma-tag-black);
    margin-bottom: 5px;
}

.product_section_item p.text-muted {
    font-size: 14px;
    margin-bottom: 25px;
}

/* ── EMPTY STATE ────────────────────────────── */
.filter_no_results {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed var(--ma-grey40);
    display: none;
}

.filter_no_results i {
    font-size: 48px;
    color: var(--ma-grey50);
    margin-bottom: 20px;
    display: block;
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .banner_section {
        padding: 100px 0 60px 0;
    }

    .filter_sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
        max-height: none;
    }

    .ds-stats {
        gap: 30px;
    }


    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .banner_section h1 {
        font-size: 32px;
    }

    .ds-stat strong {
        font-size: 24px;
    }
}