/*
Theme Name: Bixol Child
Theme URI: http://demo.casethemes.net/bixol/
Author: Case-Themes
Author URI: https://themeforest.net/user/case-themes/portfolio/
Description: Cleaning Services WordPress theme is a modern, clean and professional WordPress theme which is specially created to spread and represent your cleaning services business to your potential customers. <b>Bixol</b> theme is fully responsive, and it looks attractive on all types of screens and devices. It comes with a lot of user-friendly and customizable features those will help you to create a robust website to achieve the main goal of online business.   
Version: 1.6.9
License: ThemeForest
License URI: https://themeforest.net/licenses
Template: bixol
Text Domain: bixol-child
Tags: cleaner, cleaning, cleaning agency, cleaning business, cleaning company, cleaning service, building, floor cleaning, house cleaning, window cleaning, housekeeping, washing, maintenance, janitor
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* .swiper-button-next:after {
    content: 'next' !important;
    font-size: 24px !important;
    color: #4564ED !important;
    padding: 15px !important;
    background-color: white !important;
    border-radius: 50% !important;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2) !important;
} */
/* .swiper-button-next, .swiper-button-prev {
    background-color: rgba(255, 255, 25∂v5, 0.6) !important;
    border-radius: 50%  !important;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15)  !important;
    width: 48px  !important;
    height: 48px  !important;
    transition: all 0.3s ease  !important;
}


.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px !important;
    color: #4564ED !important;
} */
 /* Default style (image-top) */

/*icon active */
/* .featured-image-carousel .swiper-button-prev {
	position: absolute;
	left: 0; 
	z-index: 99;
	transform: translateX(-50%); 
}

.elementor-widget-featured-image-carousel,
.elementor-image-carousel-wrapper {
	overflow: visible !important;
	position: relative;
} */
/* Mặc định layout: ảnh trên */
/* Mặc định Desktop layout */
/* Mặc định: Desktop */



/* .btn-next::after{
    content: 'next';
    font-size: 24px;
    color: #222222;
}
.btn-prev::after{
    content: 'prev';
    font-size: 24px;
    color: #222222;
} */
/* .checkbox-filter label {
    display: flex;
    flex-direction: row;
    align-items: center;
} */
/* body > .some-overlay-class, 
body > .cart-overlay, 
body > .modal-backdrop {
    pointer-events: none !important;
} */




.checkbox-filter {
    padding: 10px;
    font-family: sans-serif;
}

.checkbox-filter .filter-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.checkbox-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px; /* Giảm khoảng cách */
    line-height: 1.2;
    align-items: flex-end;
}

 .product-filters input[type="checkbox"] {
    transform: scale(1.1);
    position: relative;
    width: 22px;
    height: 22px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: 1.75px solid var(--e-global-color-3a07225, #dfdfdf);
    border-radius: 4.67px;
    transition: background-color 0.3s, border-color 0.3s;
}
.product-filters  input[type="checkbox"]:checked::before {
    opacity: 1;
}
.product-filters input[type="checkbox"]::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 9px;
    width: 5px;
    height: 11px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.2s ease;
}
 .product-filters input[type="checkbox"]:checked {
    background: linear-gradient(90deg, #5596f7 0%, var(--e-global-color-036d495, #4564ed) 100%) !important;
    border: none;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li {
    border-bottom: none !important;
    padding: 10px 10px 10px 0 !important;
}
/* .price-sale {
    color: #4564ED;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
} */
/* span.price-sale span.woocommerce-Price-amount.amount {
    color:#4564ED;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
} */
del.woocommerce-Price-amount.amount bdi {
    text-decoration: line-through !important;
}
bdl {
    text-decoration: none !important;
}
del {
    text-decoration: none !important;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-meta h3 a{
    font-size: 14px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.4rem;
    font-weight: 700 !important;
    line-height: 21px !important;
    margin-bottom: 0px !important;
    color: #222 !important;
}
/* .custom-cart-pricing {
    margin-top: -10px;
} */
.cart-product-meta {
    width: 70% !important;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li { 
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;

}
.price-sale {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: #4564ED;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-meta .quantity {
    font-size: 12px !important;
    font-weight: 400;
    line-height: 18px;
    color: #888;
}

.regular-price-cart {
    font-size: 12px;
    text-decoration: line-through !important;
    font-weight: 400;
    line-height: 18px;
    color: #888;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-meta h3 a {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: #222;
}

.show-cart {
    position: absolute !important;
    top: 40px!important;
    left: -100px !important;
    transform: translateX(-50%)!important;
    margin-top: 10px!important;
    width: 366px!important;
    background: rgb(255, 255, 255)!important;
    border: 1px solid rgb(221, 221, 221)!important;
    border-radius: 8px!important;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px!important;
    z-index: 9999!important;
}


/* span.woocommerce-Price-amount.amount {

} */


ul.cart_list.product_list_widget {
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 55px;
}

.remove_from_cart_button img {
    width: 24px;
    height: 24px;
}


.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list a.remove_from_cart_button {
    opacity: 1 !important;
}






.ct-widget-cart-sidebar .widget_shopping_cart {
    padding: 24px 16px !important;
    overflow-y: scroll !important;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-image img {
    border-radius: 8px !important;
}
.ct-widget-cart-sidebar { 
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    height: auto !important;
    z-index: 9999;
    width: 366px !important;
    overflow: hidden;
    border-radius: 16px;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_footer { 
    padding: 16px 24px !important
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_footer p.buttons .btn:not(.checkout) {
    margin-right: 0px !important;
}
.ct-widget-cart-sidebar .widget_shopping_title { 
    border-bottom: 0px solid white !important;
    margin-bottom: 0 !important;
    padding-bottom: 0px !important;
    font-size: 16px !important;
    line-height: 24px  !important;
    font-weight: 700 !important;
    color: #4564ED !important;
    font-family: 'Inter', sans-serif !important;

}

.buttons > a.btn.wc-forward  {
    padding: 8px 16px;
    background: linear-gradient(90deg, #5596F7 0%, #4564ED 100%);
    color: white;
    font-weight: 500;
    line-height: 24px !important;
    font-size: 16px;
    border-radius: 40px;
    width: 100% !important;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_footer p.total {
    border: none;
    border-top: none !important;
}
p.total {
    width: 100%;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
}
.widget_shopping_cart_footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}

.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-image {
    width: 65px !important;
    height: 65px !important;
}
.cart-product-image {
    border: 1px solid #DFDFDF;
    border-radius: 8px;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-image img  {
    border-radius: 8px;
}
.ct-widget-cart-sidebar .widget_shopping_cart .widget_shopping_cart_content ul.cart_list .cart-product-meta h3 a { 
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
}

  /* .content-product-box {
    height: 100%;
    border-radius: 0px 0px 16px 16px;
  } */


  @media (max-width: 440px) {
    .btn-confirm-filter {
        display:  block;
      }
    .icon-filter-mobile {
        display:  block;
    }
    button#submit-filter-mobile {
        width: 100%;
        border-radius: 50px;
        background: linear-gradient(90deg, #5596F7 0%, #4564ED 100%) !important;
    }
    .icon-filter-mobile {
        background-color: white !important;
        color: #222222 !important;
        font-size: 16px;
    }
    /* Ẩn mặc định */
    /* Sản phẩm filter */
    .product-filters {
        display: none;
        position: fixed;
        bottom: 0; 
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 500px;
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    /* Hiển thị sản phẩm filter khi có class .show */
    .product-filters.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    /* Lớp nền mờ khi mở filter */
    .product-filters-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5); /* Màu nền mờ */
        z-index: 9998;
        display: none; /* Mặc định ẩn */
    }
    /* Khi filter mở, lớp nền mờ hiển thị */
    .product-filters.show + .product-filters-overlay {
        display: block;
    }

    .container-left {
        width: 100%;
    }
    .product-filters {
        display: none; /* Ẩn mặc định */
    }

    .product-filters.show {
        display: block; /* Hiển thị khi có lớp 'show' */
    }
  }




 .row-price {
    display: flex;
    flex-direction: column;
    height: 2.5rem;
 }
 /* Thêm nhãn SALE! */
.content-product h3{
    height: 2.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
 .sort-button {
    position: relative; /* Cần position để cho ::before hoạt động */
    border-radius: 50px; /* Bo tròn góc của nút */
    padding-right: 30px; /* Đảm bảo đủ không gian cho dấu check */
}

.sort-button.active::before {
    font-family: "FontAwesome";
    content: "\f00c";
    font-size: 12px;
    font-weight: bold;
    color: white;
    position: absolute;
    top: -6px;
    right: -1px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3366FF;
    display: flex;
    /* align-items: flex-end; */
    justify-content: flex-end;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    transform: translate(1px, -1px);
    padding-right: 7px;
}



 .product-list.loading {
    position: relative;
}
.product-list.loading::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #999;
}


.sale-flash {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

/* Định vị giá ở góc trên bên phải */
.product-item {
    position: relative;
}

.product-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    border-radius: 5px;
}

/* Thêm style cho danh mục sản phẩm */
.product-category {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.pagination-dots {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    padding: 0 16px;
    background: white;
    margin-right: 10px;
    border-radius: 40px 40px 40px 40px;
    border: 1px solid #DFDFDF;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;


}
.added_to_cart.wc-forward {
    display: none !important;
}
/* .pagination-btn {
    border-radius: 50% !important;
} */
/* .pagination-btn.active {
    background-color: #0073e6 !important;
    color: white !important;
    border-color: #0073e6 !important;
} */
.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}
.product-item .regular-price {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Start page profduc filter  */
.product-container {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.container-left {
    width:  23%;
}

.container-right {
    width: 75%;
}
.product-sort {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
}
.product-sort-left {
    width:30%;
}
.product-sort-right{
    width: 70%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
/* .product-sort {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
} */

.sort-buttons {
    display: flex;
    gap: 10px;
}

.sort-button {
    /* padding: 10px 20px; */
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.sort-button.active {
    font-weight:bold !important;
    background-color: white;
    color: #4564ED !important;
    border-color: #4564ED;
}

.sort-button:hover {
    background-color: #e0e0e0;
}

.product-list {
    flex: 3 1 0; /* Phần còn lại cho sản phẩm */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột cho sản phẩm */
    /* gap: 20px; */
}

/* Style cho các sản phẩm */
.product-item {
    margin: 10px;
    border: 1px solid #DFDFDF;
    /* padding: 15px; */
    border-radius: 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.product-item img {
    max-width: 100%;
    height: auto;
    /* border-radius: 5px; */
    /* margin-bottom: 10px; */
}

.product-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 14px;
    margin-bottom: 10px;
}

.product-link {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    display: block;
}

.product-link:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .product-container {
        flex-direction: column;
    }

    .product-filters {
        max-width: 100%; /* Bộ lọc chiếm hết chiều rộng trên mobile */
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr); /* 2 cột trên mobile */
    }
}

@media (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr; /* 1 cột trên màn hình rất nhỏ */
    }

    .sort-buttons {
        flex-direction: column;
    }

    .sort-button {
        width: 100%;
        margin-bottom: 10px;
    }
}


/* End page profduc filter  */
.elementor-widget-n-tabs .e-n-tab-title[aria-selected=true] .e-n-tab-icon svg {
    fill: none !important;
}
.footer-custom-inner {
    background-image: url('/wp-content/themes/bixol-child/assets/images/background/bg-footer.png')
} 
@media screen and (min-width: 440px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 48px !important;
        height: 48px !important;
    }  
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 24px !important;
        color: #4564ED !important;
    }
}

   /* Start box layout - Blog  */
.layout-desktop-image-top.featured-blog-item {
    display: flex;
    flex-direction: column;
  }
  .layout-desktop-image-left.featured-blog-item {
    display: flex;
    flex-direction: row;
  }
  .layout-desktop-image-right.featured-blog-item {
    display: flex;
    flex-direction: row-reverse;
  }
  
  /* Tablet: max-width 1024px */
  @media (max-width: 1200px) {
    .cart-toast-success {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        top: 100px;
        right: 20px;
        background-color: #d4f7dc; /* xanh nhạt */
        color: #222222;
        padding: 12px 20px;
        border-radius: 16px;
        border-bottom: 4px solid #17BA58; /* xanh đậm */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        font-size: 16px;
        font-weight: 400;
        z-index: 9999;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
    }
    
    .cart-toast-success.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Dấu check */
    .cart-toast-success .icon-check {
        width: 20px;
        height: 20px;
        background-color: #DCF5E6; /* xanh đậm */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cart-toast-success .icon-check svg {
        width: 12px;
        height: 12px;
        stroke: #fff;
        stroke-width: 3;
        fill: none;
    }
    
    
    .show-cart {
        display: none;
    }
    .widget_shopping_cart {
        display: none;
    }
    .layout-tablet-image-top.featured-blog-item {
      flex-direction: column !important;
    }
    .layout-tablet-image-left.featured-blog-item {
      flex-direction: row !important;
    }
    .layout-tablet-image-right.featured-blog-item {
      flex-direction: row-reverse !important;
    }
  }
  
  /* Mobile: max-width 767px */
  @media (max-width: 767px) {
    .layout-mobile-image-top.featured-blog-item {
      flex-direction: column !important;
    }
    .layout-mobile-image-left.featured-blog-item {
      flex-direction: row !important;
    }
    .layout-mobile-image-right.featured-blog-item {
      flex-direction: row-reverse !important;
    }
  }
   /* End box layout - Blog  */
.e-con {
    --container-default-padding-top: 0px !important;
    --container-default-padding-right: 0px !important;
    --container-default-padding-bottom: 0px !important;
    --container-default-padding-left: 0px !important;
}
  
.layout-image-top .featured-blog-item {
    display: flex;
    flex-direction: column;
  }
  
  /* Layout ảnh bên trái */
  .layout-image-left .featured-blog-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  
  /* Layout ảnh bên phải */
  .layout-image-right .featured-blog-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
  }
  
.elementor-image-carousel-wrapper {
    overflow: visible !important;
    position: relative;
}
.elementor-widget-featured-image-carousel {
    position: relative;
    overflow: visible; 
    }
.swiper-slide {
	width: auto;
}
.custom-featured-swiper-wrapper {
    position: relative !important;
    overflow: visible !important;
  }

.swiper-button-next i {
    display: none;
}
.swiper-button-prev i {
    display: none;
}
i.flaticonv2-shopping-cart {
    display: flex !important;
}
#btn-ticky.e-n-tab-title[aria-selected=true] {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #3366FF;
    border-radius: 50px;
    /* padding: 8px 18px; */
    font-size: 16px;
    font-weight: bold;
    color: #3366FF;
    text-decoration: none;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

#btn-ticky.e-n-tab-icon.e-n-tab-title[aria-selected=true] {
  display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 22px;
    z-index: 2;
}

#btn-ticky.e-n-tab-title-text.e-n-tab-title[aria-selected=true] {
    flex-grow: 1;
    color: #3366FF;
    text-align: center;
    white-space: nowrap;
    z-index: 2; 
}

/* .e-con {
    --padding-left: 0px !important;
    --padding-top: 0px !important;
    --padding-right: 0px !important;
    --padding-bottom: 0px !important;
} */
 
#btn-ticky.e-n-tab-title[aria-selected=true]::before {
    font-family: "FontAwesome";
    content: "\f00c";
    font-size: 13px;
    font-weight: bold;
    color: white;
    position: absolute;
    top: -6px;
    right: -1px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3366FF;
    display: flex;
    /* align-items: flex-end; */
    justify-content: flex-end;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    transform: translate(1px, -1px);
    padding-right: 7px;
}
/* moi them*/



 .fpw-category a {
    font-family: 'Inter', sans-serif !important;
 }
 .meta-author {
    display: flex !important;
    align-items: center;
 }
.featured-blog-item.layout-image-top {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
  }
  
  /* Image Left */
  .featured-blog-item.layout-image-left {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
  }
  
  /* Image Right */
  .featured-blog-item.layout-image-right {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: flex-start;
  }
  
  .featured-blog-item .post-thumbnail {
    /* width: 100px;
    height: 100px; */
    flex-shrink: 0;
    /* border-radius: 12px; */
    overflow: hidden;
  }
  
  .featured-blog-item .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/* icon category title  */
.category-blog-image img {
    width: 24px;
    height: 24px !important;
    margin-right: 10px;
}
.author-image {
    position: relative;
    width: 45px;
}
.author-image img {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
}

.author-image span img {
    width: 15px;
    height: 15px;
}

.author-image span {
    position: absolute;
    left: 27px;
    top: 15px;
}
span.elementor-button-icon {
    font-size: 24px;
}
#scroll-icon {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
    cursor: grab;
  }
  
  #scroll-icon:active {
    cursor: grabbing;
  }
  
  #scroll-icon > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  
  #scroll-icon::-webkit-scrollbar {
    display: none;
  }
  
  
h2.custom-header-title span {
    color: #4564ED;
    font-size: 28px;
}
.custom-readmore a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.custom-readmore i {
    font-size: 0.9em;
}

/* .swiper-button-prev {
    margin-left: -6px;
}
.swiper-button-next {
    margin-right: -6px;
} */
.swiper-button-next,
.swiper-button-prev {
    background-color: white !important;
    border-radius: 50% !important;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.20) !important;
    width: 48px !important;
    height: 48px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* z-index: 9999 !important;  */
    position: absolute;
}

/* .swiper-button-next {
    right: -28px!important;
}

.swiper-button-prev {
    left: -28px!important;
} */

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px!important;
    color: #4564ED !important;
}



body.body-default-font {
    font-family: 'Inter', sans-serif !important;

}
.custom-blog-thumbnail {
    overflow: hidden;
    height: 200px; /* hoặc để auto nếu dùng JS set */
    margin-bottom: 15px;
  }
  
  .custom-blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  
/* Fix navigation button visibility */
/* .swiper-button-prev:after, */
/* .swiper-button-next:after{
  color: #000;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
} */

/* .swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
} */
  
.custom-blog-box {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .custom-blog-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .custom-blog-box-content {
    padding: 16px;
  }
  
.custom-blog-carousel .swiper-wrapper {
    display: flex;
  }
  .custom-blog-carousel .swiper-slide {
    height: auto;
  }
  
.elementor-button-icon {
    display: flex;
    align-items: center !important;
}
@media (max-width: 767px) {
    .custom-header-description {
           margin-top: 12px;
       }
   }
@media screen and (min-width: 1200px) {
    .product-filters {
        position: sticky;
        top: 70px;
    }
    .btn-confirm-filter {
        display:  none;
      }
    .icon-filter-mobile {
        display:  none;
    }

    .swiper-button-prev {
        position: absolute;
        left: -20px !important;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    /* Nút next sát mép phải container */
    .swiper-button-next {
        position: absolute;
        right: -20px !important;
        top: 50%;
        transform: translate(50%, -50%);
        z-index: 10;
    }
    /* #ct-header-wrap.ct-header-layout3 .ct-main-menu > li > a:before{
        height: 0px !important;
        background-color: none !important;
    } */

    .ct-main-menu > li > a {
        line-height: 65px !important;
    }
    .btn-download-app span {
        font-family: "Inter", Sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        color:#FFFFFF;
    }
    #ct-header-wrap .ct-header-search .search-submit{
        width: 40px !important;
    }
    .custom-header-description {
        margin-top: 24px;
    }
    #button-mobile {
        display: none;
    } 
    .eicon-chevron-left::before {
        margin-left: -20px;
        border-radius: 50%;
        padding: 5px;
        color: #4564ED;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.20);
        background-color: #fff;
        /* left: -10px; */
    }    
    .eicon-chevron-right::before {
        margin-right: -20px;
        border-radius: 50%;
        padding: 5px;
        /* left: -10px; */
        background-color: #fff;
        color: #4564ED;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.20);
    }   
    .elementor-button-icon svg {
        height: 24px !important;
        width: 24px !important;
      }
    .element-or-button-icon svg {
            height: 24x !important;
            width: 24px !important;
        }
    #ct-header-wrap .ct-header-search .search-field {
        padding: 0 13px !important;
    }
    div#ct-headers {
        position: fixed;
        width: 100%;
        background-color: white;
        border-bottom: 1px solid #DFDFDF
    }
    #ct-header-wrap.ct-header-layout3 .ct-main-menu > li > a {
        color: #222222 !important;
        font-size: 14px;
        font-family: "Inter", Sans-serif;
    }
    #ct-headers {
        width: 1440px;
        margin: 0 auto;
    }
    #ct-headers .container {
        max-width: 1440px;
    }
    #ct-header-wrap.ct-header-layout3 .ct-main-navigation {
        flex-grow: 1;
        display: flex;
        height: 64px;
        justify-content: right !important;
    }
    #ct-main-menu {
        height: 64px;
    }
    .search-field {
        height: 40px !important;
    }
    .btn-download-app {
        display: flex;
        width: 147px;
        padding: spacing-small spacing-medium;
        justify-content: center;
        align-items: center;
        gap: spacing-small;
        flex-shrink: 0;
        border-radius: 40px;
    }

    .ct-main-menu > li.menu-item-has-children > a:after, .ct-main-menu > li.page_item_has_children > a:after {
        content: "" !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 24px !important;
        height: 24px !important;
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/arrow-down.svg') !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
    }
        /* Hover: đổi icon thành mũi tên lên */
        .ct-main-menu > li.menu-item-has-children:hover > a::after,
        .ct-main-menu > li.page_item_has_children:hover > a::after {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/arrow-up.svg') !important;
        }


    .ct-main-menu li.megamenu .sub-menu, .ct-main-menu li.megamenu .children {
        width: 100%;
        max-width: 100%  !important;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }
    #ct-header-wrap .ct-header-search {
        width: 380px !important;
        max-width: 380px !important;
        padding: 8px 12px !important;
        margin-left: 10px !important;
    }

    #ct-header-wrap.ct-header-layout3 .ct-header-search .search-field {
        border-color: var(--e-global-color-a3b09ec) !important;
        color: var(--e-global-color-100e0cb) !important;
    }

    #ct-header-wrap .ct-header-search .search-field {
        background-color: transparent;
        color: #fff;
        border: 1px solid rgba(41, 56, 210, 0.4) !important;
        height: 34px;
        padding: 0 23px;
        font-size: 14px;
    }
    #ct-header-wrap.ct-header-layout3 .ct-header-search .search-submit {
        color: var(--e-global-color-9074194) !important;
        height: 40px;
      
    }
    #ct-header-wrap.ct-header-layout3 .ct-header-search .search-submit i {
        padding: 5px;
        border-radius: 40px;
        background: var(--e-global-color-7d95eeb);
    }
    .btn-download-app {
        background: linear-gradient(90deg, #5596F7 0%, #4564ED 100%);
    }
    .h-btn-cart {
        display: flex;
        position: relative;
        color: #888888;
        font-size: 24px;
        margin-right: 25px;
        z-index: 999;
        margin-left: 25px;
    }
    span.widget_cart_counter_header {
        position: absolute !important;
        top: -5px;
        left: 15px;
        height: 17px;
        line-height: 17px;
        width: 17px;
        font-size: 10px;
        color: white;
        padding: 0px 5px;
        background: #ff2156;
        border-radius: 50%;
    }

    /* .ct-main-menu .sub-menu li a {
        border-bottom: none !important;
    }
    #ct-header-wrap.ct-header-layout3 .ct-main-menu > li > a:before  {
        
    } */
    .menu-desktop {
        display: block;
    }
    .menu-mobile {
        display: none;
    }

    .fpw-products .fpw-product {
        /* border: 0 !important; */
        box-shadow: none !important;
    }
    .fpw-products .fpw-product a {
        border: 0 !important;
    }

    .fpw-product a {
        display: block;
        padding: 0 !important;
        margin: 0 !important;
        text-decoration: none;
    }
    
    .fpw-product .fpw-image {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .fpw-product .fpw-image img {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .fpw-category {
        text-transform: uppercase;
    }
    
}

@media screen and (max-width: 1199px) { 
    .btn-confirm-filter {
        background: linear-gradient(90deg, #5596F7 0%, #4564ED 100%) !important;
    }
        /* .custom-featured-swiper {
            position: relative;
            overflow: visible; 
        } */
        /* .elementor-image-carousel-wrapper {
            overflow: visible !important;
            position: relative;
        }
        .elementor-widget-featured-image-carousel {
            position: relative;
            overflow: visible; 
            } */
        /* .elementor-image-box-wrapper {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
        } */
        #ct-header-wrap .ct-header-branding a img {
            width: 140px;
            height: 20px;
            /* max-height: 27px !important; */
        }
      

        /* Nút prev sát mép trái container */
        .swiper-button-prev {
        position: absolute;
        left: -14px !important;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        }

        /* Nút next sát mép phải container */
        .swiper-button-next {
        position: absolute;
        right: -14px !important;
        top: 50%;
        transform: translate(50%, -50%);
        z-index: 10;
    }
  
    /* .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 14px !important;
        color: #4564ED !important;
    } */
    #ct-header-wrap .ct-header-search .search-submit {
        width: 45px !important;
    }
    #ct-header-wrap .ct-header-branding {
        z-index: 9999;
    }
    .menu-text {
        font-size: 16px;
        font-family: 'Inter', sans-serif !important;
        font-weight: 400;
        /* line-height: 24px; */
        color: #222222;
    }
    .btn-download-app {
        background: var(--Gradient, linear-gradient(90deg, #5596F7 0%, #4564ED 100%));
        border-radius: 40px;
        /* width: 147px; */
        height: 40px;
        margin: 0 auto;
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }
    .btn-download-app span{
        font-size: 16px;
        font-family: 'Inter', sans-serif !important;
        font-weight: 500;
        line-height: 24px;
        color: white;
    }
    #button-mobile {
        display: block;
    } 
    div#ct-header-wrap {
        position: fixed;
        width: 100%;
    }
    .menu-desktop {
        display: none;
    }
    .menu-mobile {
        display: block;
    }
    .ct-header-navigation .ct-main-navigation {
        /* overflow: hidden; */
        width: 100% !important;
        padding: 10px 0 45px 0 !important;
        background-color: #fff;
        position: static !important;
        /* top: 155px !important;  */
    }
    #ct-header-wrap #ct-menu-mobile {
        position: absolute;
        /* top: 35% !important; */
    }
    #ct-header-wrap .ct-header-search .search-field {
        border-color: var(--e-global-color-a3b09ec) !important;
        color: var(--e-global-color-100e0cb) !important;
        border: 1px solid var(--e-global-color-a3b09ec) !important;
        height: 34px;
        padding: 0 23px;
        font-size: 14px;
    }
    button.search-submit i {
        color: var(--e-global-color-a3b09ec) !important;
        padding: 5px !important;;
        border-radius: 40px !important;;
        background: var(--e-global-color-7d95eeb) !important;
    }
    #ct-header-wrap .ct-header-search {
        max-width: none !important;
        margin-left: 0 !important;
        margin-bottom: 20px;
    }
    
    .ct-header-navigation {
        position: absolute;
        height: 100vh;
        width: 100% !important;
    }
    
    .h-btn-cart {
        display: flex;
        position: relative;
        color: #888888;
        font-size: 24px;
        margin-right: 25px;
        z-index: 999;
    }
    span.widget_cart_counter_header {
        position: absolute !important;
        top: -5px;
        left: 15px;
        height: 17px;
        line-height: 17px;
        width: 17px;
        font-size: 10px;
        color: white;
        padding: 0px 5px;
        background: #ff2156;
        border-radius: 50%;
    }
    #ct-header-wrap .row {
        flex-wrap: nowrap;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }


    #ct-header-wrap .ct-header-branding {
        padding: 10px 15px;
        margin-left: 50px !important;
    }
    #ct-header-wrap #ct-menu-mobile {
        top: 50%;
        left: 15px !important;
        z-index: 4;
    }
    .ct-header-navigation {
        /* position: absolute;
        height: 100vh;
        width: 260px; */
        top: 100px !important;
    }
    .ct-header-navigation .ct-main-navigation { 
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    #ct-main-menu {
        margin-bottom: 20px;
    }
    /* Áp dụng layout flex cho thẻ <a> */
    #ct-main-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        /* padding: 10px 15px; */
        position: relative;
        border-bottom: none !important;
    }
    

    /* Icon bên trái */
    .menu-icon {
        width: 32px;
        height: 32px;
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
    }

    /* Text menu chiếm hết phần còn lại */
    .menu-text {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #ct-header-wrap .ct-header-search .search-field {
        white-space: nowrap;           /* Ngăn không cho xuống dòng */
        overflow: hidden;              /* Ẩn phần text bị tràn */
        text-overflow: ellipsis;       /* Hiển thị dấu "..." nếu text dài quá */
      }

    /* Mũi tên nằm sát bên phải */
    .menu-arrow {
        width: 24px;
        height: 24px;
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/arrow-right.svg');
        background-repeat: no-repeat;
        background-size: contain;
        flex-shrink: 0;
        margin-left: auto;
    }


    /* Gắn icon tương ứng menu moblie*/
    .icon-cmyk .menu-icon {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/cmyk.svg');
    }

    .icon-ttgdsk .menu-icon {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/ttgdsk.svg');
    }

    .icon-ktsk .menu-icon {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/ktsk.png');
    }

    .icon-cd .menu-icon {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/cd.png');
    }

    .icon-sp .menu-icon {
        background-image: url('/wp-content/themes/bixol-child/assets/images/icon/sp.svg');
    }
    .custom-header-button {
        display: none !important;
    }
    a#button-mobile {
        display: inline-block !important;
    }
    .eicon-chevron-left::before {
        margin-left: -20px;
        border-radius: 50%;
        padding: 5px;
        color: #4564ED;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.20);
        background-color: #fff;
        /* left: -10px; */
    }    
    .eicon-chevron-right::before {
        margin-right: -20px;
        border-radius: 50%;
        padding: 5px;
        /* left: -10px; */
        background-color: #fff;
        color: #4564ED;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.20);
    }   


}