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

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
form.cart button.them-gio {
    background-color: transparent;
    color: #368f28;
    border: 1px solid #368f28;
    padding: 10px 10px;
    margin-right: 10px;
    cursor: pointer;
}

form.cart a.buy-now {
    background-color: #368f28;
    color: #fff;
    padding: 10px 10px;
    text-decoration: none;
    display: inline-block;
}

form.cart .quantity input {
    width: 50px;
    text-align: center;
}
.so-luong-wrapper label {
    min-width: 80px;
}

.woocommerce-quantity input.qty {
    width: 60px;
    text-align: center;
}
a.button.nut-mua-ngay ,button.button.alt.nut-them-gio{
    height: 30px;
}
.woocommerce-variation-add-to-cart, form.cart {
    display: flex
;
    flex-wrap: wrap;
    width: 100%;
    gap: 0;
}
.woocommerce-billing-fields {
    border-top: navajowhite;
    padding-top: 0;
}
div#customer_details {
    padding: 10px;
    border: 1px solid #730202;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: white;
}
.has-border {
    border-radius: 10px;
}

@media (min-width: 550px) {
    .form-row-first {
        margin-right: 2%;
    }
}
.menu-danh-muc-container {
    max-height: 400px;
    overflow-y: auto;
}
/* Áp dụng cho thanh menu cuộn */
.sidebar,
.menu-danh-muc-container {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent; /* Firefox */
}

/* Chrome, Edge, Safari */
.sidebar::-webkit-scrollbar,
.menu-danh-muc-container::-webkit-scrollbar {
    width: 6px; /* Độ rộng thanh cuộn */
}

.sidebar::-webkit-scrollbar-thumb,
.menu-danh-muc-container::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Màu thanh cuộn */
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track,
.menu-danh-muc-container::-webkit-scrollbar-track {
    background: transparent;
}
.category img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px dashed #4cad3c;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
}
.title-bar h3.section-title.section-title-bold {
    background-color: #4cad3c;
    color: white;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0;
    width: 100%;
    display: inline-block;
    font-weight: bold;
}
.section-title-bold span, .section-title-bold-center span {
    border: none;
    padding: 0;
}
.section-title b {
	display: none;align-content
}
.box-text.box-text-products {
    text-align: center;
}
.section-title-container {
    padding: 0 10px;
}
.title-wrapper {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
    height: 40px;
}
	.category p.is-xsmall.uppercase.count {
    display: none;
}
.menu-footer .ux-menu-title {
    font-size: 16pt;
    color: white;
}
.menu-footer .ux-menu-link__link {
	color:white;
}
@media (min-width: 768px) {
.nut-hanh-dong {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
}
@media (max-width: 768px) {
	a.button.nut-mua-ngay, button.button.alt.nut-them-gio {
    width: 100%;
	}
    .category img {
        width: 60px;
        height: 60px;
        min-width: 60px;
        max-width: 60px;
    }
.category .image-cover {
    padding-top: 65px !important;
}

	.category h5.uppercase.header-title {
    text-transform: unset;
    font-weight: bold;
}
	.category .product-category.col {
    padding: 0;
}
	}
.price-on-sale {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

/* Hiển thị giá khuyến mãi trước */
.price-on-sale ins {
    order: 1;
    font-size: 22px;
    color: #e60000;
    font-weight: bold;
    display: inline-block !important;
}

/* Hiển thị giá gốc sau */
.price-on-sale del {
    order: 2;
    font-size: 14px;
    color: #888;
    opacity: 0.6;
    text-decoration: line-through;
    display: inline-block !important;
}
