
.h-banner{
    padding: 238.4px 0 91.6px;
    background-repeat: no-repeat;
    background-size: cover;
}

.inner-hbanner h1{
    font-size: 60px;
    font-weight: 500;
    line-height: 1.16;
    color: #fff;
    margin: 0;
}

.products{
    margin-bottom: 109px;
}

.parent-tabs{
    text-align: center;
    padding: 26px 0 0 ;
    border-bottom: 1px solid #DCDCDC;
}   

.parent-tabs .parent-item{
    position: relative;
    display: inline-block;
    margin: 0 36.5px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.555;
    padding: 0 0 26.1px 0;
    color: #000000;
}

.parent-tabs .parent-item.active,
.parent-tabs .parent-item:hover{
    color: #C59E59;
}

.parent-tabs .parent-item.active::after,
.parent-tabs .parent-item:hover::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: -1px;
    background: #C59E59;
}

.child-tabs .child-item{
    display: inline-block;
    padding: 1px 15px 1px;
    margin: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.866;
    color: #000000;
}

.child-tabs .child-item:first-child{
    margin-left: 0;
    margin-right: 37px;
}

.child-tabs .child-item:last-child{
    margin-right: 0;
}

.child-tabs .child-item:hover,
.child-tabs .child-item.active{
    background: #C59E59;
    color: #fff;
    font-size: 14px;
}

.child-container{
    margin-bottom: 86.6px;
    white-space: nowrap;
    overflow-x: auto;
}

.child-tabs{
    padding: 23px 0 0 20px;
    text-align: center;
}

.product-list{
    display: flex;
    gap: 56px 31px;
    flex-wrap: wrap;

}

.product-list .product-item{
    max-width: calc(33.333% - 20.666px);
    width: 100%;
}

.product-item .product-thum{
    border: 1px solid #DCDCDC;
    text-align: center;
    margin: 0 0 16px;
}

.related-product-slider .product-item .product-thum{
    margin: 0 0 14px;
}

.product-item .product-thum a{
    display: block;
    aspect-ratio: 380/524;
    overflow: hidden;
    padding: 44.9px 0 44.6px;
}

.related-product-slider .product-item .product-thum a{
    padding: 30.9px 0px 29.6px;
}

.product-item .product-thum a img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-item .product-gr{
    display: flex;
    justify-content: space-between;
    margin: 0 0 4px;
}

.product-item .product-gr p,
.product-item .capacity{
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #969696;
}

.prd-mb{
    display: none;
}

.product-item h2{
    margin: 0 0 14px;
    line-height: 0;
    max-width: 100%;
}

.product-item h2 a{
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
}

.related-product-slider .product-item h2 a{
    font-size: 16px;
    line-height: 1.75;
}

.product-item .price{
    margin: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    color: #C59E59;
    padding-left: 9px;
    border-left: 4px solid #C59E59;
}

.product-list .custom-pagination{
    width: 100%;
    margin-top: 28px;
}

.custom-pagination ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.custom-pagination ul li{
    list-style: none;
    display: inline-block;
}

.custom-pagination ul li a{
    font-size: 15px;
    font-weight: 300;
    color: #000000;
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    border: 2px solid #C59E59
}

.custom-pagination ul li a:hover{
    background: #C59E59;
    color: #fff;
}

.custom-pagination ul li .prev,
.custom-pagination ul li .next{
    background: #C59E59;
    padding: 6px 24px 8px 28px;
    color: #fff;
    width: fit-content;
    height: auto;
    border-radius: 8px;
    margin-top: 2px;
}

.custom-pagination ul li .prev img,
.custom-pagination ul li .next img{
    display: none;
}

.custom-pagination ul li .prev{
    margin-right: 60px;
}

.custom-pagination ul li .next{
    margin-left: 60px;
}

.sma-page-link ul li{
    margin: 0 36px;
}

/* products-detail */
.prd-banner{
    background: #F8F8F8;
    padding: 36px 0 53px;
}

.breadcrumbs p{
    margin: 0 0 51px;
}

.breadcrumbs p a{
    font-size: 15px;
    font-weight: 400;
    color: #969696;
}

.breadcrumbs p a:last-of-type{
    color: #C59E59;
}

.breadcrumbs p a,
.breadcrumbs p span{
    display: inline-block;
    margin-right: 6px;
}

.product-detail{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.product-detail .product-thumb{
    max-width: 507px;
    width: 100%;
    text-align: center;
    padding: 49px 0 50px;
    border: 1px solid #DCDCDC;
    background: #fff;
}

.product-detail .product-info{
    max-width: 600px;
    width: 100%;
}

.product-detail .product-info h1{
    font-size: 45px;
    font-weight: 500;
    line-height: 1.45;
    margin: 8px 0 9px;
}

.product-detail .product-info .brand{
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 25px;
}

.product-detail .product-info .code-produit{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 ;
    color: #969696;
    padding: 0 0 20px;
    border-bottom: 1px solid #DCDCDC;
    margin: 0 0 30px;
}

.product-detail .product-info .status{
    padding: 7px 24px 4px 26px;
    background: #C59E59;
    color: #fff;
    border-radius: 8px;
    margin: 0 0 28px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2.8px;
}

.product-detail .product-info .retail-price{
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: #C59E59;
    border-left: 4px solid #C59E59;
    padding-left: 12px;
    margin: 0 0 22px;
}

.product-detail .product-info .capacity{
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    display: inline-flex;
    gap: 17px;
    align-items: center;
    margin: 0 0 22.4px;
}

.product-detail .product-info .tax{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.571;
    color: #969696;
}

.wine-info{
    padding: 108px 0 57px;
}

.wine-cate{
    padding: 58px 75px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 54px 0;
}

.wine-cate .wine-cate-name{
    flex: 0 0 25%;
    border-left: 4px solid #C59E59;
    padding-left: 15px;
    display: flex;
    gap: 12.6px;
    align-items: center;
}

.wine-cate .wine-cate-name p{
    font-size: 18px;
    font-weight: 400;
    line-height: 1.555;
    margin: 0;
}

.sma-title{
    margin: 0;
}


.product-selec-slider{
    padding: 66px 0 90px;
}

.inner-selec .sma-title::before{
    background: transparent;
}

.inner-selec> h2{
    margin: 0 0 52px;
}

.selec-slider{
    margin-bottom: 70px;
    width: 1920px;
    margin-left: -15px;
}

.selec-slider .product-item{
    padding: 0 15px;
}

.slick-slider-nav .slick-prev{
    background-image: url(../images/prev.png);
}

.slick-slider-nav .slick-next{
    background-image: url(../images/next.png);
}

.sma-title::before{
    top: 27px;
    height: 2px;
}

.sma-title span{
    margin-left: -22px;
}

.br-list .br-it:first-child{
    margin-bottom: 38px;
}

.br-list .br-it:nth-child(2){
    margin-bottom: 56px;
}

.br-list .br-it:nth-child(2) .sma-title span{
    margin-left: 0;
}

.br-list .br-it:nth-child(2) .sma-title::before{
    top: 25px;
}

.br-it-bg{
    align-items: start;
}

@media(max-width: 1140px){
    .product-detail .product-info h1{
        font-size: 40px;
        line-height: 1.533;
    }
    .product-detail .product-info .brand{
        font-size: 26px;
    }
    .product-detail .product-info .retail-price{
        font-size: 24px;
    }
}

@media(max-width: 991px){
    .wine-cate .wine-cate-name{
        flex: 0 0 50%;
    }
}

@media(max-width: 767px){
    .sma-page-link ul li:first-child{
        margin-left: 0;
    }
    .h-banner{
        padding: 95px 0 52px;
    }
    .inner-hbanner h1{
        font-size: 40px;
        line-height: 1.3;
    }
    .parent-tabs{
        text-align: left;
        padding: 22.4px 0 0 19px;
    }
    .parent-tabs .parent-item:first-child{
        margin-left: 0;
    }
    .parent-tabs .parent-item{
        margin: 0 22px;
        padding: 0 0 20px;
    }
    .child-container{
        margin: 0 0 38px;
    }
    .child-tabs{
        text-align: left;
    }
    .child-tabs .child-item{
        margin: 0 17.5px;
    }
    .products{
	margin-bottom: 40px;
    }
    .product-list{
        gap: 38px 21px;
    }
    .product-list .product-item{
        max-width: calc(50% - 10.5px);
    }
    .product-item h2{
        margin: 0 0 7px;
        max-width: 100%;
    }
    .product-item h2 a{
        font-size: 16px;
        line-height: 1.75;
    }
    .custom-pagination ul li .prev,
    .custom-pagination ul li .next{
        background: none;
        border: none;
        padding: 0;
    }
    .custom-pagination ul li .prev{
        margin-right: 30px;
    }
    .custom-pagination ul li .next{
        margin-left: 30px;
    }
    .custom-pagination ul li .prev img,
    .custom-pagination ul li .next img{
        display: block;
    }
    .custom-pagination ul li .prev span,
    .custom-pagination ul li .next span{
        display: none;
    }
    .prd-mb{
        display: block;
        margin: 0 0 14px !important;
    }
    .prd-pc{
        display: none;
    }

    /*  */
    .product-detail .product-info .code-produit{
        margin: 0 0 28px;
    }
    .prd-banner{
        padding: 22px 0 49px;
    }
    .breadcrumbs p{
        margin: 0 0 31px;
    }
    .product-detail{
        flex-wrap: wrap;
        flex-direction: column;
        gap: 33px;
    }
    .product-detail .product-thumb,
    .product-detail .product-info{
        max-width: 100%;
    }
    .product-detail .product-info h1{
        font-size: 30px;
        margin: 0 0 19px;
    }
    .product-detail .product-info .status{
        margin: 0 0 35px;
    }
    .product-detail .product-info .retail-price{
        padding-left: 8px;
        margin-bottom: 29px;
    }
    .product-detail .product-info .capacity{
        margin: 0 0 18.4px;
    }
    .product-detail .product-info .brand{
        display: none;
    }
    .wine-cate{
        padding: 31px 0 0;
        gap: 28px 20px;
    }
    .wine-cate .wine-cate-name{
        padding-left: 9.5px;
        gap: 10.5px;
        flex: 0 0 calc(50% - 10px);
    }
    .wine-cate .wine-cate-name img{
        width: 23px;
        height: 32px;
    }
    .wine-cate .wine-cate-name p{
        font-size: 16px;
        line-height: 1.75;
    }
    .wine-info{
        padding: 28px 0 41px;
    }
    .child-tabs .child-item{
        padding: 1px 0 1px;
    }
    .child-tabs .child-item:hover, 
    .child-tabs .child-item.active{
        padding: 1px 15px 1px;
    }
    .child-tabs .child-item:first-child{
        margin-right: 23px;
    }
    .child-tabs .child-item{
        margin: 0 23px;
    }
    .product-item .product-thum{
        margin: 0 0 14px;
    }
    .product-item .product-thum a{
        padding: 17.9px 0 17.6px;
    }
    .sma-title{
        padding: 27px 0 0 !important;
    }
    .sma-title span{
        margin: 0;
    }
    .br-list .br-it:first-child{
        margin-bottom: 25px;
    }
    .br-list .br-it:nth-child(2){
        margin-bottom: 32px;
    }
    .br-list .br-it:nth-child(2) .sma-title::before{
        top: 0;
    }
    .related-product-slider .product-item .product-thum a{
        padding: 21.9px 0px 18.6px;
    }
    .related-product-slider .product-item .product-thum{
        margin: 0 0 18px;
    }
    .product-item .product-gr{
        margin: 0 0 5px;
    }
    .page-template-template-products .brands-link-bg{
        margin-bottom: 17px !important;
    }
    .add-br::after {
        content: "";
        display: block;
    }
}

@media(max-width: 575px){
    .product-detail .product-thumb{
        padding: 34px 0 31px;
    }

    .product-detail .product-thumb img{
        max-height: 312px;
    }
}
