/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.blog-archive{
    padding-top: 0;
}
#bartop{
    display: none;
}
.right-th .img {
    float: left;
    margin: 0 !important;
    height: 75.4px;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 1px solid #f7f7f7;
    position: relative;
    overflow: hidden;
}
.submenu-thuonghieu>ul {
    min-width: 650px;
    max-height: 300px !important;
    padding: 5px !important;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 300px;
    display: block;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.submenu-thuonghieu>ul::-webkit-scrollbar {
    width: 5px;
}
.submenu-thuonghieu>ul::-webkit-scrollbar-track {
    background-color: #CCC;
}
.submenu-thuonghieu>ul::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px #CCC;
    background-color:#000
}
.submenu-thuonghieu>ul li
 {
    width: 33% !important;
    float: left;
    min-width: 33% !important;
    font-size: 14px;
    color: #000;
    padding: 2px 5px !important;
}
.submenu-thuonghieu>ul li a {
    padding: 2px 0;
    transition: all 0.3s;
    border-bottom: none !important;
    color: #000;
}
.submenu-thuonghieu>ul li:hover a{
    color: red;
    padding-left: 5px;
}

/*page thương hiệu*/
.desktop-alphabet {
        width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 18px;
    height: 60px;
    position: sticky;
    top: 0;
    margin: 30px -15px 50px -15px;
    background: #fff;
    z-index: 9;
}
.desktop-alphabet a {
    width: calc(100% / 27 - 5px);
    text-align: center;
    height: 40px;
    padding: 7.5px;
    cursor: pointer;
        color: #3a393a;
        transition: all 0.3s;
}

.desktop-alphabet a.active, .desktop-alphabet a:hover {
    background: #d72229 !important;
    color: #fff !important;
}
.brand__title {
    background: none;
    font-weight: 500;
    font-size: 24px;
    margin-top: 0;
    text-transform: uppercase;
    color: #000;
}
.page-template__brand__description {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    
        font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.alphabet {
        font-size: 14px;
    font-weight: 700;
    position: fixed;
    top: 120px;
    height: 80vh;
    width: 25px;
    top: 15%;
    display: none;
}
.alphabet a {
    /* transition: .5s; */
    position: relative;
    width: 25px;
    text-align: right;
    float: left;
    height: 25px;
    color: #000;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}
.brands-section {
    margin-top: 25px;
}
.brands-section .brand-letter {
    font-size: 20px;
    font-weight: 700;
    margin: 0.5rem 0;
}
.brands-list-wrapper {
    display: flex;
    flex-wrap: wrap;
        
}
.brands-list-wrapper .brand-item {
    width: 100%;
    text-align: start;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    width: 25%;
}
.all-brands .brand-item .brand_logo {
    width: 75px;
    height: 40px;
    min-width: 75px;
        
    min-height: 40px;
    padding: 5px 0;
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0 15px 0 5px;
}
.all-brands .brand-item a{
    color: #3a393a;
}
.all-brands .brand-item .brand_logo img {
        position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    border: 1px solid #f7f7f7;
}
.term-thuong-hieu .shop-page-title{
    display: none;
}
/*end page thương hiệu*/

.btn-cd{
        width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.3s;
    position: absolute;
    /* background: rgb(76 76 76 / 65%); */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    z-index: 9999;
    top: 0;
    cursor: pointer;
} 

.product-small:hover .btn-cd{
height: 100px;
    opacity: 1;
    top: 50% !important;
    transform: translateY(-50%);
}
.product-small .box-image .image-zoom > a:after{
    content:"";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(0 0 0 / 55%);
    top: 0;
    left:0;
    display: none;
}
.product-small:hover .box-image .image-zoom > a:after{
    display: inline-block !important;
    
}
.btn-cd a:first-child:before{
    display: none !important;
}
.btn-cd a{
    text-align: center;
    font-size: 14px;
    text-transform: initial;
    font-weight: 100;
    padding: 0 !important;
    background: none;
    border: none;
    margin: 0 5px;
    color: #fff;
    position: relative;
    padding-top: 50px !important;
}
.btn-cd a:hover{
    background: none;
    box-shadow: initial;
}
.btn-cd a:before{
    content: "";
    display: inline-block;
    width: 51px;
    height: 51px;
    position: absolute;
    top: 0;
    left: 50%;
    background: url(img/cart.png) center no-repeat;
    transform: translateX(-50%);
}

h1.shop-page-top-title {
    color: #000;
    font-size: 26px;
    font-weight: 100;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 0px;
}
.shop-page-title .page-title-inner{
    padding-top: 0;
}

h4.filter-title{
    font-size: 15px;
    color: #000000 !important;
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid #ebebeb;
    text-align: left;
    padding: 0;
    text-transform: uppercase;
    font-weight: 500;
}
.filter-content {
    border: 1px solid #ececec;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    display: block;
    max-height: 178px;
    scrollbar-width: thin;
    margin-bottom: 10px;
}
li.filter-item {
    width: 100%;
    padding: 6px 10px;
    border-bottom: 1px solid #ececec;
    /* display: flex
; */
    /* align-items: center; */
    
    color: #000;
    position: relative;
    cursor: pointer;
    line-height: 1.1em !important;
}
li.filter-item label{
    font-weight: 400;
    margin-bottom: 0;
    font-size: .95em ;
    color: #000;
}
li.filter-item label input{
    margin-bottom: 0;
    margin-left: 0;
}
li.filter-item label a{
    color: #000 !important;
}

li.filter-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 0; /* vuông */
  cursor: pointer;
  position: relative;
}

li.filter-item input[type="checkbox"]:checked {
  background-color: #008B8B; /* xanh đậm giống hình */
  border: 1px solid #000;
}

li.filter-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


.block-title .section-title{
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 10px;
}
.block-title b{
    background: #fff;
}
.block-title .section-title-main{
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    display: block;
}
.block-title a{
    font-size: 14px;
    font-weight: 400;
    color: #333;
}
.block-title-left .section-title-main {
    border-bottom: 0;
    padding-bottom: 0;
}

.product-small.box, .s5 .product-small .col-inner {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    /* padding: 20px 0; */
}

.block-after-cart{
    padding: 0 !important;
}
.block-after-cart h4{
    margin-bottom: 0;
    text-transform: uppercase;
    color: #000;
    font-size: 15px;
}

.block-after-cart p {
    margin-bottom: 0;
    font-size: 13px;
    color: #666666;
}

.block-after-cart .icon-box {
    padding: 10px 20px 10px 0;
    border-bottom: 1px solid #ebebeb;
}
.block-after-cart .icon-box:last-child{
    border-bottom: 0;
}
.block-after-cart .icon-box-img{
    align-items: center;
    display: flex;
}
.product-info .product-title.product_title.entry-title {
    font-size: 24px;
    color: #282828;
    margin-bottom: 5px;
}
.woocommerce-variation-add-to-cart>*, form.cart>*{
    flex: inherit;
}
button.buy_now_button{   
    background: #b71616 !important;
    margin: 0 !important;
    border-radius: 4px;
    color: #fff;
    padding: 0 15px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
}
button.single_add_to_cart_button {
    background: #000 !important;
    border-radius: 4px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
}
.product-info ins span.amount bdi, .product-info span.amount bdi {
    font-size: 30px;
    font-weight: 400;
    color: #b71616;
}
span.amount bdi {
    color: #DD3333;
}
.product-section-title {
    font-size: 16px;
    color: #000 ;
    font-weight: 400;
    padding: 15px 0;
}
.product-footer .entry-content{
    color: #666;
    font-size: 14px;
}
.product-section{
    border: 0;
}
.product-section-title-related {
    position: relative;
    margin-bottom: 40px;
    font-size: 18px;
    color: #282828;
    text-align: left;
    letter-spacing: normal;
}
.product-section-title-related:before {
    background: #f7f5f4;
    width: 1285px;
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    height: 10px;
}
#ftwp-trigger{
    display: none !important;
}
.lable-th {
    margin: 15px 0;
    color: #666;
}
.lable-th a{
    color: #dd3333;
    font-weight: 400;
}

.product-dac-diem li.tab a{
    font-size: 16px;
    font-weight: 400;
}
.product-dac-diem ul.nav li.active{
    border-bottom: 1px solid #d9d9d9;
}

.season-wrap ul.season>li {
  display: flex;
}

.season-wrap ul.season>li>span {
  width: 15%;
}

.season-wrap ul.season>li ul {
  padding-left: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.season-wrap ul.season>li ul li {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: initial;
  color: initial;
}

.season-wrap ul.season>li ul li span {
  width: 12%;
  margin-right: 1.5rem;
}

.season-wrap ul.season>li ul li div {
  width: 100%;
  border-radius: 6px;
  background: #f6f9fb;
  height: 6px;
  position: relative;
}

.season-wrap ul.season>li ul li div span {
  height: inherit;
  left: 0;
  top: 0;
  border-radius: inherit;
  position: absolute;
  background: #86c3dd;
}
.season-wrap ul.season .title{
    font-weight: bold;
    color: #000;
}
.product-dac-diem .panel ul{
    list-style: none;
}
.product-dac-diem .panel ul li{
    width: 100%;
    margin-left: 0;
    overflow: hidden;
}
.product-dac-diem .panel span {
    width: 20%;
    vertical-align: top;
    float: left;
    font-weight: 400;
    color: #000;
}
.product-dac-diem .panel {
    font-size: 14px;
}
.fragrant_list li{
    border-bottom: 1px solid #d9d9d9;
}
.single_variation_wrap .woocommerce-variation{
    display: none !important;
}
.flash-sale-header {
    display: flex;
    justify-content: flex-start;
}
.flash-sale-header span.title{
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 0;
}
.pd-b{
    padding-bottom: 0;
}
.pd-t{
    padding-top: 30px;
}

.yith-infs-button-wrapper button{
    background: #dd3333;
    color: #ffff;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 4px;
}
.page-breadcrumb{
    margin-top: 15px;
}
#breadcrumbs{
    font-size: 14px;
}
#breadcrumbs a{
    font-size: 14px;
}
.term-description{
    font-size: 14px;
}
.blog-single .post-author img{
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
}
.blog-single .post-author a{
    color: #dd3333;
}
.blog-single .post-meta{
    margin-top: 5px;
    font-size: 14px;
}
#login-form-popup .my-account-header {
    display: none !important;
}

/* CSS Bình Luận*/

/* Giới hạn chiều rộng container của slider */
.cr-reviews-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
}

/* Mỗi review nhỏ gọn */
.cr-review {
  background: #fff;
  border: none;
  box-shadow: none;
  text-align: center;
  padding: 15px;
  margin: 10px;
  font-size: 14px;
  line-height: 1.5;
}

/* Tên người + avatar nhỏ lại */
.cr-review .cr-review-author {
  font-weight: bold;
  margin-top: 8px;
  font-size: 14px;
}

.cr-review .cr-review-avatar {
  max-width: 40px;
  margin: 10px auto;
}

/* Ẩn label "Reviewer" nếu thấy thừa */
.cr-review .cr-reviewer-badge {
  display: none;
}

/* Sao vàng căn giữa */
.cr-review .cr-rating {
  margin: 5px auto;
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .cr-review {
    font-size: 13px;
    padding: 10px;
  }
}
@media (max-width: 767px) {
  #ez-toc-container,
  .ez-toc-widget-container {
    display: none !important;
  }
}



