/*
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.   ***************/
p {
    margin-bottom: 10px;
}
p:last-child {
    margin-bottom: 0;
}
.banner h1, .banner h2, .banner h3, .banner h4, .banner h5 {
    line-height: inherit;
}
h1, h2, h3, h4, h5 {
    line-height: inherit;
}
.banner p {
    margin: 0;
}
.section > .section-content > .row > .col {
    padding-bottom: 0;
}
.icon-box-left {
    display: flex;
    align-items: center;
}
.icon-box-left p {
    margin-bottom: 0;
}
.icon-footer.icon-box-left .icon-box-img {
    width: 16px !important;
}
.icon-footer.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 10px;
}
.icon-box-img img, .icon-box-img svg {
    padding-top: 0;
}
.box-social p {
    margin-bottom: 0;
}
.box-social img {
    margin-bottom: 0 !important;
}
.row-contact {
    display: flex;
    align-items: center;
}
input.wpcf7-form-control {
    margin-bottom: 0;
    box-shadow: none;
    height: 40px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
}

textarea.wpcf7-form-control {
    margin-bottom: 0;
    box-shadow: none;
    min-height: 90px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
}
.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
    background-color: #E00024 !important;
    margin: auto;
    border-radius: 8px;
    display: block;
}
.row-contact input.wpcf7-form-control {
    margin-bottom: 0;
    border-radius: 99px;
    height: 40px;
    box-shadow: none;
    border: none;
    margin: 0;
}
.row-contact input.wpcf7-form-control.wpcf7-submit {
    border: none;
    background-color: transparent !important;
    font-size: 18px;
}
.wpcf7-spinner {
    position: absolute;
}
.wpcf7-form {
    margin-bottom: 0;
}
.header-top:before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, #097CB3 , #1698D1);
    position: absolute;
    top: 0;
    left: 0;
}
.header-top {
    border-bottom: 1px solid #d9d9d9;
    padding-top: 5px;
}
.header-vertical-menu__title {
    font-size: 15px;
}
.header-vertical-menu__opener .icon-menu {
    color: #666;
}
.header-vertical-menu__opener {
    padding: 10px 10px;
    height: 42px;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #D9D9D9;
}
.header-main {
    margin-bottom: 6px;
}
.header-main .nav > li > a {
    font-size: 16px;
    font-weight: normal;
    padding-bottom: 10px;
}
.header-main .nav > li.active > a {
    font-weight: bold;
    background-image: url(images/bottom.png);
    background-repeat: no-repeat;
    background-position: bottom center;
}
.header-shadow .header-wrapper {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .25);
}

.box-contact p {
    margin-bottom: 0;
}

.box-cat .box-image, 
.box-cat .box-text, 
.box-cat {
    border-radius: 16px;
}
.box-cat .cate-s {
    display: inline-block;
    background-color: #E00024;
    color: #fff;
    border-radius: 99px;
    padding: 0px 15px 2px;
    font-size: 12px;
    margin-bottom: 10px;
}
.box-cat .cate-s p {
    margin-bottom: 0;
}
.box-cat.box-overlay.dark .box-text {
    height: 100%;
    background-color: ;
    text-shadow: none;
}
.box-cat.box .overlay {
    background-color: rgba(0, 0, 0, .40);
    border-radius: 16px;
}
.box-cat.box .box-text {
    padding: 30px 40px;
}
/*.box-cat.box .box-image:after {
    content: '';
    width: 90%;
    height: 90%;
    border: 1px solid #fff;
    position: absolute;
    display: block;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
}
.box-cat.box:hover .box-image:after {
    opacity: 1;
}*/
.box-cat.box .box-image:before {
    content: "";
    position: absolute;
    width: 94%;
    height: 92%;
    top: 4%;
    left: 3%;
    opacity: 0;
    box-sizing: border-box;
}
.box-cat.box .box-image:before {
    bottom: 0px;
    transform: scaleX(0);
    transition: opacity 0.5s, transform 0.5s;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.box-cat.box .box-image:after {
    content: "";
    position: absolute;
    width: 94%;
    height: 92%;
    top: 4%;
    left: 3%;
    opacity: 0;
    box-sizing: border-box;
}
.box-cat.box .box-image:after {
    transform: scaleY(0);
    transition: opacity 0.3s, transform 0.3s;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

.box-cat.box:hover .box-image:after,
.box-cat.box:hover .box-image:before {
    opacity: 1;
    transform: scale(1);
    z-index: 99;
}

.box-cat.box:hover .cate-s {
    background-color: #E8F8FF;
    color: #0179D0;
    font-weight: bold;
}
.box-cat.box:hover .cate-s * {
    color: #0179D0;
}
.box-cat.box:hover .overlay {
    background-image: linear-gradient(to bottom right, #1797D4, #1797d400);
}
.box-cat.box .button {
    font-weight: normal;
}
.button i, button i {
    top: 0;
}

h3.section-title-normal {
    font-size: 16px;
}
.section-title-normal {
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 5px;
}
.section-title-normal a {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}
.section-title-normal span {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
/* Container chính */
.section-title-normal {
  display: flex !important;
  align-items: center !important;
  /*justify-content: flex-start !important; /* Không chia khoảng cách tự do */*/
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

/* Ẩn các thẻ b rỗng thừa */
.section-title-normal > b {
  display: none !important;
}

/* Tiêu đề chính bên trái */
.section-title-main {
  font-size: 15px;
  font-weight: 700;
  color: #222222;
  text-transform: uppercase;
  margin-right: 0 !important; /* Bỏ auto ở tiêu đề */
}

/* ĐẨY .hpt-show-cats SANG HẲN BÊN PHẢI (Sát cạnh nút Xem tất cả) */
.hpt-show-cats {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: auto !important; /* Đẩy danh sách này dồn sang phải */
  margin-right: 20px !important; /* Tạo khoảng cách 20px với nút Xem tất cả */
}

.hpt-show-cats li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Style cho từng nút tag danh mục */
.hpt-show-cats li a {
  display: inline-block !important;
  background-color: #F3F4F6 !important;
  color: #444444 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 4px 14px !important;
  border-radius: 4px !important;
  border: 1px solid #E5E7EB !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

/* Nút Xem tất cả luôn dồn về cuối cùng bên phải */
.section-title-normal > a {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  color: #555555 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin-left: 0 !important;
}

.product-category .box-category {
    border: 1px solid #E6E6E6;
    background-color: #fff;
    border-radius: 4px;
    padding: 8px;
}
.product-category .box-category:hover {
    background-color: #E8F8FF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .18);
}
.product-category .box-category img {
    border-radius: 4px;
}
.product-category .box-category .box-text {
    padding: 10px 0 5px;
}
.product-category .box-category .header-title {
    font-size: 15px;
    text-transform: none;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
}
.product-category .box-category:hover .header-title {
    color: #E00024;
}
.product-category .box-category .count {
    font-size: 12px;
    color: #666;
    text-transform: none;
}
.row-xsmall>.flickity-viewport>.flickity-slider>.col {
    padding: 0 5px 8px;
}

/* Đảm bảo khung ngoài có không gian để scale và đổ bóng không bị che khuất */
.product-small.col {
  padding: 10px !important;
  overflow: visible !important;
}

/* KHUNG CARD MẶC ĐỊNH (CÓ BORDER) */
.product-small.col .col-inner {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0 !important; /* Border màu xám rõ ràng */
  border-radius: 10px !important;
  padding: 12px !important;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; /* Hiệu ứng mượt */
  transform: scale(1);
  box-shadow: none !important;
}

/* HIỆU ỨNG HOVER (SCALE + BOX-SHADOW + ĐỔI NỀN) */
.product-small.col:hover .col-inner {
  background-color: #f0f7ff !important; /* Nền xanh nhạt */
  border-color: #cce3f6 !important;     /* Viền xanh nhạt */
  transform: scale(1.03) translateY(-2px) !important; /* Scale phóng to nhẹ + nhích nhẹ lên */
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important; /* Box shadow đậm làm nổi card */
  z-index: 10;
}

/* HÌNH ẢNH SẢN PHẨM */
.box-image {
  border-radius: 6px;
  overflow: hidden;
}

/* KHỐI ĐÁNH GIÁ SAO (STAR RATING) */
.custom-rating-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 6px 0 !important;
}

.custom-rating-wrapper .star-rating {
  font-size: 11px !important;
  color: #f5a623 !important; /* Vàng sao */
  margin: 0 !important;
  float: none !important;
}

.custom-rating-wrapper .star-rating span::before {
  color: #f5a623 !important;
}

.custom-rating-wrapper .rating-count-text {
  font-size: 12px !important;
  color: #666666 !important;
}

/* TIÊU ĐỀ SẢN PHẨM */
.box-text-products {
  padding: 8px 0 0 0 !important;
  text-align: left !important;
}

.box-text-products .product-title a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333333 !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
  line-height: 20px;
  transition: color 0.2s ease;
}

/* Hover đổi màu tiêu đề sang xanh */
.product-small.col:hover .product-title a {
  color: #1797D4 !important;
}

/* GIÁ SẢN PHẨM */
.box-text-products .price,
.box-text-products .price bdi {
  color: #E00024 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: block;
}

/* TAG CÒN HÀNG */
.custom-stock-tag {
  display: inline-block !important;
  font-size: 11px !important;
  padding: 3px 12px !important;
  border-radius: 12px !important;
  margin-top: 6px !important;
  background-color: transparent !important;
  color: #666666 !important;
  border: 1px solid #e0e0e0 !important;
  transition: all 0.2s ease !important;
}

/* Hover card -> Tag chuyển nền xanh chữ trắng */
.product-small.col:hover .custom-stock-tag.in-stock {
  background-color: #1797D4 !important;
  color: #ffffff !important;
  border-color: #1797D4 !important;
}

/* NÚT THÊM VÀO GIỎ HÀNG (MẶC ĐỊNH ẨN, HOVER MỚI TRƯỢT HIỂN THỊ) */
.box-text-products .add-to-cart-button {
    position: absolute;
    width: 100%;
    bottom: 0;
  margin-top: 0 !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-small.col:hover .add-to-cart-button {
  max-height: 50px;
  opacity: 1;
  margin-top: 0px !important;
}

.box-text-products .add-to-cart-button a.button {
  display: block !important;
  width: 100% !important;
  background-color: #d0021b !important; /* Đỏ */
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-align: center !important;
  text-transform: none !important;
  box-shadow: 0 2px 6px rgba(208, 2, 27, 0.3) !important;
  min-height: 23px;
}

.box-text-products .add-to-cart-button a.button:hover {
  background-color: #b10217 !important;
}

.row-slider-custom.row-slider {
    overflow: hidden;
}
.row-slider-custom.row-slider .flickity-viewport {
    overflow: none;
}
.col-right .col-inner {
    padding: 15px;
    box-shadow: 0 0px 10px 0 hsl(0deg 0% 0% / 10%);
    border-radius: 0 8px 8px 0px;
}
.section-title-container {
    margin-bottom: 0;
}

.btn-custom.button {
    font-weight: normal;
    margin-right: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.row-feedback .box-feedback >.col-inner {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
}
.row-feedback .box-feedback >.col-inner * {
    color: #333;
}
.row-feedback .box-feedback >.col-inner:hover {
    background-image: linear-gradient(to right, #097CB3 , #1698D1);
}
.row-feedback .box-feedback >.col-inner:hover * {
    color: #ffffff;
}
.row-feedback .box-feedback .icon-box.icon-box-left {
    background-color: #E6E6E6;
    border-radius: 10px;
    padding: 15px;
}
.row-feedback .box-feedback >.col-inner:hover .icon-box.icon-box-left {
    background-color: rgb(255 255 255 / 10%);
}

.box-blog-post .is-divider {
    display: none;
}
p.from_the_blog_excerpt {
    font-size: 14px;
    color: #666666;
}
/* Container ảnh: cắt phần ảnh tràn ra khi zoom */
.post-item .box-image {
  overflow: hidden !important;
  border-radius: 0px;
}

/* Ảnh mặc định */
.post-item .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease !important;
}

/* Zoom in khi hover vào card */
.post-item:hover .box-image img {
  transform: scale(1.08);
}
.post-item .post-title {
    font-size: 14px;
}
.post-item:hover .post-title {
    color: var(--primary-color);
}

h1.product-title {
    font-size: 30px;
    line-height: 35px;
}
.woocommerce-tabs .nav {
    border-bottom: 1px solid #D9D9D9;
}
.woocommerce-tabs .nav > li {
    margin: 0 30px;
}
.woocommerce-tabs .nav > li > a {
    font-size: 16px;
}
.nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
    top: auto;
    bottom: 0;
}
.product-footer .woocommerce-tabs {
    border-top: none;
}
.woocommerce-product-gallery__wrapper {
    border: 1px solid #d9d9d9;
}
.product-info ins .amount,
.product-info .price .amount {
    color: #ef0000;
    font-size: 26px;
}
.product-info del {
    text-decoration: none;
}
.product-info del .amount {
    font-size: 18px;
    color: #333;
    opacity: .8;
}
.product-info .cart {
    border-top: 1px solid #d9d9d9;
    padding-top: 20px;
}
.single_add_to_cart_button {
    border-radius: 5px !important;
    text-transform: none !important;
}
.single_add_to_cart_button.wc-buy-now-btn {
    background-color: #1797D4 !important;
}

.hpt-single-rating-stock {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 16px 0;
  flex-wrap: wrap;
}

/* Khối sao đánh giá */
.hpt-rating-block {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hpt-rating-block .star-rating {
  font-size: 14px !important;
  color: #d9d9d9 !important;
  margin: 0 !important;
}
.hpt-rating-block .star-rating span::before {
  color: #f5a623 !important;
}
.hpt-rating-text {
  font-size: 13px;
  color: #666666;
}

/* Badge tồn kho */
.hpt-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 14px;
}
.hpt-stock-badge.in-stock {
  background-color: #e6f7ec;
  color: #1a9c4c;
  border: 1px solid #b8ecc9;
}
.hpt-stock-badge.out-stock {
  background-color: #fdecec;
  color: #d0021b;
  border: 1px solid #f5c2c2;
}
.hpt-stock-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.price-wrapper .price {
    margin-bottom: 5px;
}

.product_list_widget li .product-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
}
.product_list_widget li del {
    display: none;
}
.product_list_widget li .amount {
    font-size: 13px;
    color: #ef0000;
}
.recent-blog-posts-li a {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    font-weight: 600;
}
.phone-menu {
    background-color: #E8F8FF !important;
}
.phone-menu a {
    color: #DE0024 !important;
    font-size: 16px;
    font-weight: bold;
}
.footer-wrapper ul {
    margin-bottom: 0;
}

.widget-area .widget span.widget-title {
    text-transform: uppercase;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.at-menu-custom {
  background-color: #ddf3fc;
  border-radius: 12px;
  padding: 11px 30px;
  margin: auto;
    display: table;
}

.at-menu-custom .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.at-menu-custom .menu-item {
  position: relative;
  padding: 0 22px;
  border-top: none;
}
.at-menu-custom .menu-item a:before {
    display: none;
}

.at-menu-custom .menu-item:first-child {
  padding-left: 0;
}

/* Gạch phân cách giữa các mục */
.at-menu-custom .menu-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background-color: #333;
}

.at-menu-custom .menu-item a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.at-menu-custom .menu-item a:hover {
  color: #e30613;
}

/* Mục đang active (như "GIỚI THIỆU CHUNG") */
.at-menu-custom .current-menu-item a,
.at-menu-custom .current_page_item a {
  color: #e30613;
}

/* Cuộn ngang trên tablet và mobile */
@media (max-width: 1024px) {
  .at-menu-custom {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    white-space: nowrap !important;
  }

  .at-menu-custom .menu {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
  }

  .at-menu-custom .menu-item {
    flex-shrink: 0 !important;
    display: inline-block !important;
  }

  .at-menu-custom .menu-item a {
    font-size: 14px;
  }
}

/* Tùy chỉnh thêm cho mobile nhỏ */
@media (max-width: 480px) {
  .at-menu-custom {
    padding: 18px 16px;
  }

  .at-menu-custom .menu-item {
    padding: 0 12px;
  }

  .at-menu-custom .menu-item a {
    font-size: 13px;
  }
}

/* Ẩn thanh scrollbar (tùy chọn, cho đẹp hơn) */
.at-menu-custom::-webkit-scrollbar {
  height: 4px;
}

.at-menu-custom::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.at-menu-custom::-webkit-scrollbar-track {
  background: transparent;
}


.hth-perpage-form, 
.hth-orderby-form {
    margin-bottom: 0;
}
.hth-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background-color: #ddf3fc;
  border-radius: 10px;
  padding: 11px 24px;
  margin-bottom: 24px;
}

.hth-result-count {
  font-size: 15px;
  color: #999;
}

.hth-shop-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hth-sort-dropdown label,
.hth-perpage-dropdown label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #999;
  cursor: pointer;
  font-weight: normal;
  white-space: nowrap;
  margin-bottom: 0;
}

.hth-sort-dropdown select,
.hth-perpage-dropdown select {
  border: none;
  background: transparent;
  font-size: 15px;
  color: #999;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 18px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 14px;
  margin-bottom: 0;
  box-shadow: none;
}

.hth-sort-dropdown select:focus,
.hth-perpage-dropdown select:focus {
  outline: none;
}

.shop-page-title.category-page-title {
    display: none;
}
.widget span.widget-title {
    display: block;
    text-transform: none;
    margin-bottom: 15px;
}
.widget .is-divider {
    display: none;
}
.widget>ul>li+li, ul.menu>li+li {
    border: none;
}

.sidebar-inner {
    padding: 20px;
    box-shadow: 0px 0px 10px 0px hsl(0deg 0% 0% / 10%);
    border-radius: 4px;
}
.widget_price_filter .ui-slider .ui-slider-handle, 
.widget_price_filter .ui-slider .ui-slider-range {
    background-color: #E00024;
}
.widget_price_filter .price_label {
    font-size: 12px;
}

.wc-brand-list-layered-nav-product_brand {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term {
  margin-bottom: 0px;
}

.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 32px;
  font-size: 16px;
  color: #222;
  text-decoration: none;
  line-height: 24px;
}

/* Ô vuông checkbox */
.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a:hover::before {
  border-color: #e30613;
}

/* Trạng thái đã chọn (WooCommerce tự thêm class "chosen" vào <li>) */
.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term.chosen a::before {
    border-color: #e30613;
    background-color: #e30613;
    left: 0;
    position: absolute;
    top: 9px;
    transform: none;
    content: '';
    opacity: 1;
}

.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term.chosen a::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='4' y1='4' x2='20' y2='20'/%3E%3Cline x1='20' y1='4' x2='4' y2='20'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term a .count,
.wc-brand-list-layered-nav-product_brand .wc-layered-nav-term span.count {
  color: #222;
  margin-left: 4px;
}

.hth-blog-list {
  max-width: 1200px;
  margin: 0 auto;
}

.hth-blog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

.hth-blog-item:last-child {
  border-bottom: none;
}

.hth-blog-content {
  flex: 1 1 55%;
  max-width: 55%;
}

.hth-blog-thumb {
  flex: 1 1 40%;
  max-width: 40%;
}

.hth-blog-thumb a {
  display: block;
}

.hth-blog-thumb img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.hth-blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hth-blog-meta .hth-blog-sep {
  color: #ccc;
  font-weight: 400;
}

.hth-blog-meta .hth-blog-date,
.hth-blog-meta .hth-blog-readtime {
  font-weight: 400;
  color: #555;
}

.hth-blog-title {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: none;
}

.hth-blog-title a {
  color: #111;
  text-decoration: none;
}

.hth-blog-title a:hover {
  color: #e30613;
}

.hth-blog-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* Responsive */
@media (max-width: 900px) {
  .hth-blog-item {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .hth-blog-content,
  .hth-blog-thumb {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .hth-blog-title {
    font-size: 24px;
  }

  .hth-blog-thumb img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .hth-shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .hth-shop-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (min-width: 850px) {
    .row-cat .col-left {
        flex-basis: 20.5%;
        max-width: 20.5%;
    }
    .row-cat .col-right {
        flex-basis: 79.5%;
        max-width: 79.5%;
    }
}

@media only screen and (max-width: 480px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .hpt-show-cats {
        display: none !important;
    }
    

}

.entry-content.single-page {
  padding-top: 0;
}
.entry-header-text-top {
    padding-bottom: 0;
}