/*
Theme Name: Minh Hồng
Theme URI: https://minhhong.vn
Author: Minh Hồng
Author URI: https://minhhong.vn
Description: Giao diện điện máy Việt Nam tối ưu cho WooCommerce, tập trung vào máy lọc nước, bếp từ và thiết bị gia dụng.
Version: 0.2.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minhhong
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready, wide-blocks
*/

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("assets/fonts/inter-vietnamese.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --mh-ink: #10243e;
    --mh-ink-soft: #40516a;
    --mh-brand: #007aff;
    --mh-brand-dark: #005ec4;
    --mh-accent: #e82f33;
    --mh-accent-dark: #c92226;
    --mh-sky: #ebf4ff;
    --mh-cream: #f8f6f1;
    --mh-line: #dfe7eb;
    --mh-white: #fff;
    --mh-shadow: 0 18px 46px rgba(16, 36, 62, .09);
    --mh-radius: 22px;
    --mh-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--mh-cream);
    color: var(--mh-ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--mh-brand-dark);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--mh-accent);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
.button,
input[type="submit"] {
    cursor: pointer;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    clip: auto;
    clip-path: none;
    display: block;
    height: auto;
    left: 8px;
    top: 8px;
    width: auto;
    z-index: 100000;
}

.container {
    width: min(100% - 40px, var(--mh-container));
    margin-inline: auto;
}

.site-main {
    min-height: 55vh;
}

.topbar {
    background: var(--mh-ink);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 34px;
}

.topbar a {
    color: #fff;
}

.topbar__note {
    margin: 0;
}

.topbar__links {
    display: flex;
    gap: 18px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--mh-line);
    backdrop-filter: blur(12px);
}

.header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.custom-logo {
    max-width: 150px;
    max-height: 52px;
    width: auto;
}

.site-title {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--mh-ink);
}

.site-description {
    margin: 3px 0 0;
    color: var(--mh-ink-soft);
    font-size: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mh-brand), #52c9ba);
    font-weight: 800;
}

.main-navigation {
    margin-left: auto;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    color: var(--mh-ink-soft);
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    background: var(--mh-sky);
    color: var(--mh-brand-dark);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--mh-line);
    border-radius: 12px;
    color: var(--mh-ink);
    font-size: 14px;
    font-weight: 700;
    background: #fff;
}

.header-action:hover {
    border-color: var(--mh-brand);
    color: var(--mh-brand-dark);
}

.header-action--cart {
    background: var(--mh-ink);
    border-color: var(--mh-ink);
    color: #fff;
}

.header-action--cart:hover {
    background: var(--mh-brand-dark);
    color: #fff;
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 99px;
    background: var(--mh-accent);
    color: #fff;
    font-size: 11px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
    color: var(--mh-ink);
}

.hero {
    padding: 36px 0 24px;
}

.hero__panel {
    position: relative;
    overflow: hidden;
    min-height: 510px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    background: var(--mh-ink);
    isolation: isolate;
}

.hero__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(16, 36, 62, .98) 0%, rgba(16, 36, 62, .81) 42%, rgba(16, 36, 62, .08) 100%);
}

.hero__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    max-width: 590px;
    padding: 66px;
    color: #fff;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--mh-accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
}

.hero h1 {
    margin: 0 0 17px;
    font-size: clamp(38px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.hero__lead {
    max-width: 490px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--mh-brand);
    color: #fff;
    font-weight: 800;
    transition: .2s ease;
}

.button:hover,
.button:focus {
    background: var(--mh-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.button--light {
    background: #fff;
    color: var(--mh-ink);
}

.button--light:hover {
    background: var(--mh-sky);
    color: var(--mh-ink);
}

.button--outline {
    border-color: var(--mh-line);
    background: transparent;
    color: var(--mh-ink);
}

.button--outline:hover {
    border-color: var(--mh-brand);
    background: var(--mh-sky);
    color: var(--mh-brand-dark);
}

.hero .button--outline {
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.hero .button--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.trust-strip {
    padding: 18px 0 14px;
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 15px;
}

.trust-item__icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #e6f2ff;
    color: #007aff;
}

.trust-item strong {
    display: block;
    font-size: 14px;
}

.trust-item__text span {
    display: block;
    color: var(--mh-ink-soft);
    font-size: 12px;
}

.section {
    padding: 64px 0;
}

.section--soft {
    background: #fff;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 510px;
    margin: 0;
    color: var(--mh-ink-soft);
}

.section-heading a {
    flex-shrink: 0;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 22px;
    border-radius: var(--mh-radius);
    color: #fff;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    background: linear-gradient(145deg, #0e686e, #36b9a9);
}

.category-card::before {
    content: "";
    position: absolute;
    width: 165px;
    height: 165px;
    right: -32px;
    top: -32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    z-index: -1;
}

.category-card:nth-child(2) {
    background: linear-gradient(145deg, #10243e, #2b5474);
}

.category-card:nth-child(3) {
    background: linear-gradient(145deg, #b86a24, #f3a34e);
}

.category-card:nth-child(4) {
    background: linear-gradient(145deg, #4c5478, #8b9abf);
}

.category-card__icon {
    font-size: 38px;
    margin-bottom: auto;
}

.category-card h3 {
    margin: 0 0 4px;
    font-size: 21px;
}

.category-card p {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.product-card {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 18px;
    overflow: hidden;
    transition: .2s ease;
}

.product-card:hover {
    box-shadow: var(--mh-shadow);
    transform: translateY(-3px);
}

.product-card__image {
    aspect-ratio: 1 / .88;
    display: grid;
    place-items: center;
    padding: 18px;
    background: #f4f7f8;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__body {
    padding: 17px;
}

.product-card__tag {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--mh-brand-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.product-card h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.3;
}

.product-card__price {
    margin: 0 0 13px;
    color: var(--mh-brand-dark);
    font-weight: 800;
}

.product-card__price del {
    color: #8b95a4;
    font-size: 12px;
    font-weight: 500;
    margin-left: 5px;
}

.product-card .button {
    width: 100%;
    min-height: 40px;
    font-size: 13px;
}

.product-card__badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--mh-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.promo {
    padding: 60px 0;
}

.promo__panel {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border-radius: 25px;
    background: var(--mh-sky);
}

.promo__content {
    padding: 48px;
}

.promo__content h2 {
    margin: 0 0 13px;
    font-size: clamp(28px, 4vw, 47px);
    letter-spacing: -.05em;
    line-height: 1.07;
}

.promo__content p {
    max-width: 510px;
    color: var(--mh-ink-soft);
}

.promo__art {
    min-height: 285px;
    position: relative;
    background: linear-gradient(145deg, #8fd9d2, #e2f5ec);
}

.promo__art::after {
    content: "✦";
    position: absolute;
    right: 18%;
    top: 13%;
    color: rgba(255, 255, 255, .7);
    font-size: 90px;
}

.promo__circle {
    position: absolute;
    width: 270px;
    height: 270px;
    right: 8%;
    bottom: -66px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.promo__shape {
    position: absolute;
    width: 120px;
    height: 180px;
    right: 24%;
    bottom: 32px;
    border-radius: 60px 60px 20px 20px;
    background: linear-gradient(90deg, #fff, #bdeee6);
    box-shadow: 0 18px 22px rgba(16, 36, 62, .15);
}

.content-wrap {
    padding: 52px 0 74px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.post-grid .content-card {
    padding: 24px;
}

.post-grid .content-card>a img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: -24px -24px 20px;
    max-width: calc(100% + 48px);
}

.page-header {
    padding: 30px 0 22px;
}

.page-header h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.page-header p {
    margin: 12px 0 0;
    color: var(--mh-ink-soft);
}

.content-card {
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    padding: clamp(23px, 4vw, 46px);
}

.entry-title {
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.entry-content>*:first-child {
    margin-top: 0;
}

.entry-content>*:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
    letter-spacing: -.03em;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 12px;
    border-bottom: 1px solid var(--mh-line);
    text-align: left;
}

.post-meta {
    color: var(--mh-ink-soft);
    font-size: 13px;
    margin-bottom: 18px;
}

.pagination {
    margin-top: 34px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-grid;
    min-width: 40px;
    min-height: 40px;
    place-items: center;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    background: #fff;
}

.pagination .current {
    background: var(--mh-brand);
    border-color: var(--mh-brand);
    color: #fff;
}

.site-footer {
    padding: 52px 0 22px;
    background: var(--mh-ink);
    color: rgba(255, 255, 255, .78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.site-footer h3 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 15px;
}

.site-footer p {
    margin: 0 0 14px;
    font-size: 14px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li+li {
    margin-top: 8px;
}

.site-footer a {
    color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    margin-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
}

/* WooCommerce presentation */
.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 18px;
    color: var(--mh-ink-soft);
    font-size: 13px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 22px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection {
    min-height: 44px;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    background: #fff;
    padding: 8px 12px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product {
    width: auto;
    float: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 18px;
    overflow: hidden;
    transition: .2s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: var(--mh-shadow);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product a img {
    aspect-ratio: 1 / .88;
    object-fit: contain;
    padding: 18px;
    margin: 0;
    background: #f4f7f8;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0 17px;
    font-size: 17px;
    line-height: 1.3;
}

.woocommerce ul.products li.product .price {
    padding: 0 17px;
    color: var(--mh-brand-dark);
    font-weight: 800;
}

.woocommerce ul.products li.product .button {
    margin: 0 17px 18px;
    width: calc(100% - 34px);
    text-align: center;
}

.woocommerce span.onsale {
    top: 13px;
    left: 13px;
    right: auto;
    margin: 0;
    min-width: 0;
    min-height: 0;
    line-height: 1.2;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--mh-accent);
    font-size: 11px;
}

.woocommerce .quantity .qty {
    min-height: 44px;
    width: 70px;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    padding: 6px;
}

.woocommerce div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    width: auto;
    float: none;
}

.woocommerce div.product div.images {
    padding: 23px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    background: #fff;
}

.woocommerce div.product div.images img {
    border-radius: 14px;
}

.woocommerce div.product .product_title {
    margin-top: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.05em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--mh-brand-dark);
    font-size: 24px;
    font-weight: 800;
}

.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    min-height: 44px;
    border-radius: 10px;
    padding: 0 17px;
    background: var(--mh-brand);
    color: #fff;
    font-weight: 800;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: var(--mh-brand-dark);
    color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--mh-brand);
    border-radius: 12px;
    background: #fff;
    border-right: 1px solid var(--mh-line);
    border-bottom: 1px solid var(--mh-line);
    border-left: 1px solid var(--mh-line);
}

.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout #customer_details,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    padding: 22px;
    border: 1px solid var(--mh-line);
    border-radius: var(--mh-radius);
    background: #fff;
}

.woocommerce table.shop_table {
    border: 0;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-bottom: 1px solid var(--mh-line);
    padding: 14px 8px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: auto;
    float: none;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    width: auto;
    float: none;
}

.woocommerce .star-rating {
    color: var(--mh-accent);
}

.woocommerce nav.woocommerce-pagination ul {
    border: 0;
    display: flex;
    gap: 8px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: grid;
    place-items: center;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    background: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--mh-brand);
    border-color: var(--mh-brand);
    color: #fff;
}

.woocommerce .woocommerce-tabs {
    margin-top: 45px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 25px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom-color: var(--mh-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 0;
    background: transparent;
    margin: 0 20px 0 0;
    padding: 0 0 10px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid var(--mh-brand);
    color: var(--mh-brand-dark);
}

@media (max-width: 980px) {
    .header__inner {
        gap: 14px;
    }

    .main-navigation {
        order: 5;
        width: 100%;
        display: none;
    }

    .main-navigation.is-open {
        display: block;
        padding: 8px 0 15px;
    }

    .main-navigation ul {
        display: block;
    }

    .main-navigation a {
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header__actions {
        order: 4;
    }

    .header__inner {
        flex-wrap: wrap;
    }

    .trust-strip__grid,
    .category-grid,
    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo__panel {
        grid-template-columns: 1fr;
    }

    .promo__art {
        min-height: 210px;
    }

    .woocommerce div.product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-beta-banner {
        font-size: 11.5px;
        padding: 5px 0;
    }

    .site-beta-banner__inner {
        gap: 6px;
        justify-content: center;
    }

    .site-beta-banner__badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .container {
        width: min(100% - 28px, var(--mh-container));
    }

    .topbar__inner {
        align-items: flex-start;
        padding: 8px 0;
        flex-direction: column;
        gap: 3px;
    }

    .topbar__links {
        gap: 12px;
    }

    .site-header {
        position: relative;
    }

    .header__inner {
        min-height: 70px;
    }

    .site-description {
        display: none;
    }

    .site-title {
        font-size: 21px;
    }

    .header-action {
        min-height: 38px;
        padding: 0 9px;
        font-size: 13px;
    }

    .header-action--account {
        display: none;
    }

    .hero {
        padding-top: 15px;
    }

    .hero__panel {
        min-height: 550px;
        border-radius: 22px;
        align-items: end;
    }

    .hero__content {
        padding: 30px 24px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .section {
        padding: 45px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading a {
        display: inline-block;
        margin-top: 10px;
    }

    .trust-strip__grid,
    .category-grid,
    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 13px;
    }

    .category-card {
        min-height: 160px;
    }

    .promo__content {
        padding: 30px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .footer-grid> :first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom p+p {
        margin-top: 6px;
    }

    .woocommerce .col2-set,
    .woocommerce-page .col2-set {
        grid-template-columns: 1fr;
    }

    .woocommerce-cart-form,
    .cart_totals,
    .woocommerce-checkout-review-order,
    .woocommerce-checkout #customer_details {
        padding: 14px;
    }
}

/* Minh Hồng retail refresh inspired by Vietnamese electronics storefronts. */
:root {
    --mh-ink: #1d1d1f;
    --mh-ink-soft: #606b78;
    --mh-brand: #007aff;
    --mh-brand-dark: #005ec4;
    --mh-accent: #e82f33;
    --mh-accent-dark: #c92226;
    --mh-sky: #eef6ff;
    --mh-cream: #f5f5f5;
    --mh-line: #e3e7eb;
    --mh-shadow: 0 5px 16px rgba(26, 49, 73, .10);
    --mh-radius: 10px;
    --mh-container: 1200px;
}

body {
    background: var(--mh-cream);
    color: var(--mh-ink);
}

.container {
    width: min(100% - 32px, var(--mh-container));
}

/* ==========================================================================
   Beta / Testing Notice Banner
   ========================================================================== */
.site-beta-banner {
    background: #fff8e6;
    border-bottom: 1px solid #ffe58f;
    color: #873800;
    font-size: 13px;
    padding: 6px 0;
    line-height: 1.4;
    position: relative;
    z-index: 30;
}

.site-beta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    flex-wrap: wrap;
}

.site-beta-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: #fa8c16;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 4px;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(250, 140, 22, .25);
    flex-shrink: 0;
}

.site-beta-banner__text {
    font-weight: 500;
    color: #612500;
}

.footer-beta-note {
    margin: 0;
    color: #fa8c16;
    font-weight: 600;
    font-size: 12px;
}

.topbar {
    background: var(--mh-accent);
    color: #fff;
    font-size: 12px;
}

.topbar__inner {
    min-height: 34px;
}

.topbar a {
    color: #fff;
    font-weight: 700;
}

.topbar__links {
    gap: 20px;
}

.site-header {
    background: var(--mh-brand);
    border: 0;
    color: #fff;
}

.site-header__main {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.site-branding {
    gap: 9px;
}

.site-title {
    color: #fff;
    font-size: 24px;
}

.site-title:hover,
.site-title:focus {
    color: #fff;
}

.site-description {
    color: rgba(255, 255, 255, .84);
    margin: 2px 0 0;
}

.brand-mark {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: var(--mh-accent);
    color: #fff;
    font-size: 17px;
}

.custom-logo {
    max-height: 45px;
}

.site-search {
    display: flex;
    align-items: stretch;
    min-height: 42px;
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
}

.site-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 15px;
    color: var(--mh-ink);
    background: #fff;
}

.site-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border: 0;
    background: #f5f5f5;
    color: var(--mh-brand-dark);
}

.site-search button:hover {
    background: #e6eef8;
}

.header__actions {
    gap: 4px;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .28);
    border-radius: 0;
    color: #fff;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.header-action__icon,
.menu-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.header-action__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.header-action:hover,
.header-action:focus {
    color: var(--mh-accent);
    background: transparent;
}

.header-action--cart {
    border: 0;
    background: transparent;
    color: #fff;
}

.header-action--cart:hover {
    background: transparent;
    color: var(--mh-accent);
}

.cart-count {
    background: var(--mh-accent);
    color: #1d1d1f;
    font-size: 12px;
    font-weight: 800;
}

.category-nav {
    background: var(--mh-brand-dark);
}

.category-nav__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
}

.main-navigation {
    width: 100%;
    margin: 0;
}

.main-navigation ul {
    justify-content: space-between;
    gap: 2px;
}

.main-navigation a {
    padding: 10px 13px;
    border-radius: 6px 6px 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.hero {
    padding: 16px 0 8px;
}

.hero__panel {
    min-height: 390px;
    border-radius: 10px;
    background: var(--mh-brand-dark);
    box-shadow: var(--mh-shadow);
}

.hero__panel::after {
    background: linear-gradient(90deg, rgba(0, 94, 196, .97) 0%, rgba(0, 122, 255, .82) 42%, rgba(0, 122, 255, .04) 100%);
}

.hero__content {
    max-width: 600px;
    padding: 46px;
}

.hero h1 {
    font-size: clamp(38px, 4.7vw, 58px);
}

.hero__lead {
    max-width: 470px;
    font-size: 17px;
}

.hero .button--light {
    background: var(--mh-accent);
    color: #1d1d1f;
}

.hero .button--light:hover {
    background: #ffe76b;
    color: #1d1d1f;
}

.hero .button--outline {
    border-color: rgba(255, 255, 255, .6);
}

.trust-strip {
    padding: 12px 0 6px;
}

.trust-strip__grid {
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e3e8ef;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.trust-item .trust-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    border-radius: 13px;
    background: #e6f2ff;
    border: 1px solid #c9e1ff;
    color: #007aff;
    line-height: 1;
}

.trust-item .trust-item__icon svg {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0;
    flex-shrink: 0;
}

.trust-item__text {
    min-width: 0;
}

.trust-item__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--mh-ink);
}

.trust-item__text span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--mh-ink-soft);
}

.section {
    padding: 28px 0;
}

.section--soft {
    background: transparent;
}

.section-heading {
    align-items: center;
    margin-bottom: 14px;
}

.section-heading .eyebrow {
    display: none;
}

.section-heading h2 {
    font-size: 25px;
    letter-spacing: -.03em;
}

.section-heading p {
    font-size: 14px;
}

.section-heading a {
    color: var(--mh-brand);
    font-size: 14px;
}

.category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.category-card {
    min-height: 168px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px 14px;
    border-radius: 14px;
    color: var(--mh-ink);
    background: #fff;
    border: 1px solid #e3e8ef;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: #c6d7eb;
    box-shadow: 0 10px 22px rgba(16, 36, 62, .09);
}

.category-card::before {
    display: none;
}

.category-card:nth-child(2),
.category-card:nth-child(3),
.category-card:nth-child(4) {
    background: #fff;
}

.category-card__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 84px;
    margin-bottom: 11px;
    border-radius: 12px;
    overflow: hidden;
}

.category-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.category-card:hover .category-card__thumb img {
    transform: scale(1.04);
}

.category-card h3 {
    margin: 0 0 2px;
    font-size: 15px;
}

.category-card p {
    color: var(--mh-ink-soft);
    font-size: 12px;
}

.product-grid {
    gap: 10px;
}

.product-card {
    border-radius: 8px;
    border-color: var(--mh-line);
    box-shadow: 0 2px 7px rgba(26, 49, 73, .05);
}

.product-card:hover {
    box-shadow: var(--mh-shadow);
    transform: translateY(-2px);
}

.product-card__image {
    aspect-ratio: 1 / .82;
    padding: 14px;
    background: #fff;
}

.product-card__body {
    padding: 12px;
}

.product-card__tag {
    color: var(--mh-brand);
    font-size: 10px;
}

.product-card h3 {
    min-height: 44px;
    font-size: 14px;
}

.product-card__price {
    font-size: 15px;
}

.product-card .button {
    min-height: 36px;
    padding: 0 11px;
    border-radius: 5px;
    background: var(--mh-brand);
    font-size: 12px;
}

.product-card__badge {
    top: 10px;
    left: 10px;
    padding: 4px 7px;
    border-radius: 4px;
    background: var(--mh-accent);
    color: #1d1d1f;
}

.promo {
    padding: 22px 0 38px;
}

.promo__panel {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: stretch;
    border-radius: 14px;
    background: var(--mh-accent);
    overflow: hidden;
}

.promo__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 36px 40px;
}

.promo__content .eyebrow {
    color: rgba(255, 255, 255, .92);
    margin-bottom: 8px;
}

.promo__content h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
    margin: 0 0 12px;
}

.promo__content p {
    color: rgba(255, 255, 255, .92);
    margin: 0 0 20px;
}

.promo__content .button {
    background: var(--mh-brand);
    color: #fff;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo__art {
    background: linear-gradient(145deg, #ffe985, #fff3b8);
}

.site-footer {
    padding: 44px 0 20px;
    background: #fff;
    color: var(--mh-ink-soft);
    border-top: 1px solid var(--mh-line);
}

.footer-brand {
    color: var(--mh-ink);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -.03em;
}

.site-footer h3 {
    color: var(--mh-ink);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
}

.site-footer a {
    color: #475569;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: var(--mh-brand);
}

.footer-bottom {
    border-top-color: var(--mh-line);
}

.woocommerce .woocommerce-breadcrumb {
    color: var(--mh-ink-soft);
}

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none;
    content: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*=columns-] li.product,
.woocommerce-page ul.products[class*=columns-] li.product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    float: none;
    clear: none;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    border: 1px solid #e3e8ef;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: #c6d7eb;
    box-shadow: 0 12px 26px rgba(16, 36, 62, .10);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / .86;
    object-fit: contain;
    padding: 14px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 40px;
    margin: 12px 0 8px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--mh-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: auto 0 12px;
    padding: 0 14px;
    font-size: 15px;
    color: #d0021b;
    font-weight: 800;
}

.woocommerce ul.products li.product .price del {
    color: #8b95a4;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 14px 14px;
    width: calc(100% - 28px);
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--mh-brand);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.woocommerce span.onsale {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 2;
    margin: 0;
    min-width: 0;
    min-height: 0;
    padding: 4px 10px;
    line-height: 1.25;
    border-radius: 999px;
    background: var(--mh-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 9px;
    background: var(--mh-brand);
    color: #fff;
    line-height: 1.25;
    text-align: center;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: var(--mh-brand-dark);
    color: #fff;
}

/* Harmonized rounded cards across storefront */
.trust-item,
.category-card,
.product-card {
    border-radius: 14px;
    border-color: #e3e8ef;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.product-card__image {
    background: #f4f8fc;
    border-bottom: 1px solid #edf2f7;
}

.product-card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 10px 14px;
    line-height: 1.25;
}

/* Water purifier category shell & DMX-inspired filters */
.mh-badge-installment {
    position: absolute;
    top: 18px;
    left: 18px;
    right: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    line-height: 1.25;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #cce2ff;
    color: var(--mh-brand-dark);
    font-size: 11px;
    font-weight: 700;
}

.mh-spec-chips {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 5px;
    min-height: 50px;
    padding: 0 14px 10px;
}

.mh-spec-chips span {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f2f5fa;
    color: var(--mh-ink-soft);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.mh-cat-shell {
    margin: 14px 0 22px;
    padding: 18px;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.mh-cat-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--mh-line);
    font-size: 13px;
    font-weight: 700;
    color: var(--mh-brand-dark);
}

.mh-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.mh-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--mh-line);
    border-radius: 999px;
    background: #f8fafd;
    color: var(--mh-ink);
    font-size: 13px;
    font-weight: 700;
}

.mh-pill:hover,
.mh-pill.is-active {
    border-color: var(--mh-brand);
    background: var(--mh-sky);
    color: var(--mh-brand-dark);
}

.mh-pill__count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: var(--mh-ink-soft);
    font-size: 11px;
}

.mh-brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mh-brand-row__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mh-ink-soft);
    margin-right: 4px;
}

.mh-brand-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--mh-line);
    border-radius: 9px;
    background: #fff;
    color: var(--mh-ink);
    font-size: 13px;
    font-weight: 700;
}

.mh-brand-chip:hover,
.mh-brand-chip.is-active {
    border-color: var(--mh-brand);
    background: var(--mh-brand);
    color: #fff;
}

.mh-filter-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    padding-top: 12px;
    border-top: 1px solid var(--mh-line);
}

.mh-filter-bar.has-clear {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.mh-filter-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--mh-ink-soft);
}

.mh-filter-field select {
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--mh-line);
    border-radius: 9px;
    background: #f8fafd;
    color: var(--mh-ink);
}

.mh-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-filter-actions .button {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
}

.mh-buying-guide {
    margin-top: 34px;
    padding: 22px;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.mh-buying-guide h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.mh-buying-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mh-buying-guide article {
    padding: 16px;
    border-radius: 12px;
    background: #f6f9fd;
    border: 1px solid #e5ecf4;
}

.mh-buying-guide h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--mh-brand-dark);
}

.mh-buying-guide p {
    margin: 0;
    font-size: 13px;
    color: var(--mh-ink-soft);
}

/* Karofi-style Single Product Detail Page */
.woocommerce div.product.mh-pdp {
    display: block;
}

.mh-pdp-header {
    margin: 6px 0 18px;
    padding: 16px 20px;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.mh-pdp-header__top h1.product_title {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--mh-ink);
}

.mh-pdp-header__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 13px;
}

.mh-pdp-rating {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: .04em;
}

.mh-pdp-rating strong {
    color: var(--mh-ink);
    margin-left: 3px;
}

.mh-pdp-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.mh-pdp-chip--brand {
    background: #eef5ff;
    color: var(--mh-brand-dark);
}

.mh-pdp-chip--authentic {
    background: #e8f8ef;
    color: #0a8754;
}

.mh-pdp-chip--installment {
    background: #fff4cc;
    color: #7a5800;
}

.mh-pdp-sku {
    color: var(--mh-ink-soft);
}

.mh-pdp-stock {
    color: #0a8754;
    font-weight: 700;
}

.mh-pdp-top-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 20px;
    align-items: start;
}

.mh-pdp-left,
.mh-pdp-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.mh-pdp-card {
    padding: 20px;
    border: 1px solid #e3e8ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 36, 62, .05);
}

.mh-pdp-card__title {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 800;
    color: var(--mh-ink);
}

.woocommerce div.product.mh-pdp .mh-pdp-gallery-card {
    position: relative;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafd 100%);
}

.woocommerce div.product.mh-pdp div.images {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.woocommerce div.product.mh-pdp div.images img {
    border-radius: 10px;
    object-fit: contain;
    max-height: 440px;
    margin-inline: auto;
}

.mh-pdp-highlight-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mh-pdp-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 36, 62, .04);
}

.mh-pdp-highlight-item .mh-pdp-highlight-item__dot {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    background: #e6f2ff;
    border: 1px solid #c9e1ff;
    color: #007aff;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
}

.mh-pdp-highlight-item__dot svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    flex-shrink: 0;
}

.mh-pdp-highlight-item>div strong {
    display: block;
    font-size: 13px;
    line-height: 1.3;
    color: var(--mh-ink);
}

.mh-pdp-highlight-item>div span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--mh-ink-soft);
}

.mh-pdp-policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mh-pdp-policy-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 11px;
    background: #f6f9fd;
    border: 1px solid #e6edf6;
    font-size: 13px;
    line-height: 1.45;
    color: var(--mh-ink);
}

.mh-pdp-policy-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
    background: #e6f2ff;
    border: 1px solid #c9e1ff;
    color: #007aff;
    line-height: 1;
}

.mh-pdp-policy-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: 0;
    flex-shrink: 0;
}

.woocommerce div.product.mh-pdp .mh-pdp-buybox-card {
    width: 100%;
}

.woocommerce div.product.mh-pdp .mh-pdp-buybox-card .woocommerce-product-details__short-description {
    display: none !important;
}

.mh-pdp-price-box {
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff7f7;
    border: 1px solid #fde0e0;
    margin-bottom: 12px;
}

.mh-pdp-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.woocommerce div.product.mh-pdp .mh-pdp-price-box .price {
    margin: 0;
    font-size: 27px;
    font-weight: 800;
    color: #d0021b;
    line-height: 1.2;
}

.woocommerce div.product.mh-pdp .mh-pdp-price-box .price del {
    font-size: 15px;
    color: #7a869a;
    font-weight: 500;
    margin-right: 6px;
}

.woocommerce div.product.mh-pdp .mh-pdp-price-box .price ins {
    text-decoration: none;
}

.mh-pdp-discount-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: #d0021b;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.mh-pdp-savings {
    margin: 5px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: #0a8754;
}

.mh-pdp-price-note {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--mh-ink-soft);
}

.mh-pdp-key-bullets {
    list-style: none;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f6f9fd;
    border: 1px solid #e6edf6;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    color: var(--mh-ink);
}

.mh-pdp-key-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.mh-pdp-promo-box {
    margin-bottom: 16px;
    border: 1px solid #f2d479;
    border-radius: 12px;
    background: #fffdf5;
    overflow: hidden;
}

.mh-pdp-promo-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    background: linear-gradient(90deg, #fff2bf, #ffe68f);
    color: #3d2c00;
    font-size: 13px;
    line-height: 1.35;
}

.mh-pdp-promo-box__head span {
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.mh-pdp-promo-box__list {
    list-style: none;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.mh-pdp-promo-box__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--mh-ink);
}

.mh-promo-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mh-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.woocommerce div.product.mh-pdp .woocommerce-product-details__short-description {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafd;
    font-size: 14px;
    color: var(--mh-ink-soft);
}

.woocommerce div.product.mh-pdp .woocommerce-product-details__short-description p {
    margin: 0;
    display: none;
}

.woocommerce div.product.mh-pdp form.cart {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
}

.woocommerce div.product.mh-pdp form.cart .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fb6e2e;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .02em;
    text-align: center;
}

.woocommerce div.product.mh-pdp form.cart .single_add_to_cart_button:hover {
    background: #e35819;
}

.woocommerce div.product.mh-pdp .product_meta {
    padding-top: 12px;
    border-top: 1px solid var(--mh-line);
    font-size: 13px;
    color: var(--mh-ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.mh-pdp-hotline {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f2f7fd;
    text-align: center;
    font-size: 13px;
    color: var(--mh-ink);
}

.mh-pdp-hotline a {
    font-weight: 800;
    color: var(--mh-brand-dark);
    margin: 0 4px;
}

.mh-pdp-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 20px;
    align-items: start;
}

.mh-pdp-body-main,
.mh-pdp-body-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.mh-pdp-body-side {
    position: sticky;
    top: 96px;
}

.mh-pdp-stages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mh-stage-box {
    padding: 14px;
    border-radius: 12px;
    background: #f6f9fd;
    border: 1px solid #e5ecf5;
}

.mh-stage-box__step {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e1effe;
    color: var(--mh-brand-dark);
    font-size: 11px;
    font-weight: 800;
}

.mh-stage-box h3 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--mh-ink);
}

.mh-stage-box p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--mh-ink-soft);
}

.mh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-faq-item {
    border: 1px solid #e5ecf5;
    border-radius: 11px;
    background: #f9fbfe;
    padding: 12px 14px;
}

.mh-faq-item summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--mh-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.mh-faq-item summary::after {
    content: "+";
    font-size: 18px;
    font-weight: 700;
    color: var(--mh-brand);
}

.mh-faq-item[open] summary::after {
    content: "−";
}

.mh-faq-item p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mh-ink-soft);
}

.mh-specs-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e7ecf2;
}

.mh-specs-table tr:nth-child(odd) {
    background: #f6f8fc;
}

.mh-specs-table tr:nth-child(even) {
    background: #fff;
}

.mh-specs-table th,
.mh-specs-table td {
    padding: 10px 12px;
    font-size: 13px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #edf1f6;
}

.mh-specs-table th {
    width: 42%;
    font-weight: 700;
    color: var(--mh-ink-soft);
}

.mh-specs-table td {
    color: var(--mh-ink);
    font-weight: 600;
}

.mh-specs-table tr:last-child th,
.mh-specs-table tr:last-child td {
    border-bottom: 0;
}

.woocommerce div.product.mh-pdp .mh-pdp-tabs-card .woocommerce-tabs {
    margin-top: 0;
}

.mh-pdp-related {
    margin-top: 28px;
}

.mh-pdp-related .related.products>h2,
.mh-pdp-related .up-sells.products>h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

/* ==========================================================================
   Footer Cohesive Components
   ========================================================================== */
.mh-footer-contact-list {
    margin-top: 14px;
    list-style: none;
    padding: 0;
}

.mh-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #334155;
    font-size: 13.5px;
    margin-top: 9px;
}

.mh-footer-contact-list li svg {
    color: var(--mh-brand);
    flex-shrink: 0;
}

.mh-footer-contact-list a {
    color: #1e293b;
    font-weight: 600;
}

.mh-footer-contact-list a:hover {
    color: var(--mh-brand);
}

/* Newsletter form in column 4 */
.mh-footer-newsletter {
    display: flex;
    align-items: center;
    margin: 12px 0 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 3px 4px 3px 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
    max-width: 320px;
}

.mh-footer-newsletter:focus-within {
    border-color: var(--mh-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .12);
}

.mh-footer-newsletter input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px 4px;
    font-size: 13px;
    color: var(--mh-ink);
    outline: none;
    min-width: 0;
}

.mh-footer-newsletter button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 7px;
    background: var(--mh-brand);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease;
}

.mh-footer-newsletter button:hover {
    background: var(--mh-brand-dark);
}

/* Zalo chips in column 4 */
.mh-footer-zalo-block {
    margin-top: 14px;
}

.mh-footer-zalo-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.mh-footer-zalo-chips {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 260px;
}

.mh-footer-zalo-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s ease;
}

.mh-footer-zalo-chip:hover {
    background: #eef6ff;
    border-color: #bad9ff;
    color: var(--mh-brand) !important;
    transform: translateX(3px);
}

.mh-footer-zalo-chip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    background: #0068ff;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
}

.mh-footer-zalo-chip__tel {
    letter-spacing: .01em;
}

.mh-pdp-zalo-group {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #d5e5ff;
    border-radius: 12px;
    background: #f4f9ff;
}

.mh-pdp-zalo-group__title {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0054d1;
}

.mh-pdp-zalo-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.mh-pdp-zalo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #0068ff;
    border-radius: 9px;
    background: #fff;
    color: #0054d1;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    transition: .2s ease;
}

.mh-pdp-zalo-btn:hover,
.mh-pdp-zalo-btn:focus {
    background: #0068ff;
    color: #fff;
}

.mh-pdp-zalo-btn__badge {
    display: inline-grid;
    place-items: center;
    padding: 2px 6px;
    border-radius: 5px;
    background: #0068ff;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.mh-pdp-zalo-btn:hover .mh-pdp-zalo-btn__badge {
    background: #fff;
    color: #0068ff;
}

.mh-pdp-zalo-note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--mh-ink-soft);
}

.mh-pdp-zalo-note.is-copied {
    color: #0a8754;
    font-weight: 700;
}

.mh-zalo-dock {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.mh-zalo-menu {
    display: none;
    min-width: 220px;
    padding: 12px;
    border: 1px solid #d7e5fb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(16, 36, 62, .16);
}

.mh-zalo-dock.is-open .mh-zalo-menu,
.mh-zalo-dock:hover .mh-zalo-menu,
.mh-zalo-dock:focus-within .mh-zalo-menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mh-zalo-menu__title {
    font-size: 12px;
    font-weight: 800;
    color: var(--mh-ink-soft);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--mh-line);
}

.mh-zalo-menu__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 9px;
    background: #f4f8ff;
    color: #0054d1;
    font-size: 13px;
    font-weight: 800;
    transition: .15s ease;
}

.mh-zalo-menu__item:hover,
.mh-zalo-menu__item:focus {
    background: #0068ff;
    color: #fff;
}

.mh-zalo-menu__badge {
    display: inline-grid;
    place-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    background: #0068ff;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.mh-zalo-menu__item:hover .mh-zalo-menu__badge {
    background: #fff;
    color: #0068ff;
}

.mh-zalo-float {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    padding: 8px 15px 8px 8px;
    border-radius: 999px;
    background: #0068ff;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 104, 255, .34);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.mh-zalo-float:hover,
.mh-zalo-float:focus {
    background: #0054d1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 104, 255, .42);
}

.mh-zalo-float__icon {
    display: grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #0068ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -.02em;
}

@media (max-width: 980px) {
    .site-header__main {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
    }

    .site-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 10px;
    }

    .site-header__main {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header__actions {
        margin-left: auto;
    }

    .header-action--location {
        display: none;
    }

    .category-nav__inner {
        min-height: 42px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.is-open {
        display: block;
        padding: 5px 0 9px;
    }

    .main-navigation ul {
        display: block;
    }

    .main-navigation a {
        padding: 9px 0;
    }

    .category-nav__inner {
        flex-wrap: wrap;
    }

    .trust-strip__grid,
    .category-grid,
    .product-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mh-filter-bar,
    .mh-filter-bar.has-clear {
        grid-template-columns: 1fr 1fr;
    }

    .mh-buying-guide__grid {
        grid-template-columns: 1fr;
    }

    .mh-pdp-top-grid,
    .mh-pdp-body-grid {
        grid-template-columns: 1fr;
    }

    .mh-pdp-body-side {
        position: static;
    }

    .mh-pdp-stages__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-beta-banner {
        font-size: 11.5px;
        padding: 5px 0;
    }

    .site-beta-banner__inner {
        gap: 6px;
        justify-content: center;
    }

    .site-beta-banner__badge {
        font-size: 10px;
        padding: 1px 6px;
    }

    .container {
        width: min(100% - 24px, var(--mh-container));
    }

    .topbar__inner {
        min-height: 32px;
        flex-direction: row;
        align-items: center;
        overflow: hidden;
        white-space: nowrap;
    }

    .topbar__note {
        max-width: 55%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .topbar__links {
        gap: 12px;
        font-size: 11px;
    }

    .site-header__main {
        grid-template-columns: 1fr auto;
    }

    .site-title {
        font-size: 20px;
    }

    .site-description {
        display: none;
    }

    .header-action {
        padding: 0 5px;
        font-size: 11px;
    }

    .header-action span:nth-child(2) {
        display: none;
    }

    .header-action--account {
        display: none;
    }

    .hero__panel {
        min-height: 460px;
    }

    .hero__content {
        padding: 27px 22px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .trust-strip__grid,
    .category-grid,
    .product-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mh-filter-bar,
    .mh-filter-bar.has-clear {
        grid-template-columns: 1fr;
    }

    .mh-pdp-highlight-strip {
        grid-template-columns: 1fr;
    }

    .mh-pdp-policy-list {
        grid-template-columns: 1fr;
    }

    .mh-pdp-zalo-links {
        grid-template-columns: 1fr;
    }

    .mh-pdp-card {
        padding: 15px;
    }

    .trust-item {
        min-height: 76px;
        gap: 10px;
        padding: 12px;
    }

    .trust-item__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .trust-item__icon svg {
        width: 21px;
        height: 21px;
    }

    .trust-item__text strong {
        font-size: 13px;
    }

    .trust-item__text span {
        font-size: 11px;
    }

    .category-card {
        min-height: 148px;
        padding: 12px 10px;
    }

    .category-card__thumb {
        width: 86px;
        height: 70px;
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .category-card h3 {
        font-size: 13px;
    }

    .section-heading {
        display: flex;
        align-items: end;
    }

    .section-heading p {
        display: none;
    }

    .promo__panel {
        grid-template-columns: 1fr;
    }

    .promo__content {
        padding: 28px 22px;
    }

    .promo__art {
        min-height: 170px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mh-zalo-dock {
        right: 14px;
        bottom: 14px;
    }

    .mh-zalo-float {
        padding: 7px 12px 7px 7px;
        font-size: 12px;
    }

    .mh-zalo-float__icon {
        min-width: 32px;
        height: 32px;
    }
}

/* ==========================================================================
   Vietnam Checkout Form Styles
   ========================================================================== */
/* ==========================================================================
   Vietnam Checkout Form Styles
   - 2 columns on Desktop: Customer Info (Left) | Order Summary (Right)
   - Order Summary on TOP on Mobile & Tablet ("các giao diện khác để thông tin đơn hàng lên trên")
   - Thu gọn thông tin đơn hàng (Compact, modern visual summary)
   ========================================================================== */
#billing_country_field,
#shipping_country_field,
#billing_postcode_field,
#shipping_postcode_field,
#billing_company_field,
#shipping_company_field {
    display: none !important;
}

/* Main Checkout Layout Grid: Order Info (Left) | Customer Info (Right) on Desktop */
.mh-checkout-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
    margin-top: 16px;
    margin-bottom: 40px;
    width: 100%;
}

.mh-checkout-col--order {
    grid-column: 1;
    position: sticky;
    top: 24px;
}

.mh-checkout-col--customer {
    grid-column: 2;
}

/* Responsive viewports: Mobile & Tablet */
@media (max-width: 991px) {
    .mh-checkout-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 12px;
        margin-bottom: 30px;
    }

    /* Đưa thông tin đơn hàng lên trên trên mobile & tablet */
    .mh-checkout-col--order {
        order: 1;
        position: static;
        width: 100%;
    }

    .mh-checkout-col--customer {
        order: 2;
        width: 100%;
    }
}

/* Card Styling for Checkout Sections */
.mh-checkout-card {
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .mh-checkout-card {
        padding: 16px 14px;
        border-radius: 12px;
    }
}

.mh-checkout-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--mh-line);
}

.mh-checkout-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mh-checkout-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 122, 255, 0.1);
    color: var(--mh-brand);
    flex-shrink: 0;
}

.mh-checkout-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--mh-ink);
    line-height: 1.3;
}

@media (max-width: 640px) {
    .mh-checkout-card__title {
        font-size: 16.5px;
    }
}

.mh-checkout-card__subtitle {
    width: 100%;
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--mh-ink-soft);
    line-height: 1.4;
}

.mh-checkout-badge-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

/* Reset default WooCommerce box styling on checkout page so it doesn't nest borders */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce-checkout .col2-set {
    float: none;
    width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
}

/* Hide redundant WooCommerce default section headings */
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 {
    display: none !important;
}

/* Customer Information Fields (2 columns on Desktop, 1 column on Mobile) */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.woocommerce-checkout .form-row {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.woocommerce-checkout .form-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mh-ink);
    margin-bottom: 4px;
    line-height: 1.25;
}

.woocommerce-checkout .form-row label .required {
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
}

.woocommerce-checkout .form-row label .optional {
    color: var(--mh-ink-soft);
    font-weight: 400;
    font-size: 12.5px;
    margin-left: 4px;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select {
    min-height: 40px;
    height: 40px;
    border: 1px solid var(--mh-line);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--mh-ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Select2 dropdown matching Minh Hong input styles */
.woocommerce-checkout .select2-container {
    width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 40px !important;
    height: 40px !important;
    border: 1px solid var(--mh-line) !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--mh-ink) !important;
    font-size: 14px !important;
    line-height: 38px !important;
    padding-left: 0 !important;
    padding-right: 24px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--mh-ink-soft) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    right: 8px !important;
    top: 0 !important;
}

.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--mh-brand) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15) !important;
}

.select2-dropdown {
    border: 1px solid var(--mh-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
    font-family: inherit !important;
    font-size: 13.5px !important;
    overflow: hidden !important;
    z-index: 999999 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--mh-line) !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13.5px !important;
    outline: none !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--mh-brand) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--mh-brand) !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #e0f2fe !important;
    color: var(--mh-brand) !important;
    font-weight: 700 !important;
}

/* Order comments textarea matching billing_address_1 input box */
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout #order_comments {
    min-height: 40px;
    height: 40px;
    line-height: 22px;
    border: 1px solid var(--mh-line);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--mh-ink);
    background: #fff;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout #order_comments:focus {
    border-color: var(--mh-brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.woocommerce-checkout .form-row-wide {
    width: 100%;
}

/* Seamless Additional Fields / Order Comments section */
.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 10px !important;
    width: 100%;
}

.woocommerce-checkout #order_comments_field {
    width: 100%;
    margin: 0 !important;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 6px);
}

/* Mobile responsive for form fields */
@media (max-width: 640px) {
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100% !important;
    }
}

/* ==========================================================================
   Thu gọn thông tin đơn hàng (Compact Order Review)
   ========================================================================== */
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin-bottom: 16px;
    background: transparent;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr {
    border-bottom: 1px solid var(--mh-line);
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr.cart_item td.product-name {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border: none;
    background: transparent;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr.cart_item td.product-name .mh-checkout-product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tr.cart_item td {
    padding: 12px 0;
    vertical-align: middle;
    border: none;
    background: transparent;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td.product-total {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    font-size: 15px;
    color: var(--mh-ink);
    border: none;
    background: transparent;
    padding-left: 8px;
}

/* Compact Product Item with Thumbnail */
.mh-checkout-product-meta .mh-checkout-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--mh-line);
    background: #f8fafc;
    flex-shrink: 0;
    padding: 2px;
}

@media (max-width: 640px) {
    .mh-checkout-product-meta .mh-checkout-thumb {
        width: 44px;
        height: 44px;
    }
}

.mh-checkout-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mh-checkout-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--mh-ink);
    line-height: 1.35;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce-checkout .product-quantity {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

/* Totals in tfoot */
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot td {
    border: none;
    padding: 8px 0;
    font-size: 14px;
    background: transparent;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 500;
    color: var(--mh-ink-soft);
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    font-weight: 600;
    color: var(--mh-ink);
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total {
    border-top: 1px dashed var(--mh-line);
    border-bottom: none;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 16px;
    font-weight: 700;
    color: var(--mh-ink);
    padding-top: 14px;
}

.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 20px;
    font-weight: 800;
    color: var(--mh-brand);
    padding-top: 14px;
}

/* Payment Section in Customer Details Area */
.mh-checkout-payment-area {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--mh-line);
}

.mh-checkout-payment-area__title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--mh-ink);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.woocommerce-checkout #payment {
    background: #f8fafc;
    border: 1px solid var(--mh-line);
    border-radius: 12px;
    padding: 18px;
}

@media (max-width: 640px) {
    .woocommerce-checkout #payment {
        padding: 14px;
    }
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--mh-line);
    padding: 0 0 12px 0;
    margin: 0 0 14px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    background: #fff;
    border: 1.5px solid var(--mh-line);
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
    border-color: #cbd5e1;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input:checked) {
    border-color: var(--mh-brand);
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.08);
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
    font-size: 14px;
    font-weight: 700;
    color: var(--mh-ink);
    line-height: 1.4;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label img {
    max-height: 22px;
    width: auto;
    border-radius: 4px;
    vertical-align: middle;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--mh-brand);
    cursor: pointer;
}

.woocommerce-checkout #payment div.payment_box {
    background: transparent;
    border: none;
    padding: 6px 0 0 24px;
    font-size: 13px;
    color: var(--mh-ink-soft);
    margin: 4px 0 0;
    line-height: 1.5;
}

.woocommerce-checkout #payment div.payment_box p {
    margin: 0;
}

.woocommerce-checkout #payment div.payment_box:before {
    display: none;
}

.woocommerce-checkout #payment .place-order {
    padding: 0;
    margin: 0;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
    margin: 14px 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--mh-ink-soft);
}

.woocommerce-checkout .woocommerce-privacy-policy-text p {
    margin: 0;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--mh-brand);
    text-decoration: underline;
    font-weight: 500;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a:hover {
    color: var(--mh-brand-dark);
}

.woocommerce-checkout #payment #place_order {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 10px;
    background: var(--mh-brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.32);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

.woocommerce-checkout #payment #place_order:hover {
    background: var(--mh-brand-dark);
    box-shadow: 0 6px 18px rgba(0, 122, 255, 0.45);
    transform: translateY(-1px);
}

.woocommerce-checkout #payment #place_order:active {
    transform: translateY(0);
}

/* Trust Guarantee Badges under Order Review */
.mh-checkout-guarantees {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-line);
}

.mh-guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mh-ink-soft);
}

.mh-guarantee-item svg {
    flex-shrink: 0;
}
}

.mh-guarantee-item svg {
    flex-shrink: 0;
}

/* ==========================================================================
   Buy Now ("Mua ngay") Button Styles
   ========================================================================== */
.woocommerce ul.products li.product .button.minhhong-btn-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--mh-brand);
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product .button.minhhong-btn-buy-now:hover {
    background: var(--mh-brand-dark);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.35);
    transform: translateY(-1px);
    color: #fff !important;
}

.woocommerce ul.products li.product .button.minhhong-btn-buy-now:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}

/* ==========================================================================
   VietQR Payment Card & Thank You Page Styles
   ========================================================================== */
.mh-vietqr-box {
    background: #fff;
    border: 1.5px solid #007aff;
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0 32px;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.08);
}

.mh-vietqr-box__header {
    text-align: center;
    border-bottom: 1px solid var(--mh-line);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.mh-vietqr-box__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 122, 255, 0.1);
    color: var(--mh-brand);
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.mh-vietqr-box__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--mh-ink);
    margin: 4px 0 6px;
}

.mh-vietqr-box__subtitle {
    font-size: 13.5px;
    color: var(--mh-ink-soft);
    margin: 0;
    max-width: 580px;
    margin-inline: auto;
}

.mh-vietqr-box__content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 768px) {
    .mh-vietqr-box__content {
        grid-template-columns: 1fr;
    }
}

.mh-vietqr-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mh-vietqr-qr-wrap {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--mh-line);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
}

.mh-vietqr-qr-img {
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
    border-radius: 6px;
}

.mh-vietqr-qr-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    margin-top: 10px;
}

.mh-vietqr-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--mh-line);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.mh-vietqr-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.mh-vietqr-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mh-vietqr-label {
    color: var(--mh-ink-soft);
    font-weight: 500;
    flex-shrink: 0;
}

.mh-vietqr-val {
    color: var(--mh-ink);
    text-align: right;
}

.mh-vietqr-val--copyable {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.mh-vietqr-highlight {
    font-size: 15px;
    color: var(--mh-brand);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.mh-vietqr-price {
    font-size: 16px;
    color: #ef4444;
    font-weight: 800;
}

.mh-vietqr-memo {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.mh-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mh-btn-copy:hover {
    border-color: var(--mh-brand);
    color: var(--mh-brand);
    background: #f0f7ff;
}

.mh-vietqr-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.mh-vietqr-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--mh-ink);
}

.mh-vietqr-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--mh-brand);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.mh-vietqr-reassurance {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--mh-ink-soft);
    background: #eff6ff;
    border-left: 3px solid var(--mh-brand);
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
}

/* Toast Notification for Copy action */
.mh-copy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0f172a;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999999;
}

.mh-copy-toast.is-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mh-copy-toast svg {
    color: #10b981;
}

/* ==========================================================================
   Phone Number Order Tracking Styles (/tra-cuu-don-hang/)
   ========================================================================== */
.mh-tracking-wrapper {
    max-width: 820px;
    margin: 24px auto 48px;
    padding: 0 16px;
}

.mh-tracking-card {
    background: #fff;
    border: 1px solid var(--mh-line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.mh-tracking-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--mh-line);
}

.mh-tracking-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 122, 255, 0.1);
    color: var(--mh-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mh-tracking-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--mh-ink);
    margin: 0 0 4px;
}

.mh-tracking-subtitle {
    font-size: 13.5px;
    color: var(--mh-ink-soft);
    margin: 0;
    line-height: 1.4;
}

.mh-tracking-fields {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 12px;
    align-items: flex-end;
}

@media (max-width: 680px) {
    .mh-tracking-fields {
        grid-template-columns: 1fr;
    }
}

.mh-tracking-field-wrap {
    display: flex;
    flex-direction: column;
}

.mh-tracking-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--mh-ink);
    margin-bottom: 6px;
}

.mh-tracking-label .mh-req {
    color: #ef4444;
    font-weight: 700;
}

.mh-tracking-label .mh-opt {
    color: var(--mh-ink-soft);
    font-weight: 400;
    font-size: 12px;
}

.mh-input-with-icon {
    position: relative;
    width: 100%;
}

.mh-input-with-icon svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.mh-tracking-input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--mh-line);
    border-radius: 8px;
    padding: 8px 12px 8px 36px;
    font-size: 14px;
    color: var(--mh-ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.mh-tracking-input:focus {
    border-color: var(--mh-brand);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
}

.mh-tracking-submit-btn {
    height: 42px;
    background: var(--mh-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 100%;
}

.mh-tracking-submit-btn:hover {
    background: var(--mh-brand-dark);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.mh-tracking-notice--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 20px;
}

/* Empty State Card */
.mh-tracking-card--empty {
    text-align: center;
    padding: 36px 20px;
}

.mh-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f1f5f9;
    margin-bottom: 16px;
}

.mh-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mh-ink);
    margin: 0 0 8px;
}

.mh-empty-desc {
    font-size: 14px;
    color: var(--mh-ink-soft);
    max-width: 460px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.mh-btn-hotline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mh-brand);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mh-btn-hotline:hover {
    background: var(--mh-brand-dark);
}

/* Results List */
.mh-results-count {
    font-size: 15px;
    color: var(--mh-ink);
    margin-bottom: 16px;
    font-weight: 500;
}

.mh-order-card {
    background: #fff;
    border: 1.5px solid var(--mh-line);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease;
}

.mh-order-card:hover {
    border-color: #cbd5e1;
}

.mh-order-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mh-line);
}

.mh-order-card__number {
    font-size: 17px;
    font-weight: 800;
    color: var(--mh-ink);
    margin: 0;
}

.mh-order-card__date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    color: var(--mh-ink-soft);
    margin-top: 2px;
}

/* Status Badges */
.mh-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.mh-status--pending,
.mh-status--on-hold {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.mh-status--confirmed {
    background: #e0e7ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.mh-status--processing {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
}

.mh-status--completed {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.mh-status--cancelled,
.mh-status--refunded {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.mh-order-card__status-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #0369a1;
    background: #f0f9ff;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 12px 0 10px;
}

/* Order Item Rows */
.mh-order-items {
    padding: 6px 0;
}

.mh-order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.mh-order-item-row:last-child {
    border-bottom: none;
}

.mh-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-item-img img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid var(--mh-line);
    object-fit: cover;
    display: block;
}

.mh-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--mh-ink);
    margin: 0 0 2px;
}

.mh-item-qty {
    font-size: 12px;
    color: var(--mh-ink-soft);
}

.mh-item-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--mh-ink);
}

/* Order Card Footer */
.mh-order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid var(--mh-line);
}

.mh-order-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--mh-ink);
}

.mh-info-label {
    color: var(--mh-ink-soft);
    margin-right: 4px;
}

.mh-order-total-col {
    text-align: right;
}

.mh-total-label {
    display: block;
    font-size: 12px;
    color: var(--mh-ink-soft);
    margin-bottom: 2px;
}

.mh-total-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--mh-brand);
}

/* Support Hotline Callout */
.mh-tracking-support-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--mh-line);
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 24px;
}

.mh-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.mh-support-text strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.mh-support-link {
    color: var(--mh-brand);
    font-weight: 700;
    text-decoration: none;
}

.mh-support-link:hover {
    text-decoration: underline;
}

/* Loading indicator for Wards dropdown */
.mh-loading-wards {
    position: relative;
    opacity: 0.65;
}

.mh-loading-wards:after {
    content: '';
    position: absolute;
    right: 36px;
    bottom: 12px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--mh-brand);
    border-top-color: transparent;
    border-radius: 50%;
    animation: mh-spin 0.6s linear infinite;
    pointer-events: none;
    z-index: 10;
}

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

/* CR-001 Page 4 Product Card Redesign & Red CTA Contrast */
.button,
.promo__content .button,
.woocommerce .button.alt,
.woocommerce a.button.alt {
    color: #fff;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*=columns-] li.product,
.woocommerce-page ul.products[class*=columns-] li.product {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(16, 36, 62, .05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
    color: inherit;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(16, 36, 62, .10);
}

.woocommerce ul.products li.product a img {
    background: #eef4fb;
    border-radius: 12px;
    padding: 12px;
    margin: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
    border-bottom: 0;
}

.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale {
    top: 22px;
    right: 22px;
    left: auto;
}

.mh-badge-installment,
.mh-card-badge-new {
    top: 22px;
    left: 22px;
    right: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    margin: 4px 0 0;
    min-height: 42px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.woocommerce ul.products li.product .price {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    color: #10243e;
}

.woocommerce ul.products li.product .price ins {
    color: #e82f33;
    text-decoration: none;
}

.woocommerce ul.products li.product .price del {
    color: #8b95a4;
    font-size: 12.5px;
    font-weight: 500;
}

.mh-card-badge-new {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #d9f99d;
    color: #1a2e05;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.mh-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #475569;
    margin: 0;
}

.mh-card-rating__stars {
    color: #f59e0b;
    font-size: 13px;
}

.mh-card-savings {
    align-self: flex-start;
    display: inline-block;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #e82f33;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.mh-spec-chips {
    padding: 0;
    margin: 2px 0 0;
    min-height: 56px;
    align-content: flex-start;
    gap: 6px;
}

.mh-spec-chips span {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11.5px;
    color: #334155;
}

.mh-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding-top: 8px;
}

.woocommerce ul.products li.product .mh-card-actions .button,
.woocommerce-page ul.products li.product .mh-card-actions .button,
.mh-card-actions .minhhong-btn-buy-now {
    flex: 1 1 auto;
    width: auto !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #1d61e7 !important;
    color: #fff !important;
    font-weight: 700 !important;
    min-height: 40px !important;
    height: 40px;
    padding: 0 16px !important;
}

.woocommerce ul.products li.product .mh-card-actions .button:hover,
.mh-card-actions .minhhong-btn-buy-now:hover {
    background: #164ec0 !important;
}

.mh-btn-cart-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1d61e7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}

.mh-btn-cart-icon:hover {
    background: #eef4fb;
    color: #164ec0;
}

/* CR-001 Official Brand Logo & Promo Banner */
.site-branding {
    min-width: 0;
    max-width: 100%;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(16, 36, 62, .12);
    max-width: min(210px, 46vw);
    flex-shrink: 1;
}

.brand-logo-img {
    display: block;
    max-width: 100%;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-logo-wrap {
        max-width: 150px;
        padding: 4px 8px;
    }

    .brand-logo-img {
        max-height: 28px;
    }
}

.site-branding__meta .site-description {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
}

.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.promo__art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(145deg, #fff5d6, #ffe8a3);
}

.promo__brand-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 22px 28px;
    box-shadow: 0 14px 32px rgba(16, 36, 62, .14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo__logo {
    width: 165px;
    height: auto;
    object-fit: contain;
}

/* CR-001 Contact Page & Map Embed */
.mh-contact-map-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.mh-contact-map-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.35fr);
    gap: 24px;
    align-items: stretch;
}

.mh-contact-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.mh-contact-info-box h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--mh-ink);
}

.mh-contact-info-box p {
    margin: 0 0 8px;
    font-size: 14.5px;
    color: var(--mh-ink-soft);
}

.mh-map-direction-btn {
    margin-top: 12px;
    background: var(--mh-accent);
    color: #fff;
}

.mh-contact-map-frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    min-height: 300px;
    background: #eef4fb;
}

.mh-contact-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .mh-contact-map-grid {
        grid-template-columns: 1fr;
    }
}

/* CR-001 Category Grid Hierarchy & Nav Dropdowns */
.category-grid--cr001 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.category-grid--cr001 .category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
}

.category-card__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.category-card__children {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.category-card__children a {
    font-size: 12px;
    font-weight: 600;
    color: var(--mh-brand-dark);
    background: #eef6ff;
    padding: 3px 9px;
    border-radius: 999px;
    text-decoration: none;
}

.category-card__children a:hover {
    background: var(--mh-brand);
    color: #fff;
}

.main-navigation ul.menu li {
    position: relative;
}

.main-navigation ul.menu li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(16, 36, 62, .14);
    padding: 6px 0;
    z-index: 60;
    list-style: none;
    margin: 0;
}

.main-navigation ul.menu li:hover > ul.sub-menu,
.main-navigation ul.menu li:focus-within > ul.sub-menu {
    display: block;
}

.main-navigation ul.menu li ul.sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--mh-ink);
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.main-navigation ul.menu li ul.sub-menu li a:hover {
    background: #eef6ff;
    color: var(--mh-brand-dark);
}

/* CR-001 Mobile Responsive Product Cards & PDP Alignment */
@media (max-width: 640px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 12px;
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product a img {
        padding: 6px;
        border-radius: 10px;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        top: 12px;
        right: 12px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .mh-badge-installment,
    .mh-card-badge-new {
        top: 12px;
        left: 12px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
        line-height: 1.38;
        min-height: 36px;
        margin-top: 2px;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14.5px;
        gap: 4px 6px;
    }

    .woocommerce ul.products li.product .price del {
        font-size: 11px;
    }

    .mh-card-rating {
        font-size: 11.5px;
    }

    .mh-card-savings {
        font-size: 11px;
        padding: 2px 8px;
    }

    .mh-spec-chips {
        min-height: auto;
        gap: 4px;
    }

    .mh-spec-chips span {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .mh-card-actions {
        gap: 6px;
        padding-top: 4px;
    }

    .woocommerce ul.products li.product .mh-card-actions .button,
    .woocommerce-page ul.products li.product .mh-card-actions .button,
    .mh-card-actions .minhhong-btn-buy-now {
        height: 36px;
        min-height: 36px !important;
        padding: 0 10px !important;
        font-size: 12.5px !important;
    }

    .mh-btn-cart-icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .mh-pdp-top-grid,
    .mh-pdp-body-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px;
    }

    .mh-pdp-card {
        padding: 14px !important;
        border-radius: 12px;
    }

    .mh-pdp-zalo-links {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 359px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* CR-001 Mobile Responsive Polish for Product Cards & Single Product Page */
@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .woocommerce ul.products::before,
    .woocommerce ul.products::after {
        display: none !important;
        content: none !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        padding: 10px !important;
        border-radius: 12px;
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product a img {
        padding: 8px;
        border-radius: 10px;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        top: 14px;
        right: 14px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .mh-badge-installment,
    .mh-card-badge-new {
        top: 14px;
        left: 14px;
        padding: 3px 7px;
        font-size: 10px;
        max-width: calc(100% - 76px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
        line-height: 1.35;
        min-height: 36px;
        margin: 2px 0 0;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14.5px;
        gap: 5px;
    }

    .woocommerce ul.products li.product .price del {
        font-size: 11px;
    }

    .mh-card-savings {
        font-size: 10.5px;
        padding: 2px 7px;
        max-width: 100%;
    }

    .mh-spec-chips {
        min-height: 0;
        gap: 4px;
    }

    .mh-spec-chips span {
        font-size: 10.5px;
        padding: 2px 7px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mh-card-actions {
        gap: 6px;
        padding-top: 6px;
    }

    .woocommerce ul.products li.product .mh-card-actions .button,
    .woocommerce-page ul.products li.product .mh-card-actions .button,
    .mh-card-actions .minhhong-btn-buy-now {
        min-height: 34px !important;
        height: 34px;
        font-size: 12px !important;
        padding: 0 8px !important;
        white-space: nowrap;
    }

    .mh-btn-cart-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    .mh-pdp-top-grid,
    .mh-pdp-body-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .mh-pdp-left,
    .mh-pdp-right,
    .mh-pdp-body-main,
    .mh-pdp-body-side {
        min-width: 0;
    }

    .mh-pdp-zalo-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mh-pdp-zalo-btn {
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        gap: 8px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        padding: 8px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 13.5px;
    }
}

/* Mobile Responsive Polish for Product Cards & Single Product Page (CR-001) */
@media (max-width: 768px) {
    .mh-pdp-top-grid,
    .mh-pdp-body-grid {
        grid-template-columns: 1fr;
    }

    .mh-pdp-left,
    .mh-pdp-right,
    .mh-pdp-body-main,
    .mh-pdp-body-side {
        min-width: 0;
    }

    .mh-pdp-zalo-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 12px;
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product a img {
        padding: 8px;
        border-radius: 10px;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        top: 14px;
        right: 14px;
        left: auto;
        padding: 3px 7px;
        font-size: 10px;
    }

    .mh-badge-installment,
    .mh-card-badge-new {
        top: 14px;
        left: 14px;
        right: auto;
        padding: 3px 7px;
        font-size: 10px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        margin: 2px 0 0;
        min-height: 36px;
        font-size: 13px;
        line-height: 1.35;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14px;
        gap: 4px;
    }

    .woocommerce ul.products li.product .price del {
        font-size: 11px;
    }

    .mh-card-rating {
        font-size: 11px;
        gap: 3px;
    }

    .mh-card-savings {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .mh-spec-chips {
        min-height: 0;
        gap: 4px;
    }

    .mh-spec-chips span {
        font-size: 10.5px;
        padding: 2px 6px;
    }

    .mh-card-actions {
        gap: 6px;
        padding-top: 4px;
    }

    .woocommerce ul.products li.product .mh-card-actions .button,
    .woocommerce-page ul.products li.product .mh-card-actions .button,
    .mh-card-actions .minhhong-btn-buy-now {
        min-height: 34px !important;
        height: 34px;
        font-size: 12px !important;
        padding: 0 8px !important;
        white-space: nowrap;
    }

    .mh-btn-cart-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }
}

/* CR-001 Mobile Responsive Polish for Product Cards & Single Product Page */
@media (max-width: 640px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px;
        border-radius: 12px;
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
        gap: 6px;
        min-width: 0;
    }

    .woocommerce ul.products li.product a img {
        padding: 8px;
        border-radius: 10px;
    }

    .woocommerce ul.products li.product .onsale,
    .woocommerce-page ul.products li.product .onsale {
        top: 14px;
        right: 14px;
        left: auto;
        font-size: 10px;
        padding: 3px 7px;
    }

    .mh-badge-installment,
    .mh-card-badge-new {
        top: 14px;
        left: 14px;
        right: auto;
        font-size: 10px;
        padding: 3px 7px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
        line-height: 1.35;
        min-height: 36px;
        margin: 2px 0 0;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14px;
        gap: 4px 6px;
    }

    .woocommerce ul.products li.product .price del {
        font-size: 11px;
    }

    .mh-card-rating {
        font-size: 11.5px;
    }

    .mh-card-savings {
        font-size: 10.5px;
        padding: 2px 7px;
    }

    .mh-spec-chips {
        min-height: 0;
        gap: 4px;
        margin: 0;
    }

    .mh-spec-chips span {
        font-size: 10.5px;
        padding: 2px 6px;
    }

    .mh-card-actions {
        gap: 6px;
        padding-top: 4px;
    }

    .woocommerce ul.products li.product .mh-card-actions .button,
    .woocommerce-page ul.products li.product .mh-card-actions .button,
    .mh-card-actions .minhhong-btn-buy-now {
        min-height: 34px !important;
        height: 34px;
        font-size: 12px !important;
        padding: 0 8px !important;
        white-space: nowrap;
    }

    .mh-btn-cart-icon {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    .mh-btn-cart-icon svg {
        width: 15px;
        height: 15px;
    }

    /* Single Product Page mobile alignment */
    .mh-pdp-top-grid,
    .mh-pdp-body-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mh-pdp-left,
    .mh-pdp-right,
    .mh-pdp-body-main,
    .mh-pdp-body-side {
        min-width: 0;
    }

    .mh-pdp-card {
        padding: 14px;
    }

    .mh-pdp-zalo-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mh-pdp-spec-table th,
    .mh-pdp-spec-table td {
        font-size: 13px;
        padding: 8px 10px;
        word-break: break-word;
    }
}

@media (max-width: 360px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products[class*=columns-],
    .woocommerce-page ul.products[class*=columns-] {
        gap: 8px;
    }

    .woocommerce ul.products li.product .mh-card-actions .button,
    .mh-card-actions .minhhong-btn-buy-now {
        font-size: 11px !important;
    }
}
