/*
 Theme Name:   Viva-02
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme for Marine Supply Project
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.gb-element-d8377d4b {
    background-color: unset !important;
}

@media (max-width: 768px) {
    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header {
        padding: 10px;
    }
}
.main-navigation a {
    font-size: 0.9rem;
}
/* ==================================================== */
/* TỐI ƯU KHU VỰC THÔNG TIN SẢN PHẨM (SINGLE PRODUCT) */
/* ==================================================== */
/* Stock Status & Attributes */
.single-product.woocommerce-stock-status-shortcode.in-stock { color: var(--c1); font-weight: bold; font-size: .8em; }
.single-product.woocommerce-stock-status-shortcode.out-of-stock { color: #d63638; font-weight: bold; border: 1px solid #d63638; padding: 2px 8px; border-radius: 4px; display: inline-block; font-size: .8em; }
.single-product.woocommerce table.shop_attributes { margin-top: 20px; border-top: 2px solid #777; margin-bottom: 0em !important; }
.single-product.woocommerce table.shop_attributes th { font-weight: normal; letter-spacing: 0em; width: 150px; font-size: .8em; border-bottom: 1px dotted #ddd; padding: 0px; line-height: 1; background: transparent !important; }
.single-product.woocommerce table.shop_attributes td { border-bottom: 1px dotted #ddd; font-size: .8em; padding: 0em; text-align: left; line-height: 1; background: transparent !important; }
.single-product .woocommerce-product-rating { margin-top: 10px; }
.single-product .product_meta {
    padding-top: 0px;
	margin-top: 4px;
	border-top: unset;
	margin-bottom: 20px;
}
.single-product .product_meta .sku_wrapper{
    padding: 3px;
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
}
.single-product .product_meta .posted_in{
    padding: 3px;
    border-bottom: 1px dotted #ddd;
}
.single-product .woocommerce-product-attributes table, .single-product .woocommerce-product-attributes td, .single-product .woocommerce-product-attributes th {
    border: unset;
}
.single-product ins .woocommerce-Price-amount {
    font-size: 1.2em;
    font-weight: 700;
    color: #ec0000;
    margin-left: 10px;
}
.single-product .thong-so-ky-thuat, .single-product .huong-dan-su-dung-sp, .single-product .product-section-title-related, .single-product .viva-sh-left, .single-product .viva-cam-ket, .single-product .san-pham-tuong-tu {
    display: block !important;
    background-color: #095d30;
    color: #fff;
    text-transform: uppercase;
    line-height: 35px;
    padding: 0 10px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 50px;
}
.single-product .contact-widget{
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 0;
}
.single-product .contact-widget ul li {
    display: block;
    border-bottom: 1px dashed #ddd;
    list-style: none;
    margin: 10px;
}
.single-product .woocommerce-stock-status-shortcode {
    font-size: 0.8em;
}
.single-product.woocommerce button.button.alt {
    border-radius: 50px;
    width: 100%;
    text-transform: uppercase;
}
.single-product .viva-cam-ket {
    margin-top: 10px;
}

/* Trang danh mục sản phẩm */
.archive .site-content .content-area {
    width: 100% !important;
}

/* Trang sản phẩm */
.single-product .wc-block-product, .wp-block-post {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}
.single-product .woocommerce-product-gallery {
    border: 2px solid #095d30;
}
.single-product .woocommerce button.button.alt, .woocommerce ul.products li.product.woocommerce-text-align-left .button {
    border-radius: 50px;
	min-width: 100%;
	background-color: #095d30 !important;
	text-transform: uppercase;
	font-size: 14px;
}
.single-product .wc-tabs{
    list-style: none;
    margin: 0 0 1.5em 0;
	text-transform: uppercase;
	font-weight: bolder;
	border-top: 3px solid #095d30;
}
.single-product #tab-title-description{
    padding-top: 10px;

}

.wp-block-post-title {
    box-sizing: border-box;
    word-break: break-word;
    font-weight: 700;
}

 .main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a {
    color: white;
}
.main-navigation {
    background-color: #095d30;
}

.price, .rank-math-breadcrumb p {
    margin-bottom: unset;
}
.wp-block-woocommerce-product-collection {
    margin-bottom: unset !important;
}

/* Thanh tìm kiếm đầu trang */
.wp-block-search__inside-wrapper {
    height: 40px;
    margin-left: 5rem;
}
input[type=search]{
    border: 1px solid #ddd;
    border-radius: 50px !important;
}
.wp-block-search__button {
    border-radius: 50px;
    background-color: #095d30;
}

.single-post .entry-header, .single-post .entry-content {
    background: white;
    border-radius: 12px;
    margin: 20px 20px 20px 0;
    padding: 10px;
}
.single-post .inside-right-sidebar{
    background: white;
    border-radius: 12px;
    margin-top: 65px;
    padding: 10px;
}

.single-post .site-content .content-area, .category .site-content .content-area {
    width: 75% !important;
}
@media (max-width: 768px) {
    .single-post .site-content .content-area, .category .site-content .content-area {
        width: 100% !important;
    }
}
.single-post .is-right-sidebar, .category .is-right-sidebar {
    width: 25%;
}

.trang-gioi-thieu ul li.bullet-arrow:before {
    content: ">" !important;
}
.trang-gioi-thieu ul li.bullet-arrow:before, ul li.bullet-checkmark:before, ul li.bullet-star:before {
    color: #ffffff;
    font-family: roboto;
    font-size: 16px;
    left: 0;
    position: absolute;
}
.trang-gioi-thieu ul li.bullet-arrow, ul li.bullet-checkmark, ul li.bullet-cross, ul li.bullet-star {
    border-bottom: 1px solid #ececec;
    list-style: none;
    margin: 0;
    padding: 7px 0 7px 25px;
    position: relative;
}

.single-product.woocommerce-Tabs-panel--description, .archive .term-description-bottom, .single-post .inside-article {
    text-align: justify;
}

/* breadcrumbs */
.rank-math-breadcrumb p:before {
    content: '';
    display: inline-block;
    width: 13px;
    height: 12px;
    background-image: url(https://en.vannuoc.vn/wp-content/uploads/2026/04/logo-viva-breadcrumbs.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -3px;
}
.rank-math-breadcrumb {
    font-size: 15px;
    margin: 20px 0;
    color: #666;
}
.rank-math-breadcrumb a {
    color: #095d30; /* Màu link */
    text-decoration: none;
}
.rank-math-breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* Phục hồi định dạng cho thẻ div tiêu đề */
.generate-columns-container .inside-article .entry-header .entry-title {
    font-size: 16px; /* Kích thước tương đương h2 cũ của bạn */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    font-family: var(--gp-font-roboto, Roboto, sans-serif);
}

.generate-columns-container .inside-article .entry-header .entry-title a {
    color: var(--contrast-2);
    text-decoration: none;
}

.generate-columns-container .inside-article .entry-header .entry-title a:hover {
    color: #1e73be;
}

/* KHUNG BÀI VIẾT (CARD STYLE) TỐI ƯU */
.generate-columns-container .inside-article {
    border: 1px solid #eaeaea;
    border-radius: 12px; /* Bo góc mềm mại hơn */
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng mượt */
}

/* Hiệu ứng nổi lên khi di chuột */
.generate-columns-container .inside-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* KHUNG ẢNH (Khắc phục lỗi đè chữ khi bài viết chưa có ảnh) */
.generate-columns-container .inside-article .post-image {
    margin: 0 !important;
    background-color: #f3f4f6; /* Nền xám chờ nếu bài viết chưa có ảnh */
    min-height: 170px; /* Đẩy chữ xuống, không cho ngày tháng đè lên */
}

.generate-columns-container .inside-article .post-image img {
    width: 100%;
    height: 170px; /* Ép tất cả ảnh cao bằng nhau */
    object-fit: cover;
    display: block;
}

/* HUY HIỆU NGÀY THÁNG VUÔNG VỨC LÊN GÓC */
.generate-columns-container .inside-article .entry-header .entry-meta {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #095d30; 
    color: #ffffff;
    padding: 8px 4px; 
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    border-bottom-right-radius: 8px;
    margin-top: 0;
    width: 45px; /* Ép khung nhỏ lại để ngày và tháng tự rớt làm 2 dòng */
    text-align: center;
    line-height: 1.3;
}

.generate-columns-container .inside-article .entry-meta time,
.generate-columns-container .inside-article .entry-meta a {
    color: #ffffff !important;
    text-decoration: none;
}

/* CĂN CHỈNH LẠI CHỮ BÊN TRONG CARD CHO THOÁNG */
.generate-columns-container .inside-article .entry-header {
    padding: 15px 15px 0;
    margin-top: 0;
}

.generate-columns-container .inside-article .entry-title {
    font-size: 16px !important; /* Thu nhỏ tiêu đề một chút cho tinh tế */
    line-height: 1.4;
    margin-bottom: 10px;
}

.generate-columns-container .inside-article .entry-summary {
    padding: 0 15px 15px;
    margin-top: auto; /* Ép nút Đọc tiếp luôn nằm đều ở dưới cùng */
    font-size: 14px;
    color: #555;
}
.generate-columns-container .inside-article .entry-summary p {
    margin-bottom: 0;
}
/* ÉP CÁC Ô TRONG CÙNG 1 HÀNG CAO BẰNG NHAU */
.generate-columns-container {
    display: flex;
    flex-wrap: wrap;
}

.generate-columns {
    display: flex;
}

.generate-columns .inside-article {
    flex: 1; /* Bắt buộc thẻ article giãn hết cỡ theo chiều dọc */
    display: flex;
    flex-direction: column;
}

/* Đẩy phần tóm tắt và nút "Đọc tiếp" xuống sát đáy */
.generate-columns .inside-article .entry-summary {
    margin-top: auto; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category .generate-columns-container {
    margin-right: 20px;
}

.category .generate-columns-container .page-header {
    margin-bottom: 20px;
}
.category .generate-columns-container .paging-navigation {
    margin: 20px 0;
}

.category .inside-right-sidebar  {
    background: white;
    padding: 10px;
    font-size: 14px;
    margin-top: 120px;
    border-radius: 12px;
}
.category  .widget .search-field, .single-post .widget .search-field {
    height: 35px;
}
.category .widget .search-form button.search-submit, .single-post .widget .search-form button.search-submit {
    height: 35px;
    border-radius: 50px;
}
.category .widget_search, .single-post .widget_search {
    margin-bottom: 30px;
}
.category .inside-right-sidebar, .single-post .inside-right-sidebar, .single-product .gb-element-b084c53f {
    position: sticky !important;
    top: 30px !important;
}
.category .widget_recent_entries ul li, .single-post .widget_recent_entries ul li {
    border-bottom: 1px solid #ddd;
}

/* ==================================================== */
/* SẢN PHẨM VỪA XEM SIDEBAR - GIAO DIỆN LIST (ẢNH 15)   */
/* ==================================================== */

/* 1. Cấu trúc khung ngoài cho từng ô sản phẩm (li) */
.viva-recently-viewed-wrapper ul.products li.product {
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    padding: 12px 0px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
	border-top: 1px solid #ddd;
}
.viva-recently-viewed-wrapper ul.products li.product:first-child {
    border-top: none !important;
}
/* 2. CHÌA KHÓA: Ép lưới Grid trực tiếp lên thẻ <a> */
.sidebar ul.products li.product > a.woocommerce-LoopProduct-link,
.viva-recently-viewed-wrapper ul.products li.product > a.woocommerce-LoopProduct-link {
    display: grid !important;
    /* Chia cột: Ảnh rộng 70px, Chữ chiếm không gian còn lại */
    grid-template-columns: 70px 1fr !important; 
    grid-template-rows: auto auto !important;
    grid-template-areas: 
        "img title"
        "img price" !important;
    column-gap: 5px !important;
    row-gap: 4px !important;
    align-items: center !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* 3. Căn chỉnh vị trí Ảnh (Nằm ô bên trái) */
.sidebar ul.products li.product > a .wc-product-image,
.viva-recently-viewed-wrapper ul.products li.product > a .wc-product-image {
    grid-area: img !important;
    margin: 0 !important;
}
.sidebar ul.products li.product > a .wc-product-image img,
.viva-recently-viewed-wrapper ul.products li.product > a .wc-product-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* 4. Căn chỉnh Tiêu đề (Nằm ô phải trên, Màu xanh dương giống ảnh 15) */
.sidebar ul.products li.product > a .woocommerce-loop-product__title,
.viva-recently-viewed-wrapper ul.products li.product > a .woocommerce-loop-product__title {
    grid-area: title !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Cắt gọn nếu quá 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: end !important;
    text-align: left !important;
}

/* 5. Căn chỉnh Giá tiền (Nằm ô phải dưới, ngang hàng nhau) */
.sidebar ul.products li.product > a .price,
.viva-recently-viewed-wrapper ul.products li.product > a .price {
    grid-area: price !important;
    margin: 0 !important;
    align-self: start !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important; /* Căn bằng chân chữ */
    gap: 8px !important;
    text-align: left !important;
}

/* Giá bán (Đen đậm, to) */

.viva-recently-viewed-wrapper ul.products li.product > a .price ins .amount {
    font-size: 1em !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Giá gốc (Xám, nhỏ, gạch chéo) */
.viva-recently-viewed-wrapper ul.products li.product > a .price del .amount {
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* 6. Ẩn các thành phần thừa (Ngôi sao đánh giá) */
.sidebar ul.products li.product > a .star-rating,
.viva-recently-viewed-wrapper ul.products li.product > a .star-rating {
    display: none !important;
}

/* Hiệu ứng hover nhè nhẹ */
.sidebar ul.products li.product:hover,
.viva-recently-viewed-wrapper ul.products li.product:hover {
    background-color: #f9f9f9 !important;
}

h1 {
    font-size: 2em;
}
.single-product .entry-content h2, .single-post .entry-content h2 {
    font-size: 1.5em;
	color: #095d30;
    background: #095d3012;
    padding: 5px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.single-product .entry-content h3, .single-post .entry-content h3 {
    font-size: 1.17em;
	color: #cb4b01;
}

/* ====================================================
   Bộ đếm cho thẻ H2, H3
==================================================== */
/* 1. Khởi tạo bộ đếm ở thẻ cha */
.single-post .entry-content, .single-product .entry-content {
  counter-reset: h2-counter;
}

/* 2. Gắn lệnh ĐẾM H2 và RESET H3 thẳng vào thẻ H2 (Không qua ::before) */
.single-post .entry-content h2, .single-product .entry-content h2 {
  counter-increment: h2-counter; /* Đếm H2 ngay khi có thẻ H2 */
  counter-reset: h3-counter;     /* Trả H3 về 0 */
}

/* 3. Gắn lệnh ĐẾM H3 thẳng vào thẻ H3 */
.single-post .entry-content h3, .single-product .entry-content h3 {
  counter-increment: h3-counter;
}
/* 4. Chỉ dùng ::before để HIỂN THỊ số cho H2 */
.single-post .entry-content h2::before, .single-product .entry-content h2::before {
  content: counter(h2-counter) ". " ; /* Thêm !important để chống ghi đè */
  display: inline-block ; /* Ép hiển thị nếu theme lỡ ẩn đi */ 
  color: #cb4b01; 
  font-weight: bold; 
  margin-right: 8px; 
}
/* 5. Dùng ::before để HIỂN THỊ số cho H3 */
.single-post .entry-content h3::before, .single-product .entry-content h3::before {
  content: counter(h2-counter) "." counter(h3-counter) " " ;
  display: inline-block ;  
  color: #095d30; 
  font-weight: bold;
  margin-right: 6px;
}


@media (max-width: 768px) {
    .main-navigation {
        background-color: #fff;
        border-bottom: 1px solid #ddd;
    }
}
@media (max-width: 768px) {
    .main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a {
        color: var(--contrast-2);
    }
}

/* Thiết lập hiển thị cho Mobile Header (Bổ sung flex-wrap) */
#mobile-header .inside-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Rất quan trọng: Cho phép menu xổ xuống rớt dòng */
}

/* Đưa nút Menu (3 gạch) sang bên trái cùng */
#mobile-header .menu-toggle {
    order: -1;
    margin-right: auto !important;
}

/* Đưa icon Giỏ hàng sang bên phải cùng */
#mobile-header .mobile-bar-items {
    margin-left: auto !important;
    order: 10;
}

/* Căn giữa Logo tuyệt đối */
#mobile-header .mobile-header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Đảm bảo logo luôn nổi lên trên, không bị che khuất */
}

/* Ép menu xổ xuống (dropdown) nằm ở dòng dưới và chiếm trọn không gian */
#mobile-header .main-nav {
    flex: 1 1 100%;
    order: 99;
}

.main-navigation .main-nav ul ul li a {
    font-size: 0.8rem;
	font-weight: 400;
}
@media (max-width: 768px) {
    #generate-slideout-menu.main-navigation .main-nav ul ul {
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    #generate-slideout-menu .slideout-menu li a {
        text-transform: uppercase;
    }
}
@media (max-width: 768px) {
    #generate-slideout-menu .slideout-menu li ul li a {
        text-transform: unset;
    }
}
.main-navigation .main-nav ul li a {
    padding-left: unset;
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li a {
        padding-left: 20px
    }
}
#menu-off-canvas-menu {
    padding-top: 20px
}
/* Ẩn giỏ hàng trên thanh menu chính của Máy tính (Desktop) */
@media (min-width: 769px) {
    .main-navigation .menu-bar-items .wc-menu-item {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main-navigation .shopping-cart .gp-icon svg {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .single-post .entry-header, .single-post .entry-content {
        margin: 20px 0px;
    }
}
@media (max-width: 768px) {
    .single-post .is-right-sidebar, .category .is-right-sidebar {
	    display: none !important;
	}
}


/* ==================================================== */
/* TỐI ƯU LƯỚI SẢN PHẨM TRANG CHỦ VÀ SP TƯƠNG TỰ */
/* ==================================================== */

/* 1. Xóa bỏ phần tử ẩn gây lỗi lệch cột của WooCommerce */
.home .woocommerce ul.products::before,
.home .woocommerce ul.products::after {
    display: none;
}

/* 2. Thiết lập CSS Grid cho Desktop (6 CỘT) */
.home .woocommerce ul.products.columns-6, .single-product.woocommerce .related ul.products.columns-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Đã đổi thành 6 cột */
    gap: 15px;
    margin: 10px 0 0 0;
    padding: 10px;
}

/* 3. Style cho từng ô sản phẩm (Khung viền, nền trắng, hiệu ứng hover) */
.home .woocommerce ul.products li.product, .single-product.woocommerce .related ul.products li.product {
    width: 100%;
    margin: 0;
    clear: none;
    display: flex;
    flex-direction: column;
    /* Giao diện đóng khung */
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
}
    /* Hiệu ứng hover nhấc sản phẩm lên và đổ bóng */
    .home .woocommerce ul.products li.product:hover, .single-product.woocommerce .related ul.products li.product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #e5e5e5;
}

/* RESPONSIVE CHO TABLET & MOBILE */
@media (max-width: 1024px) {
    .home .woocommerce ul.products.columns-6, .single-product.woocommerce .related ul.products.columns-6 {
        grid-template-columns: repeat(3, 1fr); /* Tablet: 3 cột */
        gap: 15px;
    }
}
    /* Ẩn bớt các mục con trên Mobile cho thanh tiêu đề đỡ chật */
    .viva-sh-subcats {
        display: none !important;
    }
}
/* ĐỒNG BỘ CHIỀU CAO & CĂN ĐÁY TẠI MỌI MÀN HÌNH */
/* Biến thẻ li (chứa viền trắng) thành Flexbox */
.home .woocommerce ul.products li.product, .single-product.woocommerce .related ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
/* Quan trọng: Ép thẻ a (chứa nội dung) giãn 100% để lấp đầy thẻ li */
.home .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link, .single-product.woocommerce .related ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto; /* Lực kéo giãn thẻ a */
    width: 100%;
}
/* Dùng margin-top auto để đẩy cụm đánh giá và giá tiền xuống đáy */
.home .woocommerce ul.products li.product .star-rating, .single-product.woocommerce .related ul.products li.product .star-rating {
    margin-top: auto !important; 
    margin-bottom: 5px !important;
}

/* FIX SLIDER MOBILE (VÔ HIỆU HÓA GRID 2 CỘT CỦA THEME) */
@media (max-width: 768px) {
    /* Ép hiển thị thanh trượt ngang, tắt bỏ Grid */
    .home .woocommerce ul.products, .single-product.woocommerce .related ul.products {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 10px;
    }

    /* Set cứng kích thước Card để không bị bóp méo */
    .home .woocommerce ul.products li.product, .single-product.woocommerce .related ul.products li.product {
        flex: 0 0 50%; 
        min-width: 50%; /* Bắt buộc phải có để thẻ không bị ép lại */
        max-width: 50%;
        scroll-snap-align: start;
        margin-bottom: 0 ;
    }

    /* Ẩn thanh cuộn ngang để tối ưu UI/UX giống App */
    .home .woocommerce ul.products::-webkit-scrollbar, .single-product.woocommerce .related ul.products::-webkit-scrollbar {
        display: none !important;
    }
    .home .woocommerce ul.products, .single-product.woocommerce .related ul.products {
        -ms-overflow-style: none; /* IE, Edge */
        scrollbar-width: none;    /* Firefox */
    }
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.8em;
    font-weight: 500;
}