﻿

.banner-product {
    height: 300px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .banner-product::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: black;
        opacity: .5;
    }

    .banner-product img {
        width: 100%;
        height: 100%;
    }

.detail-pro {
    background-color: #f6f6f6;
    background-image: url(../../Design/img/bg-pro_02.png);
}

    .detail-pro .same-pro-slider .pro.content-item {
        margin-bottom: 0;
    }

    .detail-pro .grid.wide.f {
        /* max-width: 900px; */
        /* -webkit-transform: translateY(-155px); */
        -ms-transform: translateY(-155px);
        transform: translateY(-155px);
        background-color: #fff;
        border-radius: 41px;
    }

    .detail-pro .container {
        padding: 25px;
        -webkit-box-shadow: 0 0 15px 1px #00000066;
        box-shadow: 0 0 5px 1px #00000066;
        border-radius: 40px;
        margin: 0;
    }

    .detail-pro .title-top {
        color: var(--default-color-3);
        font-family: 'OpenB';
        margin-top: 0;
        font-size: 30px;
        margin-bottom: 10px;
        font-weight: normal;
    }

    .detail-pro .description-top {
        color: black;
        font-size: 16px;
        opacity: .8;
        margin-top: 0;
        font-weight: 100;
        font-family: 'OpenR';
    }

    .detail-pro .infor {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 35px 0;
        display: none;
    }

    .detail-pro .table {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        border: 1px solid #0000005c;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .detail-pro .table .item {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            padding: 15px 20px;
            border-right: 1px solid #0000005c;
            -webkit-transition: all linear .2s;
            -o-transition: all linear .2s;
            transition: all linear .2s;
        }

            .detail-pro .table .item:hover {
                background-color: var(--default-color-3);
                cursor: default;
            }

            .detail-pro .table .item.n {
                border-right: none;
            }

            .detail-pro .table .item:hover .text {
                color: #fff !important;
            }


            .detail-pro .table .item .text.head {
                position: relative;
                color: var(--blue-default);
                font-family: 'OpenSB';
                font-size: 14px;
                margin-top: 0;
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                -webkit-box-pack: center;
                -ms-flex-pack: center;
                justify-content: center;
            }


            .detail-pro .table .item:hover .text.head {
                opacity: 1;
            }

            .detail-pro .table .item .text.head::before {
                content: '';
                position: absolute;
                top: calc(100% + 3px);
                width: 17px;
                height: 2px;
                border-radius: 2px;
                background-color: var(--blue-default);
                -webkit-transition: all ease .2s;
                -o-transition: all ease .2s;
                transition: all ease .2s;
            }

            .detail-pro .table .item:hover .text.head::before {
                width: 30px;
                background-color: #fff;
            }

    .detail-pro .item .text {
        font-size: 14px;
        opacity: .9;
        margin-top: 12px;
        -webkit-transition: all linear .3s;
        -o-transition: all linear .3s;
        transition: all linear .3s;
        text-align: center;
    }

    .detail-pro .options {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .detail-pro .op-left {
        opacity: .7;
        font-size: 14px;
    }
section h2,h3,h4,h5{
    margin: 13px 0;
}
 section p{
    margin: 0;
}
.detail-pro section ul{
    margin-left: 45px;
}
    .detail-pro section {
        font-size: 17px;
        padding: 10px 0;
        margin: 0;
    }

        .detail-pro section img {
            margin: 0 auto;
            max-width: 100%;
        }

.slider-detail-pro {
    height: 300px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .slider-detail-pro .swiper {
        height: 100%;
    }

.same-pro {
    width: 100%;
    background-color: #fff;
    -webkit-transform: translateY(-75px);
    -ms-transform: translateY(-75px);
    transform: translateY(-75px);
    border-radius: 5px;
    padding: 20px;
}

    .same-pro .title {
        margin-top: 0;
        text-transform: uppercase;
        font-family: 'OpenB';
        color: var(--default-color-3);
        font-size: 24px;
        margin-bottom: 15px;
    }

        .detail-pro .title-top::-moz-selection, .detail-pro .description-top::-moz-selection, .detail-pro section h1::-moz-selection, .detail-pro section h2::-moz-selection, .detail-pro section h3::-moz-selection, .detail-pro section h4::-moz-selection, .detail-pro section h5::-moz-selection, .detail-pro section h6::-moz-selection, .detail-pro section p::-moz-selection, .detail-pro section span::-moz-selection, .detail-pro section strong::-moz-selection, .detail-pro section b::-moz-selection, .detail-pro section a::-moz-selection, .detail-pro section ul::-moz-selection, .detail-pro section li::-moz-selection, .same-pro .title::-moz-selection {
            background-color: var(--bg-selection);
            color: var(--color-selection);
        }

        .detail-pro .title-top::selection,
        .detail-pro .description-top::selection,
        .detail-pro section h1::selection,
        .detail-pro section h2::selection,
        .detail-pro section h3::selection,
        .detail-pro section h4::selection,
        .detail-pro section h5::selection,
        .detail-pro section h6::selection,
        .detail-pro section p::selection,
        .detail-pro section span::selection,
        .detail-pro section strong::selection,
        .detail-pro section b::selection,
        .detail-pro section a::selection,
        .detail-pro section ul::selection,
        .detail-pro section li::selection,
        .same-pro .title::selection {
            background-color: var(--bg-selection);
            color: var(--color-selection);
        }
/* Container chung cho mỗi slide */
.swiper-slide {
    padding: 10px !important;
}

/* Khối item */
.pro.content-item {
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease !important;
}

/* Hiệu ứng khi hover toàn khối */
.pro.content-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: #d1d1d1 !important;
}

/* Ảnh */
.pro.content-item .img {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #eee !important;
}

.pro.content-item .img img {
    width: 100% !important;
    /* height: auto !important; */
    transition: transform 0.4s ease !important;
    display: block;
}

.pro.content-item:hover .img img {
    transform: scale(1.05) !important;
}

/* Nội dung bên dưới */
.pro.content-item .wrap {
    padding: 15px !important;
    /* text-align: center !important; */
}

/* Tiêu đề */
.pro.content-item .wrap-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    /* display: block !important; */
    transition: color 0.3s ease !important;
    margin-bottom: 5px !important;
}

.pro.content-item:hover .wrap-title {
    color: var(--default-color-3) !important;
}

/* Mô tả nhỏ */
.pro.content-item .masd {
    font-size: 14px !important;
    color: #777 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
@media (max-width:739px){
    .pro.content-item .masd{
        font-size: 12px !important;
        -webkit-line-clamp: 2;
    }
    .swiper-slide{
        padding: 0 !important;
    }
}