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

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

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

:root {
  --color-1: #ff7651;
  --color-2: #2c2c2c;
  --color-3: #e31616;
	--color-4: #EE4D2D;
	--color-5: #FA5130;
  --border-1: solid 1px #ededed;
  --radius-1: 3px;
  --radius-2: 3px;
  --radius-3: 3px;
  --radius-4: 999px;
  --shadow-1: 0 5px 25px 0 rgba(0 0 0 / 10%);
  --shadow-2: 0 15px 40px 0 rgba(0 0 0 / 15%);
  --light-gray: #f1f2f3;
  --font-size-1: 12px;
  --font-size-2: 16px;
  --font-size-3: 18px;
  --font-size-4: 20px;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

/*Header Topbar*/
/* ======================================================
   CUSTOM TOPBAR 
====================================================== */
.neo-tb-left, .neo-tb-right {
    display: flex;
    align-items: center;
    gap: 25px; /* Khoảng cách giữa các cụm */
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.neo-tb-left .tb-item, .neo-tb-right .tb-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Khoảng cách giữa icon và chữ */
}

/* Chỉnh size icon của Flatsome cho đều với SVG */
.neo-tb-left i, .neo-tb-right i {
    font-size: 15px;
}

/* Đường kẻ dọc mờ bên phải */
.neo-tb-right .tb-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.4);
}

.neo-tb-right .tb-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neo-tb-right .tb-socials a {
    font-size: 16px;
    color: #ffffff;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.neo-tb-right .tb-socials a:hover {
    opacity: 0.7;
}

/* Responsive cơ bản cho Mobile để không bị vỡ khung */
@media (max-width: 849px) {
    .neo-tb-left, .neo-tb-right {
        gap: 15px;
        font-size: 11px;
        flex-direction: column; /* Rớt dòng nếu màn nhỏ */
        align-items: center;
    }
    .neo-tb-right .tb-divider {
        display: none; /* Ẩn đường kẻ dọc trên mobile */
    }
}

/*Header Logo*/

/* Phá khóa giới hạn chiều cao logo của Flatsome */
.header-logo img,
#logo img {
  max-height: 90px; /* Tăng số này lên 100px hoặc 110px nếu muốn to nữa */
  width: auto;
}

/* ======================================================
  MAIN MENU (HEADER BOTTOM) - LEFT ELEMENTS
====================================================== */

/* 1. Xóa sạch cái nền đỏ "bánh mì" cũ (Nếu ông đang set trong Customizer thì bỏ qua dòng này) */
#header-main {
    background-color: transparent !important; 
}

/* 2. Định dạng lại từng mục Menu (Nav items) */
.header-main .header-nav > li > a {
    font-size: 14px;
    font-weight: 800;
    color: #1a2b3c !important; /* Đen xanh trầm sang trọng */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}


/* 4. Hiệu ứng Hover (Rê chuột vào) */
/* Đổi màu chữ sang Đỏ Cam thương hiệu */
.header-main .header-nav > li > a:hover,
.header-main .header-nav > li.current-menu-item > a {
    color: var(--color-1) !important;
}


/* ======================================================
   DROPDOWN MENU (MENU CON THẢ XUỐNG)
====================================================== */
.header-main .header-nav .nav-dropdown {
    border-top: 3px solid var(--color-1); /* Vạch đỏ chốt trên đỉnh */
    border-radius: 0 0 8px 8px; /* Bo góc dưới */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header-main .header-nav .nav-dropdown > li > a {
    color: #444;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border-bottom: 1px dashed #eee; /* Đường kẻ đứt ngăn cách */
    transition: all 0.2s ease;
}

/* Hover Menu con */
.header-main .header-nav .nav-dropdown > li > a:hover {
    background-color: #fff1f0; /* Đổi nền hồng nhạt nhẹ nhàng */
    color: var(--color-1);
    padding-left: 25px; /* Thụt lề vào một tí tạo cảm giác click */
}

/* Ẩn viền gạch ở mục cuối cùng */
.header-main .header-nav .nav-dropdown > li:last-child > a {
    border-bottom: none;
}


/* ==========================================
   1. THANH TÌM KIẾM (SEARCH BAR) - ĐÃ FIX
========================================== */
/* Căn chỉnh chiều dài thanh search */
.header-main .header-search-form {
  min-width: 150px;
  margin-right: 15px;
}

.header-main .searchform .flex-row {
  border: 2px solid #c3c3c3;
  border-radius: 50px;
  background-color: #ffffff;
  height: 44px;
  overflow: hidden;
  align-items: center;
  flex-direction: row-reverse;
  transition: border-color 0.3s ease;
}

.header-main .searchform .flex-row:hover {
  border-color: var(--color-5);
}

.header-main .searchform .flex-row:hover button.submit,
.header-main .searchform .flex-row:hover .ux-search-submit {
  color: var(--color-5);
}

.header-main .searchform input.search-field {
  border: none;
  background-color: transparent;
  box-shadow: none;
  height: 100%;
  padding-left: 10px;
  padding-right: 20px;
  margin-bottom: 0;
  color: #333;
}

.header-main .searchform button.submit,
.header-main .searchform .ux-search-submit {
  background-color: transparent;
  color: #c3c3c3;
  border: none;
  height: 100%;
  min-width: 45px;
  padding: 0;
  transition: color 0.3s ease;
}

.header-main .searchform button.submit:hover,
.header-main .searchform .ux-search-submit:hover {
  background-color: transparent;
  opacity: 0.7;
}

/* ==========================================
   2. NÚT GIỎ HÀNG (CART ICON)
========================================== */
/* Tạo khối nền cho giỏ hàng */
/* 1. Tạo nền nhẹ nhàng và bo góc cho khối giỏ hàng */
.header-main .cart-item .cart-icon {
    background-color: #fff1f0; /* Màu nền cam/hồng nhạt, ông có thể đổi mã hex nếu muốn */
    border-radius: 12px; /* Bo góc mềm mại giống form của thanh search */
    padding: 12px; /* Tạo độ phồng, đẩy icon ra xa viền */
    transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu mượt mà */
}

/* 2. Đổi màu background sang color-5 khi hover */
.header-main .cart-item:hover .cart-icon {
    background-color: var(--color-5);
}

/* 3. Đảm bảo cái bong bóng số lượng không bị lệch khi thêm padding */
.header-main .cart-item .cart-icon strong {
    top: 0px; 
    right: 0px;
}



/* ==========================================
   FIX HOVER CHO SỐ LƯỢNG GIỎ HÀNG
========================================== */

/* Khi hover vào toàn bộ khối giỏ hàng, ép số 0 đổi màu chữ và viền */
.header-main .cart-item:hover .cart-icon strong {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

/* Nếu Flatsome của ông dùng pseudo-element :after để tạo bóng hoặc viền phụ */
.header-main .cart-item:hover .cart-icon strong:after {
    border-color: #ffffff !important;
    color: #ffffff !important;
}


/* ======================================================
   SECTION CÂU CHUYỆN
====================================================== */

/* 1. Xóa sạch background/padding ở lớp vỏ ngoài để không vỡ Grid của Flatsome */
.oc-right-col-wrap {
    background-color: transparent !important;
    padding: 0 !important; 
    height: 100% !important;
}

/* 2. Ép lớp ruột bên trong (col-inner) dãn 100%, tô màu và căn giữa nội dung */
.oc-right-col-wrap > .col-inner {
    background-color: #fffaf4 !important; 
    border-radius: 0 16px 16px 0 !important;
    padding: 5px 10px !important;
    height: 100% !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; 
}

/* --- 1. Intro Box --- */
.oc-intro-title {
    font-size: 20px; /* Ép nhỏ nhẹ */
    color: var(--color-1, #e64c25);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px; /* ĐÃ GIẢM TỪ 15px */
    text-align: left;
}
.oc-intro-title .highlight {
    font-style: italic;
    font-weight: 800;
}
.oc-intro-desc {
    font-size: 14px;
    color: #444;
    text-align: left;
    margin-bottom: 15px; /* ĐÃ GIẢM TỪ 30px */
}

/* --- 2. Feature List (Ép Icon và Chữ nằm ngang) --- */
.oc-feature-list {
    display: flex;
    flex-direction: column;
}

.oc-feature-item {
    display: flex;           /* ÉP NẰM NGANG */
    align-items: flex-start; /* Căn trên cùng */
    gap: 15px;               /* ĐÃ GIẢM TỪ 20px */
    padding: 12px 0;         /* ĐÃ GIẢM TỪ 20px 0 */
    border-bottom: 1px dashed #f5a691;
    text-align: left;
}

.oc-feature-item.border-none {
    border-bottom: none;
}

/* Xử lý Icon tròn trịa, không bị méo */
.oc-feature-icon {
    flex-shrink: 0; 
    width: 50px;             /* ĐÃ GIẢM TỪ 65px */
    height: 50px;            /* ĐÃ GIẢM TỪ 65px */
    background-color: #ffffff;
    border: 2px solid #fce8d5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;            /* ĐÃ GIẢM TỪ 12px */
}
.oc-feature-icon img {
    width: 100%;
    height: auto;
    margin: 0; 
}

/* Xử lý phần chữ bên phải icon */
.oc-feature-text h4 {
    color: var(--color-1, #e64c25);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;      /* ĐÃ GIẢM TỪ 5px */
}
.oc-feature-text p {
    font-size: 13.5px;       /* Ép nhỏ text lại 1 xíu */
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* --- 3. Contact Box (Footer) --- */
.oc-contact-box {
    background-color: #fff4ea;
    border: 1px solid #fce8d5;
    border-radius: 12px;
    padding: 15px;           /* ĐÃ GIẢM TỪ 20px */
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-top: 10px;        /* ĐÃ GIẢM TỪ 20px */
    text-align: left;
}
.oc-contact-info p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #333;
}

/* Nút khám phá */
.oc-btn-explore {
    background-color: var(--color-1, #e64c25);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.3s ease;
}
.oc-btn-explore:hover {
    background-color: #cc3e1b;
    transform: translateY(-2px);
}

/* --- Responsive cơ bản --- */
@media (max-width: 849px) {
    /* FIX: Trỏ đúng vào col-inner để set lại padding trên Mobile */
    .oc-right-col-wrap > .col-inner {
        padding: 20px !important;
    }
    .oc-contact-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}


/* ======================================================
   SECTION BANNER CAM KẾT (CUỐI TRANG CHỦ)
====================================================== */

.oc-cta-banner {
    position: relative;
    width: 100%;
    /* Phủ lớp màu đỏ cam (độ mờ 0.9) lên trên ảnh nền. Ông thay link ảnh vào nhé */
    background: linear-gradient(rgba(230, 76, 37, 0.9), rgba(230, 76, 37, 0.9)), 
                url('link-anh-nen-hai-san-mo-mo-cua-ong.jpg') center/cover no-repeat;
    border-radius: 24px; /* Bo góc cực to theo bản vẽ */
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(230, 76, 37, 0.2); /* Đổ bóng nhẹ cho khối nổi lên */
    margin-bottom: 40px;
}

.oc-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.oc-cta-title {
    color: #ffffff;
    font-size: 38px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.oc-cta-desc {
    color: #ffffff;
    font-size: 18px;
    font-style: italic; /* Chữ in nghiêng */
    font-weight: 600;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* Nút Gọi đặt hàng */
.oc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    color: var(--color-1, #e64c25); /* Chữ màu đỏ cam */
    font-size: 16px;
    font-weight: 800;
    padding: 16px 45px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.oc-cta-btn i {
    font-size: 20px;
}

/* Hiệu ứng rê chuột vào nút */
.oc-cta-btn:hover {
    background-color: #fffaf4; /* Chuyển nền sang màu kem nhẹ */
    transform: translateY(-4px); /* Nảy lên một chút */
    color: var(--color-1, #e64c25);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* --- Responsive cho Điện thoại --- */
@media (max-width: 849px) {
    .oc-cta-banner {
        padding: 40px 15px;
        border-radius: 16px; /* Bo góc nhỏ lại trên mobile */
    }
    .oc-cta-title {
        font-size: 26px; /* Hạ size chữ */
    }
    .oc-cta-desc {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .oc-cta-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
}


/* Nút Mua ngay Oanh Cua */
.btn-mua-ngay {
  background-color: #ffffff;
  color: #e64c25; /* Chữ màu cam đỏ */
  border: 2px solid #e64c25;
  padding: 8px 15px 8px 25px; /* Căn lề cho cân đối */
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  margin-top: 15px; /* Đẩy nút cách xa cái ảnh phía trên ra một chút */
}



/* Biến cái icon giỏ hàng thành hình tròn */
.btn-mua-ngay i {
  background-color: var(--color-5); /* Nền icon cam đỏ */
  color: #ffffff; /* Icon màu trắng */
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-left: 12px; /* Khoảng cách từ chữ đến icon */
  font-size: 15px;
}

/* Hiệu ứng mượt mà khi rê chuột vào (Hover) */
.btn-mua-ngay:hover {
  background-color: #e64c25;
  color: #ffffff;
}

.btn-mua-ngay:hover i {
  background-color: #ffffff;
  color: #e64c25;
}


/* ======================================================
   HEADER CÂU CHUYỆN THƯƠNG HIỆU (OANH CUA)
====================================================== */
.neo-story-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    padding: 20px 15px;
}

/* 1. Nhãn "VỀ CHÚNG TÔI" dạng viên thuốc (Pill Badge) */
.neo-story-header .story-badge {
    display: inline-block;
    background-color: #fff1f0; /* Nền hồng nhạt */
    color: var(--color-1, #e64c25); /* Chữ đỏ cam */
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border: 1px solid #fbd4b4;
    box-shadow: 0 4px 10px rgba(230, 76, 37, 0.1);
}

/* 2. Tiêu đề chính */
.neo-story-header .story-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-5);
    line-height: 1.4;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* 3. Điểm nhấn: Chữ OANH CUA được tô gradient rực rỡ */
.neo-story-header .story-title .highlight {
    background: linear-gradient(135deg, #e64c25 0%, #ff7651 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 48px; /* Ép to hẳn lên cho hoành tráng */
    margin-top: 5px;
    letter-spacing: 2px;
}

/* 4. Dòng mô tả ngắn gọn, tinh tế */
.neo-story-header .story-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
}

/* ======================================================
   RESPONSIVE CHO MOBILE (ĐIỆN THOẠI)
====================================================== */
@media (max-width: 767px) {
    .neo-story-header {
        padding: 10px 15px;
    }
    .neo-story-header .story-title {
        font-size: 24px;
    }
    .neo-story-header .story-title .highlight {
        font-size: 36px;
    }
    .neo-story-header .story-desc {
        font-size: 14px;
    }
}


/* ======================================================
   KHU VỰC CHỢ CUA SỐNG (TRANG CHỦ) - ĐÃ KHOANH VÙNG
====================================================== */

/* Đảm bảo toàn bộ 2 cột đều lấy mốc ở đáy */

.title-cua-header .lead{
	margin-bottom:20px;
	color: var(--color-5);
}
.title-cua-header {
    align-items: flex-end;
}

/* Xóa khoảng không thừa của dòng chữ bên trái */
.title-cua-header .col:first-child p:last-child {
    margin-bottom: 0;
}

/* Xử lý lớp col-inner của Flatsome: Ép nó thành Flex, đẩy sang phải và dập xuống đáy */
.title-cua-header .col:last-child .col-inner {
    display: flex;
    justify-content: flex-end; /* Đẩy sang phải */
    align-items: flex-end;     /* Ép xuống đáy */
    height: 100%;              /* Quan trọng: Mở rộng 100% chiều cao để ép đáy */
}

.title-cua-header a.button {
    /* 1. Lột bỏ toàn bộ style 'chán đời' cũ */
    border: none;
    box-shadow: none;
    margin-bottom: 0; /* Tuyệt chiêu ép bẹp đáy */
    text-transform: uppercase;
    font-weight: 800;
    line-height: normal;
    
    /* 2. Đắp lên style 'viên thuốc' tràn viền cao cấp */
    background: linear-gradient(135deg, #e64c25 0%, #ff7651 100%); /* Nền gradient cam đỏ rực rỡ */
    color: #ffffff !important; /* Chữ trắng in đậm, ép quyền Flatsome */
    border-radius: 50px; /* Bo góc viên thuốc */
    padding: 10px 25px; /* Thêm padding cho bự, dễ click */
    font-size: 14px; /* Size chữ vừa phải cho tinh tế */
    transition: all 0.3s ease; /* Hiệu ứng lướt mượt mà */
    box-shadow: 0 4px 10px rgba(230, 76, 37, 0.2); /* Đổ bóng nhẹ theo màu brand cho nổi */
}

/* Hiệu ứng HOVER cho nút xịn */
.title-cua-header a.button:hover {
    background: linear-gradient(135deg, #c93d1b 0%, #e64c25 100%); /* Gradient sậm hơn chút */
    color: #ffffff !important;
    transform: translateY(-2px); /* Nhấc nhẹ nút lên cho có cảm giác 'chạm' */
    box-shadow: 0 6px 15px rgba(230, 76, 37, 0.3); /* Bóng đổ đậm hơn */
}

.cho-cua-song-grid .product-small.box {
    background-color: #ffffff;
    border-radius: 15px;
    border: none;
    overflow: hidden;
    transition: all .3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Thêm bóng nhẹ cho nổi bật */
}

/* 1. Phần nền của ảnh sản phẩm (Màu hồng nhạt) */
.cho-cua-song-grid .product-small .box-image {
    background-color: #fff1f0; 
    padding: 20px;
}

.cho-cua-song-grid .product-small .box-image a img {
    mix-blend-mode: multiply; 
}

/* 2. Badge (Nhãn Nhộng Mall, Yêu Thích) */
.cho-cua-song-grid .product-small .badge-container {
    top: 10px;
    left: 0;
}

.cho-cua-song-grid .product-small .badge-inner {
    background-color: var(--color-1);
    border-radius: 0 15px 15px 0;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
}

/* 3. Phần text bên dưới */
.cho-cua-song-grid .product-small .box-text {
    padding: 20px;
    text-align: left;
}

.cho-cua-song-grid .product-small .product-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    height: auto;
    margin-bottom: 10px;
}

/* 4. Giá tiền to và có chữ / KG */
.cho-cua-song-grid .product-small .price-wrapper .price {
    color: var(--color-1);
    font-size: 28px;
    font-weight: 900;
}

.cho-cua-song-grid .product-small .price-wrapper .price:after {
    content: "/ KG";
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

/* 5. Dòng thông tin phụ (Lấy từ Short Description) */
.cho-cua-song-grid .product-small .box-text p {
    font-size: 13px;
    color: var(--color-5);
    margin-top: 5px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* 1. Ẩn toàn bộ nút mặc định lằng nhằng của Flatsome (trên ảnh hoặc dưới text) */
.cho-cua-song-grid .product-small .add-to-cart-button,
.cho-cua-song-grid .product-small .show-on-hover {
    display: none !important;
}

/* 2. Dùng Flexbox đẩy cái nút mới chế xuống sát đáy thẻ trắng */
.cho-cua-song-grid .product-small .box-text {
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.cho-cua-song-grid .neo-buy-now-wrapper {
    margin-top: auto; /* Tuyệt chiêu đẩy phần tử xuống cuối cùng */
    padding-top: 15px;
    width: 100%;
}

/* 3. Style nút Mua Ngay cam đỏ rực rỡ bo góc */
.cho-cua-song-grid .neo-buy-now-btn {
    background-color: var(--color-5);
    color: #ffffff;
    width: 100%;
    margin: 0;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    padding: 10px 0;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Khoảng cách cho cái icon giỏ hàng */
.cho-cua-song-grid .neo-buy-now-btn i {
    margin-right: 8px;
    font-weight: bold;
    font-size: 16px;
}

/* Hiệu ứng khi rê chuột vào thì màu đậm lên chút */
.cho-cua-song-grid .neo-buy-now-btn:hover {
    background-color: #c93d1b; 
    color: #ffffff;
}


/* ======================================================
   KHU VỰC BẾP OANH CUA ĐỎ LỬA (Đồng bộ với Cua Sống)
====================================================== */

.bep-oanh-cua-grid .product-small.box {
    background-color: #ffffff;
    border-radius: 15px;
    border: none;
    overflow: hidden;
    transition: all .3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Bóng nhẹ */
}

/* 1. Phần nền của ảnh sản phẩm */
.bep-oanh-cua-grid .product-small .box-image {
    background-color: #fff1f0; 
    padding: 20px;
}

.bep-oanh-cua-grid .product-small .box-image a img {
    mix-blend-mode: multiply; 
}

/* 2. Badge */
.bep-oanh-cua-grid .product-small .badge-container {
    top: 10px;
    left: 0;
}

.bep-oanh-cua-grid .product-small .badge-inner {
    background-color: var(--color-1);
    border-radius: 0 15px 15px 0;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 12px;
}

/* 3. Phần text bên dưới: ÉP FLEXBOX ĐỂ CĂN ĐÁY */
.bep-oanh-cua-grid .product-small .box-text {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.bep-oanh-cua-grid .product-small .product-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    height: auto;
    margin-bottom: 10px;
}

/* 4. Giá tiền to và có chữ / PHẦN */
.bep-oanh-cua-grid .product-small .price-wrapper .price {
    color: var(--color-5);
    font-size: 28px;
    font-weight: 900;
}

.bep-oanh-cua-grid .product-small .price-wrapper .price:after {
    content: "/ PHẦN"; /* Đã thay đổi thành PHẦN */
    font-size: 14px;
    color: #999;
    margin-left: 5px;
}

/* 5. Dòng thông tin phụ */
.bep-oanh-cua-grid .product-small .box-text p {
    font-size: 13px;
    color: var(--color-5);
    margin-top: 5px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* 1. Ẩn toàn bộ nút mặc định của Flatsome */
.bep-oanh-cua-grid .product-small .add-to-cart-button,
.bep-oanh-cua-grid .product-small .show-on-hover {
    display: none !important;
}

/* 2. Dùng Flexbox đẩy cái nút mới chế xuống sát đáy thẻ trắng */
.bep-oanh-cua-grid .neo-buy-now-wrapper {
    margin-top: auto; /* Đẩy nút xuống chốt sổ đáy thẻ */
    padding-top: 15px;
    width: 100%;
}

.bep-oanh-cua-grid .neo-buy-now-btn {
    background-color: var(--color-5);
    color: #ffffff;
    width: 100%;
    margin: 0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 0 !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.bep-oanh-cua-grid .neo-buy-now-btn::before {
    content: "🍴 THƯỞNG THỨC NGAY";
    font-size: 15px;
    font-weight: 800;
    line-height: normal;
}

.bep-oanh-cua-grid .neo-buy-now-btn:hover {
    background-color: #c93d1b; 
}

/* ======================================================
   BẢNG MENU MÓN ĂN KÈM TĨNH BÊN PHẢI
====================================================== */
.mon-an-kem-box {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.mon-an-kem-box .title-menu {
    color: var(--color-1);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mon-an-kem-box .list-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.mon-an-kem-box .list-menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 700;
    color: #2c2c2c;
}

.mon-an-kem-box .list-menu li .item-price {
    color: var(--color-1);
    font-weight: 800;
}

.mon-an-kem-box .note-promo {
    background-color: #fff9f0;
    border: 2px dashed #fbd4b4;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: #d35400;
    font-weight: 800;
    font-size: 13px;
}

/* 1. Khởi tạo biến đếm ở thẻ bọc ngoài cùng */
.cua-top-grid {
    counter-reset: top-cua-counter -1;
    margin-top: 30px;
}

/* 2. Ép đếm số trên từng CỘT để tuyệt đối không bị dính số 0 */
.cua-top-grid .col {
    counter-increment: top-cua-counter;
}

/* 3. Style thẻ sản phẩm */
.cua-top-grid .product-small.box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: visible !important; /* QUAN TRỌNG: Không cho thẻ box cắt mất cái nhãn TOP */
}

/* Xóa nền thừa của Flatsome */
.cua-top-grid .product-small .box-inner {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Hover nhấc thẻ bóng bẩy */
.cua-top-grid .product-small.box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Bo góc ảnh mượt mà */
.cua-top-grid .product-small .box-image {
    border-radius: 10px;
    overflow: hidden;
}

/* 4. Nhãn TOP nằm CHÍNH GIỮA và nhảy số chuẩn */
.cua-top-grid .product-small.box::before {
    content: "TOP " counter(top-cua-counter);
    position: absolute;
    top: -15px;
    left: 50%; /* Đẩy ra giữa */
    transform: translateX(-50%); /* Kéo lùi lại 50% độ dài của chính nó để căn tâm tuyệt đối */
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #ffffff;
    padding: 6px 22px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
    border: 2px solid #ffffff;
    white-space: nowrap;
}

/* ==========================================
   ĐỊNH DẠNG CHỮ BÊN TRONG
========================================== */
.cua-top-grid .product-small .box-text {
    padding: 20px 10px 5px 10px;
}

.cua-top-grid .product-small .box-text .category-uppercase {
    display: none;
}

.cua-top-grid .product-small .box-text .product-title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cua-top-grid .product-small .box-text .product-title a {
    color: var(--color-5);
}

.cua-top-grid .product-small .box-text .price {
    color: var(--color-5);
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    display: block;
}

.cua-top-grid .product-small .box-text .price span.amount {
    color: var(--color-5);
}

.btn-xem-them{
    margin-top:20px;
}

/* ==========================================
   STYLE CỘT CHÍNH SÁCH - FOOTER
========================================== */

/* 1. Tùy chỉnh Tiêu đề cột (Chính sách) */
.footer-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: none; /* Giữ nguyên chữ thường như mẫu, không in hoa hết */
}

/* 2. Reset định dạng danh sách mặc định của Flatsome */
.policy-list {
  list-style: none; /* Xóa chấm tròn mặc định */
  padding-left: 0;
  margin: 0;
}

/* Khoảng cách giữa các dòng */
.policy-list li {
  margin-bottom: 12px;
}

/* 3. Định dạng chữ của từng Link */
.policy-list li a {
  color: #ffffff; /* Chữ trắng trên nền đỏ */
  font-size: 15px;
  position: relative; /* Làm gốc tọa độ cho mũi tên ::before */
  padding-left: 20px; /* Đẩy chữ thụt vào 20px để chừa chỗ cho mũi tên */
  transition: color 0.3s ease;
  display: inline-block;
}

/* Hiệu ứng di chuột vào ngả sang vàng (#FCE990) */
.policy-list li a:hover {
  color: #fce990;
}

/* 4. ĐÂY RỒI: Mũi tên gọi bằng ::before */
.policy-list li a::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-weight: bold;
  transition: transform 0.3s ease;
}

/* Nâng cao tí: Hover vào mũi tên nó tự chạy tới 1 xíu cho sống động */
.policy-list li a:hover::before {
  color: #fce990;
  transform: translateX(4px);
}

.opening-hours-text p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px; /* Đẩy cái ảnh bên dưới cách ra một chút */
}

.opening-hours-text strong {
  font-size: 16px;
  font-weight: 700;
}
/* Slider danh mục tràn màn hình */
.category-top-slider {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0; /* Xóa khoảng hở dưới chân ảnh */
}

/* Tùy chỉnh dấu chấm (bullets) của slider cho giống Madam Win */
.category-top-slider .flickity-page-dots {
  bottom: 20px;
}

.category-top-slider .flickity-page-dots .dot {
  background: #ffffff; /* Dấu chấm màu trắng */
  opacity: 0.5;
}

.category-top-slider .flickity-page-dots .dot.is-selected {
  opacity: 1;
  background: #ffe600; /* Dấu chấm đang chọn màu vàng */
}

.tax-product_cat .product-small.box, 
.post-type-archive-product .product-small.box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tax-product_cat .product-small .box-inner,
.post-type-archive-product .product-small .box-inner {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.tax-product_cat .product-small.box:hover,
.post-type-archive-product .product-small.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tax-product_cat .product-small .box-image img,
.post-type-archive-product .product-small .box-image img {
    border-radius: 8px;
}

.tax-product_cat .product-small .box-text,
.post-type-archive-product .product-small .box-text {
    padding: 15px 0 0 0;
}

.tax-product_cat .product-small .box-text .category-uppercase,
.post-type-archive-product .product-small .box-text .category-uppercase {
    display: none;
}

.tax-product_cat .product-small .box-text .product-title,
.post-type-archive-product .product-small .box-text .product-title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tax-product_cat .product-small .box-text .product-title a,
.post-type-archive-product .product-small .box-text .product-title a {
    color: #333333;
}

.tax-product_cat .product-small .box-text .price,
.post-type-archive-product .product-small .box-text .price {
    color: var(--color-5);
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    display: block;
}

.tax-product_cat .product-small .box-text .price span.amount,
.post-type-archive-product .product-small .box-text .price span.amount {
    color: var(--color-5);
}

/* ======================================================
   Product Shop Category
====================================================== */

/* 1. Breadcrumb (Đường dẫn điều hướng) - Nhỏ gọn, tinh tế */
.shop-container .product-info .woocommerce-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.shop-container .product-info .woocommerce-breadcrumb a {
    color: #888;
    transition: color 0.3s ease;
}
.shop-container .product-info .woocommerce-breadcrumb a:hover {
    color: var(--color-1);
}

/* 2. Tiêu đề sản phẩm - To, in đậm, chuẩn form xịn */
.shop-container .product-info .product-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a2b3c;
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Vạch kẻ ngang (Divider) - Đổi thành nét đứt hoặc tô màu thương hiệu */
.shop-container .product-info .is-divider {
    background-color: var(--color-1);
    width: 60px;
    height: 4px;
    margin-bottom: 25px;
}

/* 3. Giá tiền - Đóng khung highlight bự chà bá cho khách dễ chốt đơn */
.shop-container .product-info .price-wrapper {
    margin-bottom: 30px;
}

.shop-container .product-info .price-wrapper .price {
    font-size: 38px; /* Tăng size xíu cho hoành tráng */
    font-weight: 900;
    color: var(--color-1); /* Đỏ cam thương hiệu */
    background: transparent; /* Lột bỏ nền hồng cồng kềnh */
    padding: 0; /* Bỏ padding */
    border: none; /* Xóa luôn cái vạch ngang hông */
    display: block;
    line-height: 1;
}

/* Đảm bảo ký hiệu tiền tệ (đ) cũng đồng màu */
.shop-container .product-info .price-wrapper .price span.amount {
    color: var(--color-1);
}

/* 4. Khu vực nút Mua hàng (Add to cart & Quantity) */
.shop-container .product-info form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e5e5e5; /* Vạch ngăn cách nhẹ nhàng */
}

.shop-container .product-info form.cart .quantity {
    margin: 0;
}

/* Nút Add to Cart - Bo góc, gradient đỏ cam rực rỡ */
.shop-container .product-info form.cart .single_add_to_cart_button {
    background: linear-gradient(135deg, #e64c25 0%, #ff7651 100%);
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    padding: 0 40px;
    height: 40px; /* Cân bằng với ô nhập số lượng */
    box-shadow: 0 4px 12px rgba(230, 76, 37, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: none;
}

.shop-container .product-info form.cart .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #c93d1b 0%, #e64c25 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 76, 37, 0.35);
}

/* 5. Thông tin phụ (SKU, Category) - Gọn gàng hơn */
.shop-container .product-info .product_meta {
    font-size: 14px;
    color: #666;
}
.shop-container .product-info .product_meta > span {
    display: block;
    margin-bottom: 10px;
}
.shop-container .product-info .product_meta a {
    color: var(--color-1);
    font-weight: 700;
}

/* Product detail */
.woocommerce-product-gallery__image img,
.product-thumbnails img {
    border-radius: 12px;
}

.woocommerce-product-gallery__image img,
.product-thumbnails a{
	border:none;
}

.product-info h1.product-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.product-info .price-wrapper .price,
.product-info .price-wrapper .price .amount {
    font-size: 28px;
    font-weight: 900;
}

.product-info .product-short-description p {
    font-size: 16px;
    line-height: 1.6;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs {
    background-color: var(--color-4);
    border: none;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 0;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li {
    margin: 0;
    border: none;
    padding: 0;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px 40px;
    color: var(--color-2);
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    line-height: normal;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a {
    background-color: var(--color-1);
    color: #ffffff;
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs li:not(.active) a:hover {
    color: var(--color-1);
    background-color: rgba(255, 255, 255, 0.3);
}

.woocommerce-tabs.wc-tabs-wrapper ul.tabs.nav-line li a:after,
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.nav-line li.active a:after,
.woocommerce-tabs.wc-tabs-wrapper ul.tabs.nav-line li:hover a:after {
    display: none;
    opacity: 0;
}

/*Product Related  */

.related-products-wrapper h3.product-section-title {
    background-color: var(--color-1);
    color: #ffffff;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

.related-products-wrapper h3.product-section-title:before {
    content: "📢";
    margin-right: 10px;
    font-size: 24px;
    vertical-align: middle;
}

.related-products-wrapper h3.product-section-title:after {
    display: none;
}

.related-products-wrapper .product-small.box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-products-wrapper .product-small.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.related-products-wrapper .product-small .box-inner {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.related-products-wrapper .product-small .box-image img {
    border-radius: 8px;
}

.related-products-wrapper .product-small .box-text {
    padding: 15px 0 0 0;
}

.related-products-wrapper .product-small .box-text .category-uppercase {
    display: none;
}

.related-products-wrapper .product-small .box-text .product-title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-products-wrapper .product-small .box-text .product-title a {
    color: #333333;
}

.related-products-wrapper .product-small .box-text .price {
    color: var(--color-5);
    font-weight: 900;
    font-size: 21px;
    text-align: center;
    display: block;
}

.related-products-wrapper .product-small .box-text .price span.amount {
    color: var(--color-5);
}

.related-products-wrapper .neo-buy-now-wrapper,
.related-products-wrapper .add-to-cart-button {
    display: none !important;
}

/* Đảm bảo thẻ trắng bo góc dưới cùng được bo gọn gàng khi mất nút */
.related-products-wrapper .product-small.box {
    padding-bottom: 20px; 
}

/*Blog Categories  */
.blog-archive .post-item .box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-archive .post-item .box-inner {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.blog-archive .post-item .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-archive .post-item .box-image img {
    border-radius: 8px;
}

.blog-archive .post-item .box-text {
    padding: 15px 0 0 0;
    text-align: left;
}

.blog-archive .post-item .is-divider {
    display: none;
}

.blog-archive .post-item p.from_the_blog_excerpt,
.blog-archive .post-item .box-text-inner > p {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 2. Mở lại và style chữ "Xem thêm" (Read more) */
.blog-archive .post-item .box-text-inner > a.more-link {
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    margin-top: 5px;
}

.blog-archive .post-item .post-category {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.blog-archive .post-item .post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-archive .post-item .post-title a {
    color: #333333;
}

.blog-archive .post-item .badge-inner {
    background-color: #ffffff;
    border: 1px solid #333333;
    border-radius: 4px;
}

.blog-archive .post-item .badge-inner .post-date-day,
.blog-archive .post-item .badge-inner .post-date-month {
    color: #333333;
}

.archive-page-header h1.page-title {
    font-size: 0;
}

.archive-page-header h1.page-title span {
    font-size: 42px;
    font-weight: 800;
    text-transform: uppercase;
    color: #333333;
}

/* 1. Ẩn nút Mua Ngay tự chế bằng PHP */
.archive.woocommerce .neo-buy-now-wrapper {
    display: none !important;
}

/* 2. Ẩn luôn nút Mua Ngay mặc định của Flatsome (đề phòng nó hiện lại) */
.archive.woocommerce .add-to-cart-button {
    display: none !important;
}

span.amount {
    color: var(--color-5);
}