/* =========================================================
   HoneyBee (matong) — Premium honey e-commerce mockup
   Prefix: .mt-*  |  Variables: --mt-*
   Stack: Vanilla HTML + CSS variables (WP-ready)
   ========================================================= */

/* ===== CSS VARIABLES — Warm Honey Lifestyle ===== */
:root {
    /* Palette — warm honey amber, NO navy/cool tone */
    --mt-primary:        #E89B0F;  /* deeper warm honey amber */
    --mt-primary-light:  #FBC02D;  /* sunny yellow */
    --mt-primary-dark:   #C77D00;  /* deeper amber for hover */
    --mt-primary-bg:     #FCEDC8;  /* warmer cream tint */
    --mt-accent:         #C2410C;  /* warm rust for badges/price */

    --mt-text:           #3D2611;  /* warm dark brown — NO navy */
    --mt-text-soft:      #5C3D1F;  /* warm medium brown */
    --mt-text-muted:     #8B6F4C;  /* warm taupe */
    --mt-text-light:     #B8A076;

    --mt-bg:             #FEF5E0;  /* warm cream main background */
    --mt-bg-alt:         #FAEACA;  /* deeper cream for section alt */
    --mt-card-bg:        #FFFBF0;  /* very light cream — cards */
    --mt-white:          #FFFDF7;  /* slightly warm off-white */
    --mt-cream:          #FCEDC8;
    --mt-dark:           #2D1B0E;  /* warm dark brown for footer */
    --mt-dark-soft:      #4A2F1A;  /* hover state warm dark */

    --mt-border:         rgba(139,111,76,0.18);
    --mt-border-soft:    rgba(139,111,76,0.10);

    /* Shadows — warm amber tinted */
    --mt-shadow-xs:  0 1px 2px rgba(61,38,17,0.05);
    --mt-shadow-sm:  0 2px 8px rgba(61,38,17,0.06), 0 1px 2px rgba(61,38,17,0.04);
    --mt-shadow:     0 4px 16px rgba(232,155,15,0.10), 0 2px 4px rgba(61,38,17,0.04);
    --mt-shadow-md:  0 8px 30px rgba(232,155,15,0.14), 0 4px 10px rgba(61,38,17,0.05);
    --mt-shadow-lg:  0 16px 50px rgba(232,155,15,0.18), 0 8px 20px rgba(61,38,17,0.06);

    /* Radius */
    --mt-radius:       14px;
    --mt-radius-sm:    8px;
    --mt-radius-lg:    20px;
    --mt-radius-full:  999px;

    /* Transitions */
    --mt-transition:      0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --mt-transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --mt-container:        1240px;
    --mt-container-narrow: 960px;
    --mt-section-pad:      88px 0;     /* unified rhythm across all content sections */
    --mt-section-pad-sm:   56px 0;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { overflow-x: hidden; }
body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--mt-text);
    background: var(--mt-bg);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;     /* GUARD: chặn horizontal scroll bất kể element con có overflow */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--mt-transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--mt-primary); color: var(--mt-white); }

/* ===== LAYOUT ===== */
.mt-container {
    max-width: var(--mt-container);
    margin: 0 auto;
    padding: 0 24px;
}
.mt-section { padding: var(--mt-section-pad); }
.mt-section-tight { padding: 56px 0; }

.mt-section-header {
    text-align: center;
    margin-bottom: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.mt-label {
    display: block;
    font-family: 'Dancing Script', 'Be Vietnam Pro', cursive;
    font-size: 2rem;
    font-weight: 500;
    color: var(--mt-primary-dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 0;
    /* No background, no border, no pill */
}
.mt-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--mt-text);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mt-section-title .mt-title-accent { color: inherit; }

/* Decorative ornament — line + honey icon + line */
.mt-section-ornament {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    margin-top: 4px;
}
.mt-section-ornament::before,
.mt-section-ornament::after {
    content: '';
    width: 56px;
    height: 1px;
    background: var(--mt-primary);
    opacity: 0.5;
}
.mt-section-ornament svg {
    width: 30px; height: 30px;
    color: var(--mt-primary-dark);
    flex-shrink: 0;
}

.mt-section-desc {
    font-size: 1rem;
    color: var(--mt-text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTONS ===== */
.mt-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--mt-radius-full);
    font-weight: 600; font-size: 0.92rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--mt-transition);
    white-space: nowrap;
    line-height: 1.2;
}
.mt-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.mt-btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.mt-btn-lg { padding: 16px 32px; font-size: 1rem; }

.mt-btn-primary {
    background: var(--mt-primary);
    color: var(--mt-white);
    border-color: var(--mt-primary);
    box-shadow:
        0 1px 2px rgba(245,158,11,0.20),
        0 4px 14px rgba(245,158,11,0.22),
        inset 0 1px 0 rgba(255,255,255,0.18);
}
.mt-btn-primary:hover {
    background: var(--mt-primary-dark);
    border-color: var(--mt-primary-dark);
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(245,158,11,0.24),
        0 10px 28px rgba(245,158,11,0.34),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

.mt-btn-outline {
    background: transparent;
    color: var(--mt-primary-dark);
    border-color: var(--mt-primary);
}
.mt-btn-outline:hover {
    background: var(--mt-primary-bg);
    transform: translateY(-2px);
}

.mt-btn-ghost {
    background: var(--mt-card-bg);
    color: var(--mt-text);
    border-color: var(--mt-border);
    box-shadow: var(--mt-shadow-sm);
}
.mt-btn-ghost:hover {
    border-color: var(--mt-primary);
    color: var(--mt-primary-dark);
    transform: translateY(-2px);
}

.mt-btn-white {
    background: var(--mt-card-bg);
    color: var(--mt-primary-dark);
}
.mt-btn-white:hover { transform: translateY(-2px); box-shadow: var(--mt-shadow-md); color: var(--mt-primary-dark); }

/* Outlined button (light bg context — for honey cam CTA panel) */
.mt-btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.55);
    box-shadow: none;
}
.mt-btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* About page CTA section — premium 2-button layout */
.mt-about-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
.mt-about-cta-btn-primary {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: #ffffff !important;
    color: var(--mt-primary-dark) !important;
    box-shadow: 0 10px 28px rgba(15,42,63,0.18), 0 4px 10px rgba(15,42,63,0.08) !important;
    transition: var(--mt-transition);
}
.mt-about-cta-btn-primary svg {
    width: 18px; height: 18px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mt-about-cta-btn-primary:hover svg { transform: translateX(4px); }
.mt-about-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15,42,63,0.24), 0 6px 14px rgba(15,42,63,0.10) !important;
    color: var(--mt-primary-dark) !important;
}
.mt-about-cta-btn-secondary {
    /* uses .mt-btn-outline-light */
}
@media (max-width: 768px) {
    .mt-about-cta-actions { justify-content: center; gap: 10px; }
    .mt-about-cta-actions .mt-btn-lg { flex: 1 1 100%; justify-content: center; }
}

/* ===== TOP BAR ===== */
.mt-topbar {
    background: var(--mt-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    padding: 9px 0;
}
.mt-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mt-topbar-left { display: flex; align-items: center; gap: 24px; }
.mt-topbar-left span { display: flex; align-items: center; gap: 6px; }
.mt-topbar-left svg { width: 14px; height: 14px; color: var(--mt-primary-light); }
.mt-topbar-right { display: flex; align-items: center; gap: 18px; }
.mt-topbar-right a { color: rgba(255,255,255,0.85); transition: var(--mt-transition-fast); }
.mt-topbar-right a:hover { color: var(--mt-primary-light); }
.mt-topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }

/* ===== HEADER ===== */
.mt-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(254,245,224,0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--mt-border-soft);
    transition: var(--mt-transition);
}
.mt-header.mt-scrolled {
    box-shadow: var(--mt-shadow-sm);
    background: rgba(254,245,224,0.98);
}
.mt-header-inner {
    display: flex; align-items: center; gap: 32px;
    height: 80px;
}
.mt-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.4rem; font-weight: 800;
    color: var(--mt-text);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.mt-logo svg { width: 40px; height: 40px; }
.mt-logo-accent { color: var(--mt-primary); }

/* Custom uploaded logo (Site Identity → Custom Logo). Hides text span automatically. */
.mt-logo .mt-logo-img {
    display: block;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mt-header .mt-logo .mt-logo-img { max-height: 52px; }
.mt-mobile-nav .mt-logo .mt-logo-img { max-height: 44px; }
.mt-footer .mt-logo-footer .mt-logo-img {
    max-height: 56px;
    filter: brightness(1.05);
}
/* When custom logo IMG present, hide fallback text span */
.mt-logo:has(.mt-logo-img) > span:not(.screen-reader-text) { display: none; }
/* Also hide fallback inline SVG when custom logo IMG present */
.mt-logo:has(.mt-logo-img) > svg { display: none; }

.mt-nav { margin-left: auto; }
.mt-nav-menu { display: flex; gap: 36px; align-items: center; }
.mt-nav-menu > li > a {
    font-weight: 500; font-size: 0.95rem;
    color: var(--mt-text-soft);
    padding: 8px 0;
    position: relative;
}
.mt-nav-menu > li > a:hover { color: var(--mt-primary-dark); }
.mt-nav-menu > li > a.is-active { color: var(--mt-primary-dark); font-weight: 600; }
.mt-nav-menu > li > a::after {
    content: ''; position: absolute; left: 50%; bottom: 0;
    width: 0; height: 2px; background: var(--mt-primary);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
    border-radius: 2px;
}
.mt-nav-menu > li > a:hover::after,
.mt-nav-menu > li > a.is-active::after { width: 22px; }

.mt-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }
.mt-header-iconbtn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--mt-text-soft);
    background: transparent;
    transition: var(--mt-transition-fast);
    position: relative;
}
.mt-header-iconbtn:hover { background: var(--mt-primary-bg); color: var(--mt-primary-dark); }
.mt-header-iconbtn svg { width: 20px; height: 20px; }
.mt-cart-badge {
    position: absolute; top: 4px; right: 4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--mt-accent); color: white;
    font-size: 0.65rem; font-weight: 700;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid var(--mt-bg);
}
/* Top bar social icons (optional, replaces login/register links) */
.mt-topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.mt-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s ease, transform 0.2s ease;
}
.mt-topbar-social a:hover { color: var(--mt-primary); transform: translateY(-1px); }
.mt-topbar-social svg { width: 14px; height: 14px; }

/* Logged-in dot indicator on account icon */
.mt-header-account .mt-account-dot {
    position: absolute; top: 6px; right: 6px;
    width: 9px; height: 9px;
    background: #10B981;     /* emerald — online indicator */
    border-radius: 50%;
    border: 2px solid var(--mt-bg);
    pointer-events: none;
}
.mt-hamburger {
    display: none;
    width: 42px; height: 42px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--mt-text);
}
.mt-hamburger:hover { background: var(--mt-primary-bg); }
.mt-hamburger svg { width: 22px; height: 22px; }

/* Mobile nav — SIBLING của header (per P2 backdrop-filter trap) */
.mt-mobile-nav {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15,23,42,0.5);
}
.mt-mobile-nav.is-active { display: flex; }
.mt-mobile-nav-panel {
    width: min(320px, 86vw); height: 100%;
    background: var(--mt-bg);
    margin-left: auto;
    padding: 24px;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
}
.mt-mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--mt-border-soft); }
.mt-mobile-nav-close {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--mt-text);
}
.mt-mobile-nav-close:hover { background: var(--mt-primary-bg); }
.mt-mobile-nav-close svg { width: 20px; height: 20px; }
.mt-mobile-nav-links { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
.mt-mobile-nav-links li,
.mt-mobile-nav-links .menu-item { list-style: none; padding: 0; margin: 0; }
.mt-mobile-nav-links a {
    display: block;
    padding: 14px 4px; font-weight: 500; font-size: 1rem;
    border-bottom: 1px solid var(--mt-border-soft);
    color: var(--mt-text);
    text-decoration: none;
}
.mt-mobile-nav-links a:hover { color: var(--mt-primary-dark); }
.mt-mobile-nav-links .current-menu-item > a,
.mt-mobile-nav-links .current_page_item > a { color: var(--mt-primary-dark); font-weight: 700; }
.mt-mobile-nav-cta { margin-top: 16px; }

/* ===== HERO ===== */
.mt-hero {
    position: relative;
    padding: 112px 0 96px;
    background:
        linear-gradient(90deg, rgba(255,248,235,0.96) 0%, rgba(255,248,235,0.82) 26%, rgba(255,248,235,0.40) 50%, rgba(255,248,235,0.05) 68%, rgba(255,248,235,0) 80%),
        url('/wp-content/uploads/2026/05/honey-hero-scaled.jpeg') no-repeat center center / cover,
        var(--mt-primary-bg);
    overflow: visible;
}
.mt-hero::before { display: none; }
.mt-hero-grid {
    display: block;
    position: relative;
    z-index: 2;
}
.mt-hero-content { max-width: 600px; }
.mt-hero-visual { display: none; }
.mt-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--mt-primary-dark);
    padding: 8px 16px;
    background: var(--mt-card-bg);
    border: 1px solid rgba(245,158,11,0.22);
    border-radius: var(--mt-radius-full);
    box-shadow: var(--mt-shadow-sm);
    margin-bottom: 24px;
}
.mt-hero-badge svg { width: 16px; height: 16px; color: var(--mt-primary); }
.mt-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--mt-text);
    margin-bottom: 20px;
}
.mt-hero h1 .mt-hero-sub-title {
    display: block;
    font-size: 0.5em;
    font-weight: 600;
    color: var(--mt-primary-dark);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.mt-hero h1 .mt-hero-highlight { color: var(--mt-primary); }
.mt-hero-desc {
    font-size: 1.05rem;
    color: var(--mt-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
}
.mt-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.mt-hero-trust {
    display: flex; align-items: center; gap: 18px;
    padding: 14px 18px;
    background: var(--mt-card-bg);
    border: 1px solid var(--mt-border-soft);
    border-radius: var(--mt-radius);
    box-shadow: var(--mt-shadow-sm);
    width: fit-content;
    max-width: 100%;
}
.mt-hero-trust-avatars { display: flex; }
.mt-hero-trust-avatars img {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--mt-white);
    object-fit: cover;
    margin-left: -10px;
}
.mt-hero-trust-avatars img:first-child { margin-left: 0; }
.mt-hero-trust-text strong { display: block; font-size: 0.9rem; color: var(--mt-text); font-weight: 700; }
.mt-hero-trust-text span { font-size: 0.78rem; color: var(--mt-text-muted); }

.mt-hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    justify-self: end;
}
.mt-hero-visual-circle {
    position: absolute; inset: -4%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--mt-cream), var(--mt-primary-bg) 60%, transparent 75%);
    z-index: 0;
}
.mt-hero-visual-img {
    position: absolute;
    top: 4%; left: 4%; right: 4%; bottom: 4%;
    width: 92%; height: 92%;
    display: block;
    object-fit: cover;
    border-radius: 28px;
    z-index: 2;
    box-shadow:
        0 20px 60px rgba(199,125,0,0.25),
        0 8px 20px rgba(61,38,17,0.10);
}

/* USP wrap — sibling row giữa hero & categories, transparent BG, 2-way negative margin straddle */
.mt-hero-usp-wrap {
    position: relative;
    z-index: 5;
    margin-top: -55px;      /* USP pull lên overlap hero bottom 55px */
    margin-bottom: -55px;   /* categories pull lên overlap USP bottom 55px → boundary = USP mid */
    pointer-events: none;   /* let cards have own pointer */
}
.mt-hero-usp-wrap .mt-container { pointer-events: auto; }
.mt-hero-usp {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    background: #ffffff;
    padding: 22px;
    border-radius: var(--mt-radius-lg);
    box-shadow: var(--mt-shadow-md);
    border: 1px solid var(--mt-border-soft);
}
/* Categories: extra top padding = USP bottom-half overhang + 56px visual breathing room */
.mt-categories.mt-section { padding-top: 120px; }
.mt-hero-usp-item {
    display: flex; align-items: center; gap: 14px;
    padding: 8px;
}
.mt-hero-usp-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--mt-primary-bg);
    color: var(--mt-primary-dark);
    display: flex; align-items: center; justify-content: center;
}
.mt-hero-usp-icon svg { width: 24px; height: 24px; }
.mt-hero-usp-text strong {
    display: block; font-size: 0.92rem; color: var(--mt-text); font-weight: 700; line-height: 1.3;
}
.mt-hero-usp-text span {
    display: block; font-size: 0.78rem; color: var(--mt-text-muted); margin-top: 2px;
}

/* ===== CATEGORIES SECTION ===== */
.mt-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.mt-cat-card {
    display: block;
    background: linear-gradient(180deg, #FFF1D6 0%, #FCE6BE 100%);
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(199,125,0,0.10), 0 1px 3px rgba(61,38,17,0.06);
    transition: var(--mt-transition);
    text-align: center;
}
.mt-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(199,125,0,0.20), 0 4px 10px rgba(61,38,17,0.08);
}
.mt-cat-card-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: transparent;
    padding: 16px;
    box-sizing: border-box;
}
.mt-cat-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
    display: block;
}
.mt-cat-card:hover .mt-cat-card-img img { transform: scale(1.06); }
.mt-cat-card-body {
    padding: 6px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.mt-cat-card-body h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--mt-text);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}
.mt-cat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--mt-primary-dark);
    transition: var(--mt-transition-fast);
}
.mt-cat-card-link svg {
    width: 14px; height: 14px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mt-cat-card:hover .mt-cat-card-link { color: var(--mt-accent); }
.mt-cat-card:hover .mt-cat-card-link svg { transform: translateX(4px); }

/* ===== CATEGORIES section — white background ===== */
.mt-categories {
    background: #ffffff;
}

/* ===== BESTSELLER (PRODUCTS) — Cách 1: ảnh background user upload =====
 * Ảnh honey-bg: 2560×1429, aspect 1.79:1 (~16:9)
 * Strategy: set section min-height = viewport-width / image-aspect → section luôn match aspect ảnh
 * → background-size cover hiển thị full ảnh không crop, không khoảng trống
 */
.mt-bestseller {
    position: relative;
    background:
        url('/wp-content/uploads/2026/05/honey-bg-scaled.jpeg') no-repeat center center / cover,
        var(--mt-bg-alt);
    padding: 88px 0;        /* unified rhythm với các section khác */
    box-sizing: border-box;
}
/* Ẩn 2 con ong bay nếu ảnh BG đã có ong sẵn */
.mt-bestseller .mt-bee { display: none; }
.mt-bestseller > .mt-container { position: relative; z-index: 1; }
.mt-bestseller .mt-section-header { margin-bottom: 36px; }

@media (max-width: 1024px) {
    .mt-bestseller { padding: 64px 0; }
    .mt-bestseller .mt-section-header { margin-bottom: 28px; }
}
@media (max-width: 768px) {
    .mt-bestseller { padding: 48px 0; background-size: cover; }
    .mt-bestseller .mt-section-header { margin-bottom: 24px; }
}
.mt-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.mt-product-card {
    background: #ffffff;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(199,125,0,0.12), 0 2px 6px rgba(61,38,17,0.04);
    transition: var(--mt-transition);
    display: flex; flex-direction: column;
    position: relative;
    padding: 12px 12px 16px;
}
.mt-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(199,125,0,0.20), 0 6px 14px rgba(61,38,17,0.08);
}
.mt-product-card-image {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--mt-bg-alt);
    position: relative;
    border-radius: 14px;
    margin-bottom: 16px;
}
.mt-product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.mt-product-card:hover .mt-product-card-image img { transform: scale(1.05); }

/* Badge — unified pill style cho tất cả labels (Bán chạy, Mới, Best, -15%) */
.mt-product-badge,
.mt-product-badge-new {
    position: absolute;
    top: 8px; left: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    height: 22px;
    padding: 0 9px;
    background: linear-gradient(135deg, #F7A436 0%, #E76F3F 100%);
    color: #ffffff;
    font-size: 0.65rem; font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: 0.04em;
    z-index: 3;
    box-shadow: 0 3px 8px rgba(231,111,63,0.28);
    white-space: nowrap;
}

/* Hide wishlist + category (not in PNG design) */
.mt-product-wishlist,
.mt-product-cat { display: none !important; }

.mt-product-card-body {
    padding: 0;
    display: flex; flex-direction: column; flex: 1;
}
.mt-product-title {
    font-size: 0.96rem; font-weight: 600; line-height: 1.4;
    color: var(--mt-text); margin: 0 0 6px;
    min-height: 2.8em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.mt-product-title a { color: inherit; }
.mt-product-title a:hover { color: var(--mt-accent); }

.mt-product-rating {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--mt-text-muted);
    margin: 0 0 6px;
    line-height: 1;
}
.mt-product-rating-stars { display: inline-flex; gap: 1px; color: #FBB040; }
.mt-product-rating-stars svg { width: 15px; height: 15px; }

.mt-product-price {
    display: flex; align-items: baseline; gap: 8px; flex-wrap: nowrap;
    flex: 1 0 auto;
    margin: 0 0 12px;
    overflow: hidden;
}
.mt-product-price-current {
    font-size: 1.25rem; font-weight: 800;
    color: #E76F3F;
    letter-spacing: -0.01em;
}
.mt-product-price-old {
    font-size: 0.86rem; color: var(--mt-text-light);
    text-decoration: line-through;
    font-weight: 500;
}

/* Outline rounded button matching PNG */
.mt-product-cart {
    width: 100%;
    margin-top: auto;
    padding: 13px 16px;
    background: transparent;
    color: var(--mt-primary-dark);
    border-radius: 10px;
    font-weight: 700; font-size: 0.84rem;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 1px solid rgba(232,155,15,0.35);
    transition: var(--mt-transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: none;
    cursor: pointer;
    text-decoration: none;
}
.mt-product-cart svg { width: 15px; height: 15px; display: none; }
.mt-product-cart:hover {
    background: var(--mt-primary);
    border-color: var(--mt-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245,158,11,0.30);
}

.mt-section-footer {
    text-align: center; margin-top: 40px;
}

/* ===== STORY SECTION — Match PNG: inline features + floating badge ===== */
.mt-story {
    background: #ffffff;
    padding: 88px 0;
}
.mt-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: stretch;  /* visual col stretches to content col height */
}
.mt-story-content { max-width: 560px; }
.mt-story-content .mt-section-header {
    text-align: left;
    margin-left: 0;
    margin-bottom: 24px;
}
.mt-story-title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important;
    line-height: 1.2 !important;
    text-align: left !important;
}
.mt-story-title .mt-title-accent {
    color: var(--mt-primary) !important;
}
.mt-story-ornament {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}
/* Both lines visible, short balanced */
.mt-story-ornament .mt-section-ornament::before,
.mt-story-ornament .mt-section-ornament::after {
    width: 48px;
}
.mt-story-desc {
    margin: 16px 0 0 !important;
    text-align: left !important;
    font-size: 0.96rem !important;
    color: var(--mt-text-muted) !important;
    line-height: 1.75 !important;
    max-width: 100% !important;
}
.mt-story-features {
    display: flex; flex-direction: column; gap: 22px;
    margin: 32px 0 36px;
}
/* INLINE feature — no card wrap, just icon + text */
.mt-story-feature {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.mt-story-feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FFE082 0%, #F7A436 100%);
    color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(231,111,63,0.25);
}
.mt-story-feature-icon svg { width: 22px; height: 22px; }
.mt-story-feature-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mt-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.mt-story-feature-text span {
    display: block; font-size: 0.88rem;
    color: var(--mt-text-muted); line-height: 1.55;
}
/* Story CTA — pill amber compact */
.mt-story-cta {
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

/* ===== STORY VISUAL — sized by grid stretch, video absolute-pos để bỏ intrinsic loop ===== */
.mt-story-visual {
    position: relative;
    aspect-ratio: auto;
    height: 100%;
    min-height: 480px;         /* floor an toàn nếu content quá ít */
    border-radius: 24px;
    overflow: visible;         /* allow floating badge overflow */
}
.mt-story-visual img,
.mt-story-visual .mt-story-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(199,125,0,0.18), 0 6px 16px rgba(61,38,17,0.08);
}
.mt-story-visual .mt-story-video { background: var(--mt-bg-alt); }

/* Decorative circle top-right of image */
.mt-story-deco-circle {
    position: absolute;
    top: 28px; right: -16px;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(252,237,200,0.95);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: var(--mt-primary-dark);
    box-shadow: 0 6px 16px rgba(199,125,0,0.15);
    z-index: 2;
}
.mt-story-deco-circle svg { width: 24px; height: 24px; opacity: 0.6; }

/* Floating badge bottom-left — "100% Nguyên chất từ thiên nhiên" */
.mt-story-badge {
    position: absolute;
    bottom: 32px; left: -60px;
    background: #ffffff;
    padding: 18px 24px 18px 20px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(61,38,17,0.12), 0 4px 12px rgba(61,38,17,0.06);
    display: flex; align-items: center; gap: 14px;
    z-index: 2;
    max-width: calc(100% - 40px);
}
.mt-story-badge-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8E6C9 0%, #81C784 100%);
    color: #2E7D32;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mt-story-badge-icon svg { width: 26px; height: 26px; }
.mt-story-badge-text strong {
    display: block;
    font-size: 1.3rem; font-weight: 800;
    color: var(--mt-primary);   /* honey amber yellow */
    line-height: 1;
    margin-bottom: 4px;
}
.mt-story-badge-text span {
    display: block;
    font-size: 0.78rem;
    color: var(--mt-text-muted);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .mt-story { padding: 64px 0; }
    .mt-story-grid { grid-template-columns: 1fr; gap: 56px; }
    .mt-story-content { max-width: 100%; }
    .mt-story-visual { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
    .mt-story-deco-circle { right: -8px; }
    .mt-story-badge { left: 16px; bottom: -16px; }
}
@media (max-width: 768px) {
    .mt-story-features { gap: 18px; }
    .mt-story-feature-icon { width: 42px; height: 42px; }
    .mt-story-feature-icon svg { width: 20px; height: 20px; }
    /* Mobile: badge stack INSIDE image bottom-left (không overflow ngoài) */
    .mt-story-badge {
        padding: 12px 16px;
        gap: 10px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        width: auto;
    }
    .mt-story-badge-icon { width: 42px; height: 42px; }
    .mt-story-badge-icon svg { width: 22px; height: 22px; }
    .mt-story-badge-text strong { font-size: 1.05rem; }
    .mt-story-badge-text span { font-size: 0.74rem; }
    .mt-story-deco-circle { width: 48px; height: 48px; top: 16px; }
}
.mt-story-visual-stat-num {
    font-size: 2rem; font-weight: 800; color: var(--mt-primary-dark);
    line-height: 1;
}
.mt-story-visual-stat-label {
    font-size: 0.82rem; color: var(--mt-text-muted); line-height: 1.3;
}

/* ===== TESTIMONIALS — BG image user upload (unified padding rhythm) ===== */
.mt-testimonials {
    position: relative;
    background:
        url('/wp-content/uploads/2026/05/honey-bg3-scaled.jpeg') no-repeat center center / cover,
        var(--mt-bg-alt);
    padding: 88px 0;
    box-sizing: border-box;
}
.mt-testimonials > .mt-container { position: relative; z-index: 1; }
.mt-testimonials .mt-section-header { margin-bottom: 36px; }

@media (max-width: 1024px) {
    .mt-testimonials { padding: 64px 0; }
    .mt-testimonials .mt-section-header { margin-bottom: 28px; }
}
@media (max-width: 768px) {
    .mt-testimonials { padding: 48px 0; background-size: cover; }
    .mt-testimonials .mt-section-header { margin-bottom: 24px; }
}
.mt-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.mt-testi-card {
    background: #ffffff;
    border: 0;
    border-radius: var(--mt-radius);
    padding: 30px 28px;
    box-shadow: 0 6px 24px rgba(199,125,0,0.12), 0 2px 6px rgba(61,38,17,0.04);
    transition: var(--mt-transition);
    display: flex; flex-direction: column;
    position: relative;
}
.mt-testi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mt-shadow-lg);
    border-color: rgba(245,158,11,0.25);
}
.mt-testi-quote-mark {
    position: absolute; top: 22px; right: 28px;
    color: var(--mt-primary-bg);
    font-size: 4rem; font-weight: 900;
    line-height: 1; font-family: 'Georgia', serif;
    z-index: 0;
}
.mt-testi-rating {
    display: inline-flex; gap: 2px;
    color: var(--mt-primary);
    margin-bottom: 14px;
    z-index: 1;
}
.mt-testi-rating svg { width: 18px; height: 18px; }
.mt-testi-text {
    font-size: 0.96rem; color: var(--mt-text-soft);
    line-height: 1.75; margin-bottom: 22px;
    flex: 1;
    z-index: 1;
}
.mt-testi-author {
    display: flex; align-items: center; gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--mt-border-soft);
}
.mt-testi-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mt-primary-bg);
}
.mt-testi-author-info strong {
    display: block; font-size: 0.92rem;
    font-weight: 700; color: var(--mt-text);
}
.mt-testi-author-info span {
    display: block; font-size: 0.78rem;
    color: var(--mt-text-muted);
}

/* ===== BLOG ===== */
.mt-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.mt-blog-card {
    display: flex; flex-direction: column;
    background: var(--mt-card-bg);
    border: 1px solid var(--mt-border-soft);
    border-radius: var(--mt-radius);
    overflow: hidden;
    box-shadow: var(--mt-shadow-sm);
    transition: var(--mt-transition);
}
.mt-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mt-shadow-lg);
    border-color: rgba(245,158,11,0.25);
}
.mt-blog-card-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.mt-blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.mt-blog-card:hover .mt-blog-card-img img { transform: scale(1.06); }
.mt-blog-card-body {
    padding: 22px 22px 24px;
    display: flex; flex-direction: column; gap: 10px;
    flex: 1;
}
.mt-blog-card-meta {
    display: flex; align-items: center; gap: 14px;
    font-size: 0.78rem; color: var(--mt-text-muted);
}
.mt-blog-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.mt-blog-card-meta svg { width: 14px; height: 14px; }
.mt-blog-card-cat {
    color: var(--mt-primary-dark); font-weight: 600;
}
.mt-blog-card-body h3 {
    font-size: 1.08rem; font-weight: 700; line-height: 1.4;
    color: var(--mt-text);
}
.mt-blog-card-body h3 a:hover { color: var(--mt-primary-dark); }
.mt-blog-card-body p {
    font-size: 0.9rem; color: var(--mt-text-muted);
    line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.mt-blog-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: auto; padding-top: 10px;
    font-size: 0.86rem; font-weight: 600;
    color: var(--mt-primary-dark);
}
.mt-blog-card-link svg {
    width: 14px; height: 14px;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mt-blog-card-link:hover svg { transform: translateX(4px); }

/* ===== NEWSLETTER CTA ===== */
.mt-newsletter {
    padding: 56px 0;
}
.mt-newsletter-inner {
    background: url('/wp-content/uploads/2026/05/cta2.png') right center / cover no-repeat;
    background-color: #FEF3C7;
    border-radius: var(--mt-radius-lg);
    padding: 56px 48px;
    color: var(--mt-white);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(217,119,6,0.32);
}
.mt-newsletter-inner::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 60%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(252,211,77,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.mt-newsletter h2 {
    font-size: 2rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    color: var(--mt-text);
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
.mt-newsletter p {
    color: var(--mt-text-soft, #5C3D1F);
    position: relative;
    line-height: 1.65;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
}
.mt-newsletter-form {
    display: flex; gap: 10px;
    background: var(--mt-card-bg);
    border-radius: var(--mt-radius-full);
    padding: 6px;
    position: relative;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}
.mt-newsletter-form input {
    flex: 1; min-width: 0;
    padding: 12px 20px;
    border: none; outline: none;
    background: transparent;
    color: var(--mt-text);
    font-size: 0.95rem;
}
.mt-newsletter-form input::placeholder { color: var(--mt-text-light); }
.mt-newsletter-form button {
    padding: 12px 26px;
    background: var(--mt-dark);
    color: var(--mt-white);
    border-radius: var(--mt-radius-full);
    font-weight: 600; font-size: 0.92rem;
    transition: var(--mt-transition-fast);
}
.mt-newsletter-form button:hover { background: var(--mt-text); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.mt-footer {
    position: relative;
    background: linear-gradient(180deg, #3D2611 0%, #2A1A0B 100%);
    color: rgba(252,237,200,0.82);
    padding: 72px 0 0;
}
.mt-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(245,158,11,0.4) 50%, transparent 100%);
}
.mt-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 56px;
    margin-bottom: 56px;
}
.mt-footer-brand .mt-logo { color: var(--mt-white); margin-bottom: 18px; }
.mt-footer-brand .mt-logo svg { width: 40px; height: 40px; }
.mt-footer-about {
    font-size: 0.92rem; color: rgba(252,237,200,0.72);
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 360px;
}
.mt-footer-contact { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.mt-footer-contact-item {
    display: flex; align-items: flex-start; gap: 12px;
    color: rgba(252,237,200,0.88);
    font-size: 0.88rem;
}
.mt-footer-contact-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.22);
    color: var(--mt-primary-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mt-footer-contact-icon svg { width: 16px; height: 16px; }

.mt-footer-col h4 {
    color: #FCEDC8;
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    margin-bottom: 22px; padding-bottom: 14px;
    position: relative;
}
.mt-footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: var(--mt-primary);
    border-radius: 2px;
}
.mt-footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.mt-footer-col ul a {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(252,237,200,0.7);
    font-size: 0.9rem;
    transition: var(--mt-transition-fast);
}
.mt-footer-col ul a::before {
    content: ''; width: 0; height: 1px;
    background: var(--mt-primary-light);
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mt-footer-col ul a:hover {
    color: #FFFDF7;
    transform: translateX(2px);
}
.mt-footer-col ul a:hover::before { width: 14px; }

.mt-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.mt-footer-social-btn {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: rgba(252,237,200,0.06);
    border: 1px solid rgba(252,237,200,0.12);
    color: rgba(252,237,200,0.88);
    display: inline-flex; align-items: center; justify-content: center;
    transition: var(--mt-transition-fast);
}
.mt-footer-social-btn svg { width: 18px; height: 18px; }
.mt-footer-social-btn:hover {
    background: var(--mt-primary);
    border-color: var(--mt-primary);
    color: #FFFDF7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232,155,15,0.4);
}

.mt-footer-payments {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 16px;
}
.mt-footer-payment {
    height: 28px; padding: 4px 10px;
    background: rgba(255,255,255,0.95);
    border-radius: 6px;
    display: inline-flex; align-items: center;
    font-size: 0.7rem; font-weight: 700; color: var(--mt-text);
    letter-spacing: 0.04em;
}

.mt-footer-bottom {
    border-top: 1px solid rgba(252,237,200,0.10);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
    font-size: 0.82rem; color: rgba(252,237,200,0.6);
}
.mt-footer-bottom-links { display: flex; gap: 22px; }
.mt-footer-bottom-links a:hover { color: var(--mt-primary-light); }

/* ===== FOOTER mobile hero (Coolmate pattern) — hidden desktop, visible mobile ===== */
.mt-footer-mobile-hero { display: none; }
.mt-footer-col-toggle { display: block; }
.mt-footer-col-indicator { display: none; }
.mt-footer-col-body { display: block; }
.mt-footer-col-address { display: none; }
.mt-footer-payments-desc { font-size: 0.88rem; color: rgba(252,237,200,0.7); margin-bottom: 14px; }

/* Mobile hero blocks shared visual */
.mt-footer-contact-strip {
    padding: 8px 0 4px;
}
.mt-footer-contact-row {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0;
}
.mt-footer-contact-row + .mt-footer-contact-row { border-top: 1px solid rgba(252,237,200,0.08); }
.mt-footer-contact-row-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(245,158,11,0.10);
    color: var(--mt-primary-light);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mt-footer-contact-row-icon svg { width: 22px; height: 22px; }
.mt-footer-contact-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mt-footer-contact-row-label {
    font-size: 0.78rem;
    color: rgba(252,237,200,0.6);
    font-weight: 500;
}
.mt-footer-contact-row-value {
    color: var(--mt-white);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
}
.mt-footer-contact-row-value a { color: inherit; }
.mt-footer-contact-row-value small { color: rgba(252,237,200,0.6); font-weight: 500; font-size: 0.86rem; }

.mt-footer-listen {
    padding: 24px 0 22px;
    border-top: 1px solid rgba(252,237,200,0.10);
    margin-top: 6px;
}
.mt-footer-listen-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mt-white);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.mt-footer-listen-text {
    color: rgba(252,237,200,0.75);
    line-height: 1.6;
    font-size: 0.92rem;
    margin: 0 0 18px;
}
.mt-footer-listen-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--mt-white);
    color: var(--mt-text);
    padding: 13px 22px;
    border-radius: var(--mt-radius-full);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--mt-transition-fast);
}
.mt-footer-listen-btn svg { width: 18px; height: 18px; }
.mt-footer-listen-btn:hover { background: var(--mt-primary-light); transform: translateX(3px); }

.mt-footer-social-row {
    display: flex; gap: 10px;
    padding: 22px 0 8px;
    border-top: 1px solid rgba(252,237,200,0.10);
    margin-top: 4px;
}
.mt-footer-social-box {
    width: 46px; height: 46px;
    border-radius: 10px;
    border: 1.5px solid rgba(252,237,200,0.18);
    color: var(--mt-white);
    display: inline-flex; align-items: center; justify-content: center;
    transition: var(--mt-transition-fast);
}
.mt-footer-social-box svg { width: 20px; height: 20px; }
.mt-footer-social-box:hover {
    background: var(--mt-primary);
    border-color: var(--mt-primary);
}

.mt-footer-address-row {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(252,237,200,0.85);
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 6px 0;
}
.mt-footer-address-row + .mt-footer-address-row { border-top: 1px dashed rgba(252,237,200,0.08); padding-top: 12px; margin-top: 6px; }
.mt-footer-address-row svg {
    width: 18px; height: 18px;
    color: var(--mt-primary-light);
    flex-shrink: 0; margin-top: 2px;
}

/* ===== FLOATING BUTTONS (desktop only) ===== */
.mt-float-group {
    position: fixed; right: 22px; bottom: 22px;
    display: flex; flex-direction: column; gap: 12px;
    z-index: 90;
}
.mt-float-btn {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mt-white);
    box-shadow: var(--mt-shadow-lg);
    transition: var(--mt-transition);
    position: relative;
}
.mt-float-btn:hover { transform: translateY(-3px) scale(1.06); }
.mt-float-btn svg { width: 24px; height: 24px; }
.mt-float-zalo { background: linear-gradient(135deg, #0084FF, #006AFF); }
.mt-float-phone { background: linear-gradient(135deg, #10B981, #059669); }
.mt-float-top {
    background: var(--mt-primary);
    opacity: 0; pointer-events: none;
}
.mt-float-top.is-visible { opacity: 1; pointer-events: auto; }

/* Pulse animation on phone */
.mt-float-phone::before {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    background: rgba(16,185,129,0.55);
    animation: mt-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes mt-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ===== MOBILE STICKY BAR (mobile only) ===== */
.mt-mobile-bar {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(254,245,224,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -4px 18px rgba(61,38,17,0.10);
    border-top: 1px solid var(--mt-border);
    z-index: 90;
}
.mt-mobile-bar-btn {
    flex: 1;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 6px 4px;
    font-size: 0.68rem; font-weight: 600;
    color: var(--mt-text-soft);
    border-radius: 10px;
    transition: var(--mt-transition-fast);
}
.mt-mobile-bar-btn:hover { color: var(--mt-primary-dark); background: var(--mt-primary-bg); }
.mt-mobile-bar-btn svg { width: 20px; height: 20px; }
.mt-mobile-bar-cta {
    background: var(--mt-primary);
    color: var(--mt-white);
    flex: 1.4;
    padding: 8px 12px;
}
.mt-mobile-bar-cta:hover { background: var(--mt-primary-dark); color: var(--mt-white); }

/* ===== FADE-IN ANIMATION + FAILSAFE ===== */
.mt-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.mt-anim.is-shown { opacity: 1; transform: translateY(0); }
/* Failsafe: 3s tự show all dù JS không chạy */
@keyframes mtFailsafe {
    to { opacity: 1; transform: translateY(0); }
}
.mt-anim { animation: mtFailsafe 0.001s ease 3s forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .mt-hero-grid { gap: 40px; }
    .mt-categories-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .mt-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
}

@media (max-width: 1024px) {
    :root {
        --mt-section-pad: 72px 0;
    }
    .mt-section-title { font-size: 1.85rem; }
    .mt-hero { padding: 88px 0 72px; background-position: 75% center; }
    .mt-hero-grid { display: block; }
    .mt-hero-content { max-width: 520px; }
    .mt-hero-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* USP 2x2 ở tablet cao ~191px → margin = -half_height cho straddle 50/50 */
    .mt-hero-usp-wrap { margin-top: -96px; margin-bottom: -96px; }
    .mt-categories.mt-section { padding-top: 152px; }

    .mt-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mt-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mt-testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .mt-story-grid { grid-template-columns: 1fr; gap: 40px; }
    .mt-story-visual { aspect-ratio: 16/10; max-width: 560px; }

    .mt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }

    .mt-newsletter-inner { grid-template-columns: 1fr; padding: 40px 32px; text-align: center; }
}

@media (max-width: 768px) {
    :root { --mt-section-pad: 56px 0; }
    body { font-size: 14px; padding-bottom: 76px; }
    .mt-container { padding: 0 16px; }

    .mt-topbar { font-size: 0.72rem; padding: 7px 0; }
    .mt-topbar-left { gap: 14px; }
    .mt-topbar-left .mt-hide-mobile { display: none; }
    .mt-topbar-right .mt-hide-mobile { display: none; }
    .mt-topbar-divider { display: none; }

    .mt-header-inner { height: 64px; gap: 16px; }
    .mt-logo { font-size: 1.15rem; }
    .mt-logo svg { width: 34px; height: 34px; }
    .mt-header .mt-logo .mt-logo-img { max-height: 40px; }
    .mt-nav { display: none; }
    .mt-header-iconbtn-search { display: none; }
    .mt-header-actions .mt-btn { display: none; }
    .mt-hamburger { display: inline-flex; }

    .mt-section-title { font-size: 1.5rem; }
    .mt-section-desc { font-size: 0.92rem; }
    .mt-section-header { margin-bottom: 36px; }
    .mt-label { font-size: 0.65rem; padding: 5px 13px; }

    .mt-hero {
        padding: 48px 0 64px;
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(255,248,235,0.94) 0%, rgba(255,248,235,0.78) 45%, rgba(255,248,235,0.55) 100%),
            url('/wp-content/uploads/2026/05/honey-hero-scaled.jpeg') no-repeat center center / cover,
            var(--mt-primary-bg);
    }
    .mt-hero-content { max-width: none; text-align: center; margin: 0 auto; }
    .mt-hero-cta { flex-direction: column; align-items: stretch; justify-content: center; }
    .mt-hero-cta .mt-btn { justify-content: center; }
    .mt-hero-trust { margin: 0 auto; }
    .mt-hero-usp { padding: 16px; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Tablet 768 USP — straddle nhẹ */
    .mt-hero-usp-wrap { margin-top: -44px; margin-bottom: -92px; }
    .mt-categories.mt-section { padding-top: 124px; }
    .mt-hero-usp-item { gap: 10px; padding: 4px; }
    .mt-hero-usp-icon { width: 38px; height: 38px; border-radius: 10px; }
    .mt-hero-usp-icon svg { width: 19px; height: 19px; }
    .mt-hero-usp-text strong { font-size: 0.82rem; }
    .mt-hero-usp-text span { font-size: 0.7rem; }

    /* Categories + Testimonials + Blog MOBILE: horizontal slider (Coolmate pattern) */
    .mt-categories-grid,
    .mt-testimonials-grid,
    .mt-blog-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding: 6px 0 14px;       /* trùng padding với section khác (chỉ thừa hưởng từ container 14px) */
        margin: 0;
        scroll-padding-inline: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .mt-categories-grid::-webkit-scrollbar,
    .mt-testimonials-grid::-webkit-scrollbar,
    .mt-blog-grid::-webkit-scrollbar { display: none; }
    .mt-categories-grid .mt-cat-card {
        flex: 0 0 70%;
        scroll-snap-align: start;
        max-width: 280px;
    }
    .mt-testimonials-grid .mt-testi-card,
    .mt-blog-grid .mt-blog-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        max-width: 340px;
    }
    .mt-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .mt-product-card-body { padding: 8px 0 0 0; gap: 4px; }
    .mt-product-title { font-size: 0.86rem; min-height: 0; margin: 0 0 4px; -webkit-line-clamp: 2; }
    .mt-product-rating { margin: 0 0 4px; }
    .mt-product-price { gap: 5px; margin: 0 0 8px; }
    .mt-product-price-current { font-size: 0.9rem; }
    .mt-product-price-old { font-size: 0.68rem; }
    /* Button match image width — bỏ extra body padding-left/right để button align với image */
    .mt-product-cart { width: 100%; }
    .mt-product-cart {
        padding: 9px 8px;
        font-size: 0.72rem;
        letter-spacing: 0.03em;
        gap: 5px;
        white-space: nowrap;
    }
    .mt-product-cart svg { width: 14px; height: 14px; }

    .mt-testimonials-grid { grid-template-columns: 1fr; }
    .mt-blog-grid { grid-template-columns: 1fr; }

    .mt-story-content .mt-section-header { text-align: center; }
    .mt-story-content .mt-section-title,
    .mt-story-title { font-size: 1.4rem !important; word-break: break-word; line-height: 1.25 !important; letter-spacing: 0 !important; }
    .mt-story-ornament { justify-content: center; }
    .mt-story-desc { text-align: center !important; }
    /* FORCE container constraint cho mobile — grid + content KHÔNG escape viewport */
    .mt-story .mt-container { overflow: hidden; }
    .mt-story-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 100% !important; }
    .mt-story-content { max-width: 100% !important; min-width: 0 !important; width: 100% !important; }
    .mt-story-visual { max-width: 100% !important; min-width: 0 !important; }
    .mt-story-features { max-width: 100% !important; }
    .mt-story-feature { max-width: 100% !important; min-width: 0 !important; }
    .mt-story-features { gap: 12px; }
    .mt-story-feature { padding: 12px; }
    .mt-story-visual { aspect-ratio: 4/3; }
    .mt-story-visual-stat { left: 14px; bottom: 14px; padding: 12px 16px; }
    .mt-story-visual-stat-num { font-size: 1.6rem; }

    .mt-newsletter { padding: 36px 0; }
    .mt-newsletter-inner { padding: 32px 22px; }
    .mt-newsletter h2 { font-size: 1.5rem; }
    /* Newsletter form mobile: pill inline cân đối, max-width ép form không stretch full */
    .mt-newsletter-form {
        flex-direction: row;
        align-items: stretch;
        padding: 5px;
        gap: 6px;
        border-radius: var(--mt-radius-full);
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .mt-newsletter-form input {
        flex: 1 1 auto;
        height: 42px;
        padding: 0 14px;
        font-size: 0.88rem;
        line-height: 1;
        min-width: 0;
        text-align: left;
    }
    .mt-newsletter-form button {
        flex: 0 0 auto;
        height: 42px;
        padding: 0 18px;
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: var(--mt-radius-full);
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer Coolmate mobile: hide brand col + show mobile hero + accordion menu */
    .mt-footer { padding: 0 0 0; }
    .mt-footer-mobile-hero { display: block; padding: 28px 0 8px; }
    .mt-footer-grid {
        display: block;
        grid-template-columns: none;
        gap: 0;
        margin-bottom: 0;
        padding-top: 8px;
    }
    .mt-footer-brand { display: none; }
    .mt-footer-col-address { display: block; }

    .mt-footer-col {
        border-bottom: 1px solid rgba(252,237,200,0.12);
        padding: 0;
    }
    .mt-footer-col:last-child { border-bottom: 0; }
    .mt-footer-col h4.mt-footer-col-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 0;
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: var(--mt-white);
        text-transform: none;
        letter-spacing: -0.01em;
        cursor: pointer;
        user-select: none;
    }
    .mt-footer-col h4.mt-footer-col-toggle::after { display: none; }
    .mt-footer-col-indicator {
        display: inline-block;
        width: 22px; height: 22px;
        position: relative;
        flex-shrink: 0;
    }
    .mt-footer-col-indicator::before,
    .mt-footer-col-indicator::after {
        content: ''; position: absolute;
        top: 50%; left: 50%;
        background: var(--mt-white);
        transition: transform 0.28s ease, opacity 0.28s ease;
    }
    .mt-footer-col-indicator::before {
        width: 14px; height: 2px;
        transform: translate(-50%, -50%);
    }
    .mt-footer-col-indicator::after {
        width: 2px; height: 14px;
        transform: translate(-50%, -50%);
    }
    .mt-footer-col.is-open .mt-footer-col-indicator::after {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .mt-footer-col-body {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, padding 0.35s ease;
        padding: 0;
    }
    .mt-footer-col.is-open .mt-footer-col-body {
        max-height: 800px;
        opacity: 1;
        padding: 4px 0 22px;
    }
    .mt-footer-col-body ul { gap: 14px; }
    .mt-footer-col-body ul a { font-size: 0.92rem; color: rgba(252,237,200,0.78); }

    .mt-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 0;
        border-top: 1px solid rgba(252,237,200,0.10);
        margin-top: 8px;
    }
    .mt-footer-bottom-links { gap: 14px; flex-wrap: wrap; justify-content: center; }

    .mt-float-group { display: none; }
    .mt-mobile-bar { display: flex; }
}

@media (max-width: 480px) {
    .mt-container { padding: 0 14px; }
    .mt-section-title { font-size: 1.35rem; }
    .mt-hero h1 { font-size: 1.75rem; }
    .mt-categories-grid { gap: 12px; }
    .mt-products-grid { gap: 12px; }
    .mt-cat-card-body { padding: 12px 10px 14px; }
    .mt-cat-card-body h3 { font-size: 0.88rem; }
    /* Mobile USP — straddle nhẹ hero/categories (back up từ vị trí cũ) */
    .mt-hero-usp-wrap { margin-top: -56px; margin-bottom: -112px; }
    .mt-categories.mt-section { padding-top: 148px; }
}

@media (max-width: 360px) {
    .mt-hero h1 { font-size: 1.55rem; }
    /* @360 slider giữ nguyên flex từ 480 — chỉ điều chỉnh kích thước card */
    .mt-categories-grid .mt-cat-card { flex: 0 0 75%; }
}
