/*
Theme Name: thế giới hạnh phúc
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Calistoga&family=Montserrat:ital,wght@0,500;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

#logo {
    width: auto !important;
}

.title-36 {
    font-size: 36px;
}

.product-gallery-slider .woocommerce-product-gallery__image.slide .skip-lazy {
    height: 420px !important;
}

.tghp-banntnsh .price-wrapper .price {
    justify-content: flex-start;
}

.tghp-combosle {
    display: flex;
}

.top-rate-new .price-wrapper .price,
.tghp-bsl .price-wrapper .price {
    justify-content: flex-start;
}

.tghp-combosle .box-image {
    order: 2
}

.tghp-combosle .box-text.text-center {
    width: 50% !important;

}

.tghp-combosale .col {
    padding: 0 !important;
}

.tghp-combosle .woocommerce-loop-product__title a {
    color: #173F5F;
    font-size: 46px;
}

.tghp-combosle .woocommerce-loop-product__title {
    text-align: left;
}

.tghp-subtxt.tghp-ttcush2 p:first-child,
.tghp-subtxt.tghp-ttcush2 p:first-child span {
    font-size: 22px;
}

.like-button.liked svg path {
    stroke: red;
    fill: red;
}

.tghp-colcus p {
    font-size: 18px;
    /* 	font-weight:bold; */
}

#search_filter_register_widget-3 ul>li {
    margin-left: 0 !important;
}

body {
    font-size: 14px;
    background: rgba(246, 246, 246, 1);
}

#main {
    background: rgba(246, 246, 246, 1) !important;
}

.sf-input-checkbox {
    margin-bottom: 0;
}

.single-product .flickity-slider .col {
    width: 90px !important;
}

.single-product .product-title {
    font-size: 36px;
}

.custom-product-page .woocommerce-product-rating {
    visibility: visible;
    position: relative;
    border-bottom: 1px solid #E5E7EB;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.custom-product-page .woocommerce-product-rating .star-rating {
    width: 16% !important;
}

.custom-product-page .product-short-description {
    padding: 10px 0;
}

.custom-product-page .product-short-description p {
    margin: 0;
}

.product-images .woocommerce-product-gallery__wrapper {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/Main.png);
    background-size: contain;
    background-position: 45% 79%;
    background-repeat: no-repeat;
}

.product-images .woocommerce-product-gallery__image {
    padding: 1px 187px !important;
    padding-bottom: 30px !important;
}

.product-images .woocommerce-product-gallery__image img {
    box-shadow: 7px 8px 20px 0px gray;
}

.header-main .nav>li>a {
    font-size: 14px;
}

.tghp-cusprodhome .add_to_cart_button {
    padding: 2px;

}

.tghp-cusprodhome .devvn_buy_now {
    background: #058963;
    color: white;
    display: block;
    padding: 6px 17px;
    margin: 0 10px;
    text-align: center;
    margin-left: 45.7%;
    margin-right: 40px;
    margin-top: -7%;
    z-index: 999999;
    position: relative;
}

.tghp-cusprodhome .price-wrapper {
    height: 70px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.tghp-cusprodhome .box-text .button {
    margin-top: 15px;
}

.tghp-cusprodhome .product-small.box {
    display: flex;
}

.tghp-cusprodhome .product-small.box .box-image {
    width: 55%;
}

.tghp-cusprodhome .box-text.text-center {
    padding-left: 70px;
    padding-right: 40px;
    text-align: left;
}

/*============================*/

[data-icon-label]:after {
    padding-left: 0px;
    top: -5px;
    right: -7px;
    font-weight: 300;
}

.nav>li.header-divider {

    border-left: 1px solid rgb(250 250 250 / 10%);
}

.header-account-title {
    order: 2;
    padding-left: 10px;
}

.header-nav.header-nav-main span {
    color: black;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
}

.stuck [data-icon-label]:after {
    top: 4px;
}

.tghp-bntnewcombo .button {
    width: fit-content !important;
}

.slider-nav-light .flickity-page-dots .dot.is-selected {
    background-color: #058963;
    /*width: 30px;
    height: 30px;
    border: 8px solid #fdfdfd;*/
}

.white.is-shade.is-xsmall {
    font-weight: 600 !important;
    font-size: 14px;
}

.tghp-bttwhite .icon-angle-right {
    margin-top: 5px;
}

.flickity-page-dots {
    bottom: -167px !important;
}

.tghp-bsl .flickity-page-dots {
    bottom: 0 !important;
}

.tghp-bsl .add_to_cart_button {
    font-size: 14px !important;
}

.category-page-row .col.large-3 {
    padding-right: 5% !important;
}

.tghp-txtsale h2 {
    font-size: 48px;
}

.tghp-txtsale p {
    font-size: 20px;
}

.widget-title.shop-sidebar {
    text-transform: uppercase !important;
}

#search_filter_register_widget-3 label {
    font-weight: 300;
}

#woocommerce_price_filter-12 .price_slider_amount {
    display: flex;
    justify-content: space-between;
}

#woocommerce_price_filter-12 .price_slider_amount button {
    order: 4;
    margin: 0;
}

.tghp-bsl .box-image img {
    max-width: 88%;
}

.sf-field-submit input {
    width: 100%;
    font-weight: 300;
    text-transform: unset;
}

.archive .row-small>.flickity-viewport>.flickity-slider>.col,
.archive .row-small>.col {
    padding: 0 20.8px 19.6px;
    margin-bottom: 0;
}

.breadcrumbs,
.woocommerce-breadcrumb span:last-child {
    color: #058963;
    font-weight: 300;
}

.breadcrumbs a {
    color: black;
}

.breadcrumbs a:hover {
    color: #058963;
}

.header-inner .flex-col.hide-for-medium.flex-left.flex-grow {
    padding: 0 10% 0 2%;
}

.woocommerce-breadcrumb {
    text-transform: unset;
}

.tghp-breadcrumcus .tghp-banntnsh .flickity-slider .col {
    margin-right: 50px !important;
}

/*.tghp-banntnsh .col-inner .row .col {
    margin-right: 0px !important;
}*/
.white {
    color: #000000 !important;
    font-weight: 300 !important;
}

.tghp-rgtbnt {
    z-index: 2 !important;
}

.tghp-ftcenter.medium-6.small-12 a {
    color: #058963 !important;
}

.tghp-ftcenter.medium-6.small-12 a:hover {
    opacity: 0.6;
}

.tghp-ttcush2 h2 {
    font-family: "Calistoga", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 48px;
}

.tghp-bnyellow {
    width: fit-content !important;
}

.tghp-ksss {
    position: relative;
    z-index: 1;
    margin-top: 35px !important;
}

.tghp-bntspcus1 h2 {
    font-family: "Calistoga", serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3em;
    /* Đặt chiều cao dòng */
    height: calc(1.3em * 2);
    /* Cố định chiều cao = 2 dòng */
}

#header,
.header-wrapper.stuck {
    border-bottom: 3px solid #058963;
    background: white;
}

.tghp-bntslright .box-image,
.tghp-dgtsg {
    box-shadow: 5px 11px 8px 5px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
    border-radius: 8px;
    overflow: hidden;
}

.tghp-dgtsg {
    height: 484px !important;
    overflow: hidden;
}

.tghp-bsl .box-image {
    box-shadow: 5px 11px 8px 5px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
    border-radius: 8px;
    overflow: hidden;
}

.tghp-bsl .box-image {
    box-shadow: none;
}

.tghp-bsl .price-wrapper {
    flex-direction: row;
}

.tghp-bsl .box-image img {
    height: auto !important;
    max-width: 88%;
    display: block;
    margin: auto;
}

.tghp-bsl .add-to-cart-button a {
    margin-top: 15px !important;
}

.tghp-bsl .woocommerce-Price-amount {
    color: #FF739A !important;
    font-weight: bold !important;
}

.tghp-bsl del .woocommerce-Price-amount bdi {
    color: #273649;
}

.tghp-banntnsh .box-image img {
    height: 260px !important;
}

.tghp-bntspcus1 .img-inner img {
    height: 225px !important;
    overflow: hidden;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 5px 11px 8px 5px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
}

.tghp-bntspcus1 .img {
    height: 225px !important;
    overflow: hidden;
    object-fit: cover;
    border-radius: 8px;
}

.tghp-dgtsg:hover {
    border-radius: 8px;
    overflow: hidden;
}

.tghp-bsl .woocommerce-loop-product__title a,
.tghp-bsl .product-cat {
    color: black;
}

.tghp-bsl del {
    display: block;
}

.tghp-bsl .price del,
.product_list_widget del,
.tghp-bsl del .woocommerce-Price-amount {
    color: #666666;
    font-weight: bold;
}

.tghp-bsl .price-wrapper {
    height: 70px;
}

.archive span.amount {
    color: unset;
    font-size: 20px;
}

.archive .price-wrapper {
    height: 60px !important;
}


.archive del .woocommerce-Price-amount {
    font-size: unset;
}



.product_type_external {
    padding: 5px 17px;
    margin-top: 17px !important;
}

.widget .tagcloud a:hover {
    color: white;
}

.single-product ins span.amount bdi {
    font-size: 36px !important;
}

.tabs.wc-tabs.product-tabs {
    border-bottom: 1px solid #8877773d;
}

.single-product .price del {
    order: 2;
    font-size: 20px;
}

.single-product .product_meta {
    font-size: 14px;
}

.single-product .price-wrapper {
    height: auto !important;
}

.archive .box-image {
    padding: 60px 47px 87px 52px;
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/Group-389.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 340px;
}

.devvn_quick_buy {
    display: block !important;
    margin-top: 10px !important;
    background: #058963;
    color: #fff;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 14px !important;
}

.devvn_quick_buy:hover {
    color: white;
    opacity: 0.7;
}

.custom-product-page .single_add_to_cart_button {
    border-radius: 8px;
    font-weight: 300;
    margin-bottom: 0;
    width: 46%;
}

.tabs.wc-tabs a {
    font-size: 16px !important;
    margin-bottom: -8px;
    padding-bottom: 14px;
}

.custom-product-page .product-title.woocommerce-loop-product__title {
    height: unset;
}

.custom-product-page .add-to-cart-container .devvn_quick_buy {
    padding: 9px 12px;
    width: 46%;
    border-radius: 8px;
    margin-top: 0px !important;
}

.custom-product-page .cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-product-page .is-divider {
    display: none;
}

.single-product .tghp-banntnsh ins span.amount bdi {
    font-size: 20px !important;
}

.single-product .tghp-banntnsh del span.amount bdi {
    color: #bdbdbd;
    font-size: 16px;
}

.single-product .tghp-banntnsh .price del {
    padding-left: 0px;
    font-size: 16px !important;
    color: #bdbdbd !important;

}

/*.description_tab.active a{
    border-bottom: 3px solid #058963;
}*/
.description_tab a::before,
.reviews_tab a::before {
    top: 40px !important;
}

.custom-product-page .quantity {
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    overflow: hidden;
}

.custom-product-page .quantity input {
    border: none;
    width: 40px;
    background: white;
    box-shadow: none;
}

.archive .box-image .image-fade_in_back {
    box-shadow: 5px 12px 20px 2px rgb(0 0 0 / 65%), 0 6px 6px rgb(0 0 0 / 52%);

}

.archive .box-image .image-tools.grid-tools {
    margin-left: -52px;
}

.tghp-banntnsh .flickity-button {
    display: none;
}

.add-to-cart-button a {
    font-size: 14px;
}

.price-wrapper {
    height: 70px !important;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: flex-end;
}

.star-rating {
    width: 100% !important;
}

.widget_price_filter .button {
    text-transform: none;
    background: #E5E7EB !important;
    color: black;
    border-radius: 8px !important;
}

.badge,
.badge+.badge {
    height: 2em;
    margin-top: 10px;
}

.badge-inner.on-sale,
.badge-inner.callout-new-bg {
    background-color: #cd2b2d;
    border-radius: 99px;
    font-weight: 300;
    border-radius: 0 99px 96px 0px;
    padding: 0px 15px 0px 5px;
}

.badge-container {
    margin: 0;
}

.badge-inner.callout-new-bg {
    background: linear-gradient(45deg, #D4FC79, #166534);
}

.product-breadcrumb-container .woocommerce-breadcrumb {
    text-transform: unset !important;
}

.product-breadcrumb-container .woocommerce-breadcrumb a:last-child {
    color: #030712 !important;
}

.tghp-cuscf7 .cf7-telegram-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}

.tghp-cuscf7 .flex-col.ml-half>p {
    background: white;
    border-radius: 0 30px 30px 0;
    margin-left: -20px;
    padding: 3px;
}

.tghp-cuscf7 .wpcf7-form .flex-col.flex-grow {
    padding: 3px;
    background: white;
    border-radius: 30px 0 0 30px;
}

.tghp-cuscf7 .wpcf7-spinner {
    margin-left: -60px;
}

.tghp-cuscf7 .wpcf7-response-output {
    color: white;
}

.tghp-cuscf7 .wpcf7-form-control.wpcf7-submit {
    background-image: url(https://tghp.smb.vn/wp-content/uploads/2025/03/Vector.svg);
    background-color: white !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.related.products ul.products {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    /* Khoảng cách giữa các sản phẩm */
}

.custom-related-products .title-wrapper,
.custom-related-products .price-wrapper,
.custom-related-products .add-to-cart-button {
    text-align: left;
}

.custom-related-products .star-rating {
    margin-left: 0;
}

.related.products ul.products li.product {
    width: 48%;
    /* Chia 2 cột */
}

.custom-related-products .box-text {
    padding-left: 50px !important;
    height: fit-content;
    padding-top: 60px;
}

.custom-related-products .col {
    padding-bottom: 90px !important;
}

.tghp-cuscf7 .form-flat input:not([type=submit]) {
    border-radius: 20px 0 0 20px !important;
    height: 40px;
    background: white;
    box-shadow: unset;
    border: none;
}

.custom-related-products .product-small.box {
    display: flex;
}

.custom-related-products .devvn_buy_now {
    width: 34%;
    margin-top: -43px;
    margin-left: 225px;
}

.tghp-cuscashsig p {
    border: 1px solid #6b72803d;
    padding: 10px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    color: #6B7280;
}

.tghp-cuscashsig p:first-child {
    border-radius: 6px 6px 0 0;
}

.tghp-cuscashsig p:last-child {
    border-radius: 0 0 6px 6px;
}

.tghp-cuscashsig p img {
    width: 30px;
    margin: 0 30px 0 20px;
}

.tghp-combosale .row.align-middle {
    background: linear-gradient(45deg, #E8FFE5, #FFFFFF);
}

.single-product span.amount {
    color: #000;
}
.single-product .tghp-banntnsh {}
.single-product .col.medium-6.small-12.large-6 span.amount {
    font-size: 36px;
}

.single-product .tghp-banntnsh span.amount {
    font-size: 20px;
}

.single-product del span.amount {
    color: #bdbdbd;
}

.price del {
    color: #111827 !important;
}

.widget-title {
    text-transform: unset !important;
    color: #030712 !important;
}

.tghp-nopaddbot {
    padding-bottom: 0 !important;
}

.tghp-social a {
    border-color: black;
}

.tghp-social i {
    color: black;
}

.tghp-ullistyle li {
    list-style: none;
    margin-left: 0 !important;
}

.tghp-ullistyle li a:hover {
    color: #058963;
}

.absolute-footer {
    display: none;
}

.footer-primary.pull-left {
    margin-top: 15px;
}

.tghp-bntspcus1>.col-inner {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/blue.png);
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: 10px;
    overflow: hidden;
    background-position: center;
}

.tghp-bntspcus2>.col-inner {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/green.png);
}

.tghp-bntspcus3>.col-inner {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/red.png);
}

.tghp-banntnsh {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/bookcase-1.png);
    padding: 110px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.tghp-banntnsh2rol {
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/1c75f1ce-323b-43c3-a54f-74cd3cdf283e-1.png);
}

.tghp-banntnsh2rol1 {
    /*    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/empty-brown-wooden-book-shelf-1.png);*/
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/1c75f1ce-323b-43c3-a54f-74cd3cdf283e-1.png);

}

.tghp-banntnsh2rol2 {
    /*    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/wooden-shelf-3d-render-white-space-1.png);*/
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/1c75f1ce-323b-43c3-a54f-74cd3cdf283e-1.png);

}

.tghp-banntnsh2rol3 {
    /*    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/light-bookshelf-with-three-sections.png);*/
    background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/1c75f1ce-323b-43c3-a54f-74cd3cdf283e-1.png);

}

.tghp-feaddback .flickity-slider>.row {
    margin-right: 1% !important;
}

.tghp-feaddback {
    padding: 30px 0;
}

.tghp-bntendh .col {
    padding-bottom: 0;
}

.tghp-banntnsh2rol .row.large-columns-2 .col {
    padding-bottom: 100px;
}

.woocommerce-breadcrumb.breadcrumbs a,
.woocommerce-breadcrumb.breadcrumbs {
    font-size: 16px;
}

.wc-block-components-button.wp-element-button {
    background: #058963 !important;
    min-height: 2em !important;
    padding: 0 !important;
    color: white !important;
    width: 30% !important;
}

.wc-block-cart__submit-container .wc-block-components-button.wp-element-button {
    width: 100% !important;
}

.wc-block-checkout .wc-block-components-order-summary-item__total-price {
    display: flex;
    align-items: center;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    font-weight: 600 !important;
    font-size: 20px !important;
}

.page-id-11 .is-large.wc-block-cart .wc-block-cart-items th {
    font-size: 20px !important;
}

.is-large.wc-block-cart .wc-block-cart__totals-title {
    font-size: 20px !important;
    padding: 0px 16px 8px 0 !important;
}

.wc-block-checkout .wc-block-components-checkbox__label {
    font-size: 20px !important;
}

.wc-block-checkout .wc-block-components-product-metadata__description,
.wc-block-cart-item__product .wc-block-components-product-metadata,
.page-checkout .large-7.col p {
    display: none;
}

.wc-block-checkout .wc-block-checkout p,
.wc-block-checkout span,
.wc-block-checkout div,
.wc-block-components-totals-item span,
.wc-block-components-panel__button,
.wc-block-cart-item__remove-link {
    font-size: 16px !important;
    /*    font-weight: 600 !important;*/
}

.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-title.wc-block-components-title,
.wc-block-components-totals-item__value .wc-block-components-totals-footer-item-tax-value {
    font-size: 20px !important;
}

.page-checkout th {
    font-size: 16px !important;
}

.page-checkout span.amount,
.woocommerce-table span.amount,
.woocommerce-orders-table__cell span.amount {
    color: black;
}

.widget_shopping_cart p.total {
    color: black;
}

tfoot .woocommerce-button,
.woocommerce-button.button.view {
    margin: 0 !important;
}

.page-checkout .success-color {
    color: #058963;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-checkout .wc-block-components-totals-item__value>.wc-block-formatted-money-amount:last-child {
    font-weight: 600 !important;
    font-size: 20px !important;
}

.single-product .devvn_quick_buy {
    font-size: 16px !important;
}

.single-product .cart-item span.amount {
    color: black;
}

.woocommerce-message.message-wrapper:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
    ;
}

.wc-block-components-product-name {
    font-size: 20px !important;
}

.add_to_cart_button {
    background: #E4C200 !important;
    color: white !important;
    border: none !important;
    padding: 2px 15px;
    font-weight: 300;
    text-transform: unset;
    font-size: 14px !important;
    width: 100%;
    height: 40px;
}

.tghp-bsl .add_to_cart_button {
    padding: 5px 15px;
}

.text-center .button:first-of-type {
    width: 100%;
    padding: 4px 0;
}

.tghp-social .button:first-of-type {
    width: unset;
}

ins .woocommerce-Price-amount {
    font-size: 20px;
}

.price-wrapper .price {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0 5px;
    align-items: center;
}

.price-wrapper .price ins .woocommerce-Price-amount,.single-product .tghp-banntnsh .price-wrapper .price ins .woocommerce-Price-amount{
    color: #ff739a;
}
.single-product .tghp-banntnsh .price-wrapper .price ins span.amount bdi{
    margin: 0;
}
.price-wrapper {
    height: 60px;
}

.wc-block-grid.wp-block-product-new,
.page-id-11 .wp-block-heading:last-child {
    display: none;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title a {
    border: 1px solid green;
    padding: 5px 15px;
    border-radius: 5px;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title {
    margin-bottom: 10px;
}

.dashboard-links a {
    font-size: 16px;
    padding: 10px 0;
}

.product-title.woocommerce-loop-product__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.5em;
    max-height: 41px;
}

.product-title.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.1em;
    line-height: 1.2em;
    max-height: 3.8em;
}

.related .woocommerce-loop-product__title a {
    color: black;
}

.woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide span {
    display: flex;
}

.box-text {
    padding-bottom: 0.8em;
}

.product-small .title-wrapper {
    display: flex;
    flex-direction: column;
    /*    text-align: left;*/
}

.archive .star-rating {
    margin-left: 29%;
}

.archive .price {
    /* margin-left: 22%; */
    justify-content: center;
}

.product-cat {
    order: 2;
    color: white;
    text-transform: unset;
    font-size: 14px;
}

.devvn_buy_now {
    background: #058963;
    color: white;
    display: block;
    padding: 6px 17px;
    margin: 0 10px;
    text-align: center;
}

.woocommerce-loop-product__title a {
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.archive .woocommerce-loop-product__title a,
.archive .product-cat {
    color: black;
}

.tghp-banntnsh>.col-inner.text-center {
    height: 830px;
}

span.amount {
    color: #000;
    font-size: 16px;
}

.price del,
.product_list_widget del,
del .woocommerce-Price-amount {
    font-size: 16px;

}

.price-wrapper del {
    text-decoration: none;
    /* tạo khoảng cách với giá mới */
    display: inline-block;
}

.price-wrapper del span bdi {
    text-decoration: line-through;
}

.single-product .col.medium-6.small-12.large-6 del span.amount {
    font-size: 20px;
}

.add_to_cart_button:hover,
.devvn_buy_now:hover {
    color: white;
}

.tghp-ttt h3 {
    font-size: 48px;

}

.tghp-ttt h3 span {
    text-transform: capitalize;
    color: #282828;
}

.tghp-txtd h2 {
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    font-size: 48px;
    margin-left: -90px;
    margin-top: 100px;
    position: absolute;
    width: 342px;
}

.tghp-txtd h2 span {
    display: inline-block;
    transform: rotate(-90deg);
    /* Xoay từng chữ cái 90 độ */
    transform-origin: center;
}


.tghp-colcus {
    width: 29%;
    max-width: 29%;
    flex-basis: 29%;

}

.tghp-rgtbnt {
    z-index: 2;
}

/*.tghp-ksss{
    z-index: 1;
}*/
.icon-phone,
.icon-shopping-basket {
    color: #058963;
}

input[type=search] {
    border-radius: 10px 0 0 10px !important;
    height: 40px;
    background: #d6d8de4f;
    box-shadow: unset;
    border: none;
}

.button.secondary:not(.is-outline) {
    background-color: #058963 !important;
    height: 40px;
    width: 90px;
    border-radius: 0 10px 10px 0;
    margin-right: 20px;
}

.tghp-feaddback {
    border-radius: 20px;
    padding: 50px 30px;
}

.tghp-feaddback .flickity-viewport>.col-inner {
    border-radius: 15px;
}

.page.page-id-550 .button.secondary:not(.is-outline) {
    width: auto;
    margin-right: 20px;
    padding: 0 20px;

}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: flex-end;
}

label {
    display: flex;
}

.required {
    color: red;
}

.woocommerce-privacy-policy-text {
    font-size: 100%;
}

.account-register-inner .button:first-of-type {
    width: fit-content;
    padding: 4px 20px;
}

.woocommerce-form.woocommerce-form-register.register p:nth-child(2) {
    font-weight: 600;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions .woocommerce-button.button.view {
    order: 3;
    margin-left: 10px !important;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    margin: 0;
    margin-left: 10px !important;
}

.tghp-rgtbnt .flickity-viewport {
    height: 490px !important;
}

.product-price-container .star-rating.no-rating {
    display: none;
}

.add-to-cart-container .stock {
    display: none;
}

/* chinhpc add css */
.header-bottom .menu-item a {
    font-weight: 500;
    font-size: 16px;
}

.SalesHome .saleBlockFirst .banner {
    background: linear-gradient(238.58deg, #058963 0%, #6E952B 100%),
        linear-gradient(98.82deg, rgba(0, 0, 0, 0.6) 10.4%, rgba(0, 0, 0, 0) 59.43%);
}

.SalesHome .saleBlockFirst .banner .bg-loaded {
    width: 400px;
    height: 400px;
    top: 15%;
    right: 100px !important;
    float: left;
    left: 42%;
}

.SalesHome .bannerSales2 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(102, 102, 102, 0.2) 100%);
}

.SalesHome .bannerSales2 .bg-loaded {
    width: 300px;
    height: 300px;
    top: 0%;
    right: 100px !important;
    float: left;
    left: 57%;
}

.SalesHome .banner,
.SalesHome .bannerSales3 .bg-loaded {
    border-radius: 10px;
}

.boxTextSale .titleLight {
    font-weight: 400 !important;
    font-style: normal;
    font-size: 40px;
    color: #fff;
    text-transform: capitalize;
    line-height: normal;
}

.boxTextSale h3 {
    font-weight: 400 !important;
    font-style: normal;
    font-size: 20px;
    line-height: normal;
    color: #fff;
    padding-left: 10px;
}

.saleOffText {
    border-left: 2px solid rgba(132, 209, 135, 1);

}

.boxTextSale .percentSale {
    background: rgba(255, 138, 0, 1);
    padding: 6px 10px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
}

.boxTextSale p {
    font-size: 14px;
    color: #fff;
    padding-left: 10px;
}

.btn1SaleHome:hover {
    background: #fff !important;
    color: rgba(0, 178, 7, 1) !important;
    padding: 5px 20px;
}

.btn1SaleHome {
    padding: 5px 20px;
    font-weight: bold;
}

.bannerSales2 .boxTextSale h3 {
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500 !important;
    padding-left: 0px;
}

.bannerSales2 .boxTextSale .percentSale {
    background: transparent;
    color: #000;
    font-size: 40px;
    padding: 0px;
    font-weight: 600;
    padding-left: 0px;
}

.bannerSales2 .boxTextSale p {
    color: #000;
    font-size: 14px;
    padding-left: 0px;
}

.bannerSales2 .btn1SaleHome {
    color: rgba(0, 178, 7, 1) !important;
}

.btn2SaleHome {
    width: auto !important;
    padding: 5px 20px !important;
    font-weight: bold;
}

.btn2SaleHome:hover {
    background: #fff !important;
    color: rgba(0, 178, 7, 1) !important;
    padding: 5px 20px;
}

.popularCategories {
    clear: both;
}

.popularCategories .box-category {
    padding: 15px;
    background: #fff;
    border: 1px solid #fff;
}

.popularCategories .box-text {
    height: 60px;
    max-height: 100%;
}

.popularCategories .header-title {
    font-size: 14px;
    font-weight: 500;
}

.rowCol5 .col.custom-five-col {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

.rowCol5 .col.custom-five-col .product-small.box {
    width: 100% !important;
    max-width: 100%;
    flex-basis: 100%;
    background: rgba(255, 255, 255, 1);
    padding: 15px !important;
    border: 1px solid rgba(230, 230, 230, 1) !important;
    padding-top: 0px !important;
}

.rowCol5 .col.custom-five-col .product-small .box-image {
    height: 248px !important;
}

.rowCol5 .col.custom-five-col .product-small .product-title a {
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(77, 77, 77, 1);
    text-align: justify;
    height: auto !important
}

.rowCol5 .col.custom-five-col:hover {
    cursor: pointer;
}

.rowCol5 .col.custom-five-col:hover .product-small .product-title a,
.custom-product-list .product-item:hover .product-title a {
    color: rgba(0, 178, 7, 1);
}

.rowCol5 .col.custom-five-col .product-small .quick-view {
    display: none;
}

.rowCol5 .col.custom-five-col .product-small .woocommerce-Price-amount ins bdi {
    font-weight: 500;

    line-height: 150%;
    letter-spacing: 0%;
    color: #FF739A;
    font-weight: bold;
}

.custom-product-list del span.amount {
    margin-left: 8px;
}

.rowCol5 .col.custom-five-col .product-small .woocommerce-Price-amount bdi {
    font-size: 18px;
}

.rowCol5 .col.custom-five-col .rating-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rowCol5 .col.custom-five-col .cart-icon {
    border: 1px solid rgba(242, 242, 242, 1);
    padding: 7px 9px;
    font-size: 15px;
    border-radius: 50%;
    background: rgba(242, 242, 242, 1);
    float: right;
}

.rowCol5 .col.custom-five-col:hover .cart-icon {
    background: rgba(0, 178, 7, 1);
    color: #fff !important;
}

.rowCol5 .col.custom-five-col .rating-wrapper {
    flex-grow: 2;

}

.rowCol5 .col.custom-five-col .star-rating:before {
    position: relative !important;
}

.rowCol5 .col.custom-five-col .price-wrapper {
    display: block;
    text-align: left;
    height: auto !important;
}

.rowCol5 .col.custom-five-col .product-title.woocommerce-loop-product__title {
    height: auto !important;
}

.bannerOFP {
    background-color: #A6AF72 !important;
    background: linear-gradient(208.72deg, rgba(166, 175, 114, 0) 0%, #FFFFFF 100%);
}

.bannerOFP .banner-bg .bg-loaded {
    transform: scaleX(-1);
    width: 230px;
    height: 230px;
    position: absolute;
    top: 40%;
    left: 0%;
}

.bannerOFP .banner-layers {
    position: relative;
}

.bannerOFP .text-box.banner-layer {
    top: 20%;
}

.bannerOFP .text-inner h3 {
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    color: #000
}

.bannerOFP .text-inner h3 .percentSale {
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(0, 178, 7, 1);
}

.bannerOFP .btn1SaleHome {
    color: rgba(0, 178, 7, 1) !important;
    background: #fff !important;
    font-weight: bold;
}

.bannerOFP .text-inner h3 {
    margin-bottom: 10px;
}

.headerLineOFP {
    font-weight: 600;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0%;

    text-align: center;
    color: rgba(26, 26, 26, 1);
}

.subTitleHeadOFP,
.top-rate-sub-title {
    font-weight: 500;
    font-family: "Montserrat", sans-serif !important;
    font-size: 20px;
    padding-bottom: 20px;
    line-height: 100%;
    letter-spacing: 2%;
    text-align: center;
    text-transform: uppercase;
    color: rgba(0, 178, 7, 1);
}


.custom-product-list .section-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(26, 26, 26, 1);
}

.custom-product-list .products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-product-list .product-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px;
    min-height: 150px;
    position: relative;
}

.product .product-page-price {
    justify-content: left;
}

.custom-product-list .product-image {
    position: relative;
    margin-right: 15px;
}

.top-rate-new .top-rate-sub-title {
    text-align: center;
    text-transform: uppercase;
    font-family: Poppins;
    color: #00B207;
    margin-bottom: 0;
}

.top-rate-new .star-rating {
    display: block;
}

.top-rate-new .price-wrapper {
    display: block;
}

.top-rate-new .product-title,
.top-rate-new .product-title a {
    height: auto;
}

.top-rate-new .price-wrapper .price {
    margin-top: 20px;
}

.top-rate-new .price-wrapper .price ins bdi {
    color: #FF739A !important;
}

.top-rate-new .top-rate-title {
    text-align: center;
}

.top-rate-new .top-rate-product {
    background: url('https://tghp.smb.vn/wp-content/uploads/2025/03/bookcase-1.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 150px 90px 150px 158px;

}

.top-rate-new .flickity-viewport {
    height: 285px !important;
}

.custom-product-list .product-image img {
    width: 80px;
    height: auto;
    object-fit: cover;
}

.custom-product-list .product-actions {
    position: absolute;
    display: none;
    transition: opacity 0.3s ease;
    bottom: 30px;
}

.custom-product-list .product-item:hover .product-actions {
    display: block;
}

.custom-product-list .product-item:hover .price-wrapper,
.custom-product-list .product-item:hover .rating-wrapper {
    opacity: 0;
}

a.action-icon.liked {
    color: #058963;
}

.custom-product-list .action-icon {
    float: left;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-product-list .cart-icon {
    background: #28a745;
    color: #fff;
}

.noibat .box-image img {
    max-width: 77%;
    display: block;
    margin: auto;
}

.ban-cus .ago {

    transition: all ease-in-out .5s;
}

.ban-cus:hover .ago {
    left: 0;
}

.custom-product-list .product-info {
    flex-grow: 1;
}

.custom-product-list .product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px;
}

.page-id-1982 {
    overflow-x: hidden;
}

.custom-product-list .product-title a {
    color: #333;
    text-decoration: none;
}

.custom-product-list .price-wrapper {
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
    height: auto !important;
    justify-content: flex-end;
}

.section-best-seller .price-wrapper {
    justify-content: flex-start;
}

.custom-product-list .rating-wrapper {
    font-size: 14px;
}

.bannerListProduct2 {
    background: linear-gradient(195.34deg, #FFD328 89.82%, #CAA100 89.82%) !important;
}

.bannerListProduct2 .banner-bg .bg-loaded {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 7%;
}

.bannerListProduct2 .text-box.banner-layer {
    top: 20%;
}

.bannerListProduct2 .text-inner h3 {
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    color: #000
}

.bannerListProduct2 .text-inner .banner2SaleInfo {
    font-size: 29px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(26, 26, 26, 1);
    text-transform: math-auto;
}

.bannerListProduct2 .btn1SaleHome {
    color: rgba(0, 178, 7, 1) !important;
    background: #fff !important;
    font-weight: bold;
}

.bannerListProduct2 .text-inner h3 {
    margin-bottom: 10px;
}

.bannerCountDown {
    background: linear-gradient(180deg, #293A4C 0%, #46607A 54.33%, #273649 100%) !important;
    border-radius: 8px;
    position: relative;
}

.bannerCountDown * {
    position: static;
}

.bannerCountDown img {
    max-width: 70%;
    display: block;
    margin: auto;
    margin-bottom: 6rem;
}

.custom-countdown {
    color: #fff;
    text-align: center;
    margin: 0 auto;
}

.custom-countdown .countdown-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.custom-countdown .countdown-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
}

.custom-countdown .countdown-timer {
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
}

.custom-countdown .countdown-timer span {
    display: inline-block;
    min-width: 40px;
    /* Tăng kích thước block để giãn khoảng cách */
    margin: 0 9px;
    /* Giãn khoảng cách giữa các block */
}

.custom-countdown .countdown-labels {
    font-size: 12px;
    color: #ddd;
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Khoảng cách giữa các label */
}

.custom-countdown .countdown-labels span {
    min-width: 40px;
    margin: 0px 7px;
}

.custom-countdown .countdown-shop-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.custom-countdown .countdown-shop-button:hover {
    background-color: #c0392b;
}

.bannerCountDown .btn1SaleHome {
    margin-top: 13rem;
    width: auto !important;
    background: #fff !important;
    color: rgba(0, 178, 7, 1) !important;
    padding: 5px 37px !important;
    font-weight: bold !important;
    font-size: 14px;
}

.top-rate-new .flickity-page-dots {}

.bannerCountDown .text-box-content h4 {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 14px;
}

.bannerCountDown .text-box-content h2 {
    letter-spacing: 2px;
    font-size: 27px;
    font-weight: 500;
}

.banner2CountDown {
    background: linear-gradient(180deg, #513A53 0%, #A74950 49.04%, #47344C 100%) !important;
}

.banner2CountDown .text-box-content h3 {
    margin: 28px auto;
}

.banner2CountDown .text-box-content h3 b {
    color: rgba(255, 138, 0, 1);

}

.banner3CountDown {
    background: linear-gradient(180deg, #297362 0%, #65955B 47.12%, #236055 100%) !important;
}

.banner3CountDown .text-box-content h3 {
    margin: 28px auto;
    color: #000;
}

.banner3CountDown .text-box-content h3 b {
    color: rgba(252, 201, 0, 1) !important;
    background: #000 !important;
    padding: 8px 10px;
    border-radius: 8px;
}

.banner3CountDown .text-box-content h2 {
    color: #000 !important;
}

.banner3CountDown .text-box-content h4 {
    color: #000 !important;
}

/* Danh sách sản phẩm */
.custom-product-section .sale-products-grid {
    margin-top: 20px;
    display: grid;
    /* Sử dụng CSS Grid */
    grid-template-columns: repeat(5, 1fr);
    /* 5 cột bằng nhau */
}

/* Sản phẩm lớn (chiếm 2 cột, 2 hàng) trong sale-products-grid */
.custom-product-section .sale-products-grid .featured-product {
    grid-column: span 2;
    /* Chiếm 2 cột */
    grid-row: span 2;
    /* Chiếm 2 hàng */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    /* Thêm padding để nút Add to Cart không bị sát đáy */
}

.custom-product-section .sale-products-grid .product-title a {
    display: -webkit-box;
    text-align: left;
    min-height: 3em;
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;

}

.custom-product-section .sale-products-grid #best-sale .product-title a {
    display: block;
    text-align: center;
}

/* Các sản phẩm nhỏ còn lại */
.custom-product-section .sale-products-grid .product-item:not(.featured-product) {
    grid-column: span 1;
    /* Mỗi sản phẩm nhỏ chiếm 1 cột */
    /* Chiều cao của chúng sẽ tự động điều chỉnh theo hàng */
}

/* Giữ nguyên các phần CSS khác không liên quan đến bố cục lưới cụ thể của sale-products-grid */
.custom-product-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.custom-product-section .section-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.show-on-hover {
    display: none !important;
}

.custom-product-section .view-all-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-product-section .view-all-link:hover {
    text-decoration: underline;
}

.custom-product-section .products-grid {
    /* Cho trường hợp không có sale */
    margin-top: 20px;
    display: grid;
   /*// grid-template-columns: repeat(5, 1fr);*/
    gap: 10px;
}

.custom-product-section .products-row {
    /* Có thể không cần thiết nữa nếu dùng grid cho tất cả */
    display: flex;
    /* Giữ lại nếu bạn vẫn dùng flex cho trường hợp không có sale */
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.custom-product-section .product-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}

/* Kích thước sản phẩm nhỏ (mặc định cho lưới 5 cột) */
.custom-product-section .products-grid .product-item {
    /* Chỉ áp dụng cho trường hợp không có sale */
    flex: 0 0 calc(20% - 10px);
    max-width: calc(20% - 10px);
}

/* Badges (Sale, Best Sale) - Giữ nguyên */
.custom-product-section .sale-badges {
    position: absolute;
    top: 5px;
    left: 5px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.custom-product-section .sale-badge,
.custom-product-section .best-sale-badge {
    background-color: #e74c3c;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

.custom-product-section .best-sale-badge {
    background-color: #2ecc71;
}

/* Countdown trong sản phẩm lớn - Giữ nguyên */
.custom-product-section .featured-product .countdown-wrapper {
    width: 100%;
    padding: 10px;
}

.custom-product-section .featured-product .countdown-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(153, 153, 153, 1);
}

.custom-product-section .featured-product .countdown-subtitle {
    font-size: 12px;
    margin-bottom: 5px;
    color: #777;
}

.custom-product-section .featured-product .countdown-timer {
    font-size: 18px;
    justify-content: space-around;
    align-items: flex-end;
}

.custom-product-section .featured-product .countdown-timer span {

    margin: 0 12px;
    color: #000;
    font-weight: 400;
    padding: 5px 0;
}

.custom-product-section .featured-product .countdown-timer span:after {
    content: '';
    display: none;
}

.custom-product-section .featured-product .countdown-labels {
    font-size: 12px;
    color: #777;
    display: flex;
    justify-content: space-around;
    padding: 0 5px;
}

.custom-product-section .featured-product .countdown-labels span {
    width: 35px;
    text-align: center;
    margin: 0 20px;
}

.custom-product-section .featured-product .countdown-shop-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.custom-product-section .featured-product .countdown-shop-button:hover {
    background-color: #c0392b;
}

.custom-product-section .product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 150px;
}


.tghp-banntnsh .product-item .product-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 5px;
    text-align: left;
    min-height: 3em;
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Hướng hiển thị theo chiều dọc */
}

.custom-product-section .product-info {
    margin-top: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Đẩy các phần tử ra hai đầu */
    align-items: flex-start;
    /* Căn giữa theo chiều ngang cho nội dung info */
    text-align: center;
    /* Đảm bảo text căn giữa */
}

#best-sale {
    align-items: center;
}

#best-sale h3 {
    text-align: center;

}

#best-sale h3 a {
    color: #00B207;
}

.view-all-link {
    width: 10%;
    color: #00B207 !important;
}

.text-view-all {
    color: #00B207 !important;
}

.text-view-all::after {
    content: "\2192";
}

.custom-product-section .product-title {
    font-size: 16px;
    display: -webkit-box;
    max-height: 48px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    margin: 0 0 5px;
}

.custom-product-section .product-title a {
    color: #333;
    text-decoration: none;
}

.custom-product-section .price-wrapper {
    font-size: 16px;
    color: #000;
    margin-bottom: 8px;
    /* Giảm khoảng cách dưới giá */
    height: auto !important;
}

.custom-product-section .price-wrapper del {
    color: #999;
    font-size: 0.9em;
}

.custom-product-section .price-wrapper ins {
    text-decoration: none;
    font-weight: bold;
    color: #e74c3c;
}

.custom-product-section .rating-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Căn giữa các icon */
    gap: 8px;
    /* Giảm khoảng cách giữa rating và cart icon */
    margin-top: 10px;
    width: 100%;
    /* Đảm bảo chiếm đủ chiều rộng để căn giữa */
}

.custom-product-section .cart-icon {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.custom-product-section .cart-icon:hover {
    background-color: #e0e0e0;
}

.custom-product-section .rating-wrapper {
    font-size: 14px;
    width: 100%;
}

.custom-product-section .star-rating {
    display: inline-block;
    position: relative;
    height: 2em;
    font-size: 1.2em;
    width: 5em;
    line-height: 1;
    text-align: left;
}

.section-best-seller .star-rating {
    text-align: left;
}

.custom-product-section .star-rating.first {
    text-align: center;
}

.custom-product-section .star-rating:before {
    content: "★★★★★";
    color: #ddd;
    width: 100%;
    font-size: 22px;
}

.custom-product-section .star-rating span {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
}

.custom-product-section .star-rating span:before {
    content: "★★★★★";
    color: #f7b400;
    position: absolute;
    top: 0;
    left: 0;
}

/* Featured product specific rating and add to cart */
.custom-product-section .featured-product .rating-add-to-cart-wrapper {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    /* Đẩy xuống dưới cùng của flex container */
}

.custom-product-section .featured-product .add-to-cart-button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 80%;
}

.custom-product-section .featured-product .add-to-cart-button:hover {
    background-color: #333;
}

.custom-product-section .featured-product .quick-view-icon {
    font-size: 20px;
    color: #555;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-product-section .featured-product .quick-view-icon:hover {
    background-color: #e0e0e0;
}

.custom-product-section .sale-products-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Giữ nguyên 5 cột */
}

.custom-product-section .featured-product .product-image img {
    max-height: 300px;
    /* Tăng chiều cao tối đa cho ảnh sản phẩm lớn, ví dụ từ 300px lên 350px */
}

.custom-product-section .featured-product .woocommerce-Price-amount bdi {
    color: #FF739A;
    font-weight: bold;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0%;
}

.custom-product-section .star-rating.first {
    text-align: center;
}

del bdi {
    color: #bdbdbd !important;
}

.custom-product-section del bdi {
    margin-left: 10px;
}

.custom-product-section .featured-product .product-title {
    height: auto !important;
    min-height: auto !important;
    max-height: auto !important;
}

.custom-product-section .featured-product .star-rating {
    margin: 0px;
}

.custom-product-section .featured-product .product-image {
    width: 460px;
    height: 460px;
}

.custom-product-section .featured-product .product-image img {
    width: 100%;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
}

.custom-product-section .rating-add-to-cart-wrapper {
    position: absolute;
    top: 60%;
    display: none !important;
}

.custom-product-section .product-item:hover {
    cursor: pointer;
    border: 1px solid rgba(44, 116, 47, 1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 12px 0px rgba(32, 181, 38, 0.32) !important
}

.custom-product-section .product-item:hover .product-title {
    color: rgba(44, 116, 47, 1);
}

.custom-product-section .product-item:hover .rating-add-to-cart-wrapper {
    display: block !important;
}

.custom-product-section .product-item .add-to-cart-button i {
    padding-left: 15px;
}

.custom-product-section .product-item:hover .add-to-cart-button {
    background: rgba(0, 178, 7, 1);
    border-radius: 43px;
    padding-top: 14px;
    padding-right: 120px;
    padding-bottom: 14px;
    padding-left: 120px;
    width: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
}

#logo img {
    max-height: 171px !important;
    margin-top: -50px;
}

.stuck #logo img {
    max-height: 151px !important;
}

.product-template-default .product .product-gallery-slider .woocommerce-product-gallery__image.slide .skip-lazy {
    height: auto !important;
}

.product-template-default .product .price-not-in-stock span.amount {
    color: black;
}

/* Responsive */
@media (max-width: 1200px) {
    .custom-product-section .sale-products-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cột trên tablet lớn */
    }

    .custom-product-section .sale-products-grid .featured-product {
        grid-column: span 2;
    }

    .custom-product-section .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .custom-product-section .products-grid .product-item {
        flex: 0 0 calc(25% - 10px);
        max-width: calc(25% - 10px);
    }

    .custom-product-section .product-item .product-title {
        min-height: 3.6em;
        /* Giữ nguyên 3 dòng cho màn hình này */
        max-height: 3.6em;
    }
}

@media (max-width: 767px) {
    .custom-product-section .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-product-section .section-title {
        text-align: left;
        width: 100%;
        margin-bottom: 10px;
    }

    .custom-product-section .view-all-link {
        width: 100%;
        justify-content: flex-end;
    }

    .custom-product-section .sale-products-grid,
    .custom-product-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cột trên di động */
        gap: 5px;
    }

    .custom-product-section .sale-products-grid .featured-product {
        grid-column: span 2;
        /* Sản phẩm nổi bật vẫn chiếm 2 cột */
    }

    .custom-product-section .products-grid .product-item {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }

    .custom-product-section .featured-product .countdown-wrapper {
        width: auto;
        position: relative;
        top: auto;
        left: auto;
        padding: 8px;
    }

    .custom-product-section .featured-product .countdown-title {
        font-size: 13px;
    }

    .custom-product-section .featured-product .countdown-subtitle {
        font-size: 11px;
    }

    .custom-product-section .featured-product .countdown-timer {
        font-size: 18px;
    }

    .custom-product-section .featured-product .countdown-timer span {
        min-width: 28px;
        margin: 0 3px;
    }

    .custom-product-section .featured-product .countdown-labels {
        font-size: 9px;
    }

    .custom-product-section .featured-product .countdown-shop-button {
        padding: 6px 12px;
        font-size: 11px;
    }

    .custom-product-section .featured-product .add-to-cart-button {
        width: 90%;
    }

    .custom-product-section .product-item .product-title {
        font-size: 15px;
        /* Giảm kích thước font trên mobile */
        min-height: 3.3em;
        /* Có thể điều chỉnh lại min-height nếu font nhỏ hơn */
        max-height: 3.3em;
    }

    .custom-product-section .sale-products-grid,
    .custom-product-section .products-grid {
        gap: 8px;
        /* Giảm gap trên mobile */
    }

    .custom-product-section .price-wrapper {
        margin-top: 5px;
        justify-content: flex-end;
    }

    .custom-product-section .price-wrapper {
        margin-bottom: 5px;
        /* Giảm khoảng cách dưới giá trên mobile */
    }

    .custom-product-section .rating-cart-wrapper {
        gap: 5px;
        /* Giảm khoảng cách giữa các icon trên mobile */
    }
}

@media (min-width: 1025px){
    .flickity-slider{
        top: 220px !important;
    }
}
@media (min-width: 1025px) and (max-width: 1423px) {
    .tghp-banntnsh>.col-inner.text-center {
        height: auto;
    }
    .archive .box-image {
        height: auto;
    }

    .tghp-dgtsg {
        height: 450px !important;
    }

    .tghp-rgtbnt .flickity-viewport {
        height: 476px !important;
    }

    .tghp-colcus .col-inner.text-right {
        margin: 0px 0px 0px 0px !important;
    }

    .tghp-bsl .add_to_cart_button {
        padding: 5px;
    }

    .archive .star-rating {
        margin-left: 27%;
    }

    .custom-product-page .add-to-cart-container .devvn_quick_buy {
        padding: 7px 12px;
    }

    .product-gallery-slider .woocommerce-product-gallery__image.slide.is-selected .skip-lazy {
        height: auto !important;
    }
}

@media only screen and (max-width: 48em) {

    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .tghp-banntnsh>.col-inner.text-center {
        height: auto;
    }

    .tghp-rgtbnt .flickity-viewport {
        height: 1450px !important;
    }

    .tghp-prdtt .price-wrapper {
        height: 65px !important;
    }

     
    .tghp-prdtt .price-wrapper .price {
        justify-content: center;
    }
    .single-product span.amount {
        display: block;
        text-align: center;
    }

    .tghp-prdtt .star-rating {
        width: 46% !important;
    }

    .tghp-banntnsh.tghp-banntnshsldmb .star-rating {
        margin-left: 46px !important;
    }

    .product-small .box-image img {
        height: auto;
    }

    .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
        width: max-content;
        height: fit-content;
    }

    .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
        height: 80px;
        align-items: center;
    }

    .account-item .children li>a {
        font-size: 12px;
    }

    .star-rating {
        width: 100% !important;
        margin: auto !important;
    }

    .price-wrapper .price {
        justify-content: center;
        margin: auto;

    }

    .woocommerce-loop-product__title a {
        font-size: 14px;
    }

    .header-account-title {
        padding-left: 0px;
    }

    .single-product .devvn_quick_buy {
        font-size: 14px !important;
    }

    .custom-product-page .tghp-banntnsh .woocommerce-loop-product__title a {
        color: black;
        height: 34px;

        margin-top: 10px;
    }

    .custom-product-page .tghp-banntnsh .price-wrapper .price {
        flex-wrap: wrap;
    }

    .custom-product-page .tghp-banntnsh .product-cat {
        color: unset;
    }

    .custom-product-page .tghp-banntnsh {
        background: none;
        padding: 0px;
    }

    .custom-product-page .tghp-banntnsh2rol .row.large-columns-2 .col {
        padding-bottom: 30px;
    }

    .custom-product-page .box-text.text-left {
        padding: 0 !important;
    }

    .tghp-combosale h2 {
        padding-top: 30px;
        font-size: 36px !important;
    }

    .tghp-combosale {
        padding: 0;
    }

    body {
        font-size: 14px !important;
    }

    .wc-tabs.product-tabs {
        flex-wrap: nowrap;
    }

    .custom-product-page .add-to-cart-container .devvn_quick_buy {
        padding: 5px 12px;
    }

    .single-product .custom-product-page .price-wrapper .price {
                flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: flex-start;
        margin-left: 0;
    }
    .single-product .price del{
        margin: 0;
    }
    .single-product .tghp-banntnsh .price-wrapper .price{
        align-items: center;
    }

    .custom-product-page .single_add_to_cart_button,
    .custom-product-page .add-to-cart-container .devvn_quick_buy {
        width: 100%;
        margin: 10px 0 !important;
    }

    .custom-product-page .cart {
        flex-wrap: wrap;
    }

    .single-product .product-title {
        font-size: 22px;
    }

    .product-images .woocommerce-product-gallery__wrapper {
        background: white;
    }

    .product-images .woocommerce-product-gallery__image {
        padding: 1px 17px !important;
        padding-bottom: 30px !important;
    }

    .archive .woocommerce-ordering {
        margin-top: -36px;
        margin-right: -100%;
        width: 48%;
    }

    .archive .orderby {
        margin-right: -145px;
        border-radius: 5px;
        margin-top: 11px;
    }

    .archive .category-filtering.category-filter-row {
        width: 50%;
        border: 1px solid #D4D4D4;
        padding: 3px 20px;
        border-radius: 5px;
        margin-bottom: -19px;
        z-index: 999;
        margin-top: 15px;
    }

    .archive .box-image {
        padding: 42px 40px 47px 40px;
        background: url(https://tghp.smb.vn/wp-content/uploads/2025/03/Group-389.png);
        background-size: cover;
        background-repeat: no-repeat;
        height: 267px;
    }

    .archive .row-small>.flickity-viewport>.flickity-slider>.col,
    .archive .row-small>.col {
        padding: 0 5px 15px;
        margin-bottom: 0;
    }

    .archive .flex-col.medium-text-center:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .tghp-bsl .price-wrapper .price {
        justify-content: center;
        flex-wrap: wrap;
    }

    .archive .woocommerce-result-count.hide-for-medium {
        display: block !important;
        margin: 22px 8px -4px -130px;
        order: 2;
    }

    .archive .woocommerce-result-count {
        left: -68px;
        position: relative;
    }

    .tghp-banntnshsldmb .woocommerce-loop-product__title a {
        color: black;
        font-size: 14px;
        text-align: center;
    }

    .tghp-bntspcus1 .img-inner img,
    .tghp-bntspcus1 .img {
        height: 190px !important;
    }

    .price-wrapper .price {}

    .tghp-banntnshsldmb .product-cat {
        color: unset;
        text-align: center;
    }

    .custom-product-page .woocommerce-product-rating .star-rating {
        width: 50% !important;
    }

    .product-title.woocommerce-loop-product__title,
    .tghp-bsl .woocommerce-loop-product__title a,
    .tghp-bsl .product-cat,
    .product-cat {
        text-align: center;
    }

    .tghp-banntnshsldmb {
        background: transparent !important;
        padding: 0 !important;
    }

    .tghp-banntnshsldmb .box-text.text-left {
        padding: 0 !important;
    }

    .tghp-banntnshsldmb .flickity-page-dots {
        bottom: -5px !important;
    }

    .tghp-bsl .add_to_cart_button {
        padding: 5px 3px;
    }

    .tghp-dgtsg {
        height: auto !important;
    }

    .tghp-ftcenter .col-inner {
        text-align: center;
    }

    .tghp-ftcenter,
    .tghp-nopaddbot .section-content .col {
        padding-bottom: 0;
    }

    .tghp-ftcenter .col-inner .is-divider {
        display: none;
    }

    .tghp-cuscf7 .medium-flex-wrap {
        flex-flow: unset;
    }

    .tghp-cuscf7 .medium-flex-wrap .flex-col {
        flex-grow: unset;
    }

    .tghp-cuscf7 .medium-flex-wrap .flex-col.ml-half {
        width: fit-content;
    }

    .tghp-cuscf7 .medium-flex-wrap .flex-col.flex-grow {
        flex-grow: 1;
    }

    .tghp-bntendh p span:not(.wpcf7-form-control-wrap) {
        font-size: 34px !important;
        line-height: 1.2;
    }

    .tghp-feaddback {
        border-radius: 20px;
        padding: 30px 20px;
    }

    .tghp-feaddback .flickity-slider>.row .col-inner {
        padding: 20px 30px 20px 30px !important;
    }

    .tghp-txtfb p span {
        font-size: 160% !important;
    }

    span.amount {
        color: unset;
    }

    .tghp-mbproducttab .product-small .col-inner {
        background: #F6F6F6;
        border-radius: 8px;
        padding-bottom: 18px;
    }

    .tghp-mbproducttab .product-small .box-image {
        padding: 15px 25px;
    }

    .badge-container {
        margin: 0;
    }

    .badge-inner.on-sale,
    .badge-inner.callout-new-bg {
        padding: 0px 12px;
        font-size: 14px;
    }

    .tghp-mbproducttab .nav>li>a {
        font-weight: 300;
        font-size: 14px;
        color: black;
        padding: 5px;
    }

    .tghp-mbproducttab .woocommerce-loop-product__title a {
        color: black;
    }

    .devvn_buy_now {
        padding: 3px 10px;
        margin: 0px 12px;
        font-size: 14px;
    }

    .tghp-mbproducttab .nav-line-bottom>li>a:before {
        height: 1px;
        background-color: black;
    }

    .tghp-subtxt p {
        font-size: 14px;
        margin-bottom: 0;
        text-transform: unset;
    }

    .tghp-bntspcus1 h4 {
        font-size: 13px;
    }

    .tghp-bttwhite {
        width: 100%;
        border-radius: 5px;
        padding: 8px;
        color: black !important;
    }

    .tghp-bntspcus1 .tghp-bttwhite {
        width: fit-content;
        padding: 0px 15px;
        border-radius: 99px !important;
        margin: 0;
        text-transform: unset;
        font-size: 13px;
    }

    .tghp-bntnewcombo .bg.bg-loaded {
        background-image: url(https://tghp.smb.vn/wp-content/uploads/2025/03/Banner-1.png) !important;
    }

    .tghp-colcus {
        width: 50%;
        max-width: 50%;
        flex-basis: 50%;
    }

    .tghp-txtd h2 {
        font-size: 40px;
        margin-left: 0;
        margin-top: -30px;
        width: 342px;
    }

    .tghp-txtd h2 span {
        display: inline-block;
        transform: unset;
        transform-origin: center;
    }

    .box-text {
        font-size: 80%;
    }

    .tghp-ttt h3 {
        font-size: 28px;
    }

}

/* Responsive */
@media (max-width: 767px) {
    .tghp-rgtbnt .flickity-viewport {
        height: 629px !important;
    }

    .custom-product-section .product-item {
        border-radius: 10px;
    }

    .popularCategories .box-category {
        border-radius: 10px;
    }

    .list-2 .products-list {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;

    }

    .list-2 .product-item {
        max-width: calc(33.33333333% - 15px);
        flex-basis: calc(33.33333333% - 15px);
        border-radius: 10px;
    }

    .list-2 .custom-product-list .product-item {
        border-radius: 10px;
    }

    .star-rating {
        text-align: center;
    }

    .star-rating::before {
        width: 100%;
        float: none;
    }

    .bannerCountDown .btn1SaleHome {
        padding: 5px 15px !important;
    }

    .custom-countdown .countdown-labels {
        gap: 0;
    }

    .custom-product-list .price-wrapper {
        justify-content: flex-end;
    }

    .custom-countdown {
        max-width: 100%;
    }

    .custom-countdown .countdown-timer {
        font-size: 20px;
    }

    .rowCol5 .col.custom-five-col {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .rowCol5 .col.custom-five-col .rating-cart-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .custom-product-list .product-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-product-list .product-image {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .custom-product-list .product-image img {
        width: 100%;
        max-width: 120px;
    }
}

/* chinhpc add css */


@media (min-width: 768px) and (max-width: 1023px) {
    .product-gallery-slider .woocommerce-product-gallery__image.slide.is-selected .skip-lazy {
        height: 350px !important;
    }

    .tghp-banntnsh>.col-inner.text-center {
        height: auto;
    }

    .tghp-colcus p {
        font-size: 10px;
    }

    .tghp-rgtbnt .flickity-viewport {
        height: 323px !important;
    }

    .tghp-ksss {
        margin-top: 25px !important;
    }

    .woocommerce-loop-product__title a {
        font-size: 16px;
    }

    .tghp-banntnsh {
        padding: 20px;
    }

    .tghp-banntnsh .product-small .box-text.text-left {
        padding: 0px 15px 0px 20px !important;
    }

    .tghp-banntnsh.tghp-banntnshsldmb .product-small .box-text.text-left {
        padding: 0px 20px 0px 20px !important;
    }

    .tghp-banntnsh .box-image img {
        height: 190px !important;
    }

    .tghp-bntspcus1 .img-inner img {
        height: 175px !important;
    }

    .tghp-bntspcus1>.col-inner {
        height: 240px;
    }

    .add_to_cart_button {
        height: 20px !important;
        font-size: 12px !important;
        padding: 0px 5px;
        margin-top: 5px !important;

    }

    .devvn_quick_buy {
        padding: 4px 10px;
        margin-top: 5px !important;
    }

    .tghp-bsl .add_to_cart_button {
        padding: 2px 2px;
        font-size: 12px !important;
        margin-top: 5px !important;
    }

    .product-title.woocommerce-loop-product__title {
        height: 2.7em !important;
    }

    .flickity-page-dots {
        bottom: -88px !important;
    }

    .tghp-banntnsh2rol .row.large-columns-2 .col {
        padding-bottom: 40px;
    }

    .product-images .woocommerce-product-gallery__image {
        padding: 0px 80px !important;
        padding-bottom: 30px !important;
    }

    .single-product .product-title {
        font-size: 24px;
    }

    .custom-product-page .woocommerce-product-rating .star-rating {
        width: 22% !important;
    }

    .product-page-price {
        width: 100% !important;
    }

    .custom-product-page .quantity input {
        width: 30px;
    }

    .custom-product-page .quantity {
        margin-right: 10px;
    }

    .single_add_to_cart_button {
        font-size: 14px;
        width: auto;
        padding: 0;
    }

    .custom-product-page .add-to-cart-container .devvn_quick_buy {
        width: 26%;
        font-size: 14px !important;
    }

    .tghp-cuscashsig p img {
        margin: 0 10px 0 5px;
    }

    .tghp-txtsale h2 {
        font-size: 38px;
        padding-top: 20px;
    }

    .tghp-prdtt .product-title {
        font-size: 16px;
    }

    .tghp-prdtt .devvn_quick_buy {
        font-size: 14px !important;
    }

    .tghp-bsl .box-image img {
        height: 245px !important;
    }

    .tghp-dgtsg {
        height: auto !important;
    }

    .tghp-ttcush2 h2 {
        font-size: 36px;
    }

    .tghp-prdtt .price-wrapper {
        height: 70px !important;
        margin-bottom: 6px;
        margin-top: -10px;
    }

    .tghp-cuscf7 .medium-flex-wrap {
        flex-flow: unset;
    }

    .tghp-cuscf7 .medium-flex-wrap .flex-col.flex-grow {
        flex-grow: 1;
    }

    .tghp-cuscf7 .medium-flex-wrap .flex-col.ml-half {
        width: fit-content;
    }

    .header-account-title {
        padding-left: 0px;
    }

    .account-item .children li>a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .boxTextSale .titleLight {
        font-size: 24px;

    }

    .custom-product-section .section-title {
        font-size: 26px;
        text-align: center;
        margin: auto;
        float: none;
        display: block;
    }

    .custom-product-section .view-all-link {
        display: none;
    }

    .text-cus-mobile .text-inner {
        display: flex;
        position: relative;
    }

    .tghp-bsl .box-image img {
        max-width: 55%;
        max-height: 280px;
    }

    .text-cus-mobile .text-inner .img {
        width: 30% !important;
    }

    .text-cus-mobile .text-inner .btn1SaleHome {
        position: absolute;
        right: 0;
    }

    .ban-cus .ago {
        left: 0;
    }

    .banner-mobile .banner {
        padding-top: 0 !important;
        min-height: 300px;
        max-height: 300px;
    }

    .banner-mobile .banner .text-box {
        min-width: 90%;
    }

    .banner-mobile .text-content {
        padding-left: 15px;
        text-align: left;
        text-transform: capitalize;
    }

    .our-mobile .flickity-viewport {
        min-height: 500px !important;
    }

    .our-mobile .col {
        padding: 0 20px;
    }

    .our-mobile .col .uppercase {
        text-transform: uppercase;
    }

    .our-mobile .star-rating {
        margin-top: 20px !important;
        font-size: 30px;
    }

    .our-mobile .price-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
    }

    .our-mobile .price-wrapper .price-cus {
        font-size: 24px;
        color: #FF739A;
        font-weight: 600;
    }

    .our-mobile .price-wrapper .regular {
        text-decoration: line-through;
        font-size: 18px;
        color: #999;
        font-weight: 400;
    }

    .our-mobile .flickity-viewport img {
        height: auto;
    }

    .our-mobile .author {
        font-size: 14px;
        font-weight: 400;
    }

    .our-mobile .title-wrapper a {
        font-size: 20px;
        color: #000;
        text-align: center;
        display: block;
        text-transform: capitalize;
    }

    .our-mobile .box-image {
        box-shadow: 1px 1px 10px #66666650;
        padding: 10px;
    }

    .our-mobile {
        padding: 20px;
    }

    .our-mobile img {
        max-width: 50%;
        display: block;
        margin: auto;
    }

    .nav.nav-vertical li a {
        font-size: .8em;
    }

    .tghp-colcus p {
        font-size: 14px;
    }

    .custom-product-section .product-item .product-title {
        font-size: 14px;
        /* Giảm kích thước font hơn nữa */
        min-height: 3em;
        max-height: 3em;
    }

    .star-rating::before {
        float: none;
        text-align: center;
        position: static;
        display: block;
    }

    .star-rating span:before {
        display: none;
    }

    span.amount {
        font-size: 14px;
    }

    .custom-product-list .product-info {
        min-width: 100%;
    }

    .star-rating {
        max-width: 100% !important;
    }

    .custom-product-section .sale-products-grid,
    .custom-product-section .products-grid {
        grid-template-columns: 1fr;
        /* 1 cột trên màn hình rất nhỏ */
    }

    .custom-product-section .sale-products-grid .featured-product {
        grid-column: span 1;
        /* Sản phẩm nổi bật chiếm 1 cột */
    }

    .list-2 .product-item {
        max-width: calc(50% - 15px);
        flex-basis: calc(50% - 15px);
    }

    .list-2 .custom-product-list .product-item {
        align-items: center;
    }

    .custom-product-section .sale-products-grid,
    .custom-product-section .products-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .custom-product-section .sale-products-grid .featured-product {
        min-width: 100%;
        border-radius: 10px;
    }

    .custom-product-section .product-item {
        max-width: calc(50% - 15px);
        min-width: calc(50% - 15px);


    }

    .custom-product-section .section-header {
        flex-direction: row;
    }

    .custom-product-section .product-item:hover .rating-add-to-cart-wrapper {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .custom-product-section .product-item:hover .rating-add-to-cart-wrapper .add-to-cart-button {
        padding: 14px 20px;
    }

    .product-category {
        max-width: 100%;
    }

    .cat-po .previous,
    .cat-po .next {
        display: none;
    }

    .tghp-rgtbnt .flickity-viewport {
        height: 910px !important;
    }

    .text-cus-mobile .text-inner .img.img-rieng-biet {
        width: 35% !important;
    }

    .text-banner-head {
        margin-bottom: 100px;
    }

    .text-banner-head p {
        margin-top: 20px;
    }

    .custom-product-section del bdi {
        margin-right: 10px;
        margin-left: 0;
    }
    .single-product .price-wrapper .price ins .woocommerce-Price-amount{
        color: #FF739A;
    }
    .single-product .price-wrapper .price .woocommerce-Price-amount{
        margin-bottom: 10px;
    }

    .tghp-mbproducttab .price-wrapper .price {
        flex-direction: column;
        gap: 5px;
    }

    .tghp-mbproducttab .box-image a {
        max-height: 173px;
    }

    .custom-product-section .price-wrapper {
        justify-content: flex-end;
    }

    .text-banner-head h2 {

        margin-bottom: 20px;
    }

    .text-banner-head h2 strong {
        font-size: 50px;
    }

    .tghp-txtd h2 {
        justify-content: center;
        width: 100%;
    }

    .section-best-seller {
        padding-top: 60px;
    }

    .tghp-bsl {
        margin: auto !important;
    }

    .tghp-txtd h2 a {
        font-size: 24px;
    }

    .tghp-bsl .product-title a {
        font-size: 20px;

    }

    .tghp-bsl .category {
        font-size: 18px;
    }

    .tghp-bsl .star-rating {
        font-size: 22px;
    }

    .tghp-bsl .price {
        flex-wrap: nowrap;
    }

    .tghp-bsl bdi {
        font-size: 20px;
    }

    .tghp-bsl .add-to-cart-button {
        width: 80%;
        margin: auto;
    }



    .tghp-bsl .flickity-page-dots {
        bottom: 0 !important;
    }

    .title-36 {
        font-size: 26px;
        max-width: 70%;
        padding-bottom: 10px;
        text-align: center;
        margin: auto;
    }

    .cat-mobile .text-view-all {
        display: none;
    }

    .cat-mobile h2 {
        float: none !important;
        width: 100% !important;
    }

    .mobile-top .product-small {
        min-height: 103px;
    }

    .headerLineOFP {
        font-size: 24px;
    }

    .buy {
        width: 80%;
        margin: auto;
    }

    .banner-mobile .banner {
        min-height: 227px;
        max-height: 282px;
    }

    .banner-mobile .banner h2 {
        font-size: 20px;
    }

    .bannerCountDown .btn1SaleHome {
        margin-top: 7rem;
    }

}
