/*
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.   ***************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.stepback3d-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.stepback3d-card {
    position: relative;
    width: 330px;
    height: 440px;
    perspective: 1500px;
    cursor: pointer;
}

.stepback3d-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    transform-style: preserve-3d;
}

@media (min-width: 1200px) {
    .stepback3d-card:hover .stepback3d-wrapper {
        transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
        box-shadow: 2px 35px 32px -8px rgba(0, 0, 0, 0.75);
    }
}

.stepback3d-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.stepback3d-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

@media (min-width: 1200px) {
    .stepback3d-card:hover .stepback3d-hover-img {
        opacity: 1;
        transform: translate3d(0, -30%, 0);
    }
}

/* Thêm hiệu ứng hover cho thiết bị di động */
@media (max-width: 1199px) {
    .stepback3d-card:active .stepback3d-hover-img {
        opacity: 1;
        transform: translate3d(0, -10%, 0);
    }
}

img, iframe {
    max-width: 100%;
}

img {
    vertical-align: middle;
    border-style: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product_meta { 
    display: none !important;
}
.social-icons.share-icons.share-row.relative {
    display: none !important;
}

/* Dashboard Styles */
.woocommerce-dashboard__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Welcome Section */
.dashboard-welcome .welcome-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.user-avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.user-info {
    flex-grow: 1;
}

.user-greeting {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.member-since {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.logout-button {
    background: #f44336;
    color: white !important;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.logout-button:hover {
    background: #d32f2f;
}

/* Stats Grid */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
    color: #333;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #2c3338;
}

.order-status {
    font-size: 0.75em;
    padding: 0.2em 0.6em;
    border-radius: 12px;
    background: #eee;
}

.order-status.completed {
    background: #c8e6c9;
    color: #256029;
}

.stat-link {
    color: #2271b1;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    margin-top: 0.8rem;
}

/* Recent Activity */
.dashboard-recent-activity {
    margin-top: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    margin: 1.5rem 0 1.2rem;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-dashboard__container {
        padding: 1rem;
    }

    .dashboard-welcome .welcome-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .section-title {
        font-size: 1.1rem;
    }
}


/* Áp dụng chỉ cho màn hình desktop */
@media (min-width: 1024px) {
    .single-sp-main {
        position: sticky;
        top: 0;
        height: 100vh; /* Chiều cao cố định */
        overflow-y: auto; /* Cuộn nội dung bên trong */
        padding-right: 15px; /* Để không bị che mất thanh cuộn */
    }
}


/* Phần Khuyến mãi - ưu đãi */
.km-product {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.promotion-title {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	color: #fff;
	background-color: #0288d1;
	padding: 8px;
	border-radius: 8px 8px 0 0;
}

.promotion-title img {
	margin-right: 8px;
	width: 20px;
	height: 20px;
}

.promotion-content ul {
	list-style-type: none;
	padding: 0;
	margin: 10px 0 0;
}

.promotion-content ul li {
	font-size: 13px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
}

.promotion-content ul li:last-child {
	border-bottom: none;
}

/* Phần Cam kết */
.camket {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.camket-title {
	display: flex;
	justify-content: center;
	font-size: 15px;
	color: #ff2312;
	font-weight: bold;
	margin-bottom: 10px;
}

.camket-title span {
	color: #fb5730;
	padding: 5px 10px;
	border-radius: 4px;
}

.camket-content ul {
	display: flex;
	justify-content: space-between;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.camket-content ul li {
	text-align: center;
	font-size: 11px;
	width: 22%;
}

.camket-content ul li img {
	width: 24px;
	height: 24px;
	display: block;
	margin: 0 auto 4px;
}

/* thông báo phí ship */
.custom-shipping-notice {
    background-color: #f9f9f9;
    border-left: 5px solid #ff6f00;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #333;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.custom-shipping-notice .woocommerce-notice {
    margin: 0;
    padding: 0;
}

.custom-shipping-notice strong {
    color: #ff6f00;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .custom-shipping-notice {
        padding: 10px;
        font-size: 11px;
    }
}

/* giá rẻ hơn shopee */
.custom-notice {
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.custom-notice::before {
    content: "⚡";
    font-size: 20px;
}

@media (max-width: 600px) {
    .custom-notice {
        padding: 8px;
        font-size: 12px;
        gap: 5px;
    }

    .custom-notice::before {
        font-size: 16px;
    }
}

.woocommerce .price {
    display: flex;
    flex-direction: column-reverse;
}


.is-divider {
    display: none !important;  /* Ẩn hoàn toàn phần tử có lớp .is-divider */
}
/* Căn chỉnh đánh giá sao và số lượng bán gần với tên sản phẩm */
.inline-rating-sales {
    display: flex;
}

.inline-rating-sales .star-rating {
    margin-right: 5px;
}

.inline-rating-sales .separator {
    margin: 0 5px; /* Tạo khoảng cách hai bên ký tự | */
}

.inline-rating-sales .total-sales {
    color: black; /* Phần chữ giữ màu đen, không tô đậm */
}

.inline-rating-sales .total-sales .sales-number {
    color: #f00; /* Chỉ đổi màu số lượng đã bán thành #f00 */
}

.homepage-sales-count {
    position: absolute;
    bottom: 10px;  /* Khoảng cách từ đáy lên */
    right: 10px;  /* Khoảng cách từ phải qua */
    border-radius: 5px;
}

.woocommerce ul.products li.product {
    position: relative;
    overflow: hidden; /* Đảm bảo phần số lượng không bị tràn ra ngoài */
}

/* Căn chỉnh vị trí tên sản phẩm với giá */
.summary .price {
    margin-top: 15px; /* Tạo khoảng cách giữa giá và số lượng bán */
}

/* Cập nhật CSS cho tùy chọn sản phẩm */
:root {
    --item-padding: 3px 8px;
    --item-border-color: #ddd;
    --item-bg-color: #fff;
    --item-active-border-color: #ff940f;
    --item-active-bg-color: #fffaeb;
    --item-font-size: 12px;
    --ratio-size: 14px;
    --ratio-border-color: #ccc;
    --ratio-margin-right: 6px;
    --check-image-url: url(https://whey360.vn/wp-content/uploads/2024/08/check.webp);
    --item-margin: 10px; /* Khoảng cách giữa các item */
}

.whey360_product_options {
    margin-bottom: 20px;
}

.whey360_product_options .b_pr {
    display: flex;
    flex-wrap: wrap;
    gap: var(--item-margin);
}

.whey360_product_options .item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.whey360_product_options .item a {
    display: flex;
    align-items: center;
    border: 1px solid var(--item-border-color);
    padding: var(--item-padding);
    border-radius: 8px;
    background-color: var(--item-bg-color);
    transition: border-color 0.3s, background-color 0.3s;
    text-align: left;
}

.whey360_product_options .item:not(.active) a:hover {
    border-color: var(--item-border-color);
    background-color: var(--item-bg-color);
}

.whey360_product_options .item.active a {
    border-color: var(--item-active-border-color);
    background-color: var(--item-active-bg-color);
}

.whey360_product_options .ratio {
    width: var(--ratio-size);
    height: var(--ratio-size);
    display: inline-block;
    border: 1px solid var(--ratio-border-color);
    border-radius: 50%;
    background-color: var(--item-bg-color);
    margin-right: var(--ratio-margin-right);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.whey360_product_options .item.active .ratio {
    background-image: var(--check-image-url);
    border: none;
}

.whey360_product_options .text-content {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

.whey360_product_options .tit_pr {
    font-size: var(--item-font-size);
    color: #333;
    margin: 0;
}

/* Ẩn hoàn toàn phần hiển thị giá sản phẩm */
.whey360_product_options .price_pr {
    display: none;
}

.m-0 {
    margin: 0 !important;
}


/* Thêm hiệu ứng và kiểu dáng cho ngày đăng */
.posted-on {
    margin-right: 15px;
    color: #0085ff; /* Màu xanh dương cho ngày đăng */
    font-size: 14px; /* Kích thước chữ */
    display: inline-flex;
    align-items: center;
}

/* Đặt kiểu dáng cho biểu tượng */
.entry-meta i {
    margin-right: 5px; /* Khoảng cách giữa biểu tượng và văn bản */
    color: #0085ff; /* Màu xanh dương cho biểu tượng */
    font-size: 16px; /* Kích thước biểu tượng */
}

/* Thêm kiểu dáng cho tác giả */
.byline {
    color: #333; /* Màu tối hơn cho tên tác giả để tạo độ tương phản */
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

/* Thêm hiệu ứng hover cho liên kết */
.posted-on a, .byline a {
    color: inherit; /* Giữ nguyên màu sắc khi hover */
    text-decoration: none; /* Bỏ gạch chân */
    transition: color 0.3s ease; /* Thêm hiệu ứng chuyển màu */
}

.posted-on a:hover, .byline a:hover {
    color: #0056b3; /* Đổi màu sang màu xanh dương đậm khi hover */
}

/* Đặt kiểu dáng cho biểu tượng lịch và người dùng */
.posted-on i, .byline i {
    color: #0085ff; /* Màu xanh dương cho biểu tượng */
    margin-right: 5px; /* Khoảng cách bên phải của biểu tượng */
}

/* Căn chỉnh các phần tử meta thành một hàng */
.entry-meta {
    display: flex;
    align-items: center;
}

/* Bài viết liên quan */
.xem-them .tieu-de-xem-them {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
    color: black;
}
.xem-them ul li {
    margin-bottom: 3px;
}
.xem-them ul li a {
    font-weight: 700;
    font-size: 16px;
    color: #0085ff; /* Cập nhật mã màu */
}
.xem-them ul li a:hover {
    text-decoration: underline;
}
.blog-single .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    color: gray;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
    background: #f9f9f9;
}
.danh-muc {
    margin-bottom: 15px;
}
.danh-muc span.title, .the-tim-kiem span.title {
    border-radius: 4px;
    background: #0085ff; /* Cập nhật mã màu */
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}
.danh-muc a, .the-tim-kiem a {
    line-height: 32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}
.danh-muc a:hover, .the-tim-kiem a:hover {
    background: #0085ff; /* Cập nhật mã màu */
    color: white;
}
.bai-viet-lien-quan {
    margin-top: 15px;
}
.bai-viet-lien-quan h3 {
    font-size: 19px;
    color: #0085ff; /* Cập nhật mã màu */
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .bai-viet-lien-quan ul li {
        width: 50%;
    }
    .bai-viet-lien-quan ul li .box-image img {
        height: 90px;
    }
}

.entry-author.author-box {
    background-color: #f1f1f1;
    border: 2px solid #0085ff;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entry-author.author-box .flex-row {
    display: flex;
    align-items: center;
}

.entry-author.author-box .flex-col {
    margin-right: 20px;
}

.entry-author.author-box .circle {
    border-radius: 50%;
    overflow: hidden;
    width: 90px;
    height: 90px;
    border: 2px solid #0085ff;
}

.entry-author.author-box .blog-author-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-author.author-box .author-name {
    font-size: 20px;
    color: #333;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.entry-author.author-box .author-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.entry-author.author-box .author-desc a {
    color: #0085ff; /* Màu được yêu cầu */
    text-decoration: none;
    font-weight: 700;
}

.entry-author.author-box .author-desc a:hover {
    text-decoration: underline;
}


/* base */
.efn-none {
    display: none !important;
}

.efn-title h2.section-title {
    border-bottom-color: var(--primary-color);
}

.radius-10 .img .img-inner {
    border-radius: 10px;
}

* {
    letter-spacing: 0 !important;
}

.sp-box ul>li,
.sp-box div span,
.efn-question-box .accordion-inner,
.footer-main-inner p>a,
.sp-main-box .product_meta .posted_in {
    font-size: 14px;
    color: var(--sb-primary-color);
}

.sp-box .badge-container div span.onsale {
    color: #fff;
}

/* xóa border top trong hr */
hr {
    border-top: none; /* Chỉ xóa border-top */
}

/* Header */
header .header-vertical-menu .header-vertical-menu__opener {
    background-color: #0a70fb;
}

header .efn-menu-sub>p {
    display: inline-block;
}

header .efn-menu-sub>p:not(:last-child) {
    padding-right: 20px;
}

header .header-bottom ul>li>a {
    font-size: 14px !important;
}

/* Header main */
header .header-main .header-nav-main {
    justify-content: center;
}

header .header-search-form .search-field {
    border: 1px solid var(--primary-color);
    border-right: none;
    height: 38px;
    border-radius: 4px 0 0 4px;
}

header .header-search-form button {
    width: 55px;
    height: 38px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color) !important;
}

/* căn giữa mã giảm giá */
.coupon-wrapper {
    display: flex;
    justify-content: center; /* Căn giữa theo chiều ngang */
    align-items: center;     /* Căn giữa theo chiều dọc */
}

/* Tăng margin dưới cho phần giá */
.product-info .price,
.nbw_single_price {
    margin-bottom: 10px;
}

/* Định dạng cho phần giá sale */
.product-info .price ins bdi,
.product-info .price bdi,
.nbw_single_price bdi {
    font-size: 30px; /* Kích thước chữ */
    color: #ff2312; /* Màu chữ */
    text-shadow: 1px 1px 0 #fff, 
                 -1px -1px 0 #fff, 
                  1px -1px 0 #fff, 
                 -1px 1px 0 #fff, 
                  3px 3px 5px #333; /* Hiệu ứng đổ bóng */
}

/* Định dạng cho phần giá gốc */
.nbw_single_price .gia-chinh-hang,
.nbw_single_price .gia-chinh-hang bdi {
    font-size: 14px; /* Kích thước chữ */
    color: #565656; /* Màu chữ */
    text-shadow: none; /* Bỏ hiệu ứng đổ bóng */
}

/* Hiển thị giá sale */
del span.amount {
    opacity: 1; /* Hiển thị giá gốc */
}

/* Định dạng cho nhãn khuyến mãi */
.gia-chinh-hang .label-km {
    background: #ff2312; /* Màu nền */
    padding: 3px 7px; /* Kích thước nền */
    color: white; /* Màu chữ */
    border-radius: 3px; /* Bo tròn viền */
}

/* Dịch chuyển phần tiết kiệm */
.nbw_single_price .tiet-kiem-box {
    margin-top: 5px; /* Khoảng cách với phần giá */
}

/* CSS cho phần breadcrumb */
.breadcrumbs {
  /* Thêm các thuộc tính CSS tùy chỉnh tại đây */
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 10px;
  background-color: #ffffff;
  border: 0px solid #ddd;
}

/* Căn giữa nội dung trong khung */
.form-container-wrapper {
    text-align: center;
    margin-bottom: 20px; /* Khoảng cách dưới tiêu đề */
}

/* Tiêu đề của form */
.form-container-wrapper h2 {
    font-size: 24px;
    color: #0085ff;
    margin-bottom: 10px; /* Khoảng cách giữa tiêu đề và form */
}

/* Khung cho toàn bộ form */
.form-container {
    border: 2px solid #0085ff; /* Khung màu xanh */
    border-radius: 10px; /* Bo góc cho khung */
    padding: 20px; /* Tạo khoảng cách giữa nội dung và khung */
    box-sizing: border-box; /* Đảm bảo padding không làm tăng kích thước tổng thể */
    text-align: left; /* Đảm bảo các phần tử bên trong được căn trái */
}

/* Chia cột Form */
#info-left {
    width: 49%;
    float: left;
    margin-right: 2%;
}
#info-right {
    width: 49%;
    float: right;
}
.form-contact-twocol:after {
    content: "";
    display: block;
    clear: both;
}

/* Chèn icons lên Form */
.wpcf7 p { 
    position: relative; 
}

/* Căn giữa nút submit */
.center {
    text-align: center;
}

/* Bỏ khung trên thiết bị di động */
@media (max-width: 768px) {
    .form-container {
        border: none; /* Bỏ khung */
        border-radius: 0; /* Bỏ bo góc */
        padding: 0; /* Bỏ padding */
    }

    /* Đảm bảo các phần tử trong form chiếm toàn bộ chiều rộng màn hình */
    #info-left,
    #info-right {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .form-contact-twocol {
        text-align: center; /* Căn giữa nội dung cột trên di động */
    }
}

/* Custom CSS bộ lọc sp */
.sort_giuseart {
    display: flex;
    margin-top: 5px;
    justify-content: flex-start;
    flex-wrap: wrap; /* Cho phép các phần tử linh hoạt trên thiết bị nhỏ hơn */
}

.sort_giuseart form {
    padding: 0 0 0 20px;
    margin-bottom: 5px; /* Khoảng cách giữa các biểu mẫu */
    flex: 1; /* Các biểu mẫu sẽ chia đều không gian trên mọi thiết bị */
}

.sort_giuseart .pt-checkbox {
    margin-right: 0px;
}

/* contact - 2 */
.header-contact-phone-wrapper {
    display: flex;
    align-items: center;
}

.header-contact-phone-wrapper .icon-phone {
    background-color: var(--primary-color);
    width: 35px;
    border-radius: 100%;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
    padding-right: 1px;
}

.header-contact-phone-wrapper .icon-phone::before {
    content: url(../flatsome-child/images/phone-icon.webp);
    transform: scale(0.8);
}

.header-contact-phone-wrapper>div {
    margin-left: 6px;
    height: 35px;
}

.header-contact-phone-wrapper>div .header-contact-title {
    color: rgb(17, 17, 17);
    font-weight: 500;
    line-height: 1.3;
}

.header-contact-phone-wrapper>div>a {
    color: var(--primary-color);
    font-weight: bold;
}

header .header-nav-main .cart-item a.header-cart-link {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 10px 8px 8px;
    display: flex;
    flex-direction: row-reverse;
}

header .header-nav-main .cart-item a.header-cart-link span {
    color: #111;
    font-weight: 500;
    text-transform: none;
    padding-left: 8px;
}

header .header-nav-main .cart-item a.header-cart-link i {
    margin-left: 0;
}

/* Header bottom */
@media (max-width: 849px) {
    header .header-bottom {
        display: none;
    }
}

header .header-bottom .flex-row .flex-col:not(.flex-center) {
    flex: inherit;
    -webkit-box-flex: inherit;
    -ms-flex: inherit;
}

header .header-bottom .flex-row .flex-col.flex-center {
    flex: 1;
}

header .header-bottom .flex-row .flex-col.flex-center .nav {
    -webkit-box-pack: start;
    -ms-flex-pack: unset;
    justify-content: flex-start;
    padding-left: 20px;
}

/* More */
.home-efn-more .col .col-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    padding: 20px 10px;
    border: 1px solid #ebebeb;
    border-radius: 3px;
}

@media (max-width: 849px) {
    .home-efn-more .col .col-inner {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 20px;
    }
}

@media (max-width: 549px) {
    .home-efn-more .col .col-inner {
        grid-template-columns: 1fr 1fr;
        row-gap: 15px;
    }

    .home-efn-more .box .box-image {
        width: 50px !important;
        padding-bottom: 4px;
    }

    .home-efn-more .box .box-text {
        text-align: center;
    }

    .home-efn-more .col .col-inner>.efn-more-item:not(:last-child)::after {
        content: "";
        height: 1px;
        width: 90%;
        background-color: #ededed;
    }
}
@media only screen and (max-width: 767px){
    .blog-single .row-divided .post-sidebar {
        order: 2 !important;
    }
    .copyright-img .img {
        width: 100% !important;
    }
}
.home-efn-more .col .col-inner .efn-more-item {
    padding: 0 20px;
}

.home-efn-more .col .col-inner>.efn-more-item:not(:last-child) {
    border-right: 1px solid #ededed;
}

.home-efn-more .col .col-inner .efn-more-item .box-text {
    padding: 0;
    padding-left: 4px;
}

.home-efn-more .col .col-inner .efn-more-item .box-text h4 {
    font-size: 13px;
}

.home-efn-more .col .col-inner .efn-more-item .box-text p {
    font-size: 12px;
}

/* Banner */
.banner-efn.row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 0 15px;
}

.banner-efn.row .col {
    min-width: 100%;
}

.banner-efn.row .col:nth-child(1) {
    grid-column: 1 / span 3;
    grid-row: 1 / span 3;
}

@media (min-width: 850px) {
    .banner-efn.row .col:nth-child(1) {
        grid-column: 1 / span 2;
        grid-row: 1 / span 3;
    }
}

.banner-efn.row .col:nth-child(1) .col-inner,
.banner-efn.row .col:nth-child(1) .col-inner>div {
    height: 100%;
}

.banner-efn.row .col {
    padding: 0 !important;
}

/* Product */
.woocommerce-page .row.category-page-row,
.home-product .tab-panels .row .row,
.home-product .col .col-inner>.row {
    padding-right: 10px;
    padding-left: 10px;
}

.home-product .efn-banner-prd>div,
.home-product .efn-banner-prd>div>div,
.home-product .efn-banner-prd>div>div>div,
.home-product .efn-banner-prd>div>div>div>img {
    height: 100%;
}

.home-product .star-rating {
    margin-top: 0.05em;
}

.home-product .price-wrapper>.price ins {
    margin-bottom: 0.4em;
}

.home-product .tab-panels>.panel>.row>.col>.col-inner>.row>.col,
.home-product>.col>.col-inner>.row>.col {
    padding-bottom: 0;
}

.home-product .price-wrapper>.price {
    display: flex;
    flex-direction: column-reverse;
}

.home-product .price-wrapper>.price>span>bdi,
.home-product .price-wrapper>.price ins>span>bdi {
    color: var(--primary-color);
}

/* Category */
.home-prd-category .product-category .box-category .box-image {
    width: 80px;
    height: 80px;
}

.home-prd-category .product-category .box-category .box-text {
    padding: 0;
}

.home-prd-category .product-category .box-category h5 {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.shop-container .products.row>div.product-small,
.home-product .row>div.product-small {
    border: 1px solid #eee;
}

/* not tab */

/* has tab */
.prd-tab h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 7.5px;
}

.prd-tab .nav {
    padding-bottom: 16px;
}

@media (min-width: 850px) {
    .prd-tab .tabbed-content .nav {
        justify-content: flex-end;
    }
}

@media (max-width: 849px) {
    .prd-tab .nav {
        overflow-x: scroll;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .prd-tab .nav::-webkit-scrollbar {
        display: none;
    }
}

.prd-tab .nav>.tab {
    margin: 0 7px;
    width: 150px;
    min-width: 150px;
    border-radius: 99px;
    display: flex;
    justify-content: center;
}

.prd-tab .nav>.tab.active {
    background-color: var(--primary-color);
}

.prd-tab .nav>.tab:first-child {
    margin-left: 0;
}

.prd-tab .nav>.tab:last-child {
    margin-right: 0;
}

.prd-tab .nav>.tab>a {
    padding: 3px 0;
}

.prd-tab .nav>.tab:not(.active) {
    box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 20%);
}

.prd-tab .tabbed-content .tab-panels {
    padding-top: 0;
}

/* Thương hiệu */
.home-thuong-hieu.row .col .row .col {
    padding-bottom: 0;
}

.home-thuong-hieu .img .img-inner {
    border: 1px solid #ededed;
    border-radius: 6px;
}

/* Map */
.map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}


/* Video */
.home-video .slider-wrapper section {
    padding: 0 !important;
}

/* Tin tức */
.home-tin-tuc .tin-tuc-wrapper {
    flex-direction: column;
}

.home-tin-tuc .tin-tuc-wrapper .post-item {
    padding-bottom: 20px;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box {
    display: flex;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box .box-image {
    flex: 1;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box .box-text {
    flex: 2;
    padding: 0;
    padding-left: 10px;
}

body.blog .box-blog-post .box-text p.from_the_blog_excerpt,
.home-tin-tuc .tin-tuc-wrapper .post-item .box-text p {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.home-tin-tuc .tin-tuc-wrapper .post-item .box-text h5 {
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}


/* Footer */
.absolute-footer {
    display: none;
}

/* Footer top */
.efn-footer-form {
    text-align: center;
}

.efn-footer-form .footer-form-label {
    color: #fff;
}

.efn-footer-form p {
    display: flex;
}

.efn-footer-form p>span {
    flex: 1;
}

.efn-footer-form .input-item {
    height: 40px;
    border-radius: 5px 0 0 5px;
}

.efn-footer-form .submit-btn {
    background-color: #2d2d2d !important;
    border-radius: 0 5px 5px 0;
    width: 100px;
    height: 40px;
    margin: 0;
}

.efn-footer-form span.wpcf7-spinner {
    display: none;
}

.footer-top form,
.efn-footer-form .input-item {
    margin-bottom: 0;
}

.footer-top .col {
    padding-bottom: 0;
}

/* Footer main */
.footer-main .footer-main-inner>.col {
    padding-bottom: 0;
}

.footer-main .efn-footer-title {
    margin-bottom: 0;
}

.footer-main .efn-footer-title h3 {
    margin-bottom: 16px;
    border: none;
}

.footer-main .efn-footer-title h3 span {
    border: none;
}

.footer-main .efn-footer-title h3 span::after {
    content: "";
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -2px;
}

.footer-main .footer-main-inner .col-inner>p>a {
    display: block;
}

.footer-main .efn-footer-info p {
    margin-bottom: 0;
}

.footer-main .social-icon-efn .col {
    padding-bottom: 0;
}

.footer-main .social-icon-efn .col .col-inner {
    display: flex;
}

.footer-main .social-icon-efn .img {
    width: 32px;
    max-width: 32px;
    margin-right: 5px;
}

.footer-main .social-icon-efn .img .img-inner {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    cursor: pointer;
}

/* Footer bottom */
.footer-bottom p {
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.footer-bottom .no-pb {
    padding-bottom: 0;
}

.footer-bottom .copyright-img {
    display: flex;
    align-items: center;
}


/* Trang shop */
/* lọc giá */
.yith-wcan-filters .yith-wcan-filter h4.filter-title,
.widget_price_filter .widget-title {
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0;
    font-size: 20px;
}

.price_slider_wrapper .price_slider>div,
.price_slider_wrapper .price_slider>span {
    background-color: var(--primary-color) !important;
}

.widget_price_filter .price_slider_wrapper>div>button.button {
    background-color: var(--primary-color);
}

.widget_price_filter .price_slider_wrapper>div .price_label>span {
    color: var(--primary-color);
}

/* more */
.efn-shop-title {
    margin-bottom: 0;
}

.efn-shop-title h3,
.efn-shop-title h3 span {
    border: none;
}

.efn-shop-title.ques-title {
    padding-left: 55px;
}

.efn-shop-title.ques-title::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 10px;
    width: 35px;
    height: 35px;
	background-image: url(../flatsome-child/images/ques.png);
    background-repeat: no-repeat;
    background-size: 100%;
}

.efn-shop-title.promotion-title {
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 15px;
}

h3.efn-shop-title.promotion-title span {
    display: flex;
    align-items: center;
    padding-left: 25px;
    color: #fff;
    font-size: 18px;
}

h3.efn-shop-title.promotion-title span::before {
    content: '';
    position: absolute;
    left: 10px;
    width: 16px;
    height: 16px;
	background-image: url(../flatsome-child/images/gift.png);
    background-repeat: no-repeat;
    background-size: 100%;
    margin-bottom: 2px;
}

ul.promotion-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 0 0 4px 4px;
}

ul.promotion-box>li>a,
ul.promotion-box>li {
    font-size: 14px;
    line-height: 1.4;
    /* margin-bottom: 0; */
}

/* question */
.efn-question-box .accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #ffffff; /* Màu nền trắng */
    border: 0.5px solid #0085ff; /* Màu khung 0085ff */
}

.efn-question-box .accordion-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 0.5px solid #0085ff; /* Màu khung 0085ff */
    padding: 3px 25px;
    background-color: #ffffff; /* Màu nền của phần tiêu đề */
}

.efn-question-box .accordion-item>a>button {
    position: unset;
    order: 2;
    padding-top: 2px;
}

.efn-question-box .accordion-item>a>span,
.efn-question-box .accordion-item>a>button>i {
    font-weight: 700;
    color: #000000; /* Màu mặc định của span và icon */
    transition: color 0.3s; /* Hiệu ứng chuyển đổi màu trong 0.3s */
}

/* Khi di chuột qua, thay đổi màu của span và icon */
.efn-question-box .accordion-item>a:hover>span,
.efn-question-box .accordion-item>a:hover>button>i {
    color: #0085ff; /* Màu của span và icon khi di chuột qua */
}

/* Trang sp */
.single-product.single .shop-container {
    background-color: #fff;
}

.sp-box-wrapper .col-inner {
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
}

.sp-box,
.sp-main-box,
.sp-box-wrapper-1 {
    background: #fff;
    border-radius: 4px;
}

.sp-box.p-15 {
    padding: 15px;
}

.single-product.single .woocommerce-tabs>ul>li>a {
    font-size: 20px;
    padding: 0;
}

.single-product.single .woocommerce-tabs>ul>li>a::before {
    display: none;
}

.sp-pr-8 {
    margin-right: 8px;
}

.sp-box.right-box>.mr-2 {
    display: flex;
}

.sp-box.right-box>.mr-2:not(:last-child) {
    border-bottom: 1px dashed #f1f1f1;
    padding-bottom: 10px;
}

.sp-box.right-box>.mr-2:not(:first-child) {
    padding-top: 10px;
}

.sp-box.right-box>.mr-2>img {
    width: 24px;
    height: 24px;
}

/* giá sp */
.single-product .price-wrapper .price bdi {
    font-size: 15px;
    color: #ff2312;
}

.single-product .price-wrapper .price del bdi {
    color: #111;
}

/* đánh giá sản phẩm */
.sp-hidden-more-sp .related-products-wrapper {
    display: none;
}

.sp-hidden-more-sp .woocommerce-Tabs-panel--reviews>div.row>div.col {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.sp-box-wrapper-1.sp-hidden-more-sp {
    padding: 20px 15px 0;
}

.sp-hidden-des.show-related-prd .woocommerce-tabs.wc-tabs-wrapper {
    display: none;
}

/* Show more product detail */

.single-product div#tab-description,
.field_product {
    overflow: hidden;
    position: relative;
    padding-bottom: 50px;
    margin-bottom: 0;
}

.fix_height {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}

.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}

.b360_readmore_detail_product {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #F9F9FB;
}

.b360_readmore_detail_product:before {
    height: 55px;
    margin-top: -55px;
    content: "";
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #F9F9FB 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff00', endColorstr='#ffffff', GradientType=0);
    display: block;
}

.b360_readmore_detail_product a {
    color: #F9F9FB !important;
    max-width: 300px;
    margin: auto;
    background: #0a87fb !important;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 30px;
}

.b360_readmore_detail_product a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #ffffff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}

.b360_readmore_detail_product_less a:after,
.b360_readmore_detail_product_less_sub a::after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
}

.b360_readmore_detail_product_less:before,
.b360_readmore_detail_product_less_sub::before {
    display: none;
}

.related-products-wrapper.product-section {
    margin-top: 50px;
}

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


}

.single-sp-main .cart button {
    border-radius: 4px;
}


/* filter product reset btn */
button.button.woof_reset_search_form {
    border-radius: 60px;
    width: 120px;
}

div.scrollmenu {
    background-color: #fff;
    overflow: auto;
    white-space: nowrap;
    box-shadow: 0px 0px 4px #ccc;
    display: flex;
}

.home .scrollmenu>a:nth-child(1),
.woocommerce-cart.woocommerce-page .scrollmenu>a:nth-child(3) {
    color: var(--primary-color);
}

div.scrollmenu a {
    color: #333;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    flex: 1;
}

div.scrollmenu>a>i {
    font-size: 22px;
}

div.scrollmenu a:hover {
    color: var(--primary-color);
}

@media only screen and (max-width: 1024px) {
    .header-inner {
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }

    .header-inner #logo {
        display: flex;
        width: 100% !important;
        margin-right: 50px;
    }

    .header-inner #logo a {
        max-width: 160px;
    }

    .header-inner .show-for-medium.flex-right {
        flex: 0 0 100%;
    }

    .header-inner .show-for-medium.flex-right .mobile-nav {
        position: static;
    }

    .header-inner .show-for-medium.flex-right .mobile-nav .cart-item {
        position: absolute;
        top: 0;
        transform: translateY(15px);
    }

    .header-inner .show-for-medium.flex-right .mobile-nav .header-search-form {
        margin-left: 0 !important;
    }

    .scrollmenu a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .scrollmenu a span {
        margin-top: 6px;
    }

    #button-contact-vr {
        bottom: 10% !important;
    }
    #button-contact-vr #gom-all-in-one{
        display: block;
    }

    #button-contact-vr.active #gom-all-in-one{
        display: none;
    }
}
@media screen and (max-width: 849px) {
    .header-inner .nav {
        -ms-flex-wrap:nowrap;
        flex-wrap: nowrap
    }

    .medium-logo-left .flex-left {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        -webkit-box-flex: 0;
        -ms-flex: 0;
        flex: 0
    }

    .medium-logo-left .logo {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .medium-logo-center .flex-left {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0
    }

    .medium-logo-center .logo {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        text-align: center;
        margin: 0 15px
    }

    .medium-logo-center .logo img {
        margin: 0 auto
    }

    .medium-logo-center .flex-right {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3
    }
}

/* Scroll menu */
@media only screen and (min-width: 660px) {
    .scrollmenu {
        display: none !important;
    }
}

.scrollmenu {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 99;
}

.star-rating span{
color: #FFD700;
}

.qr_code strong{
    display: block;
}

.qr_code strong img{
    max-width: 250px;
    margin: 15px 0;
    width: 100%;
}

/* custome price */
.prd-sale-wrapper .box-text-products .price,
.home-product .box-text-products .price {
    display: flex;
    flex-direction: column-reverse;
}

.product-title>a {
    color: #222;
}

/* bo góc ảnh chuyên mục */
.box-image img {
  border-radius: 15px; /* Thay đổi giá trị này để điều chỉnh độ bo góc */
}

/* Star */
.stars a.active,
.star-rating:before,
.woocommerce-page .star-rating:before,
.star-rating span:before,
.color-secondary {
    color: var(--star-color) !important;
}
.footer-wrapper {
    margin-bottom: 80px;
}

@media (max-width: 849px) {
    .prd-tab .nav {
        overflow-x: scroll;
        flex-wrap: nowrap;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .prd-tab .nav::-webkit-scrollbar {
        display: none;
    }
    /* Header */
    header .flex-col.show-for-medium.flex-left {
        display: none;
    }
    .header-wrapper.stuck .header-main, .header-wrapper .header-main {
        height: 121px !important;
    }
    .contact-phone ul li{
        margin-left: 0 !important;
    }
}

.form-row.terms label {
    display: block;
}

.form-row.terms .input-checkbox {
    margin-top: 10px;
}


.ser-icon{
	max-width: 100%;
	overflow: hidden;
	border-radius: 100%;
	color: var(--primary-color);
	transition: .2s all;
}

.ser-icon .process{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: -webkit-max-content!important;
	width: -moz-max-content!important;
	width: max-content!important;
	overflow: visible!important;
	-webkit-transition: .2s all;
	transition: .2s all;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: auto!important;
	-webkit-transform: translate(0,0);
	transform: translate(0,0);
    top: 24%;
    left: 24%;
    position: absolute;
}
.unsee{
	opacity: 0;
	transform: scale(0);
}
.bg_fade.unsee {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.5;
	z-index: 101;
	transform: inherit;
}
.process{
	display: inline-flex;
	transform: translateX(0px);
	transition: 0.3s linear transform;
	line-height: 0;
}
.ser-icon .item {
	margin-right: 40px;
    background-color: #e60808;
    border-radius: 100%;
}
.ser-icon i:nth-child(2n) {
	color: #000;
}

.header-category{
    margin-top: 30px;
}


.contact-phone ul {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-top: 50px
}

.contact-phone ul li {
    width: 100%;
    background-color: #288AD6;
    color: #fff;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    display: inline-block
}

.contact-phone ul li a {
    color: #fff;
    display: block;
    width: 100%;
    text-decoration: none
}

.contact-phone ul li p:first-of-type {
    font-weight: 700;
    font-size: 16px;
    margin: 0
}

.contact-phone ul li:last-of-type {
    background: rgba(58,85,159,1)
}

.contact-phone ul li:last-of-type {
    margin-right: 0
}

.contact-phone ul li p:last-of-type {
    font-size: 12px;
    margin: 0
}

.contact-phone {
    width: 100%;
    margin: 5px 0;
    overflow: hidden
}

.header-category-customer{
    margin-top: 30px;
}
