/*
Theme Name: Mai Hoàng
Description: Công ty Thiết bị Máy Văn phòng Mai Hoàng
Author: Trần Danh Trọng
Author URI: https://danhtrong.online

Template: flatsome
Version: 3.0
*/
:root {
    /* ============================================
       FLATSOME THEME COLORS - Mai Hoàng Brand
       Viettel Red Style
    ============================================ */

    /* Primary: Đỏ Viettel - cho buttons, links */
    --primary-color: #EA4335;
    --fs-color-primary: #EA4335;

    /* Secondary: Đỏ đậm - cho accents, badges */
    --fs-color-secondary: #B8002A;

    /* Success: Xanh lá - hoàn thành, còn hàng */
    --fs-color-success: #22C55E;

    /* Alert: Đỏ đậm */
    --fs-color-alert: #DC2626;

    /* Base text color */
    --fs-color-base: #1A1A1A;

    /* Links */
    --fs-experimental-link-color: #EA4335;
    --fs-experimental-link-color-hover: #CC002B;

    /* ============================================
       EXTENDED MAI HOÀNG BRAND COLORS
       Viettel Red Theme
    ============================================ */

    /* Brand Colors */
    --color-brand-red: #EA4335;
    --color-brand-red-dark: #B8002A;
    --color-brand-red-light: #FF3366;

    /* Primary Palette */
    --color-primary: #1A1A1A;
    --color-secondary: #4A4A4A;
    --color-cta: #EA4335;
    --color-cta-hover: #CC002B;
    --color-success: #22C55E;
    --color-warning: #F59E0B;

    /* Backgrounds */
    --color-bg: #F5F5F5;
    --color-bg-card: #FFFFFF;
    --color-bg-dark: #1A1A1A;

    /* Text */
    --color-text: #1A1A1A;
    --color-text-muted: #6B7280;
    --color-text-inverse: #FFFFFF;

    /* Border */
    --color-border: #E5E5E5;
    --color-border-dark: #4A4A4A;
}

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


}

/* ============================================
   CUSTOM SCROLLBAR - Toàn bộ dự án
============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-cta);
    border-radius: 4px;
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cta-hover);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-cta) var(--color-bg);
}

/* ============================================
   MAI HOÀNG FOOTER STYLES (BEM + Flatsome)
   Wrapper: .mh-footer
============================================ */

/* Main Wrapper - Isolate from parent theme */
.mh-footer {
    font-family: inherit;
    line-height: 1.6;
}

/* Footer Main Section */
.mh-footer .mh-footer__main {
    background-color: var(--color-bg-dark);
    padding: 50px 0 30px;
}

.mh-footer .mh-footer__col {
    padding-bottom: 20px;
}

/* Logo */
.mh-footer .mh-footer__logo {
    margin-bottom: 20px;
}

.mh-footer .mh-footer__logo img {
    max-height: 50px;
    width: auto;
}

.mh-footer .mh-footer__logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-cta);
}

/* Company Name */
.mh-footer .mh-footer__company-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* Hotline Box */
.mh-footer .mh-footer__hotline-box {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-footer .mh-footer__hotline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(238, 0, 51, 0.1) 0%, rgba(238, 0, 51, 0.03) 100%);
    border: 1px solid rgba(238, 0, 51, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    transition: border-color 0.2s, transform 0.2s;
}

.mh-footer .mh-footer__hotline-item:hover {
    border-color: var(--color-cta);
    transform: translateX(4px);
}

.mh-footer .mh-footer__hotline-icon {
    width: 22px;
    height: 22px;
    color: var(--color-cta);
    flex-shrink: 0;
}

.mh-footer .mh-footer__hotline-number {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.mh-footer .mh-footer__hotline-number:hover {
    color: var(--color-cta);
}

/* Info List */
.mh-footer .mh-footer__info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mh-footer .mh-footer__info-list li {
    margin-bottom: 10px;
    font-size: 13px;
}

.mh-footer .mh-footer__info-label {
    color: var(--color-text-muted);
    margin-right: 6px;
}

.mh-footer .mh-footer__info-value {
    color: #fff;
}

.mh-footer .mh-footer__info-link {
    color: var(--color-cta);
    text-decoration: none;
    transition: opacity 0.2s;
}

.mh-footer .mh-footer__info-link:hover {
    opacity: 0.8;
}

/* Badge */
.mh-footer .mh-footer__badge {
    margin-top: 15px;
}

.mh-footer .mh-footer__badge img {
    height: 38px;
    width: auto;
}

/* Titles */
.mh-footer .mh-footer__title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta);
    display: inline-block;
}

.mh-footer .mh-footer__title--social {
    margin-top: 25px;
}

.mh-footer .mh-footer__subtitle {
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 20px 0 12px 0;
    letter-spacing: 0.5px;
}

/* Branch List */
.mh-footer .mh-footer__branch-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mh-footer .mh-footer__branch-list li {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.7;
    padding: 4px 0;
    padding-left: 14px;
    position: relative;
}

.mh-footer .mh-footer__branch-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-cta);
}

.mh-footer .mh-footer__branch-item--highlight {
    color: #fff !important;
    padding-left: 0 !important;
    margin-bottom: 6px;
}

.mh-footer .mh-footer__branch-item--highlight::before {
    display: none;
}

.mh-footer .mh-footer__branch-item--highlight strong {
    color: var(--color-cta);
}

.mh-footer .mh-footer__branch-list--compact li {
    padding: 2px 0 2px 14px;
}

/* Navigation List */
.mh-footer .mh-footer__nav {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.mh-footer .mh-footer__nav li {
    margin-bottom: 10px;
}

.mh-footer .mh-footer__nav a {
    color: var(--color-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.mh-footer .mh-footer__nav a:hover {
    color: var(--color-cta);
    padding-left: 5px;
}

/* Contact Card */
.mh-footer .mh-footer__contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.mh-footer .mh-footer__contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.mh-footer .mh-footer__contact-card .mh-footer__contact-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-footer .mh-footer__contact-card .mh-footer__contact-row:last-child {
    border-bottom: none;
}

.mh-footer .mh-footer__contact-name {
    color: var(--color-text-muted);
}

.mh-footer .mh-footer__contact-label {
    color: var(--color-text-muted);
}

.mh-footer .mh-footer__contact-row a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.mh-footer .mh-footer__contact-row a:hover {
    color: var(--color-cta);
}

/* Contact Extra */
.mh-footer .mh-footer__contact-extra {
    margin-bottom: 16px;
}

.mh-footer .mh-footer__contact-extra .mh-footer__contact-row {
    padding: 4px 0;
}



/* Social Links */
.mh-footer .mh-footer__social {
    display: flex;
    gap: 10px;
}

.mh-footer .mh-footer__social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.mh-footer .mh-footer__social-link:hover {
    background: var(--color-cta);
    transform: translateY(-2px);
    color: #fff;
}

.mh-footer .mh-footer__social-link svg {
    width: 18px;
    height: 18px;
}

.mh-footer .mh-footer__social-link--zalo {
    font-size: 11px;
    font-weight: 700;
}

/* Footer Bottom */
.mh-footer .mh-footer__bottom {
    background-color: #020617;
    padding: 16px 0;
}

.mh-footer .mh-footer__copyright {
    color: var(--color-text-muted);
    font-size: 12px;
    margin: 0;
    text-align: center;
}

.mh-footer .mh-footer__copyright strong {
    color: var(--color-cta);
}


/* ============================================
   MH HOTLINE - Header Element
   Animated gradient button
============================================ */

/* Keyframes Animation */
@keyframes mh-gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes mh-phone-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Main Container */
.header-mh-hotline {
    display: flex;
    align-items: center;
}

.header-mh-hotline .mh-hotline {
    display: inline-flex;
}

.header-mh-hotline .mh-hotline__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 42px;
    background: var(--color-cta);
    color: #fff;
    text-decoration: none;
    padding: 0 20px 0 6px;
    border-radius: 9999px;
    transition: background 0.2s;
}

.header-mh-hotline .mh-hotline__link:hover {
    background: var(--color-cta-hover);
}

.header-mh-hotline .mh-hotline__link:hover {
    color: #fff;
}

/* Icon */
.header-mh-hotline .mh-hotline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.header-mh-hotline .mh-hotline__icon svg {
    width: 18px;
    height: 18px;
    animation: mh-phone-ring 2s ease-in-out infinite;
}

/* Text */
.header-mh-hotline .mh-hotline__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-mh-hotline .mh-hotline__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

.header-mh-hotline .mh-hotline__numbers {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Responsive */
@media only screen and (max-width: 849px) {
    .header-mh-hotline .mh-hotline__link {
        padding: 8px 16px 8px 12px;
        gap: 10px;
    }
    
    .header-mh-hotline .mh-hotline__icon {
        width: 34px;
        height: 34px;
    }
    
    .header-mh-hotline .mh-hotline__label {
        font-size: 10px;
    }
    
    .header-mh-hotline .mh-hotline__numbers {
        font-size: 14px;
    }
}

@media only screen and (max-width: 549px) {
    /* Hotline - hiển thị đầy đủ số */
    .header-mh-hotline .mh-hotline__text {
        display: flex !important;
    }
    
    .header-mh-hotline .mh-hotline__label {
        display: none !important;
    }
    
    .header-mh-hotline .mh-hotline__link {
        padding: 6px 12px 6px 6px !important;
        gap: 8px !important;
        height: auto !important;
    }
    
    .header-mh-hotline .mh-hotline__icon {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        flex-shrink: 0 !important;
    }
    
    .header-mh-hotline .mh-hotline__numbers {
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}

/* ============================================
   MH CART - Header Element
   Animated gradient button (same style as MH Hotline)
============================================ */

/* Main Container */
.header-mh-cart {
    display: flex;
    align-items: center;
}

.header-mh-cart .mh-cart {
    display: inline-flex;
}

.header-mh-cart .mh-cart__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 42px;
    background: var(--color-cta);
    color: #fff;
    text-decoration: none;
    padding: 0 20px 0 6px;
    border-radius: 9999px;
    transition: background 0.2s;
}

.header-mh-cart .mh-cart__link:hover {
    background: var(--color-cta-hover);
    color: #fff;
}

/* Icon */
.header-mh-cart .mh-cart__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.header-mh-cart .mh-cart__icon svg {
    width: 18px;
    height: 18px;
}

/* Cart Count Badge */
.header-mh-cart .mh-cart__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--color-warning);
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* Text */
.header-mh-cart .mh-cart__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-mh-cart .mh-cart__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

.header-mh-cart .mh-cart__total {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
}

.header-mh-cart .mh-cart__total .woocommerce-Price-amount {
    color: #fff;
}

/* Responsive */
@media only screen and (max-width: 849px) {
    .header-mh-cart .mh-cart__link {
        padding: 8px 16px 8px 12px;
        gap: 10px;
    }
    
    .header-mh-cart .mh-cart__icon {
        width: 34px;
        height: 34px;
    }
    
    .header-mh-cart .mh-cart__label {
        font-size: 10px;
    }
    
    .header-mh-cart .mh-cart__total {
        font-size: 12px;
    }
}

@media only screen and (max-width: 549px) {
    /* Cart - chỉ hiện icon, không méo */
    .header-mh-cart .mh-cart__text {
        display: none !important;
    }
    
    .header-mh-cart .mh-cart__link {
        padding: 8px !important;
        border-radius: 50% !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .header-mh-cart .mh-cart__icon {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
        flex-shrink: 0 !important;
    }
    
    .header-mh-cart .mh-cart__icon {
        background: transparent;
    }
}

/* ============================================
   MH SEARCH FORM - Header Element
   Style đồng bộ với MH Hotline và MH Cart
============================================ */

/* Main Container */
.header-search-form.search-form {
    display: flex;
    align-items: center;
}

.header-search-form .header-search-form-wrapper {
    display: inline-flex;
    width: 100%;
    margin-right: 24px;
}

.header-search-form .searchform-wrapper {
    background: #fff;
    border: 2px solid var(--color-cta);
    border-radius: 9999px;
    padding: 0;
}

.header-search-form .searchform {
    margin: 0;
}

.header-search-form .flex-row {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Search Input */
.header-search-form .search-field {
    height: 38px;
    border: none;
    background: transparent;
    border-radius: 9999px 0 0 9999px;
    padding: 0 15px;
    font-size: 13px;
    color: var(--color-primary);
    min-width: 100%;
    outline: none;
}

.header-search-form .search-field::placeholder {
    color: var(--color-text-muted);
}

.header-search-form .search-field:focus {
    box-shadow: none;
}

/* Search Button */
.header-search-form .ux-search-submit {
    height: 38px;
    width: 42px;
    border: none;
    background: var(--color-cta);
    border-radius: 0 9999px 9999px 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: unset;
}

.header-search-form .ux-search-submit i {
    font-size: 16px;
}

/* Live Search Results */
.header-search-form .live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
}

.header-search-form .autocomplete-suggestions {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Responsive */
@media only screen and (max-width: 849px) {
    .header-search-form .search-field {
        min-width: 250px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 549px) {
    .header-search-form .search-field {
        min-width: 120px;
        height: 34px;
        padding: 0 12px;
    }
    
    .header-search-form .ux-search-submit {
        height: 34px;
        width: 36px;
    }
}


/* ============================================
   PRODUCT TITLE - Grid/Archive
   16px, 2 lines clamp, black
============================================ */

.box-text .product-title,
.box-text .product-title a {
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(16px * 1.4 * 2);
    max-height: calc(16px * 1.4 * 2);
    margin-bottom: 1rem;
}

.box-text .product-title a:hover {
    color: var(--color-cta);
}


/* ============================================
   MH SPECS - Thông số kỹ thuật với Modal
============================================ */

.mh-specs {
    margin: 20px 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

/* Preview */
.mh-specs__preview {
    padding: 0;
}

/* Section Title */
.mh-specs h2 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-cta);
    margin: 0;
    padding: 12px 16px;
    background: var(--color-bg);
    border-left: 3px solid var(--color-cta);
}

/* Table */
.mh-specs table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.mh-specs thead {
    display: none;
}

.mh-specs tbody tr {
    border-bottom: 1px solid var(--color-border);
}

.mh-specs tbody tr:last-child {
    border-bottom: none;
}

.mh-specs td,
.mh-specs th {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: top;
}

.mh-specs td:first-child {
    width: 35%;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-bg);
}

.mh-specs td:last-child {
    color: var(--color-text);
}

.mh-specs td:last-child a,
.mh-specs td:last-child strong {
    color: var(--color-cta);
}

/* Toggle Button */
.mh-specs__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--color-bg);
    border: none;
    border-top: 1px solid var(--color-border);
    color: var(--color-cta);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mh-specs__toggle:hover {
    background: var(--color-cta);
    color: #fff;
}

/* ============================================
   MH SPECS MODAL
============================================ */

body.mh-modal-open {
    overflow: hidden;
}

/* Fix header z-index khi modal mở */
body.mh-modal-open .header-wrapper,
body.mh-modal-open .header-main,
body.mh-modal-open #header,
body.mh-modal-open .sticky-wrapper,
body.mh-modal-open .header-bg-container {
    z-index: 1 !important;
}

.mh-specs-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mh-specs-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-specs-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mh-specs-modal__container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.mh-specs-modal.is-open .mh-specs-modal__container {
    transform: translateY(0);
}

.mh-specs-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-primary);
    color: #fff;
}

.mh-specs-modal__title {
    font-size: 16px;
    font-weight: 700;
    color: #FFF;
    margin: 0;
    text-transform: uppercase;
}

.mh-specs-modal__product {
    font-size: 13px;
    opacity: 0.8;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mh-specs-modal__close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.mh-specs-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mh-specs-modal__body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

.mh-specs-modal__body h2 {
    position: sticky;
    top: 0;
    z-index: 1;
}

.mh-specs-modal__body hr {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: 0;
}

/* Responsive */
@media only screen and (max-width: 549px) {
    .mh-specs-modal {
        padding: 10px;
    }
    
    .mh-specs-modal__container {
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .mh-specs-modal__header {
        flex-wrap: wrap;
        padding: 12px 16px;
    }
    
    .mh-specs-modal__product {
        width: 100%;
        order: 3;
        margin-top: 4px;
    }
    
    .mh-specs td {
        display: block;
        width: 100%;
        padding: 8px 12px;
    }
    
    .mh-specs td:first-child {
        padding-bottom: 4px;
    }
    
    .mh-specs td:last-child {
        padding-top: 0;
    }
}


/* ============================================
   MH PRICE - UX Element giá sản phẩm
============================================ */

.mh-price {
    padding: 16px 20px;
    background: #fff;
    border-left: 4px solid var(--color-warning);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.mh-price__label {
    display: block;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.mh-price__value {
    font-size: 28px;
    font-weight: 700;
    color: #DC2626;
    line-height: 1.2;
}

.mh-price__value del {
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-right: 8px;
}

.mh-price__value ins {
    text-decoration: none;
}

.mh-price__value .woocommerce-Price-amount {
    color: #DC2626;
}

.mh-price__contact {
    color: var(--color-cta);
    font-size: 24px;
}

.mh-price__vat {
    display: block;
    font-size: 13px;
    color: var(--color-cta);
    margin-top: 4px;
}

/* Responsive */
@media only screen and (max-width: 549px) {
    .mh-price {
        padding: 12px 16px;
    }
    
    .mh-price__value {
        font-size: 24px;
    }
}


/* ============================================
   MH DESCRIPTION - UX Element mô tả sản phẩm
============================================ */

.mh-desc {
    margin: 20px 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.mh-desc__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-cta);
    margin: 0;
    padding: 12px 16px;
    background: var(--color-bg);
    border-left: 3px solid var(--color-cta);
}

.mh-desc__content {
    max-height: var(--mh-desc-height, 260px);
    overflow: hidden;
    padding: 16px;
    position: relative;
    transition: max-height 0.4s ease;
}

.mh-desc__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s;
}

.mh-desc.is-expanded .mh-desc__content {
    max-height: none;
}

.mh-desc.is-expanded .mh-desc__content::after {
    opacity: 0;
}

/* Content styling */
.mh-desc__content p {
    margin: 0 0 1em;
    line-height: 1.7;
}

.mh-desc__content p:last-child {
    margin-bottom: 0;
}

.mh-desc__content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.mh-desc__content ul,
.mh-desc__content ol {
    padding-left: 20px;
    margin: 0 0 1em;
}

.mh-desc__content li {
    margin-bottom: 0.5em;
}

/* Toggle Button */
.mh-desc__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--color-bg);
    border: none;
    border-top: 1px solid var(--color-border);
    color: var(--color-cta);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mh-desc__toggle:hover {
    background: var(--color-cta);
    color: #fff;
}

.mh-desc__toggle-icon {
    transition: transform 0.3s;
}

.mh-desc.is-expanded .mh-desc__toggle-icon {
    transform: rotate(180deg);
}


/* ============================================
   MH SALE - Khuyến mãi sản phẩm
============================================ */

.mh-sale {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-radius: 8px;
    overflow: hidden;
}

.mh-sale__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F59E0B;
    color: #fff;
}

.mh-sale__icon {
    display: flex;
}

.mh-sale__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.mh-sale__list {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
}

.mh-sale__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-primary);
}

.mh-sale__item:not(:last-child) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.mh-sale__check {
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   MH POLICY - Chính sách
============================================ */

.mh-policy {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.mh-policy--2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mh-policy__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.mh-policy__item:last-child {
    border-bottom: none;
}

.mh-policy--2cols .mh-policy__item {
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.mh-policy--2cols .mh-policy__item:nth-child(2n) {
    border-right: none;
}

.mh-policy--2cols .mh-policy__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.mh-policy__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg);
    border-radius: 50%;
    color: var(--color-cta);
    flex-shrink: 0;
}

.mh-policy__text {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.4;
}

/* Responsive */
@media only screen and (max-width: 549px) {
    .mh-policy--2cols {
        grid-template-columns: 1fr;
    }
    
    .mh-policy--2cols .mh-policy__item {
        border-right: none;
    }
}


/* ============================================
   MH PRODUCT TOOLTIP - Hover preview
============================================ */

.mh-product-tooltip {
    position: fixed !important;
    z-index: 999999 !important;
    width: 380px;
    max-width: calc(100vw - 30px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
    overflow: visible;
    transform: none !important;
}

.mh-product-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Arrow indicator */
.mh-product-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
}

.mh-product-tooltip.mh-tooltip--right::before {
    left: -16px;
    border-right-color: #fff;
}

.mh-product-tooltip.mh-tooltip--left::before {
    right: -16px;
    border-left-color: #fff;
}

/* Loading */
.mh-tooltip__loading {
    padding: 40px;
    text-align: center;
}

.mh-tooltip__loading span {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-cta);
    border-radius: 50%;
    animation: mh-spin 0.8s linear infinite;
}

@keyframes mh-spin {
    to { transform: rotate(360deg); }
}

/* Header */
.mh-tooltip__header {
    background: var(--color-cta);
    padding: 14px 16px;
}

.mh-tooltip__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

/* Body */
.mh-tooltip__body {
    padding: 16px;
}

/* Rows */
.mh-tooltip__row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.mh-tooltip__row:last-of-type {
    border-bottom: none;
}

.mh-tooltip__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 90px;
}

.mh-tooltip__value {
    font-size: 14px;
    color: var(--color-text);
}

/* Price */
.mh-tooltip__price {
    font-size: 24px;
    font-weight: 700;
    color: #DC2626;
}

.mh-tooltip__price .woocommerce-Price-amount {
    color: #DC2626;
}

.mh-tooltip__price del {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.mh-tooltip__vat {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Stock */
.mh-tooltip__stock.in-stock {
    color: var(--color-success);
    font-weight: 600;
}

.mh-tooltip__stock.out-of-stock {
    color: #DC2626;
    font-weight: 600;
}

/* Description */
.mh-tooltip__desc {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.mh-tooltip__desc-title {
    font-size: 13px;
    font-weight: 700;
    color: #DC2626;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.mh-tooltip__desc-content {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
    max-height: 150px;
    overflow: hidden;
}

.mh-tooltip__desc-content p {
    margin: 0 0 6px;
}

.mh-tooltip__desc-content ul,
.mh-tooltip__desc-content ol {
    margin: 0;
    padding-left: 18px;
}

.mh-tooltip__desc-content li {
    margin-bottom: 4px;
}

/* Hide on mobile */
@media only screen and (max-width: 849px) {
    .mh-product-tooltip {
        display: none !important;
    }
}


/* ============================================
   MH LOOP ACTIONS - Nút giỏ hàng & so sánh
   Reset + Strong specificity
============================================ */

/* Reset */
.mh-loop-actions,
.mh-loop-actions * {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
}

.mh-loop-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 12px 8px !important;
    border-top: 1px solid #E2E8F0 !important;
    margin-top: 10px !important;
    background: #F8FAFC !important;
}

.mh-loop-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--color-cta) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 6px 0 !important;
    text-decoration: none !important;
    transition: color 0.2s, transform 0.2s !important;
}

.mh-loop-btn:hover {
    color: var(--color-cta-hover) !important;
    transform: translateY(-1px) !important;
}

.mh-loop-btn:focus {
    outline: none !important;
}

.mh-loop-btn svg {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.mh-loop-btn--compare {
    color: #8BC541 !important;
}

.mh-loop-btn--compare:hover {
    color: #6BA331 !important;
}

/* Stock status in loop */
.mh-loop-stock {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #8BC541 !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
}

.mh-loop-stock.out-of-stock {
    color: #DC2626 !important;
}

/* ============================================
   MH COMPARE BAR - Thanh so sánh góc phải
   Reset + Strong specificity
============================================ */

/* Reset */
.mh-compare-bar,
.mh-compare-bar *,
.mh-compare-bar *::before,
.mh-compare-bar *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1.4 !important;
}

.mh-compare-bar {
    position: fixed !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) translateX(100%) !important;
    z-index: 999999 !important;
    width: 340px !important;
    background: #FFFFFF !important;
    border-radius: 12px 0 0 12px !important;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
}

.mh-compare-bar.is-visible {
    transform: translateY(-50%) translateX(0) !important;
}

.mh-compare-bar__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
}

.mh-compare-bar__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mh-compare-bar__close {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    font-size: 22px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.mh-compare-bar__close:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.mh-compare-bar__body {
    padding: 18px !important;
    background: #FFFFFF !important;
}

.mh-compare-bar__items {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

.mh-compare-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    transition: border-color 0.2s !important;
    text-align: left !important;
}

.mh-compare-item:hover {
    border-color: var(--color-cta) !important;
}

.mh-compare-item__remove {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    background: #DC2626 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.mh-compare-item__remove:hover {
    background: #B91C1C !important;
}

.mh-compare-item img {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 4px !important;
    background: #FFFFFF !important;
    flex-shrink: 0 !important;
}

.mh-compare-item__name {
    display: block !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 !important;
    padding-right: 30px !important;
}

.mh-compare-bar__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mh-compare-bar__btn {
    width: 100% !important;
    padding: 14px 16px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mh-compare-bar__btn--compare {
    background: var(--color-cta) !important;
    color: #FFFFFF !important;
}

.mh-compare-bar__btn--compare:hover {
    background: var(--color-cta-hover) !important;
}

.mh-compare-bar__btn--clear {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

.mh-compare-bar__btn--clear:hover {
    background: #FECACA !important;
}

/* ============================================
   MH COMPARE MODAL - Modal so sánh chi tiết
   Reset + Strong specificity
============================================ */

/* Reset */
.mh-compare-modal,
.mh-compare-modal *,
.mh-compare-modal *::before,
.mh-compare-modal *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.mh-compare-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s, visibility 0.3s !important;
}

.mh-compare-modal.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

.mh-compare-modal__overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(4px) !important;
}

.mh-compare-modal__container {
    position: relative !important;
    width: 100% !important;
    max-width: 1200px !important;
    max-height: 90vh !important;
    background: #FFFFFF !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3) !important;
}

.mh-compare-modal__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 24px !important;
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
}

.mh-compare-modal__header h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.mh-compare-modal__close {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    font-size: 26px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: background 0.2s !important;
}

.mh-compare-modal__close:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.mh-compare-modal__body {
    flex: 1 !important;
    overflow: auto !important;
    background: #FFFFFF !important;
}

.mh-compare-modal__loading {
    padding: 80px !important;
    text-align: center !important;
}

.mh-compare-modal__loading span {
    display: inline-block !important;
    width: 50px !important;
    height: 50px !important;
    border: 4px solid var(--color-border) !important;
    border-top-color: var(--color-cta) !important;
    border-radius: 50% !important;
    animation: mh-spin 0.8s linear infinite !important;
}

/* Compare Table */
.mh-compare-table-wrap {
    overflow-x: auto !important;
}

.mh-compare-table {
    width: 100% !important;
    min-width: 800px !important;
    border-collapse: collapse !important;
    background: #FFFFFF !important;
}

.mh-compare-table th,
.mh-compare-table td {
    padding: 14px 18px !important;
    border: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    vertical-align: top !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
}

.mh-compare-table tbody tr:nth-child(even) td {
    background: #F8FAFC !important;
}

.mh-compare-table__label {
    width: 160px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    background: #F1F5F9 !important;
    position: sticky !important;
    left: 0 !important;
    z-index: 2 !important;
}

.mh-compare-table__product {
    text-align: center !important;
    position: relative !important;
    min-width: 220px !important;
    padding: 20px 16px !important;
    background: #FFFFFF !important;
}

.mh-compare-table__product img {
    width: 140px !important;
    height: 140px !important;
    object-fit: contain !important;
    margin-bottom: 12px !important;
    border: none !important;
}

.mh-compare-table__product h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.4 !important;
}

.mh-compare-table__remove {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    background: #DC2626 !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;
    color: #FFFFFF !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    transition: transform 0.2s !important;
    padding: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.mh-compare-table__remove:hover {
    transform: scale(1.1) !important;
    background: #B91C1C !important;
}

.mh-compare-table__price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #DC2626 !important;
}

.mh-compare-table__price .woocommerce-Price-amount {
    color: #DC2626 !important;
}

.mh-compare-table__price del {
    font-size: 14px !important;
    color: #94A3B8 !important;
    font-weight: 400 !important;
}

.mh-compare-table__stock.in-stock {
    color: #8BC541 !important;
    font-weight: 700 !important;
}

.mh-compare-table__stock.out-of-stock {
    color: #DC2626 !important;
    font-weight: 700 !important;
}

.mh-compare-table__desc {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #64748B !important;
    max-height: 120px !important;
    overflow: hidden !important;
}

.mh-compare-table__actions-row td {
    padding: 20px 16px !important;
    text-align: center !important;
    background: #F8FAFC !important;
}

.mh-compare-table__btn {
    display: inline-block !important;
    padding: 12px 20px !important;
    margin: 4px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: #F1F5F9 !important;
    color: #0F172A !important;
    border: 1px solid #E2E8F0 !important;
}

.mh-compare-table__btn:hover {
    background: #E2E8F0 !important;
    color: #0F172A !important;
}

.mh-compare-table__btn--buy {
    background: var(--color-cta) !important;
    color: #FFFFFF !important;
    border: none !important;
}

.mh-compare-table__btn--buy:hover {
    background: var(--color-cta-hover) !important;
    color: #FFFFFF !important;
}

/* Responsive */
@media only screen and (max-width: 849px) {
    .mh-compare-bar {
        width: 300px !important;
    }
    
    .mh-compare-modal {
        padding: 10px !important;
    }
    
    .mh-compare-modal__container {
        max-height: 95vh !important;
        border-radius: 12px !important;
    }
}

@media only screen and (max-width: 549px) {
    .mh-loop-actions {
        gap: 12px !important;
    }
    
    .mh-loop-btn span {
        display: none !important;
    }
    
    .mh-compare-bar {
        width: 100% !important;
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        transform: translateY(100%) !important;
        border-radius: 16px 16px 0 0 !important;
    }
    
    .mh-compare-bar.is-visible {
        transform: translateY(0) !important;
    }
    
    .mh-compare-bar__header {
        border-radius: 0 !important;
    }
    
    .mh-compare-bar__items {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    
    .mh-compare-item {
        padding: 6px !important;
    }
    
    .mh-compare-item img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .mh-compare-item__name {
        display: none !important;
    }
}


/* ============================================
   MH TITLE - Tiêu đề với danh mục
   Sử dụng màu dự án Mai Hoàng
   Hiệu ứng chéo giữa 2 màu
============================================ */

.mh-title {
    display: flex !important;
    align-items: stretch !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    position: relative !important;
}

.mh-title__main {
    display: flex !important;
    align-items: center !important;
    padding: 0 30px 0 20px !important;
    background: var(--primary-color) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.mh-title__text {
    margin: 0 !important;
    padding: 12px 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    z-index: 3 !important;
}

.mh-title__nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 !important;
    padding: 0 16px 0 30px !important;
    background: #FFF !important;
    gap: 16px !important;
    position: relative !important;
    z-index: 1 !important;
    border-bottom: 2px solid var(--primary-color);
}

.mh-title__cats {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
    flex: 1 !important;
}

.mh-title__cats li {
    margin: 0 !important;
    padding: 0 !important;
}

.mh-title__cats li::after {
    content: '|' !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-left: 8px !important;
}

.mh-title__cats li:last-child::after {
    display: none !important;
}

.mh-title__cats a {
    display: inline-block !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
    white-space: nowrap !important;
}

.mh-title__cats a:hover {
    opacity: 0.85 !important;
    color: var(--color-bg-dark) !important;
}

.mh-title__all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: opacity 0.2s !important;
    flex-shrink: 0 !important;
    margin-left: auto;
}

.mh-title__all svg {
    flex-shrink: 0 !important;
    transition: transform 0.2s !important;
}

.mh-title__all:hover {
    opacity: 0.85 !important;
    color: var(--color-bg-card) !important;
}

.mh-title__all:hover svg {
    transform: translateX(3px) !important;
}

/* Responsive */
@media only screen and (max-width: 849px) {
    .mh-title__cats {
        display: none !important;
    }
    
    .mh-title__nav {
        justify-content: flex-end !important;
        padding: 0 16px !important;
    }
}

/* ============================================
   BLOG POST CARD - Tiêu đề & Mô tả
============================================ */

/* Tiêu đề bài viết - 1 dòng */
.box-blog-post .post-title a,
.box-blog-post h5.post-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
}

.box-blog-post .post-title a:hover {
    color: var(--color-cta) !important;
}

/* Mô tả ngắn - 2 dòng */
.box-blog-post .from_the_blog_excerpt,
.box-blog-post p.from_the_blog_excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
    color: var(--color-text-muted) !important;
    margin: 0 !important;
}


/* ============================================
   HEADER BOTTOM NAV - Mobile Fix
============================================ */

@media only screen and (max-width: 849px) {
    /* Mobile nav - các phần tử cùng 1 hàng */
    #wide-nav .mobile-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 8px 15px !important;
    }
    
    #wide-nav .mobile-nav > li {
        flex-shrink: 0 !important;
    }
    
    /* Search form chiếm không gian còn lại */
    #wide-nav .mobile-nav .header-search-form {
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    #wide-nav .mobile-nav .header-search-form-wrapper,
    #wide-nav .mobile-nav .searchform-wrapper,
    #wide-nav .mobile-nav .searchform {
        width: 100% !important;
    }
    
    /* Bỏ margin-right */
    .header-search-form .header-search-form-wrapper {
        margin-right: 0 !important;
    }
    
    /* Bo góc 4px ở mobile */
    #wide-nav .mobile-nav .searchform-wrapper {
        border-radius: 4px !important;
    }
    
    #wide-nav .mobile-nav .search-field {
        border-radius: 4px 0 0 4px !important;
    }
    
    #wide-nav .mobile-nav .ux-search-submit {
        border-radius: 0 4px 4px 0 !important;
    }
}


/* ============================================
   HEADER MAIN - Mobile Fix
============================================ */

@media only screen and (max-width: 849px) {
    /* Container không tràn */
    #masthead .header-inner {
        overflow: hidden !important;
        padding: 10px 15px !important;
    }
    
    /* Override Flatsome medium-logo-center */
    .medium-logo-center .logo,
    .medium-logo-center #logo,
    #masthead .medium-logo-center .logo,
    #masthead .medium-logo-center #logo {
        order: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        text-align: left !important;
        max-width: 100px !important;
    }
    
    .medium-logo-center .logo img,
    #masthead .medium-logo-center .logo img {
        margin: 0 !important;
        max-height: 50px !important;
        width: auto !important;
    }
    
    .medium-logo-center .flex-left,
    #masthead .medium-logo-center .flex-left {
        order: 1 !important;
        flex: 0 0 auto !important;
    }
    
    .medium-logo-center .flex-right,
    #masthead .medium-logo-center .flex-right {
        order: 2 !important;
        flex: 0 1 auto !important;
        margin-left: auto !important;
        max-width: calc(100% - 120px) !important;
        overflow: hidden !important;
    }
    
    /* Ẩn flex-left rỗng trên mobile */
    #masthead .show-for-medium.flex-left {
        display: none !important;
    }
    
    /* Mobile nav items cùng hàng, không tràn */
    #masthead .mobile-nav.nav-right {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 6px !important;
        overflow: hidden !important;
    }
    
    #masthead .mobile-nav > li {
        flex-shrink: 0 !important;
    }
}


/* ============================================
   MH POST NAVIGATION - Bài trước/sau với thumbnail
============================================ */

.mh-post-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    padding: 20px 0 !important;
    border-top: 1px solid var(--color-border) !important;
}

.mh-post-nav__item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px !important;
    background: var(--color-bg) !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mh-post-nav__item:hover {
    background: var(--color-bg-card) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

.mh-post-nav__empty {
    background: transparent !important;
    pointer-events: none !important;
}

.mh-post-nav__thumb {
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.mh-post-nav__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mh-post-nav__content {
    flex: 1 !important;
    min-width: 0 !important;
}

.mh-post-nav__label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--color-cta) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 6px !important;
}

.mh-post-nav__label svg {
    flex-shrink: 0 !important;
}

.mh-post-nav__title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.mh-post-nav__item:hover .mh-post-nav__title {
    color: var(--color-cta) !important;
}

/* Next item - content bên trái, thumb bên phải */
.mh-post-nav__next .mh-post-nav__content {
    text-align: right !important;
}

.mh-post-nav__next .mh-post-nav__label {
    justify-content: flex-end !important;
}

/* Responsive */
@media only screen and (max-width: 549px) {
    .mh-post-nav {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .mh-post-nav__empty {
        display: none !important;
    }
    
    .mh-post-nav__thumb {
        width: 60px !important;
        height: 60px !important;
    }
    
    .mh-post-nav__title {
        font-size: 14px !important;
    }
    
    /* Reset next item alignment on mobile */
    .mh-post-nav__next {
        flex-direction: row-reverse !important;
    }
    
    .mh-post-nav__next .mh-post-nav__content {
        text-align: left !important;
    }
    
    .mh-post-nav__next .mh-post-nav__label {
        justify-content: flex-start !important;
    }
}


/* ============================================
   MH CONSULTATION - Buttons & Modal
   Tư vấn sản phẩm
============================================ */

/* Override WooCommerce Cart Form */
.product .cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
}

/* Quantity Input - Fix height */
.product .cart .quantity {
    flex-shrink: 0 !important;
    height: 52px !important;
}

.product .cart .quantity.buttons_added {
    display: flex !important;
    align-items: center !important;
    height: 52px !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.product .cart .quantity .ux-quantity__button {
    width: 40px !important;
    height: 50px !important;
    background: #fff !important;
    border: none !important;
    font-size: 18px !important;
    color: var(--color-text) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product .cart .quantity .ux-quantity__button:hover {
    background: var(--color-bg) !important;
}

.product .cart .quantity input.qty {
    width: 50px !important;
    height: 50px !important;
    border: none !important;
    border-left: 1px solid var(--color-border) !important;
    border-right: 1px solid var(--color-border) !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    -moz-appearance: textfield !important;
}

.product .cart .quantity input.qty::-webkit-outer-spin-button,
.product .cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart Button - Full Width */
.product .cart .single_add_to_cart_button {
    flex: 1 !important;
    min-width: 0 !important;
    height: 52px !important;
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}

.product .cart .single_add_to_cart_button:hover {
    background: var(--color-secondary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3) !important;
}

/* Consultation Buttons Container */
.mh-consultation-buttons {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin-top: 0 !important;
}

/* Base Button Style */
.mh-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    flex: 1 !important;
    min-width: 0 !important;
    height: 64px !important;
    box-sizing: border-box !important;
}

.mh-btn__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.mh-btn__text {
    text-align: left !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.mh-btn__text strong {
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Consult Button - Red */
.mh-btn--consult {
    background: var(--fs-color-alert) !important;
    color: #fff !important;
}

.mh-btn--consult:hover {
    background: #B91C1C !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
}

.mh-btn--consult .mh-btn__text {
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

/* Zalo Button - Blue */
.mh-btn--zalo {
    background: #0068FF !important;
    color: #fff !important;
}

.mh-btn--zalo:hover {
    background: #0052CC !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.3) !important;
}

.mh-btn--zalo .mh-btn__icon svg {
    width: 36px !important;
    height: 36px !important;
}

.mh-btn--zalo .mh-btn__text {
    font-size: 13px !important;
}

.mh-btn--zalo .mh-btn__text strong {
    font-size: 15px !important;
    display: block !important;
    margin-top: 2px !important;
}

/* Responsive - Tablet */
@media only screen and (max-width: 849px) {
    .mh-btn {
        padding: 10px 14px !important;
        height: 60px !important;
    }
    
    .mh-btn--consult .mh-btn__text {
        font-size: 11px !important;
    }
    
    .mh-btn--zalo .mh-btn__text {
        font-size: 12px !important;
    }
    
    .mh-btn--zalo .mh-btn__text strong {
        font-size: 14px !important;
    }
}

/* Responsive - Mobile */
@media only screen and (max-width: 549px) {
    /* Cart row: quantity + add to cart cùng hàng */
    .product .cart {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }
    
    .product .cart .quantity {
        flex-shrink: 0 !important;
        width: auto !important;
        height: 46px !important;
    }
    
    .product .cart .quantity.buttons_added {
        height: 46px !important;
    }
    
    .product .cart .quantity .ux-quantity__button {
        width: 36px !important;
        height: 44px !important;
    }
    
    .product .cart .quantity input.qty {
        width: 40px !important;
        height: 44px !important;
        font-size: 14px !important;
    }
    
    .product .cart .single_add_to_cart_button {
        flex: 1 !important;
        width: auto !important;
        height: 46px !important;
        font-size: 13px !important;
    }
    
    /* Consultation buttons */
    .mh-consultation-buttons {
        flex-direction: row !important;
        width: 100% !important;
        flex-basis: 100% !important;
    }
    
    .mh-btn {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 8px 6px !important;
        height: 60px !important;
    }
    
    .mh-btn__text {
        text-align: center !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
    
    .mh-btn__text br {
        display: none !important;
    }
    
    .mh-btn--consult .mh-btn__icon svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .mh-btn--consult .mh-btn__text {
        font-size: 9px !important;
    }
    
    .mh-btn--zalo .mh-btn__icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .mh-btn--zalo .mh-btn__text {
        font-size: 9px !important;
    }
    
    .mh-btn--zalo .mh-btn__text strong {
        font-size: 11px !important;
        margin-top: 0 !important;
    }
}

/* ============================================
   MH CONSULTATION MODAL
============================================ */

.mh-consult-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mh-consult-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-consult-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.mh-consult-modal__container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.mh-consult-modal.is-open .mh-consult-modal__container {
    transform: translateY(0);
}

/* Header */
.mh-consult-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--color-cta);
    color: #fff;
}

.mh-consult-modal__product-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    flex: 1;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mh-consult-modal__close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.mh-consult-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Form */
.mh-consult-modal__form {
    padding: 20px;
    overflow-y: auto;
}

.mh-consult-modal__field {
    margin-bottom: 15px;
}

.mh-consult-modal__field input[type="text"],
.mh-consult-modal__field input[type="email"],
.mh-consult-modal__field input[type="tel"],
.mh-consult-modal__field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.mh-consult-modal__field input:focus,
.mh-consult-modal__field textarea:focus {
    outline: none;
    border-color: var(--color-cta);
    box-shadow: 0 0 0 3px rgba(238, 0, 51, 0.1);
}

.mh-consult-modal__field input::placeholder,
.mh-consult-modal__field textarea::placeholder {
    color: var(--color-text-muted);
}

/* Checkbox Field */
.mh-consult-modal__field--checkbox {
    display: flex;
    gap: 20px;
}

.mh-consult-modal__field--checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text);
}

.mh-consult-modal__field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-cta);
    cursor: pointer;
}

/* Note */
.mh-consult-modal__note {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin: 15px 0;
    line-height: 1.5;
}

/* Submit Button */
.mh-consult-modal__submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--color-cta);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.mh-consult-modal__submit:hover:not(:disabled) {
    background: var(--color-cta-hover);
}

.mh-consult-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success State */
.mh-consult-modal__success {
    padding: 40px 20px;
    text-align: center;
}

.mh-consult-modal__success svg {
    margin-bottom: 20px;
}

.mh-consult-modal__success h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-success);
    margin: 0 0 10px;
}

.mh-consult-modal__success p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0 0 20px;
}

.mh-consult-modal__close-btn {
    padding: 12px 30px;
    background: var(--color-cta);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.mh-consult-modal__close-btn:hover {
    background: var(--color-cta-hover);
}

/* Responsive */
@media only screen and (max-width: 549px) {
    .mh-consult-modal {
        padding: 10px;
    }
    
    .mh-consult-modal__container {
        max-height: 95vh;
    }
    
    .mh-consult-modal__header {
        padding: 14px 16px;
    }
    
    .mh-consult-modal__product-name {
        font-size: 14px;
    }
    
    .mh-consult-modal__form {
        padding: 16px;
    }
    
    .mh-consult-modal__field input,
    .mh-consult-modal__field textarea {
        padding: 12px 14px;
    }
    
    .mh-consult-modal__field--checkbox {
        flex-direction: column;
        gap: 12px;
    }
}


/* ============================================
   MH FOOTER V2 - New Structure
   Cấu trúc footer mới với Customizer
============================================ */

.mh-footer-v2 {
    font-family: inherit;
    line-height: 1.6;
}

/* ========== Footer Hotline Section ========== */
.mh-footer-v2__hotline {
    background: #fff;
    border-top: 3px solid var(--color-cta);
    padding: 20px 0;
}

.mh-footer-v2__hotline-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 30px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.mh-footer-v2__hotline-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-cta);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mh-footer-v2__company-brief {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    font-size: 13px;
    color: var(--color-text);
}

.mh-footer-v2__company-brief a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
}

.mh-footer-v2__company-brief a:hover {
    text-decoration: underline;
}

.mh-footer-v2__hotline-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.mh-footer-v2__hotline-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mh-footer-v2__hotline-group--wide {
    flex-basis: 100%;
}

.mh-footer-v2__hotline-group-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mh-footer-v2__hotline-icon {
    display: flex;
    align-items: center;
    color: var(--color-cta);
}

.mh-footer-v2__hotline-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
}

.mh-footer-v2__hotline-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding-left: 22px;
}

.mh-footer-v2__hotline-item {
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
}

.mh-footer-v2__hotline-item a {
    color: #DC2626;
    font-weight: 600;
    text-decoration: none;
    margin-left: 3px;
}

.mh-footer-v2__hotline-item a:hover {
    text-decoration: underline;
}

/* Responsive - Tablet */
@media only screen and (max-width: 849px) {
    .mh-footer-v2__hotline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mh-footer-v2__hotline-grid {
        gap: 15px 30px;
    }
}

/* Responsive - Mobile */
@media only screen and (max-width: 549px) {
    .mh-footer-v2__hotline {
        padding: 15px 0;
    }
    
    .mh-footer-v2__company-brief {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .mh-footer-v2__hotline-grid {
        flex-direction: column;
        gap: 12px;
    }
    
    .mh-footer-v2__hotline-group--wide {
        flex-basis: auto;
    }
    
    .mh-footer-v2__hotline-numbers {
        padding-left: 22px;
        gap: 4px 15px;
    }
}

/* ========== Footer Top: Links ========== */
.mh-footer-v2__top {
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 40px 0 30px;
}

.mh-footer-v2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mh-footer-v2__col {
    min-width: 0;
}

.mh-footer-v2__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-cta);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-cta);
    display: inline-block;
}

/* Menu Links */
.mh-footer-v2__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-footer-v2__menu li {
    margin-bottom: 10px;
}

.mh-footer-v2__menu a {
    color: var(--color-text);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.mh-footer-v2__menu a:hover {
    color: var(--color-cta);
}

/* Badges Column */
.mh-footer-v2__col--badges {
    text-align: left;
}

.mh-footer-v2__badges {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mh-footer-v2__badge img {
    height: 50px;
    width: auto;
}

.mh-footer-v2__badge--dmca {
    display: flex;
    align-items: center;
}

.mh-footer-v2__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 12px;
}

/* Social Links */
.mh-footer-v2__social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mh-footer-v2__social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.mh-footer-v2__social-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

.mh-footer-v2__social-link svg {
    width: 18px;
    height: 18px;
}

.mh-footer-v2__social-link--facebook {
    background: #1877F2;
}

.mh-footer-v2__social-link--youtube {
    background: #FF0000;
}

.mh-footer-v2__social-link--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.mh-footer-v2__social-link--tiktok {
    background: #000;
}

.mh-footer-v2__social-link--zalo {
    background: #0068FF;
    font-size: 11px;
    font-weight: 700;
}

/* ========== Footer Middle: Showrooms ========== */
.mh-footer-v2__middle {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 30px 0;
}

.mh-footer-v2__showrooms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mh-footer-v2__showroom {
    min-width: 0;
}

.mh-footer-v2__showroom-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-cta);
    text-transform: uppercase;
    margin: 0 0 12px;
    line-height: 1.4;
}

.mh-footer-v2__showroom p {
    font-size: 12px;
    color: var(--color-text);
    margin: 0 0 6px;
    line-height: 1.5;
}

.mh-footer-v2__showroom a {
    color: var(--color-cta);
    text-decoration: none;
}

.mh-footer-v2__showroom a:hover {
    text-decoration: underline;
}

.mh-footer-v2__showroom-chat a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-cta);
}

.mh-footer-v2__showroom-chat svg {
    fill: var(--color-cta);
}

.mh-footer-v2__showroom-map a {
    color: #DC2626;
    font-weight: 600;
}

/* ========== Footer Bottom: Copyright ========== */
.mh-footer-v2__bottom {
    background: var(--color-primary);
    padding: 16px 0;
}

.mh-footer-v2__copyright {
    color: #fff;
    font-size: 12px;
    margin: 0;
    text-align: center;
}

.mh-footer-v2__copyright strong {
    color: var(--color-cta);
}

/* ========== Responsive - Tablet ========== */
@media only screen and (max-width: 849px) {
    .mh-footer-v2__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .mh-footer-v2__showrooms {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* ========== Responsive - Mobile ========== */
@media only screen and (max-width: 549px) {
    .mh-footer-v2__top {
        padding: 30px 0 20px;
    }
    
    .mh-footer-v2__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mh-footer-v2__col--badges {
        order: -1;
        text-align: center;
    }
    
    .mh-footer-v2__badges {
        justify-content: center;
    }
    
    .mh-footer-v2__social {
        justify-content: center;
    }
    
    .mh-footer-v2__subtitle {
        text-align: center;
    }
    
    .mh-footer-v2__middle {
        padding: 25px 0;
    }
    
    .mh-footer-v2__showrooms {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mh-footer-v2__showroom {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--color-border);
    }
    
    .mh-footer-v2__showroom:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ============================================
   MH SECTION TITLE - Tiêu đề có số thứ tự
   [số] Tiêu đề _______________
============================================ */

.mh-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #ddd;
}


.mh-section-title__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: #333;
    color: #fff;
    font-weight: 600;
    border-radius: 0;
    flex-shrink: 0;
    aspect-ratio: 1;
}

.mh-section-title__text {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.mh-section-title__line {
    flex: 1;
    height: 1px;
    background: #ddd;
    min-width: 50px;
}
