/*
Theme Name: itsaigon
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* ═══ MLUCKY — ROOT VARIABLES (đặt đầu tiên) ═══ */
.top-divider.full-width {
    border-top: 0px !important;
}

:root {
  --ml-primary: #b86624;
  --ml-primary-dark: #8f4517;
  --ml-secondary: #e9b56e;
  --ml-heading: #3d1f0d;
  --ml-text: #3f3935;
  --ml-muted: #766f68;
  --ml-border: #eadfd5;
  --ml-light: #fbf7f2;
  --ml-white: #ffffff;
  --ml-radius: 12px;
  --ml-shadow: 0 15px 42px rgba(69, 38, 19, 0.12);
  --font-heading: "Be Vietnam Pro", sans-serif;
  --font-body: "Be Vietnam Pro", sans-serif;
}

/* ═══ HEADER ═══ */
.header-top { font-family: var(--font-body); }
.header-top a { color: var(--ml-white); }

.ml-header-benefits {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 500;
}
.ml-header-benefits a,
.ml-header-benefits span { position: relative; color: var(--ml-white); }
.ml-header-benefits a:not(:last-child)::after,
.ml-header-benefits span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -14px;
  width: 1px;
  height: 13px;
  content: "";
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}
button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
    height: 3em;
    padding: 0px 20px;
    background: #B86624;
    border-radius: 0px 5px 5px 0px;
    box-shadow: none;
}.header-button a {
    font-weight: 400;
    text-transform: none;
    color: #fff !important;
}p {
    margin-bottom: 5px !important;
}

input#woocommerce-product-search-field-0 {
    height: 3em;
    border: 1px solid #B86624;
    box-shadow: none;
    border-radius: 5px 0px 0px 5px;
    border-right: 0;
}

.header-main .account-item .nav-top-link,
.header-main .cart-item .nav-top-link {
  font-family: var(--font-body);
  color: var(--ml-heading);
}
.header-main .cart-icon strong {
  border-color: var(--ml-primary);
  color: var(--ml-primary);
}

.header-bottom .nav > li > a {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #302b27;
  letter-spacing: 0;
}
.header-bottom .nav > li.active > a,
.header-bottom .nav > li > a:hover { color: var(--ml-primary); }
.header-bottom .nav > li.active > a::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  content: "";
  background: var(--ml-primary);
  border-radius: 3px 3px 0 0;
}
.header-bottom .vertical-menu-title {
  min-height: 58px;
  padding-right: 24px;
  padding-left: 24px;
  font-weight: 700;
  color: var(--ml-white);
  background: var(--ml-primary);
}

/* ═══ SECTION 1 — HERO ═══ */
.ml-home-hero {
  position: relative;
  min-height: 675px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 249, 0.99) 0%,
      rgba(255, 253, 249, 0.96) 40%,
      rgba(255, 253, 249, 0.25) 65%,
      rgba(255, 253, 249, 0) 100%
    ),
    url("URL_ANH_HERO_SHOJI") center right / cover no-repeat;
}
.ml-home-hero > .section-content { min-height: 675px; }
.ml-home-hero .ml-hero-row { min-height: 675px; max-width: 1420px !important; }
.ml-home-hero .ml-hero-content { padding: 70px 15px 105px 35px; }
.ml-home-hero .ml-hero-product { min-height: 600px; }

.ml-home-hero .ml-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  margin: 0 0 22px;
  padding: 5px 21px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #64361b;
  letter-spacing: 1.3px;
  border: 1px solid #c98b55;
  border-radius: 99px;
}
.ml-home-hero .ml-hero-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--ml-heading);
  letter-spacing: -2px;
}
.ml-home-hero .ml-hero-title span { color: var(--ml-primary); }
.ml-home-hero .ml-hero-subtitle {
  margin: 17px 0 34px;
  font-size: 23px;
  line-height: 1.5;
  color: #302823;
}

.ml-home-hero .ml-hero-features { max-width: 720px; margin: 0 0 5px !important; }
.ml-home-hero .ml-feature-item { text-align: center; }
.ml-home-hero .ml-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  color: var(--ml-primary);
  border: 1px solid #d3a172;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.ml-home-hero .ml-feature-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ml-heading);
}
.ml-home-hero .ml-feature-item span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ml-muted);
}

.ml-home-hero .ml-hero-offer { display: flex; align-items: center; gap: 22px; }
.ml-home-hero .ml-discount {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  min-width: 128px;
  height: 116px;
  margin-right: -23px;
  background: #fff2d9;
  border-radius: 13px 28px 28px 13px;
  box-shadow: 7px 0 15px rgba(75, 40, 16, 0.08);
}
.ml-home-hero .ml-discount span {
  font-size: 32px;
  font-weight: 800;
  color: var(--ml-heading);
}
.ml-home-hero .ml-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 265px;
  height: 116px;
  padding: 12px 28px 12px 44px;
  color: var(--ml-white);
  background: linear-gradient(135deg, #d26b24, #aa4316);
  border-radius: 12px;
  box-shadow: 0 13px 30px rgba(166, 66, 19, 0.22);
}
.ml-home-hero .ml-price strong { display: block; font-size: 47px; line-height: 1; }
.ml-home-hero .ml-price small { margin-left: 4px; font-size: 18px; }
.ml-home-hero .ml-price span { margin-top: 8px; font-size: 15px; }
.ml-home-hero .ml-price del { opacity: 0.78; }

.ml-home-hero .ml-buy-button .button {
  margin: 0;
  padding: 0 27px;
  font-size: 15px;
  font-weight: 700;
  color: #6e3518;
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--ml-primary);
}
.ml-home-hero .ml-buy-button .button:hover,
.ml-home-hero .ml-buy-button .button:focus-visible {
  color: var(--ml-white);
  background: var(--ml-primary);
}.bo-padding-bottom {
    padding-bottom: 0px !important;
}

/* ═══ SECTION 1b — QUICK CATEGORY BAR ═══ */
.ml-quick-categories {
  position: relative;
  z-index: 5;
  margin-top: -88px;
  background: transparent;
}
.ml-quick-categories .ml-quick-row {
  max-width: 1380px !important;
  min-height: 140px;
  padding: 15px 20px;
  background: var(--ml-white);
  border: 1px solid rgba(131, 90, 57, 0.08);
  border-radius: 22px;
  box-shadow: var(--ml-shadow);
}
.ml-quick-categories .ml-quick-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 18px 25px;
  border-right: 1px solid #eee5dc;
}
.ml-quick-categories .ml-quick-item:last-child { border-right: 0; }
.ml-quick-categories .ml-quick-icon {
  display: flex;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: var(--ml-primary);
  border: 1px solid #ead7c5;
  border-radius: 50%;
  background: var(--ml-white);
  box-shadow: 0 5px 16px rgba(91, 48, 21, 0.08);
}
.ml-quick-categories .ml-quick-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #211d1a;
}
.ml-quick-categories .ml-quick-item span {
  display: block;
  font-size: 13px;
  color: var(--ml-muted);
}

/* ═══ FOOTER ═══ */
.ml-footer-main {
  background:
    radial-gradient(circle at 85% 20%, rgba(184, 102, 36, 0.15), transparent 28%),
    #181818;
}
.ml-footer-main h4 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ml-white);
  letter-spacing: 0.4px;
}
.ml-footer-main h4::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  content: "";
  background: var(--ml-primary);
}
.ml-footer-main p,
.ml-footer-main li,
.ml-footer-main a {
  font-size: 13px;
  line-height: 1.8;
  color: #bbb7b3;
}
.ml-footer-main a:hover { color: var(--ml-secondary); }
.ml-footer-menu ul,
.ml-footer-contact ul { margin: 0; padding: 0; list-style: none; }
.ml-footer-menu li { margin-bottom: 5px; }
.ml-footer-menu li a { position: relative; display: inline-block; padding-left: 14px; }
.ml-footer-menu li a::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "›";
  color: var(--ml-primary);
}
.ml-footer-contact li { margin-bottom: 8px; }
.ml-footer-contact strong { color: #ece7e2; }

.ml-footer-map .map-inner,
.ml-footer-map-embed { overflow: hidden; border-radius: 8px; }
.ml-footer-map-embed iframe { display: block; border: 0; }

.ml-footer-copyright p { margin: 0; font-size: 12px; }
.ml-footer-bottom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.ml-footer-bottom-links { display: flex; gap: 24px; }
.ml-footer-bottom-links a { font-size: 12px; }
.ml-footer-bottom-right .payment-icons { margin: 0; opacity: 0.85; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .ml-home-hero { min-height: 610px; background-position: 62% center; }
  .ml-home-hero > .section-content,
  .ml-home-hero .ml-hero-row { min-height: 610px; }
  .ml-home-hero .ml-hero-content { padding-left: 20px; }
  .ml-home-hero .ml-hero-title { font-size: 42px; }
  .ml-home-hero .ml-hero-subtitle { font-size: 19px; }
  .ml-home-hero .ml-hero-offer { gap: 13px; }
  .ml-home-hero .ml-price { min-width: 230px; }
  .ml-home-hero .ml-buy-button .button { padding-right: 18px; padding-left: 18px; }
  .ml-quick-categories .ml-quick-item { padding-right: 14px; padding-left: 14px; }
}

@media (max-width: 767px) {
  .ml-home-hero {
    min-height: auto;
    background:
      linear-gradient(
        180deg,
        rgba(255, 253, 249, 0.99) 0%,
        rgba(255, 253, 249, 0.96) 60%,
        rgba(255, 253, 249, 0.65) 100%
      ),
      url("URL_ANH_HERO_SHOJI") 72% bottom / auto 52% no-repeat;
  }
  .ml-home-hero > .section-content,
  .ml-home-hero .ml-hero-row { min-height: 850px; }
  .ml-home-hero .ml-hero-content { padding: 42px 20px 340px; text-align: center; }

  /* FIX Kaizen #2: bỏ khoảng trống 600px của cột sản phẩm trên mobile */
  .ml-home-hero .ml-hero-product { min-height: 0; }

  .ml-home-hero .ml-hero-eyebrow {
    margin-bottom: 17px;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 11px;
  }
  .ml-home-hero .ml-hero-title { font-size: 32px; line-height: 1.2; letter-spacing: -1px; }
  .ml-home-hero .ml-hero-subtitle { margin: 12px 0 25px; font-size: 17px; }
  .ml-home-hero .ml-hero-features { margin-bottom: 24px !important; }
  .ml-home-hero .ml-feature-item { margin-bottom: 18px; }

  .ml-home-hero .ml-hero-offer { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .ml-home-hero .ml-discount { width: 95px; min-width: 95px; height: 90px; margin-right: -18px; }
  .ml-home-hero .ml-discount span { font-size: 25px; }
  .ml-home-hero .ml-price { min-width: 205px; height: 90px; padding-left: 35px; text-align: left; }
  .ml-home-hero .ml-price strong { font-size: 36px; }
  .ml-home-hero .ml-price small { font-size: 14px; }
  .ml-home-hero .ml-price span { font-size: 12px; }
  .ml-home-hero .ml-buy-button { flex-basis: 100%; }
  .ml-home-hero .ml-buy-button .button { min-width: 190px; }

  .ml-quick-categories { margin-top: -30px; padding: 0 15px; }
  .ml-quick-categories .ml-quick-row { padding: 8px; border-radius: 15px; }
  .ml-quick-categories .ml-quick-item {
    min-height: 105px;
    padding: 13px 8px;
    gap: 9px;
    border-right: 0;
    border-bottom: 1px solid #eee5dc;
  }
  .ml-quick-categories .ml-quick-item:nth-child(3),
  .ml-quick-categories .ml-quick-item:nth-child(4) { border-bottom: 0; }
  .ml-quick-categories .ml-quick-icon { flex-basis: 45px; width: 45px; height: 45px; }
  .ml-quick-categories .ml-quick-icon svg { width: 25px; height: 25px; }
  .ml-quick-categories .ml-quick-item strong { font-size: 11px; line-height: 1.35; }
  .ml-quick-categories .ml-quick-item span { font-size: 10px; }

  .ml-footer-main h4 { margin-top: 18px; }
  .ml-footer-bottom-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
  }
}

/* ═══ SECTION 2 — DANH MỤC + SẢN PHẨM NỔI BẬT ═══ */

.ml-home-products {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 34%, rgba(225, 179, 120, 0.12), transparent 18%),
    radial-gradient(circle at 100% 78%, rgba(225, 179, 120, 0.1), transparent 20%),
    #fff;
}

/* Hoa văn lá 2 góc */
.ml-home-products::before,
.ml-home-products::after {
  position: absolute;
  z-index: 0;
  width: 150px;
  height: 240px;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background: radial-gradient(ellipse at 50% 50%, var(--ml-primary) 0 10%, transparent 11%);
  background-size: 40px 52px;
}
.ml-home-products::before { top: 270px; left: -96px; transform: rotate(-18deg); }
.ml-home-products::after { right: -100px; bottom: 130px; transform: rotate(18deg); }
.ml-home-products > .section-content { position: relative; z-index: 1; }

/* ── Tiêu đề section ── */
.ml-home-products .ml-section-heading { margin-bottom: 30px; }
.ml-home-products .ml-heading-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.ml-home-products .ml-heading-decor h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ml-heading);
  letter-spacing: -0.8px;
}
.ml-home-products .ml-heading-line {
  display: block;
  width: 33px;
  height: 1px;
  background: #e4b36c;
}
.ml-home-products .ml-heading-leaf {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1;
  color: #e3b46d;
  transform: rotate(-12deg);
}
.ml-home-products .ml-heading-leaf-right { transform: scaleX(-1) rotate(-12deg); }
.ml-home-products .ml-section-description {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ml-muted);
}

/* ── Card danh mục ── */
.ml-home-products .ml-category-grid { max-width: 1380px !important; }
.ml-home-products .ml-category-col { padding-right: 9px; padding-left: 9px; }

.ml-home-products .ml-category-box {
  position: relative; /* neo stretched-link */
  height: 100%;
  overflow: hidden;
  border: 1px solid #eee4db;
  box-shadow: 0 8px 24px rgba(75, 42, 19, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.ml-home-products .ml-category-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(75, 42, 19, 0.15);
}
.ml-home-products .ml-category-box .box-image { overflow: hidden; }
.ml-home-products .ml-category-box .box-image img { transition: transform 0.45s ease; }
.ml-home-products .ml-category-box:hover .box-image img { transform: scale(1.045); }
.ml-home-products .ml-category-box .box-text { min-height: 83px; }

.ml-home-products .ml-category-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 83px;
  padding: 12px 20px 12px 94px;
}
.ml-home-products .ml-category-icon {
  position: absolute;
  top: -17px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  color: var(--ml-primary);
  background: var(--ml-white);
  border: 1px solid #eadbcf;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(79, 45, 21, 0.12);
}
.ml-home-products .ml-category-copy { min-width: 0; }
.ml-home-products .ml-category-copy h3 {
  margin: 0 0 3px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}
.ml-home-products .ml-category-copy h3 a { color: #6b3516; }
.ml-home-products .ml-category-copy h3 a:hover { color: var(--ml-primary); }

/* Stretched link: click toàn card, không lồng <a> */
.ml-home-products .ml-category-copy h3 a::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
}
.ml-home-products .ml-category-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ml-muted);
}

/* ── Lưới sản phẩm nổi bật ── */
.ml-home-products .ml-product-heading { margin-bottom: 26px; }
.ml-home-products .ml-featured-products-row { max-width: 1410px !important; }

.ml-home-products .products { align-items: stretch; }
.ml-home-products .product-small.col { padding-right: 8px; padding-left: 8px; }
.ml-home-products .product-small.col > .col-inner { height: 100%; }

.ml-home-products .product-small.box {
  height: 100%;
  overflow: hidden;
  background: var(--ml-white);
  border: 1px solid #ece5df;
  border-radius: 11px;
  box-shadow: 0 4px 15px rgba(68, 39, 20, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ml-home-products .product-small.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(68, 39, 20, 0.13);
}
.ml-home-products .product-small .box-image {
  overflow: hidden;
  background: #f8f5f1;
}
.ml-home-products .product-small .box-image img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ml-home-products .product-small.box:hover .box-image img { transform: scale(1.04); }

.ml-home-products .product-small .box-text {
  padding: 13px 13px 15px;
  text-align: left;
}
.ml-home-products .product-small .product-title {
  min-height: 42px;
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.ml-home-products .product-small .product-title a { color: #28221e; }
.ml-home-products .product-small .product-title a:hover { color: var(--ml-primary); }

.ml-home-products .product-small .price-wrapper { margin-bottom: 6px; }
.ml-home-products .product-small .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
}
.ml-home-products .product-small .price ins { text-decoration: none; }
.ml-home-products .product-small .price ins .amount,
.ml-home-products .product-small .price > .amount {
  font-size: 15px;
  font-weight: 800;
  color: #bb4f17;
}
.ml-home-products .product-small .price del { order: 2; opacity: 0.6; }
.ml-home-products .product-small .price del .amount { font-size: 12px; color: #777; }

.ml-home-products .product-small .star-rating {
  margin-top: 7px;
  font-size: 13px;
  color: #f1a000;
}
.ml-home-products .ml-review-count {
  margin-left: 5px;
  font-size: 12px;
  color: var(--ml-muted);
}

/* Badge giảm giá */
.ml-home-products .badge-container { top: 0; left: 0; margin: 0; }
.ml-home-products .badge { height: auto; }
.ml-home-products .badge-inner {
  min-width: 55px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: var(--ml-white);
  background: #ec7a19;
  border-radius: 7px 0 7px 0;
}

/* Ẩn nút mua trong grid (chỉ section này) để đúng thiết kế */
.ml-home-products .product-small .add-to-cart-button { display: none; }

/* Nút xem tất cả */
.ml-home-products .ml-view-all-row { margin-top: 20px; }
.ml-home-products .ml-view-all-products {
  min-width: 275px;
  margin: 0;
  padding-right: 27px;
  padding-left: 27px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark));
  border: 0;
  box-shadow: 0 9px 22px rgba(151, 73, 24, 0.18);
}
.ml-home-products .ml-view-all-products:hover,
.ml-home-products .ml-view-all-products:focus-visible {
  background: var(--ml-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(151, 73, 24, 0.24);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .ml-home-products .ml-category-col { margin-bottom: 18px; }
  .ml-home-products .product-small.col { margin-bottom: 18px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .ml-home-products .ml-section-heading { margin-bottom: 22px; }
  .ml-home-products .ml-heading-decor { gap: 7px; }
  .ml-home-products .ml-heading-decor h2 { font-size: 27px; letter-spacing: -0.5px; }
  .ml-home-products .ml-heading-line { width: 18px; }
  .ml-home-products .ml-heading-leaf { font-size: 23px; }
  .ml-home-products .ml-section-description {
    max-width: 310px;
    margin: 9px auto 0;
    font-size: 14px;
  }

  .ml-home-products .ml-category-col { padding-right: 15px; padding-left: 15px; }
  .ml-home-products .ml-category-content { min-height: 80px; padding-left: 88px; }
  .ml-home-products .ml-category-icon { left: 16px; width: 62px; height: 62px; }
  .ml-home-products .ml-category-copy h3 { font-size: 17px; }
  .ml-home-products .ml-category-copy p { font-size: 13px; }

  .ml-home-products .product-small.col { padding-right: 5px; padding-left: 5px; }
  .ml-home-products .product-small .box-text { padding: 10px 9px 13px; }
  .ml-home-products .product-small .product-title { min-height: 39px; font-size: 12px; }
  .ml-home-products .product-small .price ins .amount,
  .ml-home-products .product-small .price > .amount { font-size: 13px; }
  .ml-home-products .product-small .price del .amount { font-size: 10px; }
  .ml-home-products .product-small .star-rating { font-size: 11px; }

  .ml-home-products .ml-view-all-products { min-width: 245px; }
}/* ═══ SECTION 3a — GIỚI THIỆU MLUCKY ═══ */

.ml-about-section {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.99) 0%,
      rgba(255, 252, 247, 0.97) 32%,
      rgba(255, 252, 247, 0.82) 44%,
      rgba(255, 252, 247, 0.18) 67%,
      rgba(255, 252, 247, 0) 100%
    ),
    url("URL_BG_SECTION_3") center right / cover no-repeat;
}
.ml-about-section > .section-content { min-height: 660px; }
.ml-about-section .ml-about-row { min-height: 660px; max-width: 1460px !important; }
.ml-about-section .ml-about-content { padding: 60px 20px 38px 36px; }
.ml-about-section .ml-about-image-space { min-height: 620px; }

/* Eyebrow */
.ml-about-section .ml-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  margin: 0 0 22px;
  padding: 5px 17px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #9d4b14;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #df8b40;
  border-radius: 99px;
}
.ml-about-section .ml-about-eyebrow span {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #e09a50;
}

/* Tiêu đề — ngắt dòng bằng span block, KHÔNG dùng <br> */
.ml-about-section .ml-about-title {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 3.2vw, 53px);
  font-weight: 800;
  line-height: 1.14;
  color: var(--ml-heading);
  letter-spacing: -1.7px;
}
.ml-about-section .ml-title-line2 { display: block; }

.ml-about-section .ml-about-line {
  width: 40px;
  height: 3px;
  margin: 22px 0 19px;
  background: var(--ml-primary);
  border-radius: 3px;
}
.ml-about-section .ml-about-description {
  max-width: 610px;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.55;
  color: #4a4540;
}

/* Checklist */
.ml-about-section .ml-about-checklist {
  max-width: 610px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ml-about-section .ml-about-checklist li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 31px;
  font-size: 16px;
  line-height: 1.5;
  color: #332e2a;
}
.ml-about-section .ml-about-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ml-primary);
  content: "\2713";
  border: 1.5px solid #e5771a;
  border-radius: 50%;
}

/* Thống kê */
.ml-about-section .ml-about-stats { max-width: 650px; margin: 0 !important; }
.ml-about-section .ml-stat-item {
  position: relative;
  min-height: 137px;
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid #e7d9cb;
}
.ml-about-section .ml-stat-item:last-child { border-right: 0; }
.ml-about-section .ml-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 7px;
  color: #e67815;
}
.ml-about-section .ml-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  color: #8b3e0c;
}
.ml-about-section .ml-stat-label {
  max-width: 130px;
  margin: 7px auto 0;
  font-size: 13px;
  line-height: 1.4;
  color: #38322e;
}

/* ═══ SECTION 3b — TẠI SAO CHỌN MLUCKY ═══ */

.ml-reasons-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(225, 176, 112, 0.12), transparent 18%),
    radial-gradient(circle at 100% 15%, rgba(225, 176, 112, 0.1), transparent 18%),
    #fff;
}
.ml-reasons-section::before,
.ml-reasons-section::after {
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 220px;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background: radial-gradient(ellipse at center, var(--ml-primary) 0 11%, transparent 12%);
  background-size: 38px 50px;
}
.ml-reasons-section::before { bottom: -60px; left: -82px; transform: rotate(-18deg); }
.ml-reasons-section::after { top: 15px; right: -88px; transform: rotate(18deg); }
.ml-reasons-section > .section-content { position: relative; z-index: 1; }

/* Heading */
.ml-reasons-section .ml-reasons-heading { margin-bottom: 29px; }
.ml-reasons-section .ml-heading-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ml-reasons-section .ml-heading-decor h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: #8d3d09;
  letter-spacing: -0.7px;
}
.ml-reasons-section .ml-heading-line {
  display: block;
  width: 35px;
  height: 1px;
  background: #e0aa65;
}
.ml-reasons-section .ml-heading-leaf {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: #e2b06c;
  transform: rotate(-12deg);
}
.ml-reasons-section .ml-heading-leaf-right { transform: scaleX(-1) rotate(-12deg); }
.ml-reasons-section .ml-reasons-description {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ml-muted);
}

/* Cards */
.ml-reasons-section .ml-reasons-grid { max-width: 1420px !important; }
.ml-reasons-section .ml-reason-col { padding-right: 8px; padding-left: 8px; }
.ml-reasons-section .ml-reason-card {
  position: relative;
  height: 100%;
  min-height: 225px;
  padding: 22px 15px 21px;
  text-align: center;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #f0e7de;
  border-radius: 13px;
  box-shadow: 0 8px 23px rgba(69, 39, 20, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ml-reasons-section .ml-reason-card:hover {
  border-color: #e7bd90;
  transform: translateY(-7px);
  box-shadow: 0 18px 38px rgba(69, 39, 20, 0.14);
}
.ml-reasons-section .ml-reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 79px;
  height: 79px;
  margin: 0 auto 14px;
  color: #de7419;
  background: linear-gradient(145deg, #fff9f2, #f8e5ce);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(159, 83, 24, 0.09);
}
.ml-reasons-section .ml-reason-card h3 {
  min-height: 24px;
  margin: 0 0 7px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #6c2f10;
}
.ml-reasons-section .ml-reason-card p {
  min-height: 66px;
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: #47413c;
}
.ml-reasons-section .ml-reason-bottom-line {
  display: block;
  width: 32px;
  height: 2px;
  margin: 13px auto 0;
  background: #e9a85e;
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .ml-about-section { min-height: 620px; background-position: 61% center; }
  .ml-about-section > .section-content,
  .ml-about-section .ml-about-row { min-height: 620px; }
  .ml-about-section .ml-about-content { padding-left: 25px; }
  .ml-about-section .ml-about-title { font-size: 40px; }
  .ml-about-section .ml-about-description { font-size: 15px; }
  .ml-about-section .ml-about-checklist li { font-size: 14px; }
  .ml-about-section .ml-stat-value { font-size: 24px; }

  .ml-reasons-section .ml-reason-col { margin-bottom: 16px; }
  .ml-reasons-section .ml-reason-card { min-height: 218px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .ml-about-section {
    min-height: auto;
    background:
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.99) 0%,
        rgba(255, 252, 247, 0.96) 59%,
        rgba(255, 252, 247, 0.55) 100%
      ),
      url("URL_BG_SECTION_3") 70% bottom / auto 44% no-repeat;
  }
  .ml-about-section > .section-content,
  .ml-about-section .ml-about-row { min-height: 920px; }
  .ml-about-section .ml-about-content { padding: 42px 20px 360px; }

  /* FIX Kaizen #4: bỏ khoảng trống 620px của cột ảnh trên mobile */
  .ml-about-section .ml-about-image-space { min-height: 0; }

  .ml-about-section .ml-about-eyebrow { margin-bottom: 17px; font-size: 12px; }
  .ml-about-section .ml-about-title { font-size: 31px; line-height: 1.2; letter-spacing: -1px; }
  .ml-about-section .ml-title-line2 { display: inline; } /* mobile để wrap tự nhiên */
  .ml-about-section .ml-about-description { font-size: 14px; }
  .ml-about-section .ml-about-checklist li { padding-left: 27px; font-size: 13px; }
  .ml-about-section .ml-about-checklist li::before { width: 19px; height: 19px; }

  .ml-about-section .ml-stat-item { min-height: 125px; margin-bottom: 15px; }
  .ml-about-section .ml-stat-item:nth-child(2) { border-right: 0; }
  .ml-about-section .ml-stat-item:nth-child(3),
  .ml-about-section .ml-stat-item:nth-child(4) {
    padding-top: 15px;
    border-top: 1px solid #e7d9cb;
  }
  .ml-about-section .ml-stat-value { font-size: 23px; }
  .ml-about-section .ml-stat-label { font-size: 12px; }

  .ml-reasons-section .ml-heading-decor { gap: 6px; }
  .ml-reasons-section .ml-heading-decor h2 { font-size: 26px; letter-spacing: -0.4px; }
  .ml-reasons-section .ml-heading-line { width: 18px; }
  .ml-reasons-section .ml-heading-leaf { font-size: 22px; }
  .ml-reasons-section .ml-reasons-description {
    max-width: 320px;
    margin: 8px auto 0;
    font-size: 14px;
  }
  .ml-reasons-section .ml-reason-col { padding-right: 5px; padding-left: 5px; }
  .ml-reasons-section .ml-reason-card { min-height: 225px; padding: 18px 10px; }
  .ml-reasons-section .ml-reason-icon { width: 65px; height: 65px; }
  .ml-reasons-section .ml-reason-icon svg { width: 31px; height: 31px; }
  .ml-reasons-section .ml-reason-card h3 { font-size: 14px; }
  .ml-reasons-section .ml-reason-card p { min-height: 78px; font-size: 11px; line-height: 1.5; }
}/* ═══ SECTION 4 — SẢN PHẨM MỚI ═══ */

.ml-new-products {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255, 252, 248, 0.98) 0%,
      rgba(255, 252, 248, 0.94) 72%,
      rgba(255, 252, 248, 0.74) 100%
    ),
    url("URL_BG_SECTION_4") top right / auto 100% no-repeat,
    #fffaf5;
}
.ml-new-products::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 230px;
  height: 100%;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background: radial-gradient(ellipse at 40% 30%, var(--ml-primary) 0 8%, transparent 9%);
  background-size: 60px 80px;
  transform: rotate(-14deg);
}
.ml-new-products > .section-content { position: relative; z-index: 2; }

/* ── Heading ── */
.ml-new-products .ml-new-products-heading { max-width: 1120px !important; }
.ml-new-products .ml-new-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  color: #dd7517;
}
.ml-new-products .ml-new-eyebrow strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.ml-new-products .ml-new-eyebrow span {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 1;
  color: #e2ad67;
  transform: rotate(-12deg);
}
.ml-new-products .ml-new-eyebrow .ml-new-eyebrow-right { transform: scaleX(-1) rotate(-12deg); }

.ml-new-products .ml-new-products-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(39px, 3.5vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ml-heading);
  letter-spacing: -1.6px;
}
.ml-new-products .ml-new-title-line {
  position: relative;
  width: 60px;
  height: 3px;
  margin: 24px auto 18px;
  background: var(--ml-primary);
  border-radius: 3px;
}
.ml-new-products .ml-new-title-line::after {
  position: absolute;
  top: 0;
  left: 45px;
  width: 18px;
  height: 3px;
  content: "";
  background: #edc399;
  border-radius: 3px;
}
.ml-new-products .ml-new-products-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ml-muted);
}

/* ── Product grid ── */
.ml-new-products .ml-new-products-grid { max-width: 1440px !important; }
.ml-new-products .products { align-items: stretch; }
.ml-new-products .product-small.col {
  padding-right: 8px;
  padding-left: 8px;
  margin-bottom: 20px;
}
.ml-new-products .product-small.col > .col-inner { height: 100%; }

.ml-new-products .product-small.box {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--ml-white);
  border: 1px solid rgba(125, 79, 45, 0.1);
  border-radius: 17px;
  box-shadow: 0 11px 30px rgba(81, 46, 21, 0.11);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ml-new-products .product-small.box:hover {
  border-color: rgba(184, 102, 36, 0.28);
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(81, 46, 21, 0.17);
}

/* Nhãn NEW (section chỉ hiển thị sản phẩm mới nhất) */
.ml-new-products .product-small.box::before {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 5;
  min-width: 67px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--ml-white);
  content: "NEW";
  background: linear-gradient(135deg, #ef8a11, #dc6605);
  border-radius: 99px;
  box-shadow: 0 6px 16px rgba(205, 91, 4, 0.22);
}

/* Ẩn badge sale mặc định riêng trong section này */
.ml-new-products .badge-container { display: none; }

/* Ảnh sản phẩm */
.ml-new-products .product-small .box-image {
  overflow: hidden;
  background: #f7f1eb;
  border-radius: 16px 16px 0 0;
}
.ml-new-products .product-small .box-image img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ml-new-products .product-small.box:hover .box-image img { transform: scale(1.045); }

/* Nội dung card */
.ml-new-products .product-small .box-text {
  position: relative;
  min-height: 180px;
  padding: 21px 20px 22px;
  text-align: left;
  background: var(--ml-white);
}
.ml-new-products .product-small .product-title {
  min-height: 52px;
  margin: 0 0 8px;
  padding-right: 3px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}
.ml-new-products .product-small .product-title a { color: #53230d; }
.ml-new-products .product-small .product-title a:hover { color: var(--ml-primary); }

/* Mô tả ngắn (xuất bởi snippet mục 4 — class tự kiểm soát) */
.ml-new-products .ml-loop-excerpt {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 15px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ml-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
/* Section 2 thiết kế KHÔNG có mô tả ngắn → ẩn tại đó */
.ml-home-products .ml-loop-excerpt { display: none; }

/* Giá */
.ml-new-products .product-small .price-wrapper {
  min-height: 35px;
  margin-top: 10px;
  padding-right: 58px;
}
.ml-new-products .product-small .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.ml-new-products .product-small .price ins { text-decoration: none; }
.ml-new-products .product-small .price ins .amount,
.ml-new-products .product-small .price > .amount {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: #df5b0b;
}
.ml-new-products .product-small .price del { opacity: 0.58; }
.ml-new-products .product-small .price del .amount { font-size: 12px; color: #777; }

/* Ẩn rating riêng section này (giữ Rating BẬT global cho Section 2) */
.ml-new-products .product-small .star-rating { display: none; }

/* ── Nút giỏ hàng tròn — SVG data-URI, không phụ thuộc icon font ── */
.ml-new-products .product-small .add-to-cart-button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  margin: 0;
}
.ml-new-products .product-small .add-to-cart-button .button {
  display: block;
  width: 49px;
  min-width: 49px;
  height: 49px;
  min-height: 49px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  background-color: #fff3e6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67714' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1.4'/%3E%3Ccircle cx='19' cy='21' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.5a2 2 0 0 0 2 1.5h8.7a2 2 0 0 0 2-1.6L22 8H6'/%3E%3Cpath d='M13.5 6.5v4M11.5 8.5h4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.ml-new-products .product-small .add-to-cart-button .button:hover,
.ml-new-products .product-small .add-to-cart-button .button:focus-visible {
  background-color: var(--ml-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1.4'/%3E%3Ccircle cx='19' cy='21' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.5a2 2 0 0 0 2 1.5h8.7a2 2 0 0 0 2-1.6L22 8H6'/%3E%3Cpath d='M13.5 6.5v4M11.5 8.5h4'/%3E%3C/svg%3E");
  transform: translateY(-2px);
}
/* Ẩn link "View cart" WooCommerce chèn sau khi AJAX thêm giỏ */
.ml-new-products .product-small .added_to_cart { display: none; }

/* ── Nút xem tất cả ── */
.ml-new-products .ml-new-products-action { margin-top: 15px; }
.ml-new-products .ml-new-products-button {
  min-width: 340px;
  margin: 0;
  padding-right: 34px;
  padding-left: 34px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.15px;
  background: linear-gradient(135deg, #ee840d, #d96605);
  border: 0;
  box-shadow: 0 12px 27px rgba(205, 91, 4, 0.22);
}
.ml-new-products .ml-new-products-button:hover,
.ml-new-products .ml-new-products-button:focus-visible {
  background: linear-gradient(135deg, #dc7005, #ba4d00);
  transform: translateY(-3px);
  box-shadow: 0 17px 32px rgba(205, 91, 4, 0.28);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .ml-new-products {
    background-position: top right;
    background-size: auto 72%;
  }
  .ml-new-products .product-small.col { margin-bottom: 22px; }
  .ml-new-products .product-small .box-image img { aspect-ratio: 1 / 1.05; }
  .ml-new-products .product-small .box-text { min-height: 170px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .ml-new-products {
    background:
      linear-gradient(rgba(255, 252, 248, 0.97), rgba(255, 252, 248, 0.97)),
      #fffaf5;
  }
  .ml-new-products .ml-new-eyebrow { gap: 8px; margin-bottom: 12px; }
  .ml-new-products .ml-new-eyebrow strong { font-size: 16px; }
  .ml-new-products .ml-new-eyebrow span { font-size: 23px; }
  .ml-new-products .ml-new-products-title {
    font-size: 30px;
    line-height: 1.22;
    letter-spacing: -0.9px;
  }
  .ml-new-products .ml-new-title-line { margin-top: 18px; margin-bottom: 14px; }
  .ml-new-products .ml-new-products-description {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
  }

  .ml-new-products .product-small.col {
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 12px;
  }
  .ml-new-products .product-small.box { border-radius: 12px; }
  .ml-new-products .product-small.box::before {
    top: 8px;
    left: 8px;
    min-width: 48px;
    padding: 6px 9px;
    font-size: 10px;
  }
  .ml-new-products .product-small .box-image { border-radius: 12px 12px 0 0; }
  .ml-new-products .product-small .box-image img { aspect-ratio: 1 / 1.15; }
  .ml-new-products .product-small .box-text { min-height: 155px; padding: 12px 10px 15px; }
  .ml-new-products .product-small .product-title {
    min-height: 43px;
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.4;
  }
  .ml-new-products .ml-loop-excerpt { display: none; }
  .ml-new-products .product-small .price-wrapper { margin-top: 6px; padding-right: 40px; }
  .ml-new-products .product-small .price ins .amount,
  .ml-new-products .product-small .price > .amount { font-size: 14px; }
  .ml-new-products .product-small .price del .amount { font-size: 9px; }

  .ml-new-products .product-small .add-to-cart-button { right: 9px; bottom: 11px; }
  .ml-new-products .product-small .add-to-cart-button .button {
    width: 35px;
    min-width: 35px;
    height: 35px;
    min-height: 35px;
    background-size: 17px 17px;
  }

  .ml-new-products .ml-new-products-action { margin-top: 20px; }
  .ml-new-products .ml-new-products-button {
    min-width: 270px;
    min-height: 48px;
    padding-right: 24px;
    padding-left: 24px;
    font-size: 12px;
  }
}/* ═══ SECTION 5 — CTA GIẢI PHÁP NGĂN PHÒNG ═══ */

.ml-cta-section { background: #fff; }

.ml-cta-section .ml-cta-row {
  max-width: 1380px !important;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(52, 30, 15, 0.16);
}
.ml-cta-section .ml-cta-row > .col { padding: 0; }
.ml-cta-section .ml-cta-row > .col > .col-inner { height: 100%; }

/* Ảnh trái phủ kín */
.ml-cta-section .ml-cta-image { min-height: 400px; }
.ml-cta-section .ml-cta-image .img,
.ml-cta-section .ml-cta-image .img-inner,
.ml-cta-section .ml-cta-image figure { height: 100%; margin: 0; }
.ml-cta-section .ml-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Panel nội dung tối bên phải */
.ml-cta-section .ml-cta-content {
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 102, 36, 0.28), transparent 34%),
    radial-gradient(circle at 8% 95%, rgba(184, 102, 36, 0.14), transparent 30%),
    #26201c;
}
.ml-cta-section .ml-cta-content > .col-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  padding: 55px 58px;
}

.ml-cta-section .ml-cta-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ml-secondary);
  letter-spacing: -0.8px;
}
.ml-cta-section .ml-title-line2 { display: block; }

.ml-cta-section .ml-cta-description {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.75;
  color: #cfc6bf;
}

.ml-cta-section .ml-cta-button {
  min-height: 50px;
  margin: 0;
  padding-right: 30px;
  padding-left: 30px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark));
  border: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  align-self: flex-start;
}
.ml-cta-section .ml-cta-button:hover,
.ml-cta-section .ml-cta-button:focus-visible {
  background: var(--ml-primary-dark);
  transform: translateY(-2px);
}

/* ═══ SECTION 6 — TIN TỨC NỔI BẬT ═══ */

.ml-news-section { background: #fff; }

/* Heading (đồng bộ hoa văn các section trước) */
.ml-news-section .ml-heading-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.ml-news-section .ml-heading-decor h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ml-heading);
  letter-spacing: -0.7px;
}
.ml-news-section .ml-heading-line {
  display: block;
  width: 35px;
  height: 1px;
  background: #e0aa65;
}
.ml-news-section .ml-heading-leaf {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1;
  color: #e2b06c;
  transform: rotate(-12deg);
}
.ml-news-section .ml-heading-leaf-right { transform: scaleX(-1) rotate(-12deg); }
.ml-news-section .ml-news-description {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ml-muted);
}

/* Card bài viết */
.ml-news-section .ml-news-grid { max-width: 1410px !important; }
.ml-news-section .post-item .col-inner { height: 100%; }
.ml-news-section .post-item .box {
  height: 100%;
  overflow: hidden;
  background: var(--ml-white);
  border: 1px solid #ece4dc;
  border-radius: 13px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.ml-news-section .post-item .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(70, 40, 20, 0.13);
}
.ml-news-section .post-item .box-image {
  overflow: hidden;
  background: #f7f2ec;
}
.ml-news-section .post-item .box-image img { transition: transform 0.45s ease; }
.ml-news-section .post-item .box:hover .box-image img { transform: scale(1.045); }

.ml-news-section .post-item .box-text {
  padding: 17px 18px 19px;
  text-align: left;
}
.ml-news-section .post-item .post-title {
  min-height: 46px;
  margin: 0 0 9px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: #2a231e;
}
.ml-news-section .post-item .post-title:hover { color: var(--ml-primary); }

/* Ngày dạng text dưới tiêu đề */
.ml-news-section .post-item .post-meta {
  margin: 0;
  font-size: 13px;
  color: var(--ml-muted);
  opacity: 1;
}

/* Fallback: nếu phiên bản Flatsome render ngày dạng badge trên ảnh */
.ml-news-section .post-item .badge-container { top: 12px; left: 12px; margin: 0; }
.ml-news-section .post-item .badge { height: auto; }
.ml-news-section .post-item .badge-inner {
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: #6b3516;
  background: #fdf2e2;
  border: 0;
  border-radius: 9px;
}

/* Nút xem tất cả */
.ml-news-section .ml-news-action { margin-top: 22px; }
.ml-news-section .ml-news-button {
  min-width: 300px;
  min-height: 50px;
  margin: 0;
  padding-right: 30px;
  padding-left: 30px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--ml-primary), var(--ml-primary-dark));
  border: 0;
  box-shadow: 0 9px 22px rgba(151, 73, 24, 0.18);
}
.ml-news-section .ml-news-button:hover,
.ml-news-section .ml-news-button:focus-visible {
  background: var(--ml-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(151, 73, 24, 0.24);
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .ml-cta-section .ml-cta-content > .col-inner {
    min-height: 360px;
    padding: 40px 34px;
  }
  .ml-cta-section .ml-cta-image { min-height: 360px; }

  .ml-news-section .post-item { margin-bottom: 18px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .ml-cta-section .ml-cta-row { border-radius: 15px; }

  /* Xếp chồng: ảnh trên, nội dung dưới */
  .ml-cta-section .ml-cta-image { min-height: 0; }
  .ml-cta-section .ml-cta-image img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .ml-cta-section .ml-cta-content > .col-inner {
    min-height: 0;
    padding: 32px 22px 36px;
  }
  .ml-cta-section .ml-cta-title { font-size: 24px; letter-spacing: -0.5px; }
  .ml-cta-section .ml-title-line2 { display: inline; }
  .ml-cta-section .ml-cta-description { font-size: 13px; margin-bottom: 22px; }
  .ml-cta-section .ml-cta-button { min-height: 46px; font-size: 12px; }

  .ml-news-section .ml-heading-decor { gap: 6px; }
  .ml-news-section .ml-heading-decor h2 { font-size: 26px; letter-spacing: -0.4px; }
  .ml-news-section .ml-heading-line { width: 18px; }
  .ml-news-section .ml-heading-leaf { font-size: 22px; }
  .ml-news-section .ml-news-description {
    max-width: 320px;
    margin: 8px auto 0;
    font-size: 14px;
  }

  .ml-news-section .post-item { margin-bottom: 14px; }
  .ml-news-section .post-item .post-title { min-height: 0; font-size: 15px; }

  .ml-news-section .ml-news-action { margin-top: 12px; }
  .ml-news-section .ml-news-button { min-width: 260px; min-height: 47px; font-size: 12px; }
}