.text-2line {
    color: black;
    font-size: 18px;
    margin-top: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.2
}
.footer-page{
    display: none;
}
.single-blog .blog-img img{
    max-height: 200px;
    object-fit: cover;
    width: 100%;
    padding-right: 0
}
.show-result{
    position: absolute !important;
    z-index: 999;
    padding: 0 10px;
    width: 400px;
    right: 0%;
}
.single-product .product-details{
    padding: 15px;
}
.single-product .product-details a.active {
    -webkit-transform: scale(1);
    transform: scale(1);
    top: 100%;
    font-size: 15px;
    padding: 15px 10px;
    background-color: #4d0322;
    color: #fff;
}
.single-product .product-details a.active:hover{
    background-color: #c7477d;
}
@media only screen and (min-width: 1610px){
    .col-lg-1-5 {
        width: 20%;
        flex: 0 0 20%!important;
    }
}
@media only screen and (max-width: 767px){
    .single-blog .blog-img img {
        max-height: 135px;
        object-fit: cover;
        width: 100%;
    }
    .single-blog .blog-text {
        margin-left: 0;
    }
    .single-product .product-details {
        padding: 15px;
        margin: 0 12px;
    }
    .single-product .product-details a.active {
        -webkit-transform: scale(1);
        transform: scale(1);
        top: -30px;
        font-size: 12px;
        padding: 10px;
        background-color: #4d0322;
        color: #fff;
    }
}
@media only screen and (max-width: 991px){
    .footer-page {
        background: #4d0322;
        position: fixed;
        bottom: 0;
        z-index: 9999;
        width: 100%;
        display: block;
        height: 50px;
    }

    .footer-page .sidebar-modal-widget {
        height: 100%;
    }
    .footer-page .sidebar-modal-widget .social-list li {
        padding: 0 3px;
    }
    .footer-page .sidebar-modal-widget .social-list li a {
        color: #fff;
        line-height: 50px;
        font-size: 18px;
    }
}
span.count-cart {
    position: absolute;
    top: 6px;
    line-height: 1.8;
    background: red;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: auto;
    font-size: 13px;
    text-align: center;
    left: 16px;
}
.billing-details .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 40px!important;
}
.billing-details .select2-container .select2-selection--single{
    height: 40px;
}
.f-search.form-group {
    position: absolute;
    right: 15px;
    top: 75%;
}
.f-search.form-group.mobile {
    position: absolute;
    right: 0;
    top: 75%;
    z-index: 2222;
    transform: translate(-50%, 12px);
}
input#search {
    width: 300px;
    border-radius: 5px;
    border: 1px solid #4d0322;
}
input#search:focus-visible {
    outline: none;
}
span.close-search {
    position: absolute;
    color: #fff;
    font-size: 16px;
    right: -5px;
    font-weight: 700;
    background: red;
    width: 32px;
    height: 32px;
    text-align: center;
    margin: auto;
    border-radius: 10px;
}
.social-list .count-cart-wines strong{
    line-height: 0;
}
.count-acart .count-cart-wines strong{
    line-height: 1.6;
}

/* SEO: tên danh mục / sản phẩm chuyển từ h2/h3 sang h1 - giữ nguyên giao diện cũ */
.section-title h1 { font-size: 38px; margin-bottom: 15px; }
.product-details-desc h1 { margin-bottom: 12px; font-size: 23px; font-weight: 700; }
@media only screen and (max-width: 767px) { .section-title h1 { font-size: 24px; margin-bottom: 15px; } .product-details-desc h1 { font-size: 16px; } }
@media only screen and (min-width: 576px) and (max-width: 767px) { .product-details-desc h1 { font-size: 19px; } }
@media only screen and (min-width: 768px) and (max-width: 991px) { .section-title h1 { font-size: 30px; margin-bottom: 15px; } }
@media only screen and (min-width: 992px) and (max-width: 1199px) { .section-title h1 { font-size: 35px; } }
.blog-details-desc .article-content h1.post-title { margin-bottom: 13px; margin-top: 25px; font-size: 22px; font-weight: 600; line-height: 1.5; }
@media only screen and (max-width: 767px) { .blog-details-desc .article-content h1.post-title { font-size: 19px; line-height: 1.5; margin-bottom: 10px; margin-top: 20px; } }
