/* ==============================
   HOME – SCOPE CHỈ TRANG CHỦ
============================== */
html,
body {
    overflow-x: hidden;
}
/* để chắc chắn home không bị shop css ảnh hưởng */
body.home .site-main {
    padding: 0;
}

/* ==============================
   HOME BANNER – FULL WIDTH (KHÔNG HỞ MÉP TRẮNG)
============================== */
/* ==============================
   MEXI HERO CAROUSEL (HOME)
============================== */

body.home .mexi-hero,
body.home .home-banner {
    width: 100svw;
    /* ⭐ quan trọng: tránh scrollbar */
    margin-left: calc(50% - 50svw);
    margin-right: calc(50% - 50svw);
    position: relative;
    overflow: hidden;
    /* ⭐ khóa tràn */
    overflow-x: clip;
    /* ⭐ mạnh hơn hidden (trình duyệt mới) */
}

body.home .mexi-hero-swiper {
    min-height: 520px;
}

body.home .mexi-hero-swiper,
body.home .mexi-hero-swiper .swiper-wrapper {
    overflow: hidden;
}

body.home .mexi-hero-slide {
    position: relative;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.home .mexi-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(35, 25, 233, 0.78) 0%,
            rgba(12, 37, 106, 0.50) 40%,
            rgba(15, 120, 95, .20) 70%,
            rgba(15, 120, 95, .08) 100%);
}

/* Content center giống bạn đang làm */
body.home .mexi-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 16px;
}

body.home .mexi-hero-content h1 {
    font-size: 44px;
    font-weight: 900;
    margin: 0 0 14px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

body.home .mexi-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .92);
}

body.home .mexi-hero-content .btn-primary {
    display: inline-block;
    background: #5252dc;
    color: #fff;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(82, 82, 220, .35);
}

body.home .mexi-hero-content .btn-primary:hover {
    transform: translateY(-1px);
}

/* Pagination dots */
body.home .mexi-hero-pagination {
    position: absolute;
    left: 52%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
}

body.home .mexi-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, .55);
    opacity: 1;
}

body.home .mexi-hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

/* Arrows */
body.home .mexi-hero-prev,
body.home .mexi-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

body.home .mexi-hero-prev {
    left: 14px;
}

body.home .mexi-hero-next {
    right: 14px;
}

body.home .mexi-hero-prev::before,
body.home .mexi-hero-next::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: 0;
    width: 10px;
    height: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    opacity: .95;
}

body.home .mexi-hero-prev::before {
    transform: rotate(-135deg);
    left: 18px;
    top: 17px;
}

body.home .mexi-hero-next::before {
    transform: rotate(45deg);
    left: 16px;
    top: 17px;
}

body.home .home-banner {
    position: relative;
    min-height: 520px;
    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    overflow: hidden;
    /* ⭐ QUAN TRỌNG */
}

/* Mobile */
@media (max-width: 768px) {

    body.home .mexi-hero-swiper,
    body.home .mexi-hero-slide {
        min-height: 380px;
    }

    body.home .mexi-hero-content {
        min-height: 380px;
    }

    body.home .mexi-hero-content h1 {
        font-size: 28px;
    }

    body.home .mexi-hero-content p {
        font-size: 15px;
    }
}
/* ==============================
   HOME CATEGORY SLIDER (8 danh mục – kéo ngang)
============================== */
body.home .home-category-slider {
    padding: 36px 0;
    background: #fff;
}

body.home .home-category-slider .section-title {
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: #0f6b5c;
    margin: 0 0 18px;
}

body.home .category-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 12px;
    scroll-snap-type: x mandatory;
}

body.home .category-scroll::-webkit-scrollbar {
    height: 6px;
}

body.home .category-scroll::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

body.home .category-item {
    flex: 0 0 120px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #111;
}

body.home .category-thumb {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: #f4f5f6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

body.home .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

body.home .category-item h3 {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

body.home .category-item:hover .category-thumb {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10);
}

/* ==============================
   HOME – CATEGORY BLOCKS (mỗi danh mục + 4 sp)
============================== */
body.home .home-products {
    padding: 0;
}

body.home .home-category-blocks {
    padding: 26px 0 40px;
}

body.home .home-category-block {
    margin-bottom: 46px;
}

body.home .home-category-box {
    background: #ededed;
    padding: 26px 22px 26px;
    border-radius: 16px;
}

body.home .home-category-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: #0f6b5c;
    margin: 0 0 18px;
}

/* grid home ONLY */
body.home .home-category-products ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

body.home .home-category-products ul.products::before,
body.home .home-category-products ul.products::after {
    display: none !important;
    content: none !important;
}

body.home .home-category-products ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* footer link */
body.home .home-category-footer {
    margin-top: 16px;
    text-align: right;
}

body.home .home-category-footer a {
    font-weight: 900;
    color: #0f6b5c;
    text-decoration: none;
}

body.home .home-category-footer a:hover {
    text-decoration: underline;
}

/* responsive */
@media (max-width: 1100px) {
    body.home .home-category-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    body.home .home-category-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    body.home .home-category-products ul.products {
        grid-template-columns: 1fr;
    }
}

/* ===== DELAX PRODUCT CARD – HOME ONLY ===== */
/* ===== DELAX PRODUCT CARD – COMPONENT ONLY ===== */

.delax-product-card {
    background: #e6e6e6;
    border-radius: 12px;
    padding: 8px;
    position: relative;
    list-style: none;
    overflow: hidden;
}

.delax-product-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    background: #fff;
    border-radius: 10px;
    z-index: 0;
}

.delax-product-card>* {
    position: relative;
    z-index: 1;
}

/* SALE BADGE (dùng cho HOME render custom) */
.delax-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e60023 !important;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 5;
}

/* THUMB */
.delax-thumb {
    padding: 12px;
    text-align: center;
}

.delax-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* INFO */
.delax-info {
    padding: 10px 14px 16px;
}

.delax-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    height: 70px;
    overflow: hidden;
    margin: 0 0 8px;
}

.delax-title a {
    color: #111;
    text-decoration: none;
}

.delax-price {
    font-size: 16px;
    font-weight: 900;
    color: #0f6b5c;
}

.delax-price del {
    color: #9aa0a6;
    font-weight: 700;
    margin-right: 6px;
}

.delax-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
    color: #444;
}

/* ===============================
   HOME – NEWS / BLOG
=============================== */

.home-news {
    padding: 60px 0;
}

.home-news__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 32px;
    border-bottom: 2px solid #eee;
    padding-bottom: 12px;
}

/* GRID */
.home-news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* CARD */
.news-card {
    background: #fff;
}

.news-card__thumb {
    display: block;
    overflow: hidden;
}

.news-card__thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .3s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */
.news-card__content {
    padding: 14px 4px 0;
}

.news-card__cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #2e9f75;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.news-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 6px 0;
}

.news-card__title a {
    color: #111;
    text-decoration: none;
}

.news-card__date {
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .home-news__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-news__grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   WOOCOMMERCE BREADCRUMB – MEXI STYLE
================================ */

.woocommerce-breadcrumb {
    font-size: 16px;
    font-weight: 600;
    color: #0f6b5c;

    margin: 18px 0 20px;
    padding: 10px 0;

    display: flex;
    align-items: center;
    gap: 8px;
}

/* Link */
.woocommerce-breadcrumb a {
    color: #3aa66b;
    text-decoration: none;
    transition: all .2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #ff8a00;
    text-decoration: underline;
}

/* Dấu / */
.woocommerce-breadcrumb span,
.woocommerce-breadcrumb .delimiter {
    color: #9aa0a6;
    margin: 0 4px;
}

/* Trang hiện tại */
.woocommerce-breadcrumb strong,
.woocommerce-breadcrumb span:last-child {
    color: #000;
    font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
    .woocommerce-breadcrumb {
        font-size: 14px;
        flex-wrap: wrap;
    }
}


/* ==============================
   DELAX PRODUCT CARD – MODERN (HOME)
   Áp cho HTML bạn đang có
============================== */

body.home .home-category-products ul.products li.product.delax-product-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* hiệu ứng hover “nhấc” lên */
body.home .home-category-products ul.products li.product.delax-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .14);
    border-color: rgba(15, 107, 92, .22);
}

/* Top bar kiểu “Delax” bằng pseudo-element (không cần thêm HTML) */
body.home .home-category-products ul.products li.product.delax-product-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 44px;
    background: linear-gradient(90deg, #0f6b5c 0%, #2fb385 55%, #e9fff6 100%);
    opacity: .95;
    z-index: 1;
}

/* Brand tag nhỏ góc phải trên top bar */
body.home .home-category-products ul.products li.product.delax-product-card::after {
    content: "MEXI • Cửa hàng";
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2px;
    color: rgba(15, 107, 92, .95);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .65);
    padding: 4px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* Badge giảm giá: đẹp hơn, nổi nhưng không “chói” */
body.home .delax-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #ff2d55 0%, #ff6a00 100%) !important;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 106, 0, .28);
}

/* Thumb: tạo khung “premium”, cố định tỉ lệ để card đều */
body.home .delax-thumb {
    position: relative;
    z-index: 2;
    /* nằm trên top bar */
    padding: 52px 14px 10px;
    /* chừa chỗ top bar */
}

body.home .delax-thumb a {
    display: block;
    background: #f7faf9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 107, 92, .08);
}

/* fix ảnh trong thumbnail */
body.home .delax-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 1:1 cho đều hàng */
    object-fit: contain;
    transform: scale(1);
    transition: transform .28s ease;
    padding: 10px;
}

body.home li.delax-product-card:hover .delax-thumb img {
    transform: scale(1.06);
}

/* Info */
body.home .delax-info {
    padding: 12px 14px 16px;
}

/* Title: clamp 2 dòng cho gọn, hiện đại */
body.home .delax-title {
    margin: 6px 0 10px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: #0b1220;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.35em * 2);
}

body.home .delax-title a {
    color: inherit;
}

/* Price: làm “đã mắt” hơn (ins/del chuẩn Woo) */
body.home .delax-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;

    font-size: 16px;
    font-weight: 900;
    color: #0f6b5c;
}

/* Woo thường render <del><span class="amount">.. */
body.home .delax-price del {
    order: 1;
    color: #9aa0a6;
    opacity: .9;
    font-weight: 800;
    font-size: 13px;
}

body.home .delax-price ins {
    order: 2;
    text-decoration: none;
    color: #0f6b5c;
}

/* Meta: rating + sold nhìn như chip hiện đại */
body.home .delax-meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Rating: sao vàng gọn hơn */
body.home .delax-rating .star-rating {
    font-size: 12px;
    margin: 0;
}

/* Sold chip */
body.home .delax-sold {
    font-size: 12px;
    font-weight: 800;
    color: #0f6b5c;
    background: rgba(15, 107, 92, .08);
    border: 1px solid rgba(15, 107, 92, .12);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Mobile: card vẫn đẹp */
@media (max-width: 780px) {
    body.home .delax-thumb {
        padding: 48px 12px 8px;
    }

    body.home .delax-title {
        font-size: 14px;
    }
}

/* =====================================================
   MEXI – HOME CATEGORY BOX (BACKGROUND PREMIUM + KHUNG TO)
   (BẮT ĐẦU TỪ PHẦN LÀM BACKGROUND)
===================================================== */

/* Khối toàn section thoáng hơn */
body.home .home-category-blocks {
    padding: 34px 0 60px;
}

/* Mỗi block cách nhau đẹp hơn */
body.home .home-category-block {
    margin-bottom: 54px;
}

/* ===== MEXI PREMIUM BACKGROUND – FINAL ===== */
body.home .home-category-box {
    position: relative;
    padding: 34px 30px 28px;
    /* khung to ra */
    border-radius: 26px;
    /* bo lớn hiện đại */
    overflow: hidden;

    background:
        /* ánh sáng mềm góc trái */
        radial-gradient(420px 260px at 12% 10%, rgba(255, 255, 255, .75), transparent 60%),
        /* ánh sáng góc phải */
        radial-gradient(420px 260px at 88% 12%, rgba(255, 255, 255, .55), transparent 60%),
        /* glow trung tâm dịu */
        radial-gradient(800px 420px at 50% 60%, rgba(47, 179, 133, .18), transparent 65%),
        /* nền chính */
        linear-gradient(180deg, #f4f7f6 0%, #e9f1ee 100%);

    border: 1px solid rgba(15, 107, 92, .14);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, .12),
        inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* Mảng cong mềm phía dưới – giống ảnh quảng cáo studio */
body.home .home-category-box::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -45%;
    height: 80%;
    background:
        radial-gradient(60% 100% at 50% 0%, rgba(255, 255, 255, .35), transparent 70%);
    z-index: 0;
}

/* Đảm bảo content nổi lên trên nền */
body.home .home-category-box>* {
    position: relative;
    z-index: 2;
}

/* =====================================================
   HEADER + FOOTER TRONG KHUNG (đẹp + hiện đại hơn)
===================================================== */

body.home .home-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

body.home .home-category-header h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    color: #0f6b5c;
    letter-spacing: .2px;
}

/* chip “MEXI” bên cạnh tiêu đề (không cần sửa HTML) */
body.home .home-category-header h2::after {
    content: "MEXI";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .6px;
    color: #0f6b5c;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    backdrop-filter: blur(6px);
}

body.home .home-category-footer {
    margin-top: 18px;
    text-align: right;
}

body.home .home-category-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    color: #0f6b5c;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(15, 107, 92, .16);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.home .home-category-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
}

/* grid thoáng hơn 1 chút */
body.home .home-category-products ul.products {
    gap: 24px;
}

/* =====================================================
   DELAX PRODUCT CARD – MODERN (HOME) (card đẹp + hiện đại)
   (Áp cho HTML bạn đang có)
===================================================== */

body.home .home-category-products ul.products li.product.delax-product-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* hover nhấc */
body.home .home-category-products ul.products li.product.delax-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .14);
    border-color: rgba(15, 107, 92, .22);
}

/* top bar gradient */
body.home .home-category-products ul.products li.product.delax-product-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 44px;
    background: linear-gradient(90deg, #0f6b5c 0%, #2fb385 55%, #e9fff6 100%);
    opacity: .95;
    z-index: 1;
}

/* brand tag góc phải */
body.home .home-category-products ul.products li.product.delax-product-card::after {
    content: "MEXI • Cửa hàng";
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2px;
    color: rgba(15, 107, 92, .95);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .65);
    padding: 4px 8px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* badge giảm giá */
body.home .delax-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #ff2d55 0%, #ff6a00 100%) !important;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(255, 106, 0, .28);
}

/* thumbnail */
body.home .delax-thumb {
    position: relative;
    z-index: 2;
    padding: 52px 14px 10px;
    /* chừa chỗ top bar */
}

body.home .delax-thumb a {
    display: block;
    background: #f7faf9;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 107, 92, .08);
}

body.home .delax-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* ảnh đều hàng */
    object-fit: contain;
    transform: scale(1);
    transition: transform .28s ease;
    padding: 10px;
}

body.home li.delax-product-card:hover .delax-thumb img {
    transform: scale(1.06);
}

/* info */
body.home .delax-info {
    padding: 12px 14px 16px;
}

/* title 2 dòng */
body.home .delax-title {
    margin: 6px 0 10px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    color: #0b1220;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: calc(1.35em * 2);
}

body.home .delax-title a {
    color: inherit;
}

/* price đẹp hơn */
body.home .delax-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;

    font-size: 16px;
    font-weight: 900;
    color: #0f6b5c;
}

body.home .delax-price del {
    order: 1;
    color: #9aa0a6;
    opacity: .9;
    font-weight: 800;
    font-size: 13px;
}

body.home .delax-price ins {
    order: 2;
    text-decoration: none;
    color: #0f6b5c;
}

/* meta */
body.home .delax-meta {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* rating */
body.home .delax-rating .star-rating {
    font-size: 12px;
    margin: 0;
}

/* sold chip */
body.home .delax-sold {
    font-size: 12px;
    font-weight: 800;
    color: #0f6b5c;
    background: rgba(15, 107, 92, .08);
    border: 1px solid rgba(15, 107, 92, .12);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 780px) {
    body.home .home-category-box {
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    body.home .home-category-header h2 {
        font-size: 24px;
    }

    body.home .delax-thumb {
        padding: 48px 12px 8px;
    }

    body.home .delax-title {
        font-size: 14px;
    }
}

/* ==============================
   MEXI – BEST SELLERS BOX (WITH BANNER)
============================== */

body.home .mexi-best-box {
    margin: 16px 0 22px;
    padding: 22px 22px 18px;
    border-radius: 22px;
    overflow: hidden;

    border: 1px solid rgba(15, 107, 92, .14);
    box-shadow: 0 22px 56px rgba(0, 0, 0, .10);

    /* nền premium mexi */
    background:
        radial-gradient(420px 260px at 12% 10%, rgba(255, 255, 255, .75), transparent 60%),
        radial-gradient(420px 260px at 88% 12%, rgba(255, 255, 255, .55), transparent 60%),
        radial-gradient(800px 420px at 50% 60%, rgba(47, 179, 133, .14), transparent 65%),
        linear-gradient(180deg, #f4f7f6 0%, #e9f1ee 100%);
}

/* header best seller */
body.home .mexi-best-header {
    margin-bottom: 12px;
}

body.home .mexi-best-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: #0f6b5c;
}

body.home .mexi-best-header p {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: rgba(17, 17, 17, .62);
}

/* VÙNG CHỨA ẢNH BANNER */
body.home .mexi-best-banner {
    /* giống mẫu */
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 107, 92, .18);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
    margin: 12px 0 18px;

    background:
        radial-gradient(450px 180px at 15% 25%, rgba(255, 255, 255, .70), transparent 60%),
        linear-gradient(90deg, #0f6b5c 0%, #2fb385 45%, #e9fff6 100%);
}

body.home .mexi-best-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* grid 4 sp */
body.home .mexi-best-products ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

body.home .mexi-best-products ul.products::before,
body.home .mexi-best-products ul.products::after {
    display: none !important;
    content: none !important;
}

body.home .mexi-best-products ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 1100px) {
    body.home .mexi-best-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    body.home .mexi-best-box {
        padding: 16px 14px 14px;
        border-radius: 18px;
    }

    body.home .mexi-best-banner {
        height: 140px;
        border-radius: 16px;
    }

    body.home .mexi-best-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    body.home .mexi-best-products ul.products {
        grid-template-columns: 1fr;
    }
}