﻿/* =====================================================
   BANNER PRODUCTS
===================================================== */
.banner_product {
    padding: 0 0 4rem 0;
    text-align: center;
}

.title_banner_product {
    font-size: 2.5rem;
    font-family: "Arial", sans-serif;
    background: linear-gradient(135deg, #3DBFBB 0%, #1F4986 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desc_banner_product1 {
    color: #000;
    font-size: 1.5rem;
    margin-top: 2rem;
}

.desc_banner_product2 {
    font-size: 1rem;
}

/* =====================================================
   CATEGORY TABS (SERIES)
===================================================== */
.category-tab {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

    .category-tab li {
        margin-right: 2rem;
        height: 100px;
        width: 300px;
        border-radius: 50px;
    }

    .category-tab .nav-link {
        height: 100%;
        width: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 10px 10px 20px 10px;
        box-shadow: 5px 5px 10px #c2e7f6;
        border: none;
        transition: box-shadow 0.3s ease;
    }

        .category-tab .nav-link.active {
            box-shadow: 0 0 0 3px rgba(61, 191, 187, 0.35), 5px 5px 15px rgba(31, 73, 134, 0.35);
        }

        .category-tab .nav-link.brand1 {
            background-image: url(../img/products/den.jpg);
        }

        .category-tab .nav-link.brand2 {
            background-image: url(../img/products/butter.jpg);
        }

        .category-tab .nav-link.brand3 {
            background-image: url(../img/products/gray.jpg);
        }

/* =====================================================
   CARDS GRID
===================================================== */
.content_categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .content_categories a {
        flex-basis: 100%;
        margin-top: 2rem;
    }

/* =====================================================
   PRODUCT CARD
===================================================== */
.product-card {
    text-decoration: none;
    display: block;
    width: 100%;
}

.card-body-custom {
    background: linear-gradient(180deg, #3DBFBB 0%, #FFFFFF 50%, #3DBFBB 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    aspect-ratio: 3 / 4;
    max-width: 320px;
    margin: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 1rem;
}

    .card-body-custom::after {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 70px;
        background: rgba(31, 73, 134, 0.3);
        filter: blur(20px);
        border-radius: 50%;
    }

.card-title {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding: 5px 0;
    /*    background: rgba(0, 0, 0, 0.4);*/
    border-radius: 8px;
}

.product-card:hover .card-body-custom {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.product-card:hover .card-title {
    color: #fff;
}

/* =====================================================
   PRODUCT DETAILS PAGE
===================================================== */
.card_white_detailes {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cat_name_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

    .cat_name_wrapper .btn_back {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        color: #1F4986;
        text-decoration: none;
        padding: 8px 14px;
        border-radius: 8px;
        transition: all 0.25s ease;
    }

        .cat_name_wrapper .btn_back::before {
            content: "←";
            font-size: 18px;
        }

        .cat_name_wrapper .btn_back:hover {
            background: rgba(61, 191, 187, 0.15);
        }

    .cat_name_wrapper .cat_name {
        font-size: 26px;
        font-weight: 600;
        background: linear-gradient(135deg, #3DBFBB 0%, #1F4986 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin: 0 auto;
    }

        .cat_name_wrapper .cat_name::after {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #3DBFBB, #1F4986);
            border-radius: 3px;
            margin: 10px auto 0;
        }

.box_img_product {
    width: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F5FBFE;
    border-radius: 20px;
    padding: 2rem;
}

    .box_img_product img,
    .box_img_product bsimage {
        max-height: 360px;
        object-fit: contain;
        border-radius: 15px;
    }

.title_detailes_product {
    font-size: 20px;
    font-weight: 500;
    color: #1F4986;
    margin-top: 1.5rem;
}

.btn_detailes {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3DBFBB 0%, #1F4986 100%);
    color: #fff;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .btn_detailes img {
        width: 18px;
        height: 18px;
    }

    .btn_detailes:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(31, 73, 134, 0.35);
    }

.box_blue_detailes {
    background: linear-gradient(180deg, #EAF7FC, #FFFFFF);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1rem;
}

.pro_info {
    font-size: 18px;
    font-weight: 600;
    color: #1F4986;
    margin-bottom: 1rem;
}

.content_box,
.content_box2 {
    width: 100%;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
    .category-tab li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .cat_name_wrapper .cat_name {
        font-size: 22px;
    }

    .box_img_product img,
    .box_img_product bsimage {
        max-height: 280px;
    }

    .card_white_detailes {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1rem;
        padding: 4px 0;
    }

    .cat_name_wrapper .btn_back {
        left: 0;
        top: auto;
        bottom: -5px;
        transform: translateY(0);
    }
}
