/* Mắm Quang Hải — style riêng, nạp SAU front-end.css của air-light (giữ base, thêm component).
   Palette ART GATE 22/07 (tạm): nền #FBF8F2 · chữ #2A2018 · nhấn #A65F22. Final chờ ảnh nhãn.
   North-star: gian hàng mắm truyền thống sạch sẽ; ảnh sản phẩm là nhân vật chính. */

:root {
  --mqh-bg: #fbf8f2;
  --mqh-surface: #fff;
  --mqh-ink: #2a2018;
  --mqh-ink-soft: #6b5f52;
  --mqh-line: #e7ded0;
  --mqh-accent: #a65f22;
  --gold: #e0a32e;        /* accent phụ (duyệt): huy chương/số liệu/kẻ chân */
  --deep: #2a1a12;        /* nâu rất đậm: dải số liệu + footer */
  --mqh-maxw: 1180px;
  --mqh-radius: 12px;
  --mqh-gap: clamp(1rem, 3vw, 2rem);
}

/* Override biến air-light gây tràn ngang (menu mobile dùng 100vw = viewport + thanh cuộn) */
:root { --width-navigation: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
body { background: var(--mqh-bg); color: var(--mqh-ink); }
/* Font Montserrat toàn site (bám dhfoods) — đè font base air-light */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6,
.site-title, .mqh-cat-title, .mqh-feature-title, .mqh-post-title, .mqh-preloader-brand {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.mqh-wrap { max-width: var(--mqh-maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); box-sizing: border-box; width: 100%; }

/* Header / nav */
.site-header { background: var(--mqh-surface); border-bottom: 1px solid var(--mqh-line); position: sticky; top: 0; z-index: 40; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--mqh-maxw); margin-inline: auto; padding: 0.7rem clamp(1rem, 4vw, 2rem); }
.site-branding .site-title, .site-branding a { font-weight: 800; font-size: 1.2rem; color: var(--mqh-ink); text-decoration: none; letter-spacing: -0.01em; }
.site-branding img { max-height: 44px; width: auto; }
.nav-primary .menu-items { list-style: none; display: flex; gap: clamp(0.75rem, 2vw, 1.6rem); margin: 0; padding: 0; }
.nav-primary .menu-items a { color: var(--mqh-ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav-primary .menu-items a:hover { color: var(--mqh-accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; width: 40px; height: 40px; }
.nav-toggle .hamburger, .nav-toggle .hamburger::before, .nav-toggle .hamburger::after { display: block; width: 22px; height: 2px; background: var(--mqh-ink); position: relative; transition: transform .18s ease; }
.nav-toggle .hamburger::before, .nav-toggle .hamburger::after { content: ""; position: absolute; left: 0; }
.nav-toggle .hamburger::before { top: -7px; } .nav-toggle .hamburger::after { top: 7px; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-primary .menu-items-wrapper { display: none; position: absolute; left: 0; right: 0; top: 100%; width: 100%; background: var(--mqh-surface); border-bottom: 1px solid var(--mqh-line); box-shadow: 0 8px 24px rgba(42,32,24,.08); }
  .nav-primary.is-open .menu-items-wrapper { display: block; }
  .nav-primary .menu-items { flex-direction: column; gap: 0; }
  .nav-primary .menu-items a { display: block; padding: 0.9rem clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--mqh-line); }
  .site-header { position: relative; }
  .nav-primary { position: static; }
}

/* Buttons */
.mqh-btn { display: inline-block; padding: 0.7rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: opacity .16s ease, transform .16s ease; }
.mqh-btn:hover { opacity: .92; } .mqh-btn:active { transform: scale(.98); }
.mqh-btn-primary { background: var(--mqh-accent); color: #fff; }
.mqh-btn-ghost { background: transparent; color: var(--mqh-ink); border: 1.5px solid var(--mqh-line); }
.mqh-btn-call { background: transparent; color: var(--mqh-accent); border: 1.5px solid var(--mqh-accent); }

/* Hero */
.mqh-hero { padding: clamp(2rem, 6vw, 4.5rem) 0; }
.mqh-hero-eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-size: 0.82rem; color: var(--mqh-accent); margin: 0 0 0.75rem; }

/* Hero giàu: nền ấm nhiều lớp + blob mờ trang trí */
.mqh-hero--rich { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(166,95,34,.10) 0%, transparent 55%),
    radial-gradient(100% 100% at 0% 100%, rgba(166,95,34,.06) 0%, transparent 50%),
    linear-gradient(180deg, #fffdf9 0%, var(--mqh-bg) 100%); }
.mqh-hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(48px); opacity: .5; pointer-events: none; }
.mqh-hero-blob--1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(166,95,34,.22), transparent 70%); animation: mqhFloat 9s ease-in-out infinite; }
.mqh-hero-blob--2 { width: 320px; height: 320px; bottom: -140px; left: -60px; background: radial-gradient(circle, rgba(211,142,74,.18), transparent 70%); animation: mqhFloat 11s ease-in-out infinite reverse; }

/* Entrance stagger — chạy khi tải (hero above-fold), delay theo --d */
@keyframes mqhHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mqhFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes mqhSeal { 0%,100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.05); } }
.mqh-anim { animation: mqhHeroIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms); }

/* Ảnh hero — khung mềm, đổ bóng ấm, float rất nhẹ + seal (overflow visible để seal không bị cắt) */
.mqh-hero--rich .mqh-hero-img { position: relative; overflow: visible; border: 0; background: transparent; }
.mqh-hero--rich .mqh-hero-img img { border-radius: var(--mqh-radius); box-shadow: 0 24px 60px rgba(42,32,24,.18); }
.mqh-hero-seal { position: absolute; top: -16px; right: -16px; width: 86px; height: 86px; border-radius: 50%; background: var(--mqh-accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 10px 24px rgba(166,95,34,.4); transform: rotate(-8deg); animation: mqhSeal 3.5s ease-in-out infinite; border: 3px solid #fff; }
.mqh-hero-seal strong { font-size: 0.92rem; line-height: 1.05; letter-spacing: 0.01em; }
.mqh-hero-seal span { font-size: 0.66rem; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .mqh-anim, .mqh-hero-blob, .mqh-hero-seal { animation: none !important; }
  .mqh-anim { opacity: 1; transform: none; }
}

/* Category tiles (trang chủ) */
.mqh-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--mqh-gap); }
.mqh-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 130px; padding: 1.4rem 1.3rem; background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); text-decoration: none; color: var(--mqh-ink); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease, background .18s ease; }
.mqh-tile:hover { box-shadow: 0 10px 28px rgba(42,32,24,.12); transform: translateY(-3px); border-color: var(--mqh-accent); }
.mqh-tile-name { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.mqh-tile-count { font-size: 0.88rem; color: var(--mqh-accent); font-weight: 600; }
@media (max-width: 900px) { .mqh-tiles { grid-template-columns: repeat(2, 1fr); } }
.mqh-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--mqh-gap); align-items: center; }
.mqh-hero-grid--solo { grid-template-columns: 1fr; max-width: 760px; }
.mqh-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
.mqh-hero .sub { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--mqh-ink-soft); margin: 0 0 1.6rem; max-width: 42ch; }
.mqh-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.mqh-hero-img { border-radius: var(--mqh-radius); overflow: hidden; background: var(--mqh-surface); border: 1px solid var(--mqh-line); aspect-ratio: 4/3; }
.mqh-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Proof strip */
/* Stats band kiểu dhfoods: nền nâu đậm, số VÀNG lớn, vạch ngăn */
.mqh-proof { background: linear-gradient(100deg, var(--deep) 0%, #3a2416 100%); color: #f3e9da; }
.mqh-proof-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: var(--mqh-maxw); margin-inline: auto; padding: clamp(1.5rem,3.5vw,2.4rem) clamp(1rem, 4vw, 2rem); text-align: center; }
.mqh-proof-item { position: relative; }
.mqh-proof-item + .mqh-proof-item::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: rgba(224,163,46,.3); }
.mqh-proof-item strong { display: block; font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800; letter-spacing: -0.02em; color: var(--gold); line-height: 1.05; }
.mqh-proof-item span { font-size: 0.9rem; color: rgba(243,233,218,.82); }

/* Section + grid */
.mqh-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.mqh-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.5rem; }
.mqh-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mqh-gap); }
.mqh-product-card { background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; }
.mqh-product-card:hover { box-shadow: 0 8px 28px rgba(42,32,24,.1); transform: translateY(-2px); }
.mqh-product-card a { text-decoration: none; color: var(--mqh-ink); display: block; }
.mqh-product-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; background: var(--mqh-bg); }
.mqh-product-name { display: block; padding: 0.9rem 1rem 1.1rem; font-weight: 600; text-align: center; }

/* Zalo band + single-product button */
.mqh-zalo-band { background: var(--mqh-accent); color: #fff; text-align: center; padding: clamp(2rem, 5vw, 3rem) 1rem; }
.mqh-zalo-band h2 { margin: 0 0 1rem; }
.mqh-zalo-band .mqh-btn { background: #fff; color: var(--mqh-accent); }

/* Dải đặt hàng 3 kênh */
.mqh-order-band { background: linear-gradient(135deg, #b3691f 0%, var(--mqh-accent) 60%, #8f5019 100%); color: #fff; text-align: center; padding: clamp(2.25rem, 5vw, 3.5rem) 1rem; }
.mqh-order-band h2 { margin: 0 0 0.4rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.mqh-order-band > .mqh-wrap > p { margin: 0 0 1.6rem; color: rgba(255,255,255,.9); }
.mqh-order-links { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.mqh-order-btn { display: inline-block; min-width: 150px; padding: 0.8rem 1.6rem; border-radius: 999px; background: #fff; color: var(--mqh-accent); font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.12); transition: transform .16s ease, box-shadow .16s ease; }
.mqh-order-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.2); color: var(--mqh-accent); }
.mqh-zalo-btn { display: inline-block; margin-top: 1rem; padding: 0.7rem 1.4rem; border-radius: 999px; background: var(--mqh-accent); color: #fff !important; font-weight: 700; text-decoration: none; }

/* Footer */
.site-footer { background: var(--mqh-ink); color: #e8dfd4; margin-top: 3rem; }
/* Ép màu chữ footer — air-light đặt p{color:#000} đè inheritance → chữ đen trên nền tối (trùng màu) */
.site-footer p, .site-footer li, .site-footer span { color: #e0d6c8; }
.site-footer .mqh-wrap { padding-block: clamp(2rem, 5vw, 3rem); }
.mqh-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: var(--mqh-gap); }
.mqh-foot-brand strong, .mqh-foot-info strong, .mqh-foot-offices strong { font-size: 1.05rem; color: #fff; display: block; margin-bottom: 0.5rem; }
.mqh-foot-brand > strong { font-size: 1.15rem; }
.site-footer a { color: #f0c89a; }
.site-footer a:hover { color: #fff; }
.site-footer small { color: #b3a695; }
.mqh-foot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; }
.mqh-foot-social a { display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid rgba(240,200,154,.32); border-radius: 999px; font-size: 0.85rem; font-weight: 600; transition: background .16s ease, border-color .16s ease; }
.mqh-foot-social a:hover { background: rgba(240,200,154,.12); border-color: #f0c89a; }
.mqh-foot-offices p { margin: 0 0 0.5rem; font-size: 0.9rem; line-height: 1.5; }
.mqh-foot-offices span { color: #f0c89a; font-weight: 600; }
.mqh-foot-copy { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(240,200,154,.14); }
@media (max-width: 820px) { .mqh-foot-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Page hero (Giới thiệu / Liên hệ / Sản phẩm) */
.mqh-page-hero { background: var(--mqh-surface); border-bottom: 1px solid var(--mqh-line); padding: clamp(1.75rem, 5vw, 3rem) 0; }
.mqh-page-hero h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.02em; }

/* Prose (nội dung trang tĩnh) */
.mqh-prose { max-width: 720px; }
.mqh-prose h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.mqh-prose p, .mqh-prose li { font-size: 1.05rem; }
.mqh-prose ul { padding-left: 1.2rem; }
.mqh-prose a:not(.mqh-btn) { color: var(--mqh-accent); text-decoration: underline; }

/* Contact */
.mqh-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.mqh-contact-info h2, .mqh-contact-form h2 { font-size: 1.2rem; margin: 0 0 1rem; }
.mqh-form label { display: block; margin-bottom: 0.9rem; font-weight: 600; font-size: 0.95rem; }
.mqh-form input, .mqh-form textarea { display: block; width: 100%; margin-top: 0.35rem; padding: 0.65rem 0.8rem; border: 1px solid var(--mqh-line); border-radius: 8px; font: inherit; font-weight: 400; background: var(--mqh-surface); }
.mqh-form input:focus, .mqh-form textarea:focus { outline: none; border-color: var(--mqh-accent); }

/* WooCommerce — lưới sản phẩm 3 cột theo brand */
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mqh-gap); }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; } /* bỏ clearfix float của Woo */
/* Reset width/float/margin lõi Woo (mặc định là float layout) để CSS Grid toàn quyền dàn card */
.woocommerce ul.products li.product { width: auto !important; float: none !important; clear: none !important; margin: 0 !important; background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); overflow: hidden; padding: 0; text-align: center; transition: box-shadow .18s ease, transform .18s ease; }
.woocommerce ul.products li.product:hover { box-shadow: 0 8px 28px rgba(42,32,24,.1); transform: translateY(-2px); }
.woocommerce ul.products li.product a { text-decoration: none; color: var(--mqh-ink); }
.woocommerce ul.products li.product img { aspect-ratio: 1/1; object-fit: cover; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0.9rem 1rem 1.1rem; font-weight: 600; font-size: 1rem; }
/* catalog mode — ẩn mọi giá ($0.00) ở grid lẫn trang chi tiết */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { display: none; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0; }
.woocommerce span.onsale { display: none; }
/* nút Đặt qua Zalo ở trang chi tiết — đứng độc lập, không mượn .button của Woo */
.woocommerce div.product .mqh-zalo-btn { display: inline-block; margin: 0.5rem 0 1rem; padding: 0.75rem 1.6rem; border-radius: 999px; background: var(--mqh-accent); color: #fff !important; font-weight: 700; text-decoration: none; }
.woocommerce div.product .mqh-zalo-btn:hover { opacity: .92; }

/* Signature move: in-view fade-up (một lần). Chỉ ẩn khi JS đã bật .has-reveal → an toàn khi không có JS. */
.has-reveal .mqh-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.has-reveal .mqh-reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .mqh-hero-grid { grid-template-columns: 1fr; }
  .mqh-hero-img { order: -1; }
  .mqh-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .mqh-foot-grid { grid-template-columns: 1fr; }
  .mqh-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mqh-product-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .mqh-proof-inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.5rem; }
  .mqh-proof-item:nth-child(3)::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mqh-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   TRANG DANH MỤC kiểu DH Foods (page-tat-ca-san-pham)
   ============================================================ */
/* Hero căn giữa trên nền kem, có texture nhẹ */
.mqh-cat-hero { text-align: center; background:
    radial-gradient(120% 80% at 50% 0%, #fff 0%, var(--mqh-bg) 70%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.mqh-cat-hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); letter-spacing: -0.02em; margin: 0 0 0.5rem; color: var(--mqh-accent); }
.mqh-cat-hero-sub { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--mqh-ink); margin: 0 0 1rem; font-size: clamp(0.95rem, 2vw, 1.25rem); }
.mqh-cat-hero-desc { max-width: 62ch; margin: 0 auto; color: var(--mqh-ink-soft); font-size: 1.05rem; line-height: 1.7; }

/* Hàng số liệu — số lớn màu nhấn, có vạch ngăn dọc */
.mqh-stats { background: var(--mqh-bg); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3rem); }
.mqh-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.mqh-stat { position: relative; padding: 0.25rem 0.5rem; }
.mqh-stat + .mqh-stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--mqh-line); }
.mqh-stat strong { display: block; font-size: clamp(1.8rem, 4.5vw, 3rem); line-height: 1; color: var(--mqh-accent); font-weight: 800; letter-spacing: -0.02em; }
.mqh-stat strong span { font-size: 0.5em; vertical-align: super; margin-left: 2px; }
.mqh-stat > span { display: block; margin-top: 0.5rem; color: var(--mqh-ink-soft); font-size: 0.9rem; line-height: 1.4; }

/* Pills lọc danh mục */
.mqh-cat-pills-wrap { background: var(--mqh-surface); border-block: 1px solid var(--mqh-line); padding: 1.25rem 0; position: sticky; top: 0; z-index: 30; }
.mqh-cat-pills-hint { margin: 0 0 0.7rem; font-size: 0.9rem; color: var(--mqh-ink-soft); font-style: italic; }
.mqh-cat-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mqh-pill { display: inline-block; padding: 0.5rem 1.1rem; border: 1.5px solid var(--mqh-line); border-radius: 999px; text-decoration: none; color: var(--mqh-ink); font-weight: 600; font-size: 0.92rem; transition: background .16s ease, color .16s ease, border-color .16s ease; white-space: nowrap; }
.mqh-pill:hover, .mqh-pill:focus { background: var(--mqh-accent); color: #fff; border-color: var(--mqh-accent); }

/* Khối danh mục + tiêu đề căn giữa */
.mqh-cat-section { padding: clamp(2rem, 5vw, 3.5rem) 0; scroll-margin-top: 84px; }
.mqh-cat-section:nth-child(even) { background: var(--mqh-surface); }
.mqh-cat-title { text-align: center; color: var(--mqh-accent); font-size: clamp(1.4rem, 3.2vw, 2.1rem); margin: 0 0 0.5rem; }
.mqh-cat-desc { text-align: center; max-width: 60ch; margin: 0 auto 2rem; color: var(--mqh-ink-soft); }

/* Lưới catalog 4 cột + card có badge */
.mqh-catalog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--mqh-gap); }
.mqh-catalog-grid .mqh-product-card { background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.mqh-catalog-grid .mqh-product-card:hover { box-shadow: 0 12px 32px rgba(42,32,24,.12); transform: translateY(-4px); border-color: var(--mqh-accent); }
.mqh-catalog-grid a { text-decoration: none; color: var(--mqh-ink); display: flex; flex-direction: column; height: 100%; }
.mqh-card-media { position: relative; aspect-ratio: 1/1; background: var(--mqh-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mqh-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mqh-product-card:hover .mqh-card-media img { transform: scale(1.05); }
.mqh-card-noimg { width: 46%; height: 46%; border-radius: 10px; background:
    repeating-linear-gradient(135deg, #efe7d8 0 10px, #f5efe4 10px 20px); }
.mqh-spec-badge { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; background: var(--mqh-ink); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: 999px; letter-spacing: 0.02em; }
.mqh-catalog-grid .mqh-product-name { display: block; padding: 0.85rem 0.9rem 0.3rem; font-weight: 600; font-size: 0.98rem; line-height: 1.35; flex: 1 0 auto; }
.mqh-card-cta { display: block; padding: 0 0.9rem 1rem; color: var(--mqh-accent); font-weight: 600; font-size: 0.9rem; }

@media (max-width: 1000px) { .mqh-catalog-grid { grid-template-columns: repeat(3, 1fr); } .mqh-stats-grid { gap: 0.5rem; } }
@media (max-width: 720px)  { .mqh-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  {
  .mqh-catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .mqh-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.5rem; }
  .mqh-stat:nth-child(3)::before { display: none; }
}

/* ============================================================
   Trang nội dung: Về chúng tôi / Đại lý / Truyền thông / Kiến thức
   ============================================================ */
.mqh-surface-band { background: var(--mqh-surface); border-block: 1px solid var(--mqh-line); }
.mqh-page-hero-intro { margin: 0.75rem 0 0; color: var(--mqh-ink-soft); max-width: 60ch; font-size: 1.05rem; }

/* 3 trụ cột sứ mệnh */
.mqh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mqh-gap); }
.mqh-pillar { background: var(--mqh-bg); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); padding: 1.75rem 1.5rem; position: relative; }
.mqh-pillar-no { display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--mqh-accent); opacity: .35; letter-spacing: -0.02em; }
.mqh-pillar h3 { font-size: 1.12rem; margin: 0.4rem 0 0.6rem; line-height: 1.35; }
.mqh-pillar p { margin: 0; color: var(--mqh-ink-soft); line-height: 1.6; }

/* Mốc thời gian */
.mqh-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mqh-gap); }
.mqh-tl-item { text-align: center; padding: 1.5rem 1rem; border-top: 3px solid var(--mqh-accent); background: var(--mqh-surface); border-radius: 0 0 var(--mqh-radius) var(--mqh-radius); }
.mqh-tl-item strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--mqh-accent); letter-spacing: -0.02em; }
.mqh-tl-item span { display: block; margin-top: 0.5rem; color: var(--mqh-ink-soft); font-size: 0.95rem; line-height: 1.5; }

/* Kênh mua hàng */
.mqh-channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.mqh-channel { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem 1rem; background: var(--mqh-bg); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); text-decoration: none; color: var(--mqh-ink); text-align: center; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.mqh-channel:hover { box-shadow: 0 8px 24px rgba(42,32,24,.1); transform: translateY(-3px); border-color: var(--mqh-accent); }
.mqh-channel strong { font-size: 1.05rem; color: var(--mqh-accent); }
.mqh-channel span { font-size: 0.85rem; color: var(--mqh-ink-soft); }
.mqh-channel--soon { opacity: .6; pointer-events: none; }
.mqh-channel-note { font-size: 0.72rem; font-style: normal; margin-top: 0.2rem; color: var(--mqh-ink-soft); }

/* Lưới bài viết (Truyền thông / Kiến thức) */
.mqh-post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--mqh-gap); }
.mqh-post-card { background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-radius: var(--mqh-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.mqh-post-card:hover { box-shadow: 0 12px 32px rgba(42,32,24,.12); transform: translateY(-4px); }
.mqh-post-card a { text-decoration: none; color: var(--mqh-ink); display: flex; flex-direction: column; height: 100%; }
.mqh-post-media { aspect-ratio: 16/10; background: var(--mqh-bg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mqh-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mqh-post-card:hover .mqh-post-media img { transform: scale(1.05); }
.mqh-post-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1 0 auto; }
.mqh-post-body time { font-size: 0.82rem; color: var(--mqh-accent); font-weight: 600; }
.mqh-post-title { font-size: 1.08rem; line-height: 1.4; margin: 0.4rem 0 0.5rem; }
.mqh-post-excerpt { margin: 0 0 0.9rem; color: var(--mqh-ink-soft); font-size: 0.95rem; line-height: 1.6; flex: 1 0 auto; }
.mqh-empty { text-align: center; color: var(--mqh-ink-soft); padding: 3rem 1rem; }

@media (max-width: 900px) {
  .mqh-pillars, .mqh-timeline, .mqh-post-grid { grid-template-columns: 1fr; }
  .mqh-channels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .mqh-post-grid { grid-template-columns: 1fr; }
}

/* Video (facade — artwork gánh màu, chrome im lặng) */
.mqh-video-wrap { text-align: center; }
.mqh-video-facade, .mqh-video-iframe { display: block; width: 100%; max-width: 840px; margin: 1.5rem auto 0; aspect-ratio: 16/9; border: 0; border-radius: var(--mqh-radius); }
.mqh-video-facade { position: relative; padding: 0; cursor: pointer; overflow: hidden; box-shadow: 0 18px 44px rgba(42,32,24,.2); background: var(--mqh-ink); }
.mqh-video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mqh-video-facade:hover img { transform: scale(1.03); }
.mqh-video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,32,24,.12), rgba(42,32,24,.32)); transition: background .2s ease; }
.mqh-video-facade:hover::after { background: linear-gradient(180deg, rgba(42,32,24,.06), rgba(42,32,24,.2)); }
.mqh-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 74px; height: 74px; border-radius: 50%; background: var(--mqh-accent); z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .18s ease; }
.mqh-play::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%,-50%); border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.mqh-video-facade:hover .mqh-play { transform: translate(-50%,-50%) scale(1.08); }

/* ============================================================
   Hero banner thật · section câu chuyện · vòng sáng video
   ============================================================ */
/* Hero banner (ảnh gánh màu) */
.mqh-hero-banner { background: linear-gradient(180deg, #fff 0%, var(--mqh-bg) 100%); padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.mqh-hero-banner-media { max-width: 1360px; margin: 0 auto; }
.mqh-hero-banner-img { display: block; width: 100%; height: auto; }
.mqh-hero-banner-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: clamp(0.75rem, 2.5vw, 1.5rem); padding-inline: 1rem; }

/* Section câu chuyện: ảnh thật + chữ (ảnh gánh màu, chrome im lặng) */
.mqh-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.mqh-feature-media img { display: block; width: 100%; border-radius: var(--mqh-radius); box-shadow: 0 18px 44px rgba(42,32,24,.16); }
.mqh-feature-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: 0.25rem 0 1rem; color: var(--mqh-ink); line-height: 1.2; }
.mqh-feature-text > p { color: var(--mqh-ink-soft); line-height: 1.75; font-size: 1.05rem; }
.mqh-feature-text .mqh-hero-eyebrow { margin-bottom: 0.25rem; }
@media (max-width: 820px) { .mqh-feature { grid-template-columns: 1fr; } .mqh-feature-media { order: -1; } }

/* Video: vòng sáng động (bắt mắt) — conic gradient mờ xoay + thở nhẹ */
.mqh-video-stage { position: relative; max-width: 860px; margin: 1.75rem auto 0; }
.mqh-video-ring { position: absolute; inset: -7px; z-index: 0; border-radius: calc(var(--mqh-radius) + 7px); pointer-events: none;
  background: conic-gradient(from 0deg, var(--mqh-accent), #e0a32e, #d38e4a, var(--mqh-accent));
  filter: blur(11px); opacity: .55; animation: mqhRingSpin 9s linear infinite, mqhRingPulse 3.2s ease-in-out infinite; }
@keyframes mqhRingSpin { to { transform: rotate(360deg); } }
@keyframes mqhRingPulse { 0%,100% { opacity: .42; } 50% { opacity: .66; } }
.mqh-video-stage .mqh-video-facade, .mqh-video-stage .mqh-video-iframe { position: relative; z-index: 1; margin: 0; max-width: none; width: 100%; background: #000; }
@media (prefers-reduced-motion: reduce) { .mqh-video-ring { animation: none; opacity: .4; } }

/* Preloader (màn chào — bám dhfoods): nền đỏ brand + wordmark + thanh loading */
.mqh-preloader { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; background: var(--mqh-accent); transition: opacity .55s ease, visibility .55s; }
.mqh-preloader-brand { color: #fff; font-size: clamp(2rem, 8vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; animation: mqhPreIn .7s cubic-bezier(.2,.7,.2,1) both; }
.mqh-preloader-bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.mqh-preloader-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: #fff; border-radius: 3px; animation: mqhPreBar 1s ease-in-out infinite; }
.mqh-preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes mqhPreIn { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes mqhPreBar { 0% { left: -40%; } 100% { left: 100%; } }

/* Hợp tác kinh doanh (bám dhfoods #business-cooperation) — link-card sạch */
.mqh-biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--mqh-gap); margin-top: 0.5rem; }
.mqh-biz-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem 1.4rem; background: var(--mqh-surface); border: 1px solid var(--mqh-line); border-top: 3px solid var(--mqh-accent); border-radius: var(--mqh-radius); text-decoration: none; color: var(--mqh-ink); transition: box-shadow .18s ease, transform .18s ease; }
.mqh-biz-card:hover { box-shadow: 0 12px 30px rgba(42,32,24,.12); transform: translateY(-4px); }
.mqh-biz-card strong { font-size: 1.1rem; line-height: 1.3; }
.mqh-biz-desc { color: var(--mqh-ink-soft); font-size: 0.94rem; line-height: 1.55; flex: 1 0 auto; }
.mqh-biz-cta { color: var(--mqh-accent); font-weight: 700; font-size: 0.9rem; margin-top: 0.25rem; }
@media (max-width: 900px) { .mqh-biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mqh-biz-grid { grid-template-columns: 1fr; } }
