/* MERLHEART — Streetwear Theme */
/* Fonts loaded via <link> in head-css.blade.php (avoids render-blocking @import) */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --mh-black: #0a0a0a;
    --mh-white: #fafafa;
    --mh-gray: #888;
    --mh-light: #f5f5f5;
    --mh-border: #e8e8e8;
    --mh-accent: #e2e8ee;
    --mh-accent-dark: #c5ced8;
    --mh-accent-rgb: 226, 232, 238;
    --mh-silver: #e2e8ee;
    --mh-silver-dark: #c5ced8;
    --mh-silver-light: #f4f7fa;
    --mh-font-display: 'Bebas Neue', sans-serif;
    --mh-font-body: 'Inter', sans-serif;
    --mh-font-display-latin: 'Cinzel', Georgia, 'Times New Roman', serif;
    --mh-font-body-latin: 'Montserrat', 'Inter', sans-serif;
    --mh-radius-sm: 6px;
    --mh-radius-md: 10px;
    --mh-radius-lg: 12px;
    /* Product image frame — same as PDP main (3:4, no crop) */
    --mh-product-media-ratio: 3 / 4;
    --mh-product-media-max-h: 520px;
    --mh-mobile-bottom-nav-h: 56px;
    --mh-header-top-h: 84px;
    --mh-search-h: 40px;
    --mh-search-border: 2px;
    --mh-header-search-gap: 0px;
    --mh-header-h: 84px;
    /* iOS standalone PWA draws under the status bar (black-translucent) */
    --mh-safe-top: env(safe-area-inset-top, 0px);
    --mh-pdp-bottombar-h: 52px;
    --mh-chrome-duration: 0.35s;
    --mh-chrome-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body.merlheart {
    margin: 0;
    padding: 0;
    font-family: var(--mh-font-body);
    color: var(--mh-black);
    background: var(--mh-white);
    overflow-x: hidden;
}

html[lang="en"] body.merlheart,
html[lang="ms"] body.merlheart {
    --mh-font-display: var(--mh-font-display-latin);
    --mh-font-body: var(--mh-font-body-latin);
}

html[lang="en"] body.merlheart .mh-section-title h2,
html[lang="en"] body.merlheart .mh-profile-section-title,
html[lang="en"] body.merlheart .mh-checkout-heading,
html[lang="ms"] body.merlheart .mh-section-title h2,
html[lang="ms"] body.merlheart .mh-profile-section-title,
html[lang="ms"] body.merlheart .mh-checkout-heading {
    letter-spacing: 0.06em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.mh-header-top-util {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .mh-header-top-util {
        display: contents;
    }

    .mh-header-top-util .mh-lang-dropdown {
        display: none !important;
    }
}

body.merlheart {
    padding-top: 0;
    /* Stops iOS rubber-band from dragging the fixed header out of place */
    overscroll-behavior-y: none;
}

@media (max-width: 767px) {
    body.merlheart {
        padding-top: calc(var(--mh-header-h) + var(--mh-safe-top));
    }
}

body.merlheart .header-area,
body.merlheart .header-top,
body.merlheart .top-selector-wrapper,
body.merlheart .single-top-selector,
body.merlheart .setting-top { display: none !important; }

/* ========== NEW HEADER ========== */
.mh-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--mh-black);
    border-bottom: none;
    color: var(--mh-silver);
    padding-bottom: 0;
    overflow: visible;
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mh-header .container {
    position: relative;
}

.mh-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--mh-header-top-h);
    overflow: hidden;
    max-height: none;
    opacity: 1;
    padding-bottom: 0;
}

.mh-header-end {
    display: none;
}

.mh-header.mh-header--compact {
    padding-bottom: 0;
}

.mh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mh-header-top-h);
    gap: 24px;
}

.mh-logo {
    font-family: var(--mh-font-display);
    font-size: 24px;
    letter-spacing: 4px;
    color: var(--mh-silver, #e2e8ee);
    text-decoration: none;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    line-height: 0;
}

.mh-logo-text {
    display: none;
}

.mh-brand-logo,
.mh-logo-img {
    display: block;
    border-radius: 0;
    flex-shrink: 0;
}

.mh-logo-img--side {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.mh-logo-img--search {
    display: none !important;
}

.mh-brand-logo--solo {
    width: auto;
    object-fit: contain;
    object-position: center center;
}

.mh-logo-img--side.mh-brand-logo--solo {
    height: 58px;
    max-width: none;
}

.mh-nav--desktop {
    display: none !important;
}

.mh-header-icons--desktop {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Mobile-only wishlist + cart icons in header (shown on phone, hidden on desktop) */
.mh-header-icons--mobile {
    display: none;
    align-items: center;
    gap: 14px;
}

.mh-header-searchbar,
.mh-mobile-searchbar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 70%;
    max-width: 70%;
    height: var(--mh-search-h);
    margin: 0;
    padding: 0 6px 0 10px;
    border-radius: 999px;
    background: var(--mh-white);
    border: var(--mh-search-border) solid var(--mh-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    transition: width var(--mh-chrome-duration) var(--mh-chrome-ease),
        max-width var(--mh-chrome-duration) var(--mh-chrome-ease),
        height var(--mh-chrome-duration) var(--mh-chrome-ease),
        margin var(--mh-chrome-duration) var(--mh-chrome-ease),
        flex var(--mh-chrome-duration) var(--mh-chrome-ease),
        box-shadow var(--mh-chrome-duration) var(--mh-chrome-ease);
}

@media (prefers-reduced-motion: reduce) {
    .mh-header-searchbar,
    .mh-mobile-searchbar {
        transition: none;
    }
}

.mh-header-searchbar input[type="search"],
.mh-mobile-searchbar input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--mh-black);
    /* ≥16px prevents iOS Safari auto-zoom on focus */
    font-size: 16px;
}

.mh-header-searchbar input[type="search"]::-webkit-search-cancel-button,
.mh-mobile-searchbar input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.mh-header-searchbar input[type="search"]::-ms-clear,
.mh-mobile-searchbar input[type="search"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.mh-header-searchbar input[type="search"]::placeholder,
.mh-mobile-searchbar input[type="search"]::placeholder {
    color: #777;
}

.mh-mobile-search-btn,
.mh-mobile-image-search-btn {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--mh-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mh-mobile-search-btn--end {
    display: none;
}

body.mh-search-panel-open .mh-header-searchbar .mh-mobile-search-btn--start,
body.mh-search-panel-open .mh-mobile-searchbar .mh-mobile-search-btn--start,
.mh-header-searchbar.is-focused .mh-mobile-search-btn--start,
.mh-mobile-searchbar.is-focused .mh-mobile-search-btn--start {
    display: none;
}

body.mh-search-panel-open .mh-header-searchbar .mh-mobile-search-btn--end,
body.mh-search-panel-open .mh-mobile-searchbar .mh-mobile-search-btn--end,
.mh-header-searchbar.is-focused .mh-mobile-search-btn--end,
.mh-mobile-searchbar.is-focused .mh-mobile-search-btn--end {
    display: inline-flex;
}

.mh-mobile-image-search-btn {
    background: transparent;
    color: var(--mh-black);
}

.mh-mobile-image-search-btn.is-busy,
.mh-mobile-image-search-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.mh-search-input-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.mh-search-ghost {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mh-search-ghost.is-visible {
    opacity: 1;
    visibility: visible;
}

.mh-search-input-wrap.has-ghost input::placeholder {
    color: transparent;
    opacity: 0;
}

.mh-search-input-wrap.has-ghost input::-webkit-input-placeholder {
    color: transparent;
    opacity: 0;
}

.mh-search-input-wrap.has-ghost input::-moz-placeholder {
    color: transparent;
    opacity: 0;
}

.mh-search-input-wrap.is-active .mh-search-ghost,
.mh-search-input-wrap.has-value .mh-search-ghost {
    display: none;
}

.mh-search-panel-close-btn {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--mh-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mh-search-panel-close-btn[hidden] {
    display: none !important;
}

body.mh-search-panel-open {
    overflow: hidden;
}

body.mh-search-panel-open .mh-header {
    z-index: 1101;
}

body.mh-search-panel-open .mh-pdp-bottombar {
    display: none !important;
}

/* Cover full viewport under header so homepage never peeks through */
.mh-search-panel {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #fff;
    overflow: hidden;
    padding-top: calc(var(--mh-header-h) + var(--mh-safe-top));
    box-sizing: border-box;
}

.mh-search-panel-scroll {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 0 32px;
    background: #fff;
}

.mh-search-panel-inner.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.mh-search-panel-section + .mh-search-panel-section {
    margin-top: 18px;
}

.mh-search-panel-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mh-search-panel-section h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mh-black);
}

.mh-search-panel-section-head h3 {
    margin: 0;
}

.mh-search-panel-clear {
    border: 0;
    background: transparent;
    color: var(--mh-gray);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}

.mh-search-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-search-history-item {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    padding: 6px 4px 6px 12px;
    border-radius: 999px;
    background: #f3f3f3;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mh-search-history-query {
    flex: 0 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--mh-black);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(220px, 100%);
}

.mh-search-history-query:hover {
    color: rgba(0, 0, 0, 0.72);
}

.mh-search-history-remove {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #999;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

.mh-search-history-remove:hover {
    color: var(--mh-black);
    background: rgba(0, 0, 0, 0.06);
}

.mh-search-panel-empty {
    margin: 0;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-search-panel-empty[hidden] {
    display: none !important;
}

/* Search recommendations — same grid + card style as shop */
.mh-search-rec-grid.mh-shop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home {
    height: auto;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-title-row {
    margin: 4px 8px 0;
    gap: 2px;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-footer {
    margin-top: 0;
    padding: 2px 8px 8px;
    gap: 2px;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-price {
    margin: 0;
    line-height: 1.2;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-actions {
    margin-top: 2px;
    gap: 6px;
}

@media (min-width: 768px) {
    .mh-search-panel-scroll {
        padding: 24px 0 40px;
    }

    .mh-search-panel-inner.container {
        padding: 0 24px;
    }

    .mh-search-rec-grid.mh-shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .mh-search-rec-grid.mh-shop-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mh-search-loading,
.mh-action-loading {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mh-search-loading.is-open,
.mh-action-loading.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mh-search-loading-card,
.mh-action-loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 168px;
    max-width: min(280px, 86vw);
    padding: 28px 32px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.mh-search-loading-icon,
.mh-action-loading-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 26px;
}

.mh-search-loading-icon::before,
.mh-action-loading-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #ececec;
    border-top-color: #111;
    display: none;
}

.mh-search-loading.is-loading .mh-search-loading-icon::before,
.mh-action-loading.is-loading .mh-action-loading-icon::before {
    display: block;
    animation: mh-search-spin 0.85s linear infinite;
}

.mh-search-loading-icon i,
.mh-action-loading-icon i {
    position: relative;
    z-index: 1;
}

.mh-search-loading.is-loading .mh-search-loading-icon i,
.mh-action-loading.is-loading .mh-action-loading-icon i {
    animation: mh-search-pulse 1.2s ease-in-out infinite;
}

.mh-search-loading-text,
.mh-action-loading-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #111;
}

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

@keyframes mh-search-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.92); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .mh-search-loading-icon::before,
    .mh-search-loading-icon i,
    .mh-action-loading-icon::before,
    .mh-action-loading-icon i {
        animation: none;
    }
}

html.mh-action-loading-open,
html.mh-search-loading-open {
    overflow: hidden;
}

.mh-action-loading.is-success .mh-action-loading-icon::before,
.mh-action-loading.is-error .mh-action-loading-icon::before {
    display: none !important;
    animation: none !important;
}

.mh-action-loading.is-success .mh-action-loading-icon {
    color: #1b7f3b;
}

.mh-action-loading.is-error .mh-action-loading-icon {
    color: #c62828;
}

.mh-action-loading.is-success .mh-action-loading-icon i,
.mh-action-loading.is-error .mh-action-loading-icon i {
    animation: none !important;
    font-size: 30px;
}

.mh-mobile-image-search-input {
    display: none !important;
}

.mh-shop-visual-banner {
    margin: 0 0 18px;
    padding: 16px 0 4px;
}

.mh-shop-visual-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mh-black, #111);
}

.mh-shop-visual-hint {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #555;
}

.mh-shop-visual-clear {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--mh-black, #111);
    text-decoration: underline;
}

/* Desktop / tablet header — equal thirds: logo | search | actions */
@media (min-width: 768px) {
    :root {
        --mh-header-top-h: 88px;
        --mh-search-h: 44px;
        --mh-header-h: 88px;
    }

    .mh-header .container {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 10px;
        min-height: var(--mh-header-h);
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mh-header-top,
    .mh-header-end {
        display: contents;
    }

    .mh-header-top {
        max-height: none;
        padding-bottom: 0;
        overflow: visible;
        min-height: 0;
    }

    .mh-logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        justify-self: start;
        max-width: 100%;
    }

    .mh-logo-img--side {
        height: 44px;
        max-width: min(138px, 100%);
    }

    .mh-header-searchbar,
    .mh-mobile-searchbar {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        width: 100%;
        max-width: min(420px, 100%);
        margin: 0;
        height: var(--mh-search-h);
        transform: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    }

    .mh-header-actions {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 22px;
        flex-shrink: 0;
        max-width: 100%;
    }

    .mh-header-icons--mobile {
        display: none !important;
    }

    .mh-header-icons--desktop {
        display: flex;
        align-items: center;
        gap: 22px;
    }

    .mh-header-icons--desktop .mh-header-util:not(.mh-push-enable):not(.mh-notify-link):not([data-mh-pwa-install]) {
        display: none !important;
    }

    .mh-header-icons--desktop .mh-notify-link,
    .mh-header-icons--desktop .mh-push-enable,
    .mh-header-icons--desktop [data-mh-pwa-install] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mh-header-icons--desktop .mh-notify-link[hidden],
    .mh-header-icons--desktop .mh-push-enable[hidden],
    .mh-header-icons--desktop [data-mh-pwa-install][hidden] {
        display: none !important;
    }

    .mh-header {
        position: sticky;
    }

    .mh-header.mh-header--compact .mh-header-top {
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        padding-bottom: 0;
    }

    .mh-header.mh-header--compact .mh-header-searchbar,
    .mh-header.mh-header--compact .mh-mobile-searchbar {
        max-width: min(420px, 100%);
        margin: 0;
        transform: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --mh-header-h: 80px;
        --mh-header-top-h: 80px;
    }

    .mh-header .container {
        gap: 10px 16px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mh-logo-img--side {
        height: 40px;
        max-width: min(122px, 100%);
    }

    .mh-header-searchbar,
    .mh-mobile-searchbar {
        max-width: min(320px, 100%);
    }
}

@media (min-width: 992px) {
    :root {
        --mh-header-h: 92px;
        --mh-header-top-h: 92px;
    }

    .mh-logo-img--side {
        height: 48px;
        max-width: min(148px, 100%);
    }

    .mh-header-searchbar,
    .mh-mobile-searchbar {
        max-width: min(420px, 100%);
    }

    .mh-header .container {
        gap: 14px 20px;
    }
}

@media (min-width: 1200px) {
    :root {
        --mh-header-h: 96px;
        --mh-header-top-h: 96px;
    }

    .mh-logo-img--side {
        height: 52px;
        max-width: min(164px, 100%);
    }

    .mh-header-searchbar,
    .mh-mobile-searchbar {
        max-width: min(440px, 100%);
    }
}

/* Header share button: hidden in header (PDP uses bottom bar for share) */
.mh-header-share {
    display: none;
}


/* Drawer language switch (moved out of the header on phones) */
.mh-nav-drawer-lang {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--mh-border);
}

.mh-nav-drawer-lang-label {
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--mh-gray);
}

.mh-nav-drawer-lang-btns {
    display: flex;
    gap: 6px;
}

.mh-nav-drawer-lang-btns .mh-lang-btn {
    border: 1px solid var(--mh-border);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .mh-nav-drawer-lang {
        display: none;
    }

    /* Never allow horizontal scrolling on phones */
    html,
    body {
        overflow-x: clip;
        max-width: 100%;
    }
}

.mh-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mh-nav a {
    font-family: var(--mh-font-display);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-silver);
    text-decoration: none;
    transition: color 0.2s;
}

.mh-header .mh-nav a {
    color: var(--mh-silver);
}

.mh-nav a.is-active,
.mh-nav-account-link.is-active {
    color: var(--mh-white);
    font-weight: 600;
}

.mh-header .mh-nav a.is-active,
.mh-header .mh-nav-account-link.is-active {
    color: var(--mh-white);
}

.mh-nav-drawer-link--account {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-border);
}

.mh-nav-drawer-link.is-active {
    font-weight: 600;
}

.mh-nav-login-link {
    font-family: var(--mh-font-display);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mh-inline-logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.mh-nav-logout-form {
    display: inline-flex;
    align-items: center;
}

/* Logout button — shared across header, drawer, footer, account */
.mh-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 10px 20px;
    background: var(--mh-white);
    border: 1px solid var(--mh-black);
    cursor: pointer;
    font-family: var(--mh-font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-black);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.mh-logout-btn i {
    font-size: 14px;
    line-height: 1;
}

.mh-logout-btn:hover {
    background: var(--mh-black);
    border-color: var(--mh-black);
    color: var(--mh-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mh-logout-btn:active {
    transform: translateY(1px);
}

.mh-logout-btn--nav {
    padding: 8px 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
    background: transparent;
    border-color: var(--mh-silver);
    color: var(--mh-silver);
}

.mh-header .mh-logout-btn--nav:hover {
    background: var(--mh-silver);
    border-color: var(--mh-silver);
    color: var(--mh-black);
}

.mh-account-page .mh-nav-logout-form {
    display: none;
}

.mh-nav-drawer-logout {
    display: block;
    width: 100%;
    padding: 0 20px 16px;
    margin-top: 4px;
}

.mh-logout-btn--drawer {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: 2px;
    background: var(--mh-light);
    border-color: var(--mh-black);
}

.mh-logout-btn--drawer:hover {
    background: var(--mh-black);
    border-color: var(--mh-black);
    color: var(--mh-white);
}

.mh-footer-logout-item {
    list-style: none;
    margin-top: 4px;
}

.mh-logout-btn--footer {
    padding: 0;
    border: none;
    background: none;
    font-family: var(--mh-font-body);
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.75);
    gap: 6px;
}

.mh-logout-btn--footer:hover {
    background: none;
    border-color: transparent;
    color: var(--mh-white);
}

.mh-logout-btn--account {
    min-width: 148px;
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 2px;
}

.mh-nav a:hover { color: var(--mh-white); }

.mh-header .mh-nav a:hover {
    color: var(--mh-white);
}

.mh-header .mh-nav-shop-link i {
    color: var(--mh-silver);
}

/* Nav Shop dropdown */
.mh-nav-shop-wrap {
    position: relative;
    /* 向下延伸 hover 区域，负 margin 抵消布局高度，header 不会变高 */
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.mh-nav-shop-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-nav-shop-link i {
    font-size: 10px;
    transition: transform 0.2s;
}

.mh-nav-shop-wrap.is-open .mh-nav-shop-link i,
.mh-nav-shop-wrap:hover .mh-nav-shop-link i {
    transform: rotate(180deg);
}

.mh-nav-shop-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 560px;
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.mh-nav-shop-wrap:hover .mh-nav-shop-menu,
.mh-nav-shop-wrap.is-open .mh-nav-shop-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mh-nav-shop-wrap.is-open .mh-nav-shop-col,
.mh-nav-shop-wrap:hover .mh-nav-shop-col {
    animation: mh-slide-up 0.35s ease both;
}

.mh-nav-shop-col:nth-child(1) { animation-delay: 0.03s; }
.mh-nav-shop-col:nth-child(2) { animation-delay: 0.07s; }
.mh-nav-shop-col:nth-child(3) { animation-delay: 0.11s; }
.mh-nav-shop-col:nth-child(4) { animation-delay: 0.15s; }

.mh-nav-shop-all {
    display: block;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--mh-border);
    font-family: var(--mh-font-body) !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--mh-black) !important;
    text-decoration: none;
    font-weight: 600;
}

.mh-nav-shop-all:hover {
    color: var(--mh-gray) !important;
}

.mh-nav-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.mh-nav-shop-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.mh-nav-shop-cat-link {
    font-family: var(--mh-font-display) !important;
    font-size: 15px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--mh-black) !important;
    text-decoration: none;
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--mh-light);
    white-space: nowrap;
}

.mh-nav-shop-cat-link:hover {
    color: var(--mh-gray) !important;
}

.mh-nav-shop-sub {
    display: block;
    font-family: var(--mh-font-body) !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--mh-gray) !important;
    text-decoration: none;
    padding: 2px 0;
    line-height: 1.4;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mh-nav-shop-sub:hover {
    color: var(--mh-black) !important;
    padding-left: 4px;
}

.mh-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: visible;
}

.mh-icon-link {
    position: relative;
    color: var(--mh-silver);
    font-size: 16px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    overflow: visible;
}

.mh-header .mh-icon-link {
    color: var(--mh-silver);
    font-size: 22px;
    line-height: 1;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mh-header .mh-icon-link .fa {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

.mh-icon-link:hover { color: var(--mh-white); }

.mh-header .mh-icon-link:hover {
    color: var(--mh-white);
}

.mh-header .mh-icon-link.is-active {
    color: var(--mh-white);
}

button.mh-icon-link {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.mh-header .mh-cart-count {
    background: #e53935;
    color: #fff;
}

.mh-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-family: var(--mh-font-body);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    box-sizing: border-box;
}

.mh-notify-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #c0392b;
    color: var(--mh-white);
    font-size: 10px;
    font-family: var(--mh-font-body);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    box-sizing: border-box;
}

.mh-notify-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mh-notify-panel {
    position: fixed;
    top: calc(72px + var(--mh-safe-top));
    right: 16px;
    left: auto;
    width: min(360px, calc(100vw - 32px));
    max-height: min(420px, calc(100vh - 96px));
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 1200;
    flex-direction: column;
    overflow: hidden;
}

.mh-notify-panel.is-open {
    display: flex;
}

.mh-notify-panel[hidden],
.mh-notify-panel:not(.is-open) {
    display: none !important;
}

.mh-notify-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-notify-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mh-notify-mark-all {
    background: none;
    border: none;
    color: var(--mh-gray);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.mh-notify-close {
    background: none;
    border: none;
    color: var(--mh-gray);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 2px;
}

.mh-notify-close:hover {
    color: var(--mh-black);
}

.mh-notify-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

.mh-notify-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--mh-border);
    cursor: pointer;
}

.mh-notify-item.is-unread {
    background: #f3f5f7;
}

.mh-notify-item-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.mh-notify-item-msg {
    font-size: 13px;
    color: var(--mh-gray);
    line-height: 1.45;
}

.mh-notify-item-time {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #999;
}

.mh-notify-empty {
    margin: 0;
    padding: 24px 16px;
    text-align: center;
    color: var(--mh-gray);
    font-size: 14px;
}

.mh-lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(226, 232, 238, 0.25);
    border-radius: 6px;
    padding: 2px;
}

.mh-header .mh-lang-switch {
    border-color: rgba(226, 232, 238, 0.25);
}

.mh-lang-btn {
    border: none;
    background: transparent;
    font-size: 11px;
    font-family: var(--mh-font-body);
    padding: 4px 7px;
    border-radius: 4px;
    cursor: pointer;
    color: rgba(226, 232, 238, 0.65);
    transition: background 0.2s, color 0.2s;
}

.mh-header .mh-lang-btn {
    color: rgba(226, 232, 238, 0.65);
}

.mh-lang-btn.is-active {
    background: var(--mh-silver);
    color: var(--mh-black);
}

.mh-header .mh-lang-btn.is-active {
    background: var(--mh-silver);
    color: var(--mh-black);
}

.mh-lang-btn:hover:not(.is-active) {
    color: var(--mh-silver);
}

.mh-header .mh-lang-btn:hover:not(.is-active) {
    color: var(--mh-white);
}

/* Language dropdown — mobile header */
.mh-lang-dropdown {
    display: none;
    position: relative;
}

.mh-lang-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(226, 232, 238, 0.28);
    border-radius: 8px;
    background: transparent;
    color: var(--mh-silver);
    font-family: var(--mh-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.mh-lang-dropdown-trigger:hover,
.mh-lang-dropdown.is-open .mh-lang-dropdown-trigger {
    border-color: var(--mh-silver);
    color: var(--mh-white);
    background: rgba(226, 232, 238, 0.08);
}

.mh-lang-dropdown-chevron {
    font-size: 10px;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.mh-lang-dropdown.is-open .mh-lang-dropdown-chevron {
    transform: rotate(180deg);
}

.mh-lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 148px;
    padding: 6px;
    border: 1px solid rgba(226, 232, 238, 0.18);
    border-radius: 10px;
    background: #111;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    transition:
        opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.24s;
}

.mh-lang-dropdown.is-open .mh-lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition:
        opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s;
}

.mh-lang-dropdown-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(226, 232, 238, 0.82);
    font-family: var(--mh-font-body);
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.mh-lang-dropdown-option:hover {
    background: rgba(226, 232, 238, 0.1);
    color: var(--mh-white);
}

.mh-lang-dropdown-option.is-active {
    background: rgba(226, 232, 238, 0.16);
    color: var(--mh-silver);
    font-weight: 600;
}

.mh-mobile-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    color: var(--mh-silver);
}

.mh-header .mh-mobile-toggle {
    color: var(--mh-silver);
}

.mh-header .mh-mobile-toggle:hover {
    color: var(--mh-white);
}

/* ========== NEW FOOTER ========== */
.mh-footer {
    background: var(--mh-black);
    color: #ccc;
    margin-top: 80px;
    padding: 60px 0 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.mh-footer .mh-logo {
    color: var(--mh-white);
    display: inline-block;
    margin-bottom: 12px;
    white-space: nowrap;
}

.mh-footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid #222;
}

.mh-footer-tagline {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 300px;
    color: #999;
}

.mh-footer-company {
    margin-bottom: 24px;
    padding-top: 4px;
    border-top: 1px solid #2a2a2a;
}

.mh-footer-company-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 18px 0 14px;
    font-weight: 600;
}

.mh-footer-company-dl {
    margin: 0;
    display: grid;
    gap: 10px;
    max-width: 320px;
}

.mh-footer-company-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    align-items: start;
}

.mh-footer-company-row dt {
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin: 0;
    line-height: 1.5;
    padding-top: 1px;
}

.mh-footer-company-row dd {
    font-size: 12px;
    line-height: 1.55;
    color: #ccc;
    margin: 0;
    word-break: break-word;
}

.mh-footer-company-row dd a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.mh-footer-company-row dd a:hover {
    color: var(--mh-white);
}

.mh-footer-company-row--address dd {
    line-height: 1.65;
}

.mh-contact-footer-note {
    margin-top: 14px;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.mh-contact-aside .contact-dec p {
    margin-bottom: 0;
}

.mh-contact-aside .mh-company-card {
    margin-top: 20px;
}

.mh-footer-copyright {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.mh-footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.mh-social {
    display: flex;
    gap: 14px;
}

.mh-social a {
    color: #888;
    font-size: 16px;
    transition: color 0.2s;
}

.mh-social a:hover { color: var(--mh-white); }

.mh-auth-msg {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.mh-auth-msg.is-success {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.mh-auth-msg.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.mh-order-pay-link {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.mh-order-pay-link:hover {
    opacity: 0.85;
}

.mh-order-pay-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-border);
}

.mh-order-pay-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

body.mh-order-pay-page .mh-checkout-back {
    text-decoration: none;
}

.mh-footer-col h4,
.mh-footer-heading {
    font-family: var(--mh-font-display);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-white);
    margin-bottom: 16px;
}

.mh-footer-toggle {
    display: none;
}

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

.mh-footer-col ul li { margin-bottom: 8px; }

.mh-footer-panel ul li { margin-bottom: 8px; }

.mh-footer-col ul a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.mh-footer-col ul a:hover { color: var(--mh-white); }

.mh-footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.mh-footer-bottom p {
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Hide old footer when new one is present */
body.merlheart:has(.mh-footer) .footer-area { display: none !important; }

/* ========== PAGE LAYOUT ========== */
.mh-page-head {
    padding: 32px 0 24px;
    text-align: center;
}

.mh-page-title {
    font-family: var(--mh-font-display);
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

.mh-breadcrumb {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mh-gray);
    margin-bottom: 8px;
}

.mh-breadcrumb a {
    color: var(--mh-gray);
    text-decoration: none;
}

.mh-breadcrumb a:hover { color: var(--mh-black); }

body.merlheart .breadcrumb-area { display: none !important; }

.mh-content {
    padding-bottom: 60px;
}

/* ========== AUTH PAGES ========== */
html:has(body.mh-auth-page) {
    height: 100%;
    overflow: hidden;
}

body.mh-auth-page {
    background: var(--mh-light);
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

body.mh-auth-page .footer-area { display: none !important; }

.mh-auth-wrap {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.mh-auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.mh-auth-visual {
    position: relative;
    background: var(--mh-black);
    color: var(--mh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 40px;
    overflow: hidden;
    min-height: 0;
}

.mh-auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(226, 232, 238, 0.12) 0%, transparent 45%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 80px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 80px
        );
    pointer-events: none;
}

.mh-auth-visual-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--mh-accent);
}

.mh-auth-visual-inner {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

.mh-auth-badge {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-black);
    background: var(--mh-accent);
    border-radius: var(--mh-radius-sm);
}

.mh-auth-visual-title {
    font-family: var(--mh-font-display);
    font-size: clamp(48px, 6vw, 72px);
    letter-spacing: 6px;
    line-height: 0.95;
    margin: 0 0 20px;
    font-weight: 400;
    white-space: nowrap;
}

.mh-auth-visual-text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 32px;
}

.mh-auth-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mh-auth-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.88);
}

.mh-auth-perks li::before {
    content: '';
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    background: var(--mh-accent);
    border-radius: 50%;
}

.mh-auth-form-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 24px 32px;
    background: var(--mh-light);
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.mh-auth-box {
    width: 100%;
    max-width: 400px;
    padding: 32px 32px 28px;
    border: 1px solid var(--mh-border);
    background: var(--mh-white);
    border-radius: var(--mh-radius-lg);
    box-shadow: 0 16px 48px rgba(10, 10, 10, 0.06);
    margin: 0;
    box-sizing: border-box;
}

body.mh-auth-page.mh-auth-register .mh-auth-form-panel {
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
}

body.mh-auth-page.mh-auth-register .mh-auth-box {
    margin: 0 auto;
}

body.mh-auth-page.mh-auth-register .mh-auth-field {
    margin-bottom: 10px;
}

body.mh-auth-page.mh-auth-register .mh-auth-box-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
}

body.mh-auth-page.mh-auth-register .mh-auth-box input {
    padding: 11px 14px 11px 38px;
}

body.mh-auth-page.mh-auth-register .mh-auth-footer {
    margin-top: 18px;
    padding-top: 16px;
    padding-bottom: 4px;
}

.mh-auth-box-head {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-auth-box h1 {
    font-family: var(--mh-font-display);
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 8px;
    line-height: 1;
}

.mh-auth-box h1::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--mh-accent);
    margin-top: 12px;
    border-radius: 2px;
}

.mh-auth-box .mh-subtitle {
    text-align: left;
    color: var(--mh-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.mh-auth-pwa-bar {
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
}

.mh-auth-box .mh-auth-pwa-bar {
    margin-top: -4px;
    margin-bottom: 16px;
}

.mh-auth-pwa-chip {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #111;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.mh-auth-pwa-chip-hint {
    display: block;
    width: 100%;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.82;
}

body.mh-pwa-standalone .mh-auth-pwa-bar,
body.mh-pwa-standalone .mh-auth-pwa-chip,
.mh-auth-pwa-chip[hidden],
.mh-auth-pwa-bar[hidden] {
    display: none !important;
}

.mh-auth-pwa-chip i {
    font-size: 14px;
}

.mh-auth-pwa-chip:hover,
.mh-auth-pwa-chip:focus {
    background: #222;
    border-color: #222;
    color: #fff;
}

@media (max-width: 991px) {
    .mh-auth-form-panel {
        overflow: auto;
    }

    .mh-auth-box {
        overflow: visible;
    }

    .mh-auth-box .mh-auth-pwa-bar {
        margin-bottom: 12px;
    }

    .mh-auth-pwa-chip {
        padding: 8px 10px;
        font-size: 12px;
    }
}

.mh-auth-field {
    margin-bottom: 12px;
}

.mh-auth-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mh-gray);
    margin-bottom: 8px;
}

.mh-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mh-auth-input-wrap > i {
    position: absolute;
    left: 14px;
    font-size: 14px;
    color: var(--mh-gray);
    pointer-events: none;
    transition: color 0.2s;
}

.mh-auth-box input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--mh-border);
    padding: 13px 14px 13px 40px;
    font-size: 14px;
    background: var(--mh-light);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    border-radius: var(--mh-radius-sm);
}

.mh-auth-box input:focus {
    border-color: var(--mh-black);
    background: var(--mh-white);
    box-shadow: 0 0 0 3px rgba(226, 232, 238, 0.45);
}

.mh-auth-input-wrap:focus-within > i {
    color: var(--mh-black);
}

.mh-auth-box .mh-btn {
    margin-top: 8px;
}

.mh-auth-box .mh-btn:hover {
    background: var(--mh-accent);
    border-color: var(--mh-accent);
    color: var(--mh-black);
}

.mh-auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--mh-border);
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-auth-footer a {
    color: var(--mh-black);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--mh-accent);
    transition: color 0.2s;
}

.mh-auth-footer a:hover {
    color: var(--mh-gray);
}

.mh-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 12px;
    min-width: 0;
}

.mh-auth-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--mh-gray);
}

.mh-auth-options input[type="checkbox"] {
    accent-color: var(--mh-black);
    width: 14px;
    height: 14px;
}

.mh-auth-options a {
    color: var(--mh-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.mh-auth-options a:hover { color: var(--mh-black); }

@media (max-width: 991px) {
    body.mh-auth-page .mh-auth-visual {
        display: none;
    }

    .mh-auth-split {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .mh-auth-form-panel {
        flex: 1;
        min-height: 0;
        height: auto;
        padding: 20px 20px 24px;
        align-items: center;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mh-auth-box {
        flex: 0 0 auto;
        padding: 24px 24px 20px;
        max-width: 460px;
        margin: 0 auto;
        max-height: none;
        overflow: visible;
        width: 100%;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-form-panel {
        align-items: stretch;
        justify-content: flex-start;
        padding: 12px 16px 16px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-box {
        padding: 20px 18px 16px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-field {
        margin-bottom: 8px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-box-head {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-box .mh-auth-pwa-bar {
        margin-bottom: 10px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-box input {
        padding: 10px 12px 10px 36px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-footer {
        margin-top: 12px;
        padding-top: 12px;
    }

    .mh-auth-box h1 {
        font-size: 28px;
    }

    .mh-auth-box-head {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .mh-auth-field {
        margin-bottom: 8px;
    }

    .mh-auth-box input {
        padding: 10px 12px 10px 36px;
    }

    .mh-auth-options {
        margin-bottom: 12px;
    }

    .mh-auth-footer {
        margin-top: 14px;
        padding-top: 12px;
    }
}

@media (max-width: 767px) {
    .mh-auth-form-panel {
        padding: 12px 14px 18px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .mh-auth-box {
        max-width: none;
        width: 100%;
        padding: 20px 18px 16px;
        border-radius: var(--mh-radius-md);
    }

    .mh-auth-options {
        flex-wrap: wrap;
        gap: 10px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-form-panel {
        padding: 10px 12px 14px;
    }

    body.mh-auth-page.mh-auth-register .mh-auth-box {
        padding: 18px 16px 14px;
    }
}

@media (max-width: 576px) {
    body.mh-auth-page .mh-auth-wrap {
        min-height: 0;
    }

    body.mh-auth-page .mh-auth-split {
        min-height: 0;
    }

    body.mh-auth-page .mh-auth-form-panel {
        min-height: 0;
        padding: 12px 12px 14px;
    }

    .mh-auth-box {
        padding: 18px 14px 14px;
        box-shadow: 0 8px 24px rgba(10, 10, 10, 0.05);
        border: 1px solid var(--mh-border);
    }

    .mh-auth-box h1 {
        font-size: 24px;
    }

    .mh-auth-box .mh-subtitle {
        font-size: 13px;
    }
}

.mh-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--mh-black);
    color: var(--mh-white);
    border: 2px solid var(--mh-black);
    font-family: var(--mh-font-display);
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: var(--mh-radius-md);
}

.mh-btn:hover {
    background: transparent;
    color: var(--mh-black);
}

/* ========== CART & WISHLIST ========== */
.mh-cart-list,
.mh-wishlist-list {
    max-width: 900px;
    margin: 0 auto;
}

.mh-cart-header,
.mh-wishlist-header {
    display: grid;
    grid-template-columns: 1fr 100px 80px 32px;
    gap: 16px;
    padding: 0 16px 12px;
    border-bottom: 2px solid var(--mh-black);
    font-family: var(--mh-font-display);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-gray);
}

.mh-wishlist-header {
    grid-template-columns: 1fr 90px 100px 32px;
}

.mh-cart-header span:nth-child(2),
.mh-cart-header span:nth-child(3) { text-align: center; }

.mh-cart-item,
.mh-wishlist-item {
    display: grid;
    grid-template-columns: 1fr 100px 80px 32px;
    gap: 16px;
    align-items: center;
    padding: 20px 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-wishlist-item {
    grid-template-columns: 1fr 90px 100px 32px;
}

.mh-cart-item-main,
.mh-wishlist-item-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.mh-cart-item-img,
.mh-wishlist-item-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--mh-light);
}

.mh-cart-item-img img,
.mh-wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-cart-item-info a,
.mh-wishlist-item-info a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--mh-black);
    text-decoration: none;
    margin-bottom: 4px;
}

.mh-cart-item-info a:hover,
.mh-wishlist-item-info a:hover { color: var(--mh-gray); }

.mh-cart-item-meta {
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-cart-item-price,
.mh-cart-item-total,
.mh-wishlist-item-price {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* Quantity stepper */
.mh-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--mh-border);
    height: 32px;
}

.mh-qty-btn {
    width: 28px;
    height: 30px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--mh-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
    line-height: 1;
}

.mh-qty-btn:hover { background: var(--mh-light); }

.mh-qty input {
    width: 32px;
    height: 30px;
    border: none;
    border-left: 1px solid var(--mh-border);
    border-right: 1px solid var(--mh-border);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background: var(--mh-white);
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.mh-qty input::-webkit-outer-spin-button,
.mh-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mh-cart-remove,
.mh-wishlist-remove {
    background: none;
    border: none;
    color: var(--mh-gray);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    text-align: center;
}

.mh-cart-remove:hover,
.mh-wishlist-remove:hover { color: var(--mh-black); }

.mh-cart-footer {
    max-width: 900px;
    margin: 32px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.mh-cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mh-btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--mh-black);
    border: 1px solid var(--mh-black);
    font-family: var(--mh-font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.mh-btn-outline:hover {
    background: var(--mh-black);
    color: var(--mh-white);
}

.mh-btn-sm {
    display: inline-block;
    padding: 10px 24px;
    background: var(--mh-black);
    color: var(--mh-white);
    border: 1px solid var(--mh-black);
    font-family: var(--mh-font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.mh-btn-sm:hover {
    background: transparent;
    color: var(--mh-black);
}

.mh-cart-summary {
    width: 280px;
    border: 1px solid var(--mh-border);
    padding: 24px;
}

.mh-cart-summary h3 {
    font-family: var(--mh-font-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--mh-gray);
}

.mh-cart-summary-row.total {
    font-weight: 600;
    color: var(--mh-black);
    font-size: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--mh-border);
}

.mh-cart-summary .mh-btn {
    margin-top: 16px;
    font-size: 14px;
    padding: 12px;
}

.mh-stock {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.mh-stock.in { color: #2d6a1e; }
.mh-stock.out { color: #c0392b; }

.mh-add-cart-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--mh-black);
    color: var(--mh-white);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--mh-black);
}

.mh-add-cart-btn:hover {
    background: transparent;
    color: var(--mh-black);
}

.mh-add-cart-btn.disabled {
    background: var(--mh-light);
    color: var(--mh-gray);
    border-color: var(--mh-border);
    pointer-events: none;
}

/* Hide old cart table */
body.merlheart .cart-table .table-content { display: none !important; }
body.merlheart .cart-table .coupon-all,
body.merlheart .cart-table .cart-page-total { display: none !important; }

/* ========== HERO & PRODUCTS (index/shop) ========== */
body.merlheart .hero-slider-one .slider-text-info h1 {
    font-family: var(--mh-font-display);
    font-size: 72px;
    letter-spacing: 4px;
    line-height: 1;
    text-transform: uppercase;
}

body.merlheart .hero-slider-one .slider-text-info p { display: none; }

body.merlheart .slider-btn {
    background: var(--mh-black) !important;
    border: 2px solid var(--mh-black) !important;
    color: var(--mh-white) !important;
    font-family: var(--mh-font-display) !important;
    letter-spacing: 3px !important;
    border-radius: var(--mh-radius-md) !important;
    padding: 14px 40px !important;
}

body.merlheart .slider-btn span {
    color: var(--mh-white) !important;
}

body.merlheart .slider-btn:hover {
    background: var(--mh-white) !important;
    border-color: var(--mh-white) !important;
    color: var(--mh-black) !important;
}

body.merlheart .slider-btn:hover span {
    color: var(--mh-black) !important;
}

body.merlheart .slider-btn .fa-plus { display: none; }

body.merlheart .section-title {
    background: none !important;
    padding-bottom: 0;
    margin-bottom: 24px;
}

body.merlheart .section-title h2 {
    font-family: var(--mh-font-display);
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

body.merlheart .section-title p { color: var(--mh-gray); font-size: 14px; }

body.merlheart .section-bg-2,
body.merlheart .section-bg-3 {
    background: none !important;
}

/* Section link bar — view all / view more between title and products */
body.merlheart .mh-section-linkbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 28px;
}

body.merlheart .mh-section-linkbar--promo {
    margin-bottom: 20px;
}

body.merlheart .mh-view-all {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--mh-black);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

body.merlheart .mh-view-all:hover {
    color: var(--mh-accent-dark, #9ecc00);
}

body.merlheart .mh-view-all--light {
    color: var(--mh-white);
}

body.merlheart .mh-view-all--light:hover {
    color: var(--mh-accent);
}

/* Homepage category sections */
body.merlheart .mh-home-category-section {
    padding-top: 28px;
}

body.merlheart .mh-home-cat-block + .mh-home-cat-block {
    margin-top: 34px;
}

body.merlheart .mh-home-cat-title {
    margin: 0 0 18px;
    text-align: center;
    font-family: var(--mh-font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
}

body.merlheart .mh-home-cat-title a {
    color: var(--mh-black);
    text-decoration: none;
}

body.merlheart .mh-home-cat-title a:hover {
    color: var(--mh-accent-dark, #9ecc00);
}

/* 3D product card ring (PTCG-style) */
body.merlheart .mh-home-3d-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 0 18px;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    cursor: grab;
}

body.merlheart .mh-home-3d-carousel.is-dragging {
    cursor: grabbing;
}

body.merlheart .mh-home-3d-stage {
    position: relative;
    height: clamp(340px, 58vw, 420px);
    perspective: 1100px;
    perspective-origin: 50% 42%;
    overflow: visible;
}

body.merlheart .mh-home-3d-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    will-change: transform;
}

body.merlheart .mh-home-3d-card {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
    background: #fff;
    overflow: hidden;
    transition:
        box-shadow 0.4s ease,
        filter 0.4s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    filter: brightness(0.62) saturate(0.78);
    pointer-events: auto;
    transform-origin: center center;
}

body.merlheart .mh-home-3d-card.is-active {
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.22);
    filter: brightness(1) saturate(1);
    z-index: 2;
}

body.merlheart .mh-home-3d-carousel.is-dragging .mh-home-3d-card {
    cursor: grabbing;
}

body.merlheart .mh-home-3d-carousel.is-flipping .mh-home-3d-card.is-active {
    animation: mh-home-3d-pulse 0.5s ease;
}

@keyframes mh-home-3d-pulse {
    0% { filter: brightness(0.96); }
    40% { filter: brightness(1.05); }
    100% { filter: brightness(1); }
}

body.merlheart .mh-home-3d-card .mh-product-card-home {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 18px;
    border: 1px solid #e8e8e8;
    background: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.merlheart .mh-home-3d-card .mh-pch-media {
    flex: 0 0 auto;
    position: relative;
    aspect-ratio: unset;
}

/* Product-only 3D carousel card sizes (outfit carousels keep their own rules below) */
body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-ring,
body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card {
    width: min(calc(100vw - 72px), 248px);
    height: 308px;
}

body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-media {
    height: 178px;
    min-height: 178px;
    max-height: 178px;
}

body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-footer,
body.merlheart .mh-home-category-section .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
    margin-top: auto;
    padding: 0 8px 8px;
    gap: 2px;
    flex-shrink: 0;
}

body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-actions {
    margin-top: 0;
    margin-bottom: 0;
    gap: 6px;
}

body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-price {
    margin: 0;
    line-height: 1.2;
}

body.merlheart .mh-home-3d-card .mh-pch-main,
body.merlheart .mh-home-3d-card .mh-pch-highlight-pane {
    position: absolute;
    inset: 0;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: unset !important;
}

body.merlheart .mh-home-3d-card .mh-pch-media.is-color-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body.merlheart .mh-home-3d-card .mh-pch-media.is-color-split .mh-pch-main,
body.merlheart .mh-home-3d-card .mh-pch-media.is-color-split .mh-pch-design-side {
    position: relative;
    inset: auto;
    height: 100% !important;
}

body.merlheart .mh-home-3d-card .mh-pch-design-side {
    display: flex;
    flex-direction: column;
    background: #ececec;
}

body.merlheart .mh-home-3d-card .mh-pch-design-side img {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
}

body.merlheart .mh-home-3d-card .mh-pch-main img {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain;
    object-position: center center;
}

body.merlheart .mh-home-3d-card .mh-pch-media.is-color-split .mh-pch-main img {
    object-fit: cover;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-bg {
    display: none !important;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-img {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
    display: block !important;
}

body.merlheart .mh-home-3d-card .mh-pch-title {
    font-size: 12px;
    line-height: 1.25;
    margin: 0;
    min-height: 0;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.merlheart .mh-home-3d-card .mh-pch-title-row {
    margin: 4px 8px 0;
    gap: 2px;
    flex-shrink: 0;
}

body.merlheart .mh-home-3d-card .mh-series-chip {
    font-size: 9px;
    padding: 2px 8px;
}

body.merlheart .mh-home-3d-card .mh-pch-footer {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-ring,
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card {
        width: min(calc(100vw - 72px), 248px);
        height: 308px;
    }

    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
        margin-top: auto;
        padding-bottom: 8px;
    }

    body.merlheart .mh-outfit-3d-carousel .mh-home-3d-card .mh-pch-footer,
    body.merlheart .mh-shop-page .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
    body.mh-pdp-page .mh-pdp-related .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
        padding-bottom: 4px;
    }

    body.merlheart .mh-home-3d-card .mh-pch-buy-now {
        min-height: 28px;
        padding: 0 10px;
    }
}

@media (min-width: 768px) {
    body.merlheart .mh-outfit-3d-carousel .mh-home-3d-card .mh-pch-footer,
    .mh-shop-page .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
    body.mh-pdp-page .mh-pdp-related .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
        padding-bottom: 0;
    }
}

body.merlheart .mh-home-3d-card .mh-pch-actions {
    flex-shrink: 0;
    margin-top: 0;
    gap: 8px;
}

body.merlheart .mh-home-3d-card .mh-pch-btn {
    padding: 4px;
    min-width: 34px;
    min-height: 34px;
}

body.merlheart .mh-home-3d-card .mh-pch-btn .fa {
    font-size: 22px;
    line-height: 1;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-pane {
    position: absolute;
    inset: 0;
    background: #f3f3f3;
    z-index: 2;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-bg {
    display: none !important;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
    display: block !important;
    z-index: 1;
}

body.merlheart .mh-home-3d-card .mh-pch-highlights {
    padding: 2px 8px 0;
    min-height: 0;
    flex-shrink: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
}

body.merlheart .mh-home-3d-card .mh-pch-highlights-track {
    transform: none !important;
    width: max-content;
    flex-wrap: nowrap;
}

body.merlheart .mh-home-3d-card .mh-pch-highlight-btn {
    width: 26px;
    height: 26px;
}

body.merlheart .mh-home-3d-nav {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.merlheart .mh-home-3d-nav--prev { left: 4px; }
body.merlheart .mh-home-3d-nav--next { right: 4px; }

body.merlheart .mh-home-3d-nav:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

body.merlheart .mh-home-3d-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

body.merlheart .mh-home-3d-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d0d0d0;
    cursor: pointer;
}

body.merlheart .mh-home-3d-dot.is-active {
    width: 22px;
    background: #111;
}

@media (min-width: 768px) {
    body.merlheart .mh-home-cat-title {
        font-size: 28px;
        margin-bottom: 22px;
    }

    body.merlheart .mh-home-3d-carousel {
        padding: 12px 0 22px;
    }

    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-ring,
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card {
        width: 240px;
        height: 328px;
    }

    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-media {
        height: 186px;
        min-height: 186px;
        max-height: 186px;
    }

    body.merlheart .mh-home-3d-stage {
        height: 420px;
        perspective: 1280px;
    }

    body.merlheart .mh-home-3d-nav {
        width: 46px;
        height: 46px;
    }

    body.merlheart .mh-home-3d-nav--prev { left: 12px; }
    body.merlheart .mh-home-3d-nav--next { right: 12px; }
}

@media (min-width: 992px) {
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-ring,
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card {
        width: 252px;
        height: 338px;
    }

    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-media {
        height: 196px;
        min-height: 196px;
        max-height: 196px;
    }

    body.merlheart .mh-home-3d-stage {
        height: 440px;
        perspective: 1400px;
    }

    body.merlheart .mh-home-3d-nav--prev { left: 24px; }
    body.merlheart .mh-home-3d-nav--next { right: 24px; }
}

@media (min-width: 1200px) {
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-ring,
    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card {
        width: 264px;
        height: 348px;
    }

    body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-pch-media {
        height: 204px;
        min-height: 204px;
        max-height: 204px;
    }

    body.merlheart .mh-home-3d-stage {
        height: 460px;
        perspective: 1500px;
    }

    body.merlheart .mh-home-3d-nav--prev { left: 36px; }
    body.merlheart .mh-home-3d-nav--next { right: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    body.merlheart .mh-home-3d-ring,
    body.merlheart .mh-home-3d-card,
    body.merlheart .mh-home-3d-carousel.is-flipping .mh-home-3d-card.is-active {
        transition: none !important;
        animation: none !important;
    }
}

body.merlheart .mh-home-cat-carousel .slick-slide {
    padding: 0 7px;
    height: auto;
}

body.merlheart .mh-home-cat-carousel .slick-list {
    margin: 0 -7px;
}

body.merlheart .mh-home-cat-carousel .single-product-wrap {
    height: 100%;
}

@media (min-width: 768px) {
    body.merlheart .mh-home-cat-carousel .slick-slide {
        padding: 0 10px;
    }

    body.merlheart .mh-home-cat-carousel .slick-list {
        margin: 0 -10px;
    }

    body.merlheart .mh-home-cat-title {
        font-size: 28px;
        margin-bottom: 22px;
    }
}

/* Homepage category cards (legacy) */
body.merlheart .mh-home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

body.merlheart .mh-home-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    min-height: 104px;
    border: 1px solid var(--mh-border);
    border-radius: 22px;
    background: var(--mh-white);
    color: var(--mh-black);
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.merlheart .mh-home-category-card:hover {
    transform: translateY(-2px);
    border-color: var(--mh-black);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

body.merlheart .mh-home-category-img,
body.merlheart .mh-home-category-placeholder {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--mh-light);
}

body.merlheart .mh-home-category-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.merlheart .mh-home-category-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mh-font-display);
    font-size: 30px;
    color: var(--mh-gray);
}

body.merlheart .mh-home-category-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

body.merlheart .mh-home-category-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

body.merlheart .mh-home-category-count {
    font-size: 12px;
    color: var(--mh-gray);
}

/* Homepage outfit sets */
body.merlheart .mh-outfit-section {
    background: var(--mh-light);
}

body.merlheart .mh-outfit-section .section-title {
    background: none;
    padding-bottom: 0;
    margin-bottom: 18px;
}

/* Outfit sets use the same 3D ring carousel — fixed square cards */
body.merlheart .mh-outfit-3d-carousel {
    margin-top: 8px;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-stage {
    height: clamp(420px, 78vw, 540px);
}

body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-ring,
body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-card {
    width: 280px;
    height: 380px;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-card {
    border-radius: 18px;
    overflow: hidden;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none;
    aspect-ratio: auto;
    cursor: pointer;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner {
    flex: 1 1 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    border-bottom: none;
    aspect-ratio: unset;
    width: 100%;
    overflow: hidden;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview {
    grid-template-columns: minmax(0, 1fr);
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-card-pieces {
    display: none !important;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-card-visual {
    border-right: none;
    grid-column: 1 / -1;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-visual {
    position: relative;
    border-right: none;
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumb-bar,
body.merlheart .mh-outfit-card .mh-outfit-card-thumb-bar {
    position: relative;
    flex-shrink: 0;
    padding: 4px 8px 4px;
    background: #fff;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumb-bar::before,
body.merlheart .mh-outfit-card .mh-outfit-card-thumb-bar::before {
    display: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-visual-fade {
    display: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    max-height: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-media > img,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-model-slide img,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-product-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-model-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-model-carousel .slick-list,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-model-carousel .slick-track,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-model-slide {
    height: 100%;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-pieces {
    display: flex !important;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: none;
    border-left: none;
    padding: 0;
    background: #fff;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-products {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    max-height: none;
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-product-item {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: none !important;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-product-item + .mh-outfit-product-item {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    gap: 0;
    align-items: stretch;
    display: flex;
    flex-direction: column;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-media {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-img {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: unset;
    border-radius: 0;
    margin: 0;
    border: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-img--layered {
    position: relative;
    height: 100%;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-img img,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-img--layered .mh-outfit-piece-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-name {
    display: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-highlights {
    display: none !important;
}

body.merlheart .mh-outfit-card-designs {
    display: none;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #f3f3f3;
}

body.merlheart .mh-outfit-card-inner.is-design-split .mh-outfit-card-designs {
    display: flex;
}

body.merlheart .mh-outfit-card-inner.is-design-split .mh-outfit-card-products[hidden] {
    display: none !important;
}

body.merlheart .mh-outfit-card-designs img {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

body.merlheart .mh-outfit-card-designs img + img {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumbs,
body.merlheart .mh-outfit-card .mh-outfit-card-thumbs {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumbs .mh-outfit-thumb,
body.merlheart .mh-outfit-card .mh-outfit-card-thumbs .mh-outfit-thumb {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumbs .mh-outfit-thumb.is-active,
body.merlheart .mh-outfit-card .mh-outfit-card-thumbs .mh-outfit-thumb.is-active {
    border-color: var(--mh-black, #111);
    box-shadow: 0 0 0 1px var(--mh-black, #111);
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumbs::-webkit-scrollbar,
body.merlheart .mh-outfit-card .mh-outfit-card-thumbs::-webkit-scrollbar {
    display: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-thumbs .mh-outfit-thumb img,
body.merlheart .mh-outfit-card .mh-outfit-card-thumbs .mh-outfit-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-highlights .mh-pch-highlights-track {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-highlights .mh-pch-highlight-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-footer-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 8px 8px;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-height: 0;
    background: #fff;
    border-top: none;
    overflow: visible;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-name {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-prices {
    justify-content: flex-start;
    align-items: baseline;
    width: 100%;
    flex: 0 0 auto;
    min-width: 0;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-price-new {
    font-size: 13px;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-price-old {
    font-size: 10px;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-actions {
    gap: 6px;
    width: 100%;
    flex-shrink: 0;
    justify-content: flex-end;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-buy-now {
    min-height: 26px;
    padding: 0 10px;
}

@media (min-width: 768px) {
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-card {
        width: 320px;
        height: 400px;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-stage {
        height: 480px;
    }
}

@media (min-width: 992px) {
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-card {
        width: 340px;
        height: 420px;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-stage {
        height: 500px;
    }
}

@media (min-width: 1200px) {
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-card {
        width: 360px;
        height: 440px;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-home-3d-stage {
        height: 520px;
    }
}

/* Outfit carousel — classic full-photo design (A/B compare) */
body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-stage {
    height: clamp(400px, 76vw, 520px);
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-ring,
body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-card {
    width: 280px;
    height: 380px;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-card {
    border-radius: 18px;
    overflow: hidden;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none;
    aspect-ratio: auto;
    cursor: pointer;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-inner {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: block;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-visual {
    position: absolute;
    inset: 0;
    border-right: none;
    padding: 0;
    min-height: 0;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    max-height: none;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-media > img,
body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-model-slide img,
body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-product-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-model-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-model-carousel .slick-list,
body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-model-carousel .slick-track,
body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-model-slide {
    height: 100%;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-name--overlay,
body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-zoom-btn {
    display: none !important;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-media-thumbs {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    width: auto;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    padding: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-pieces {
    display: none !important;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-footer-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 10px 10px;
    flex-shrink: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-name {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-prices {
    justify-content: flex-start;
    align-items: baseline;
    width: 100%;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-price-new {
    font-size: 14px;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-price-old {
    font-size: 11px;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-card-actions {
    gap: 8px;
    width: 100%;
    justify-content: flex-end;
}

body.merlheart .mh-outfit-3d-carousel--classic .mh-outfit-buy-now {
    min-height: 26px;
    padding: 0 10px;
}

@media (min-width: 768px) {
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-card {
        width: 320px;
        height: 420px;
    }

    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-stage {
        height: 500px;
    }
}

@media (min-width: 992px) {
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-card {
        width: 340px;
        height: 440px;
    }

    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-stage {
        height: 520px;
    }
}

@media (min-width: 1200px) {
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-ring,
    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-card {
        width: 360px;
        height: 460px;
    }

    body.merlheart .mh-outfit-3d-carousel--classic .mh-home-3d-stage {
        height: 540px;
    }
}

/* Legacy slick outfit carousel (kept harmless if unused) */
body.merlheart .mh-outfit-carousel {
    position: relative;
    max-width: 100%;
    margin: 8px auto 0;
    padding: 0 52px 48px;
}

body.merlheart .mh-outfit-carousel--peek > .slick-list > .slick-track > .slick-slide {
    padding: 0 10px;
    height: auto;
}

body.merlheart .mh-outfit-carousel > .slick-list > .slick-track > .slick-slide {
    padding: 0 8px;
    height: auto;
}

body.merlheart .mh-outfit-carousel > .slick-list > .slick-track > .slick-slide > div {
    height: auto;
}

body.merlheart .mh-outfit-carousel > .slick-list {
    margin: 0;
    overflow: hidden;
    height: auto !important;
}

body.merlheart .mh-outfit-carousel > .slick-arrow {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    z-index: 8;
    color: var(--mh-black);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.merlheart .mh-outfit-carousel > .slick-arrow.slick-next {
    left: auto;
    right: 6px;
}

body.merlheart .mh-outfit-carousel > .slick-arrow:hover {
    background: var(--mh-black);
    border-color: var(--mh-black);
    color: var(--mh-white);
    transform: translateY(-50%) scale(1.04);
}

body.merlheart .mh-outfit-carousel > .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    line-height: 0;
}

body.merlheart .mh-outfit-carousel > .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
    display: inline-flex;
}

body.merlheart .mh-outfit-carousel > .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--mh-black);
    opacity: 0.22;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

body.merlheart .mh-outfit-carousel > .slick-dots li button:before {
    content: none;
    display: none;
}

body.merlheart .mh-outfit-carousel > .slick-dots li.slick-active button {
    width: 10px;
    height: 10px;
    opacity: 1;
    transform: scale(1);
    background: var(--mh-black);
}

body.merlheart .mh-outfit-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

body.merlheart .mh-outfit-card-inner {
    display: grid;
    grid-template-columns: minmax(0, 62%) minmax(0, 38%);
    gap: 0;
    min-height: 0;
}

body.merlheart .mh-outfit-card-visual {
    display: flex;
    flex-direction: column;
    padding: 0 0 16px;
    background: var(--mh-white);
    border-right: 1px solid var(--mh-border);
}

body.merlheart .mh-outfit-card-media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: none;
    background: #f0f0f0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

body.merlheart .mh-outfit-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-zoom-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

body.merlheart .mh-outfit-zoom-btn:hover {
    background: #000;
    transform: scale(1.06);
}

body.merlheart .mh-outfit-zoom-btn .fa {
    font-size: 14px;
}

/* Outfit model lightbox — image + close only (no frame) */
body.mh-outfit-lightbox-open {
    overflow: hidden;
}

body.merlheart .mh-outfit-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

body.merlheart .mh-outfit-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.merlheart .mh-outfit-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

body.merlheart .mh-outfit-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: min(92vw, 960px);
    max-height: 88vh;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transform: scale(0.94) translateY(10px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

body.merlheart .mh-outfit-lightbox.is-open .mh-outfit-lightbox-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

body.merlheart .mh-outfit-lightbox.is-closing .mh-outfit-lightbox-dialog {
    transform: scale(0.96) translateY(6px);
    opacity: 0;
}

body.merlheart .mh-outfit-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(92vw, 960px);
    max-height: 88vh;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.merlheart .mh-outfit-lightbox-close {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, background 0.2s ease;
}

body.merlheart .mh-outfit-lightbox-close:hover {
    transform: scale(1.05);
    background: #fff;
}

body.merlheart .mh-outfit-product-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 3;
    background: #f0f0f0;
}

body.merlheart .mh-outfit-product-preview[hidden] {
    display: none !important;
}

body.merlheart .mh-outfit-card-media.is-product-preview .mh-outfit-model-carousel,
body.merlheart .mh-outfit-card-media.is-product-preview > [data-mh-outfit-model-img] {
    visibility: hidden;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-product-preview,
body.merlheart .mh-outfit-card-inner.is-full-preview .mh-outfit-product-preview {
    object-fit: contain;
    background: #fff;
}

body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-card-media > img,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-model-slide img,
body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-inner.is-full-preview .mh-outfit-product-preview {
    object-fit: contain;
    background: #fff;
}

body.merlheart .mh-outfit-piece {
    cursor: pointer;
}

body.merlheart .mh-outfit-piece.is-preview-active .mh-outfit-piece-img {
    border-color: var(--mh-black, #111);
    box-shadow: 0 0 0 1px var(--mh-black, #111);
}

body.merlheart .mh-outfit-model-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

body.merlheart .mh-outfit-model-carousel .slick-list,
body.merlheart .mh-outfit-model-carousel .slick-track {
    height: 100%;
}

body.merlheart .mh-outfit-model-slide {
    height: 100%;
}

body.merlheart .mh-outfit-model-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-model-carousel .slick-prev,
body.merlheart .mh-outfit-model-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--mh-black);
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

body.merlheart .mh-outfit-model-carousel .slick-prev {
    left: 10px;
}

body.merlheart .mh-outfit-model-carousel .slick-next {
    right: 10px;
}

body.merlheart .mh-outfit-model-carousel .slick-prev:hover,
body.merlheart .mh-outfit-model-carousel .slick-next:hover {
    background: var(--mh-black);
    color: var(--mh-white);
    border-color: var(--mh-black);
}

body.merlheart .mh-outfit-model-carousel .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

body.merlheart .mh-outfit-model-carousel .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
    display: inline-flex;
}

body.merlheart .mh-outfit-model-carousel .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

body.merlheart .mh-outfit-model-carousel .slick-dots li button:before {
    content: none;
    display: none;
}

body.merlheart .mh-outfit-model-carousel .slick-dots li.slick-active button {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: 1;
}

body.merlheart .mh-outfit-card-name {
    margin: 14px 20px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mh-black);
}

body.merlheart .mh-outfit-card-desc {
    margin: 6px 20px 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mh-gray);
}

body.merlheart .mh-outfit-card-pieces {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 14px 14px;
    min-width: 0;
    border-left: 1px solid var(--mh-border);
}

body.merlheart .mh-outfit-card-products {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-height: 0;
    overflow-y: auto;
}

body.merlheart .mh-outfit-product-item {
    width: 100%;
    padding: 12px 0;
}

body.merlheart .mh-outfit-product-item:first-child {
    padding-top: 0;
}

body.merlheart .mh-outfit-product-item + .mh-outfit-product-item {
    border-top: 1px solid var(--mh-border);
}

body.merlheart .mh-outfit-piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
    text-align: center;
}

body.merlheart .mh-outfit-piece-media {
    width: 100%;
}

body.merlheart .mh-outfit-piece-highlights {
    width: 100%;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
}

body.merlheart .mh-outfit-piece-highlights .mh-pch-highlights-track {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    width: max-content;
    transform: none !important;
    transition: none;
    will-change: auto;
}

body.merlheart .mh-outfit-piece-highlights.is-carousel {
    margin-left: auto;
    margin-right: auto;
}

body.merlheart .mh-outfit-piece-highlights.is-carousel .mh-pch-highlights-track {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
}

.mh-product-card-home .mh-pch-highlights.is-carousel {
    margin-left: auto;
    margin-right: auto;
}

body.merlheart .mh-outfit-piece-highlights .mh-pch-highlight-btn,
body.merlheart .mh-outfit-piece-highlights .mh-pch-color-thumb,
body.merlheart .mh-outfit-piece-highlights .mh-pch-main-thumb {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    background: #fff;
    cursor: pointer;
}

body.merlheart .mh-outfit-piece-highlights .mh-pch-highlight-btn.is-active {
    border-color: var(--mh-black);
    box-shadow: 0 0 0 1px var(--mh-black);
}

body.merlheart .mh-outfit-piece-highlights .mh-pch-highlight-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-piece-img {
    display: block;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    background: #fafafa;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.merlheart .mh-outfit-piece-img--layered {
    position: relative;
}

body.merlheart .mh-outfit-piece-main-img,
body.merlheart .mh-outfit-piece-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-piece-overlay-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
}

body.merlheart .mh-outfit-piece-overlay-img[hidden] {
    display: none !important;
}

body.merlheart .mh-outfit-piece-img--layered .mh-outfit-piece-main-img {
    position: relative;
    z-index: 0;
}

body.merlheart .mh-outfit-piece-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body.merlheart .mh-outfit-piece-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-piece-name {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--mh-black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.merlheart .mh-outfit-piece-sizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 30px;
}

body.merlheart .mh-outfit-piece-sizes .mh-size-btn--card {
    min-width: 32px;
    height: 30px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1;
}

body.merlheart .mh-outfit-piece-price {
    text-align: center;
    width: 100%;
}

body.merlheart .mh-outfit-piece-price .new-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--mh-black);
}

body.merlheart .mh-outfit-card-footer-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: 6px;
    margin-top: auto;
    padding: 14px 18px;
    border-top: 1px solid var(--mh-border);
    background: var(--mh-white);
}

body.merlheart .mh-outfit-card-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mh-black);
}

body.merlheart .mh-outfit-card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

body.merlheart .mh-outfit-card-footer-end {
    display: none;
}

body.merlheart .mh-outfit-card-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

body.merlheart .mh-outfit-share,
body.merlheart .mh-outfit-add-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
    border: none;
    background: none;
    box-shadow: none;
    color: var(--mh-black);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

body.merlheart .mh-outfit-share:hover,
body.merlheart .mh-outfit-add-all:hover:not(:disabled) {
    opacity: 1;
}

body.merlheart .mh-outfit-share i,
body.merlheart .mh-outfit-add-all i {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    color: currentColor;
}

body.merlheart .mh-outfit-card-footer {
    display: none;
}

body.merlheart .mh-outfit-card-prices {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px 8px;
    min-width: 0;
    width: 100%;
    text-align: left;
}

body.merlheart .mh-outfit-card-price-old {
    font-size: 13px;
    color: var(--mh-gray);
    text-decoration: line-through;
    line-height: 1.2;
    order: 0;
}

body.merlheart .mh-outfit-card-price-new {
    font-size: 20px;
    font-weight: 700;
    color: var(--mh-black);
    letter-spacing: -0.02em;
    line-height: 1.2;
    order: 0;
}

body.merlheart .mh-outfit-card-price-new.is-sale {
    color: #d32f2f;
}

body.merlheart .mh-outfit-card-price-label {
    display: none;
}

body.merlheart .mh-outfit-media-thumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: thin;
}

body.merlheart .mh-outfit-media-thumbs::-webkit-scrollbar {
    height: 3px;
}

body.merlheart .mh-outfit-media-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 999px;
}

body.merlheart .mh-outfit-thumb {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

body.merlheart .mh-outfit-thumb.is-active {
    border-color: var(--mh-black, #111);
}

body.merlheart .mh-outfit-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-outfit-add-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 36px;
    min-height: 36px;
    height: auto;
    padding: 4px;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--mh-black);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

body.merlheart .mh-outfit-add-all--icon {
    width: auto;
    min-width: 36px;
    min-height: 36px;
    height: auto;
    padding: 4px;
}

body.merlheart .mh-outfit-add-all:hover:not(:disabled) {
    background: none;
    border: none;
    color: var(--mh-black);
    opacity: 1;
    transform: none;
}

body.merlheart .mh-outfit-add-all:disabled,
body.merlheart .mh-outfit-add-all.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

body.merlheart .mh-outfit-add-all i {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    color: currentColor;
}

body.merlheart .mh-outfit-add-all-label {
    white-space: nowrap;
}

/* Outfit set add-to-cart drawer */
.mh-outfit-add-drawer .mh-outfit-add-drawer-foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-outfit-drawer-set-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-outfit-drawer-set-price strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--mh-black);
}

.mh-outfit-drawer-item {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-outfit-drawer-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mh-outfit-drawer-item-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.mh-outfit-drawer-item-meta {
    min-width: 0;
    flex: 1;
}

.mh-outfit-drawer-item-meta h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.mh-outfit-drawer-qty-option .mh-qty {
    max-width: 140px;
}

#mhOutfitAddDrawer .mh-outfit-drawer-qty-option {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    body.merlheart .mh-outfit-carousel {
        max-width: min(1080px, calc(100% - 8px));
        padding: 0 48px 44px;
    }

    body.merlheart .mh-outfit-card-inner {
        grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    }

    body.merlheart .mh-outfit-card-visual {
        padding: 0 0 12px;
        border-right: 1px solid var(--mh-border);
        border-bottom: none;
    }

    body.merlheart .mh-outfit-card-name,
    body.merlheart .mh-outfit-card-desc {
        margin-left: 12px;
        margin-right: 12px;
    }

    body.merlheart .mh-outfit-card-media {
        max-height: 340px;
    }

    body.merlheart .mh-outfit-card-pieces {
        padding: 14px 10px 12px;
    }
}

@media (max-width: 767px) {
    body.merlheart .mh-outfit-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.merlheart .mh-outfit-carousel {
        max-width: min(480px, calc(100% - 16px));
        margin-left: auto;
        margin-right: auto;
        padding: 0 38px 40px;
    }

    body.merlheart .mh-outfit-carousel > .slick-list > .slick-track > .slick-slide {
        padding: 0 2px;
        height: auto;
    }

    body.merlheart .mh-outfit-carousel > .slick-list > .slick-track > .slick-slide > div {
        height: auto;
    }

    body.merlheart .mh-outfit-carousel > .slick-list {
        margin: 0;
        height: auto !important;
    }

    body.merlheart .mh-outfit-carousel > .slick-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
        left: 2px;
        right: auto;
    }

    body.merlheart .mh-outfit-carousel > .slick-arrow.slick-next {
        right: 2px;
        left: auto;
    }

    body.merlheart .mh-outfit-model-carousel .slick-prev,
    body.merlheart .mh-outfit-model-carousel .slick-next {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    body.merlheart .mh-outfit-model-carousel .slick-prev {
        left: 6px;
    }

    body.merlheart .mh-outfit-model-carousel .slick-next {
        right: 6px;
    }

    body.merlheart .mh-outfit-card-inner {
        grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    }

    body.merlheart .mh-outfit-card-visual {
        padding: 0 0 8px;
    }

    body.merlheart .mh-outfit-card-media {
        max-height: none;
        aspect-ratio: 1 / 1;
    }

    body.merlheart .mh-outfit-card-name {
        margin: 8px 12px 0;
        font-size: 13px;
    }

    body.merlheart .mh-outfit-card-desc {
        display: none;
    }

    body.merlheart .mh-outfit-card-pieces {
        padding: 10px 8px 8px;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-card-pieces {
        padding: 0;
    }

    body.merlheart .mh-outfit-product-item {
        padding: 10px 0;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-product-item {
        padding: 0;
    }

    body.merlheart .mh-outfit-piece {
        gap: 6px;
        min-width: 0;
    }

    body.merlheart .mh-outfit-piece-img {
        max-width: 130px;
        width: min(100%, 130px);
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }

    body.merlheart .mh-outfit-3d-carousel--split .mh-outfit-piece-img {
        max-width: none;
        width: 100%;
        height: 100%;
        aspect-ratio: unset;
        border-radius: 0;
    }

    body.merlheart .mh-outfit-piece-highlights .mh-pch-highlight-btn {
        width: 28px;
        height: 28px;
    }

    body.merlheart .mh-outfit-piece-name {
        font-size: 11px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    body.merlheart .mh-outfit-piece-sizes {
        gap: 4px;
        min-height: 24px;
    }

    body.merlheart .mh-outfit-piece-sizes .mh-size-btn--card {
        min-width: 24px;
        height: 22px;
        padding: 0 4px;
        font-size: 9px;
    }

    body.merlheart .mh-outfit-piece-price .new-price {
        font-size: 12px;
    }

    body.merlheart .mh-outfit-card-footer-bar {
        padding: 10px 12px;
        gap: 8px;
    }

    body.merlheart .mh-outfit-card-price-new {
        font-size: 18px;
    }

    body.merlheart .mh-outfit-card-price-label {
        font-size: 10px;
    }
}

@media (max-width: 374px) {
    body.merlheart .mh-outfit-carousel {
        max-width: 100%;
        padding: 0 34px 38px;
    }

    body.merlheart .mh-outfit-card-media {
        max-height: 200px;
    }

    body.merlheart .mh-outfit-card-name {
        font-size: 12px;
    }

    body.merlheart .mh-outfit-piece-sizes .mh-size-btn--card {
        min-width: 22px;
        height: 20px;
        font-size: 8px;
    }
}

@media (min-width: 768px) {
    body.merlheart .mh-outfit-add-all-label {
        display: inline;
    }
}

@media (max-width: 479px) {
    body.merlheart .mh-outfit-add-all-label {
        display: none;
    }

    body.merlheart .mh-outfit-add-all {
        width: auto;
        min-width: 36px;
        min-height: 36px;
        padding: 2px;
        border-radius: 50%;
    }
}

/* Support chat — fixed viewport; messages scroll inside panel */
body.merlheart.mh-chat-page {
    overflow: hidden;
    height: 100%;
    max-height: 100dvh;
    overscroll-behavior: none;
}

html:has(body.mh-chat-page) {
    height: 100%;
    overflow: hidden;
}

body.merlheart.mh-chat-page .mh-chat-page-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    height: 100%;
    max-height: 100dvh;
}

@media (max-width: 767px) {
    body.merlheart.mh-chat-page .mh-chat-page-wrap {
        height: 100%;
        max-height: 100dvh;
    }
}

@media (min-width: 768px) {
    body.merlheart.mh-chat-page .mh-chat-page-wrap {
        height: 100%;
        max-height: 100dvh;
    }
}

body.merlheart.mh-chat-page .mh-footer {
    display: none !important;
}

body.merlheart.mh-chat-page .mh-mobile-bottom-nav {
    display: none !important;
}

body.merlheart .mh-chat-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 16px 16px 0;
    min-height: 0;
}

body.merlheart.mh-chat-page .mh-chat-shell {
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

body.merlheart.mh-chat-page .mh-subpage-sticky-spacer {
    flex-shrink: 0;
}

body.merlheart .mh-chat-head {
    margin-bottom: 12px;
}

body.merlheart .mh-chat-head h1 {
    margin: 0 0 6px;
    font-family: var(--mh-font-display);
    font-size: 28px;
    letter-spacing: 1px;
}

body.merlheart .mh-chat-head p {
    margin: 0;
    color: var(--mh-gray);
    font-size: 14px;
}

body.merlheart .mh-chat-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    border-radius: var(--mh-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

body.merlheart.mh-chat-page .mh-chat-panel {
    min-height: 0;
    flex: 1;
    overflow: hidden;
    border-bottom: none;
    border-radius: var(--mh-radius-lg) var(--mh-radius-lg) 0 0;
}

body.merlheart .mh-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f7f7f7;
    display: flex;
    flex-direction: column !important;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
}

body.merlheart.mh-chat-page .mh-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 16px;
}

body.merlheart.mh-chat-page .site-header,
body.merlheart.mh-chat-page .mh-header,
body.merlheart.mh-chat-page header {
    flex-shrink: 0;
}

body.merlheart.mh-chat-page .mh-chat-composer--dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}

body.merlheart .mh-chat-load-earlier {
    align-self: center;
    flex-shrink: 0;
    margin: 0 0 4px;
    padding: 8px 14px;
    border: 1px solid var(--mh-border, #ddd);
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

body.merlheart .mh-chat-load-earlier:hover {
    border-color: var(--mh-black, #111);
    color: var(--mh-black, #111);
}

body.merlheart .mh-chat-load-earlier:disabled {
    opacity: 0.55;
    cursor: wait;
}

body.merlheart .mh-chat-load-earlier[hidden] {
    display: none !important;
}

body.merlheart .mh-chat-bot-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1565c0;
    margin-bottom: 4px;
}

body.merlheart .mh-chat-bubble--bot {
    align-self: flex-start;
    background: #e8f0fe;
    border: 1px solid #c5d7f5;
    color: #111;
    max-width: min(92%, 420px);
}

body.merlheart .mh-chat-bubble--bot time {
    color: #5f6b7a;
}

body.merlheart .mh-chat-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 0 6px;
}

body.merlheart .mh-chat-product-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.merlheart .mh-chat-product-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3b4a5c;
}

body.merlheart .mh-chat-product-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d5e0ef;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.merlheart .mh-chat-product-card:hover {
    border-color: #9bb6d9;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.1);
}

body.merlheart .mh-chat-product-media {
    display: block;
    width: 72px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f5f8;
}

body.merlheart .mh-chat-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-chat-product-media--empty {
    background: linear-gradient(135deg, #eef2f7, #dde5ef);
}

body.merlheart .mh-chat-product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

body.merlheart .mh-chat-product-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
}

body.merlheart .mh-chat-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

body.merlheart .mh-chat-product-price {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

body.merlheart .mh-chat-product-price.is-sale {
    color: #c62828;
}

body.merlheart .mh-chat-product-price.is-original {
    font-size: 12px;
    font-weight: 500;
    color: #8a94a1;
    text-decoration: line-through;
}

body.merlheart .mh-chat-orders {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 6px;
}

body.merlheart .mh-chat-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d5e0ef;
    text-decoration: none;
    color: inherit;
}

body.merlheart .mh-chat-order-card:hover {
    border-color: #9bb6d9;
}

body.merlheart .mh-chat-order-no {
    grid-column: 1;
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

body.merlheart .mh-chat-order-status {
    grid-column: 1;
    font-size: 12px;
    color: #5f6b7a;
}

body.merlheart .mh-chat-order-total {
    grid-column: 1;
    font-size: 12px;
    font-weight: 600;
    color: #111;
}

body.merlheart .mh-chat-order-go {
    grid-column: 2;
    grid-row: 1 / span 3;
    color: #8a94a1;
    font-size: 16px;
}

body.merlheart .mh-chat-loading,
body.merlheart .mh-chat-error {
    margin: auto;
    text-align: center;
    color: var(--mh-gray);
    font-size: 14px;
}

body.merlheart .mh-chat-bubble {
    max-width: 78%;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
    overflow: hidden;
    box-sizing: border-box;
}

body.merlheart .mh-chat-bubble--mine {
    align-self: flex-end;
    background: var(--mh-black);
    color: var(--mh-white);
}

body.merlheart .mh-chat-bubble--theirs {
    align-self: flex-start;
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    color: var(--mh-black);
}

body.merlheart .mh-chat-bubble p {
    margin: 0;
}

/* image grid inside a chat bubble */
body.merlheart .mh-chat-img-grid {
    display: grid;
    gap: 3px;
    width: 220px;
    min-width: 150px;
    max-width: min(220px, 70vw);
}

body.merlheart .mh-chat-img-grid--single {
    width: auto;
    grid-template-columns: 1fr;
}

body.merlheart .mh-chat-img-grid--count-2 { grid-template-columns: repeat(2, 1fr); }
body.merlheart .mh-chat-img-grid--count-3 { grid-template-columns: repeat(3, 1fr); }
body.merlheart .mh-chat-img-grid--count-4 { grid-template-columns: repeat(2, 1fr); }

body.merlheart .mh-chat-img-tile {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    background: #f0f0f0;
    cursor: zoom-in;
    line-height: 0;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

body.merlheart .mh-chat-img-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-chat-img-tile--single {
    aspect-ratio: auto;
    border-radius: 10px;
    max-width: min(220px, 70vw);
}

body.merlheart .mh-chat-img-tile--single img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
}

body.merlheart .mh-chat-img-more img {
    filter: brightness(0.5);
}

body.merlheart .mh-chat-img-more-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

body.merlheart .mh-chat-img-grid + p,
body.merlheart .mh-chat-img-grid + time {
    margin-top: 8px;
}

body.merlheart .mh-chat-bubble time {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.7;
}

body.merlheart .mh-chat-composer {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--mh-border);
    background: var(--mh-white);
}

body.merlheart.mh-chat-page .mh-chat-composer--dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    flex-shrink: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--mh-white);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
}

body.merlheart.mh-chat-page .mh-chat-composer.is-recording .mh-chat-composer-row {
    opacity: 0.45;
    pointer-events: none;
}

.mh-chat-voice-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 0;
    font-size: 13px;
    font-weight: 600;
    color: #c62828;
}

.mh-chat-voice-status[hidden] {
    display: none !important;
}

.mh-chat-voice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e53935;
    animation: mh-chat-voice-pulse 1s ease-in-out infinite;
}

@keyframes mh-chat-voice-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.mh-chat-typing {
    display: none;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #ebebeb;
    max-width: 72px;
}

.mh-chat-typing.is-visible {
    display: inline-flex;
}

.mh-chat-typing[hidden] {
    display: none !important;
}

.mh-chat-typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #888;
    animation: mh-chat-typing-bounce 1.2s ease-in-out infinite;
}

.mh-chat-typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.mh-chat-typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes mh-chat-typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.mh-chat-tool-btn.is-recording {
    background: #ffebee;
    border-color: #ef9a9a;
    color: #c62828;
}

#mhChatVoiceBtn {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.mh-chat-msg-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 100%;
}

.mh-chat-msg-row--mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.mh-chat-msg-row--theirs {
    align-self: flex-start;
}

.mh-chat-msg-row.is-highlight .mh-chat-bubble {
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.35);
}

.mh-chat-reply-btn {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--mh-gray);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}

.mh-chat-msg-row:hover .mh-chat-reply-btn,
.mh-chat-msg-row:focus-within .mh-chat-reply-btn {
    opacity: 1;
}

.mh-chat-reply-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #111;
}

.mh-chat-reply-quote {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 8px 10px;
    border: none;
    border-left: 3px solid #1565c0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
    text-align: left;
    cursor: pointer;
}

.mh-chat-bubble--mine .mh-chat-reply-quote {
    border-left-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
}

.mh-chat-reply-quote-author {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
    opacity: 0.9;
}

.mh-chat-reply-quote-text {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mh-chat-reply-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 0;
    background: var(--mh-white);
}

.mh-chat-reply-bar[hidden] {
    display: none !important;
}

.mh-chat-reply-bar-main {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border-left: 3px solid #1565c0;
    border-radius: 8px;
    background: #f3f7fb;
}

.mh-chat-reply-bar-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 2px;
}

.mh-chat-reply-bar-text {
    display: block;
    font-size: 12px;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mh-chat-reply-bar-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: #f0f0f0;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 767px) {
    .mh-chat-reply-btn {
        opacity: 1;
    }
}

.mh-chat-audio-wrap {
    display: block;
    min-width: min(240px, 70vw);
}

.mh-chat-audio-wrap audio {
    display: block;
    width: 100%;
    max-width: 240px;
    height: 36px;
}

.mh-chat-bubble--mine .mh-chat-audio-wrap {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 4px 6px;
}

body.merlheart.mh-chat-page .mh-chat-composer {
    flex-shrink: 0;
}

body.merlheart .mh-chat-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 0;
    background: var(--mh-white);
}

body.merlheart .mh-chat-preview[hidden] {
    display: none !important;
}

body.merlheart .mh-chat-preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    background: #f5f5f5;
}

body.merlheart .mh-chat-preview-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.merlheart .mh-chat-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

body.merlheart .mh-chat-composer-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
}

body.merlheart .mh-chat-composer.is-disabled .mh-chat-composer-row {
    opacity: 0.55;
    pointer-events: none;
}

body.merlheart .mh-chat-composer textarea {
    flex: 1;
    min-height: 42px;
    max-height: 120px;
    resize: none;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
}

body.merlheart .mh-chat-tool-btn,
body.merlheart .mh-chat-send-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--mh-border);
    background: var(--mh-white);
    color: var(--mh-black);
    cursor: pointer;
}

body.merlheart .mh-chat-send-btn {
    background: var(--mh-black);
    color: var(--mh-white);
    border-color: var(--mh-black);
}

body.merlheart .mh-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Chat image carousel lightbox (client + admin) */
.mh-chat-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.mh-chat-lightbox[hidden] {
    display: none !important;
}

.mh-chat-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.mh-chat-lightbox.is-open .mh-chat-lightbox-backdrop { opacity: 1; }
.mh-chat-lightbox.is-closing .mh-chat-lightbox-backdrop { opacity: 0; }

.mh-chat-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 960px);
    max-height: 92vh;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mh-chat-lightbox.is-open .mh-chat-lightbox-panel {
    opacity: 1;
    transform: scale(1);
}

.mh-chat-lightbox.is-closing .mh-chat-lightbox-panel {
    opacity: 0;
    transform: scale(0.92);
}

.mh-chat-lightbox-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
}

.mh-chat-lightbox-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.mh-chat-lightbox-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mh-chat-lightbox-slide img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.mh-chat-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.mh-chat-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.mh-chat-lightbox-prev { left: 8px; }
.mh-chat-lightbox-next { right: 8px; }

.mh-chat-lightbox-counter {
    text-align: center;
    color: #fff;
    font-size: 13px;
    margin-top: 10px;
}

.mh-chat-lightbox-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.mh-chat-lightbox-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.mh-chat-lightbox-dot.is-active { background: #fff; }

body.mh-chat-lightbox-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    body.merlheart.mh-chat-page .breadcrumb-area {
        display: none;
    }
}

body.merlheart .mh-product-carousel {
    position: relative;
}

body.merlheart .mh-product-carousel .slick-slide {
    margin: 0 8px;
}

body.merlheart .mh-product-carousel .slick-list {
    margin: 0 -8px;
}

body.merlheart .mh-product-carousel .slick-arrow {
    font-size: 18px;
    position: absolute;
    top: 42%;
    left: -4px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: 5;
    color: var(--mh-black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, background 0.2s ease;
}

body.merlheart .mh-product-carousel .slick-arrow.slick-next {
    left: auto;
    right: -4px;
}

body.merlheart .mh-product-carousel:hover .slick-arrow {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

body.merlheart .mh-product-carousel .slick-arrow:hover {
    background: var(--mh-accent);
    color: var(--mh-black);
}

body.merlheart .mh-promo-deals .mh-section-linkbar--promo {
    margin-bottom: 16px;
}

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

.mh-status-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--mh-black);
    cursor: pointer;
    margin: 0;
}

.mh-status-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--mh-black);
    cursor: pointer;
    flex-shrink: 0;
}

body.merlheart .single-product-wrap .product-content h3 a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

body.merlheart .star_content { display: none !important; }

/* Product card — remove black hover bar, show icon on image */
body.merlheart .single-product-wrap:hover .price-box {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.merlheart .product-content .product-action {
    display: none !important;
}

body.merlheart .single-product-wrap .quick_view {
    display: none !important;
}

body.merlheart .product-image .mh-cart-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mh-black);
    color: var(--mh-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px) scale(1) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, color 0.2s;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    box-shadow: none;
}

body.merlheart .single-product-wrap:hover .product-image .mh-cart-icon {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

body.merlheart .product-image .mh-cart-icon:hover {
    background: var(--mh-white);
    color: var(--mh-black);
    box-shadow: 0 0 0 1px var(--mh-black);
}

body.merlheart .product-image .mh-wishlist-icon {
    position: absolute;
    bottom: 60px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mh-black);
    color: var(--mh-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px) scale(1) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s, color 0.2s;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    box-shadow: none;
}

body.merlheart .single-product-wrap:hover .product-image .mh-wishlist-icon {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

body.merlheart .product-image .mh-wishlist-icon:hover {
    background: var(--mh-white);
    color: var(--mh-black);
    box-shadow: 0 0 0 1px var(--mh-black);
}

body.merlheart .product-image .mh-wishlist-icon.is-active {
    background: var(--mh-white);
    color: #c0392b;
    box-shadow: 0 0 0 1px #c0392b;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

body.merlheart .mh-pdp-wishlist.is-active {
    color: #c0392b;
    border-color: #c0392b;
}

body.merlheart .mh-pdp-wishlist.is-active:hover {
    background: #c0392b;
    color: var(--mh-white);
}

body.merlheart .label-product { border-radius: var(--mh-radius-sm) !important; font-size: 10px !important; }

/* Shop sidebar — hidden on other pages, visible on shop */
body.merlheart:not(.mh-shop-page) .sidebar-categores-box,
body.merlheart:not(.mh-shop-page) .shop-sidebar,
body.merlheart:not(.mh-shop-page) .sidebar-widget { display: none !important; }

body.merlheart:not(.mh-shop-page) .content-wraper .row > .col-lg-9,
body.merlheart:not(.mh-shop-page) .content-wraper .row > .order-lg-2,
body.merlheart:not(.mh-shop-page) .content-wraper .col-lg-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

body.merlheart:not(.mh-shop-page) .content-wraper .row > .col-lg-3 { display: none !important; }

body.merlheart.mh-shop-page .content-wraper .col-lg-9 {
    flex: 0 0 75% !important;
    max-width: 75% !important;
    width: 75% !important;
}

body.merlheart.mh-shop-page .content-wraper .col-lg-3 {
    display: block !important;
}

body.merlheart .content-wraper > .container {
    max-width: 1280px;
}

/* ========== SHOP FILTER ========== */
.mh-shop-filter {
    border: 1px solid var(--mh-border);
    padding: 24px 20px;
    position: sticky;
    top: 80px;
    background: var(--mh-white);
    overflow: hidden;
    max-width: 100%;
}

.mh-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-filter-head h3 {
    font-family: var(--mh-font-display);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.mh-filter-clear {
    background: none;
    border: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mh-gray);
    cursor: pointer;
    padding: 0;
}

.mh-filter-clear:hover { color: var(--mh-black); }

.mh-filter-section { margin-bottom: 28px; }

.mh-filter-section h4 {
    font-family: var(--mh-font-display);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--mh-gray);
}

.mh-price-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.mh-price-values em { font-style: normal; }
.mh-price-sep { color: var(--mh-gray); }

.mh-price-range {
    max-width: 100%;
    overflow: hidden;
}

.mh-range-wrap {
    position: relative;
    height: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mh-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--mh-border);
    transform: translateY(-50%);
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.mh-range-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--mh-black);
    left: 0%;
    right: 0%;
}

.mh-range-input {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 16px;
    margin: 0;
    padding: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    transform: translateY(-50%);
    z-index: 2;
}

.mh-range-input:last-of-type {
    z-index: 3;
}

.mh-range-input::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: transparent;
    height: 2px;
    border: none;
}

.mh-range-input::-moz-range-track {
    background: transparent;
    height: 2px;
    border: none;
}

.mh-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--mh-black);
    border: 2px solid var(--mh-white);
    box-shadow: 0 0 0 1px var(--mh-black);
    box-sizing: border-box;
    margin-top: -7px;
    cursor: pointer;
    pointer-events: auto;
}

.mh-range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--mh-black);
    border: 2px solid var(--mh-white);
    box-shadow: 0 0 0 1px var(--mh-black);
    box-sizing: border-box;
    cursor: pointer;
    pointer-events: auto;
}

.mh-cat-list { display: flex; flex-direction: column; gap: 4px; }

.mh-cat-item { border-bottom: 1px solid var(--mh-light); }
.mh-cat-item:last-child { border-bottom: none; }

.mh-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.mh-cat-label,
.mh-subcat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.mh-cat-label input,
.mh-subcat-label input {
    width: 15px;
    height: 15px;
    accent-color: var(--mh-black);
    cursor: pointer;
    flex-shrink: 0;
}

.mh-cat-toggle {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--mh-gray);
    font-size: 11px;
    transition: transform 0.2s;
}

.mh-cat-item.is-open .mh-cat-toggle { transform: rotate(180deg); }

.mh-subcat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 24px;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}

.mh-cat-item.is-open .mh-subcat-list {
    max-height: 160px;
    padding-bottom: 12px;
    opacity: 1;
}

.mh-subcat-label { font-size: 12px; color: var(--mh-gray); }
.mh-subcat-label:hover { color: var(--mh-black); }

.mh-filter-apply {
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    padding: 12px;
}

.mh-filter-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--mh-black);
    color: var(--mh-white);
    border: none;
    font-family: var(--mh-font-display);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-right: 16px;
}

body.merlheart .shop-top-bar,
body.merlheart .shop-products-wrapper {
    width: 100%;
}

/* Shop grid — phone 1 col, tablet 3 cols */
body.merlheart.mh-shop-page #grid-view .shop-product-area .row {
    margin-left: -8px;
    margin-right: -8px;
}

body.merlheart.mh-shop-page #grid-view .shop-product-area .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

body.merlheart.mh-shop-page .product-view-mode {
    display: none !important;
}

@media (max-width: 767px) {
    body.merlheart.mh-shop-page #grid-view .shop-product-area .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 16px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.merlheart.mh-shop-page #grid-view .shop-product-area .row > [class*="col-"] {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Checkout — minimal split layout */
body.mh-checkout-page .main-wrapper {
    background: var(--mh-white);
}

.mh-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 400px);
    grid-template-areas:
        "main summary"
        "pay summary";
    min-height: calc(100vh - 64px);
    max-width: 1320px;
    margin: 0 auto;
}

.mh-checkout-main {
    grid-area: main;
    padding: 40px 56px 24px 56px;
    max-width: 100%;
    width: 100%;
}

.mh-checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--mh-gray);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.mh-checkout-back:hover { color: var(--mh-black); }

.mh-checkout-foot button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--mh-gray);
    cursor: pointer;
    text-decoration: none;
}

.mh-checkout-foot button:hover { color: var(--mh-black); }

.mh-checkout-back {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.mh-checkout-block {
    margin-bottom: 36px;
}

.mh-checkout-block--pay {
    margin-bottom: 0;
}

.mh-checkout-block--pay:empty {
    display: none;
}

.mh-checkout-heading {
    font-family: var(--mh-font-display);
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 8px;
    font-weight: 400;
}

.mh-checkout-note {
    font-size: 13px;
    color: var(--mh-gray);
    margin-bottom: 20px;
}

.mh-checkout-note a {
    color: var(--mh-black);
    text-decoration: underline;
}

.mh-field-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--mh-gray);
    margin-bottom: 8px;
}

.mh-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    background: var(--mh-light);
    font-size: 14px;
    font-family: var(--mh-font-body);
    color: var(--mh-black);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.mh-input:focus {
    outline: none;
    border-color: var(--mh-black);
    background: var(--mh-white);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.mh-checkout-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mh-checkout-fields.is-hidden,
.mh-checkout-fields[hidden] {
    display: none !important;
}

.mh-saved-addresses {
    margin-bottom: 12px;
}

.mh-addr-scroll-wrap {
    margin: 0 -16px;
    overflow: hidden;
}

.mh-addr-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 16px 12px;
    scrollbar-width: none;
}

.mh-addr-scroll[hidden] {
    display: none !important;
}

.mh-addr-scroll::-webkit-scrollbar {
    display: none;
}

.mh-addr-card {
    flex: 0 0 calc(100% - 52px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 18px;
    border: 1.5px solid var(--mh-border, #e8e8e8);
    border-radius: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
    color: inherit;
}

.mh-addr-card.is-selected {
    border-color: var(--mh-black, #111);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
    background: #fafafa;
}

.mh-addr-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mh-black, #111);
}

.mh-addr-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--mh-black, #111);
    line-height: 1.35;
}

.mh-addr-card-phone,
.mh-addr-card-line {
    font-size: 13px;
    line-height: 1.45;
    color: var(--mh-gray, #666);
}

.mh-addr-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1.5px dashed #cfcfcf;
    border-radius: 12px;
    background: #fafafa;
    color: var(--mh-black, #111);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mh-addr-new-btn:hover {
    border-color: var(--mh-black, #111);
    background: #fff;
}

.mh-addr-guest-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--mh-gray, #666);
}

.mh-addr-guest-note a {
    color: var(--mh-black, #111);
    text-decoration: underline;
}

.mh-checkout-block--address {
    margin-bottom: 24px;
}

.mh-checkout-pay-wrap {
    grid-area: pay;
    padding: 0 56px 48px;
    max-width: 100%;
}

.mh-addr-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.45);
}

.mh-addr-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1201;
    width: min(520px, calc(100vw - 32px));
    max-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.mh-addr-modal[hidden],
.mh-addr-modal-overlay[hidden] {
    display: none !important;
}

.mh-addr-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--mh-border, #e8e8e8);
}

.mh-addr-modal-head h3 {
    margin: 0;
    font-family: var(--mh-font-display);
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 400;
}

.mh-addr-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #f3f3f3;
    cursor: pointer;
}

.mh-addr-modal-body {
    overflow: auto;
    padding: 20px;
}

.mh-addr-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--mh-border, #e8e8e8);
}

.mh-addr-modal-msg {
    margin: 0 0 12px;
    font-size: 13px;
}

.mh-addr-modal-msg.is-error {
    color: #c62828;
}

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

@media (min-width: 768px) {
    .mh-addr-card {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .mh-addr-scroll-wrap {
        margin: 0;
    }
}

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

.mh-saved-address-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background: #fff;
}

.mh-saved-address-card input {
    margin-top: 4px;
    accent-color: var(--mh-black, #111);
}

.mh-saved-address-card.is-selected {
    border-color: var(--mh-black, #111);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
    background: #fafafa;
}

.mh-saved-address-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mh-saved-address-card-body strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--mh-black, #111);
}

.mh-saved-address-card-body strong em {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
    background: #eef8f1;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 6px;
}

.mh-saved-address-meta {
    font-size: 13px;
    line-height: 1.5;
    color: var(--mh-gray, #666);
}

.mh-saved-address-card--new .mh-saved-address-meta {
    color: #888;
}

.mh-saved-address-empty {
    margin: 0;
    padding: 4px 2px 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #888;
}

.mh-saved-address-summary {
    margin-top: 14px;
}

.mh-saved-address-summary-card {
    padding: 14px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fafafa;
}

.mh-saved-address-summary-name {
    margin: 0 0 6px;
    font-size: 15px;
}

.mh-saved-address-summary-meta {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mh-gray, #666);
}

.mh-input[readonly] {
    background: #f7f7f7;
    color: #555;
    cursor: default;
}

.mh-input.mh-select {
    appearance: auto;
    cursor: pointer;
}

.mh-optional {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

.mh-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mh-checkout-submit {
    width: 100%;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 8px;
    transition: transform 0.2s ease, background 0.2s;
}

.mh-checkout-submit:active {
    transform: scale(0.98);
}

.mh-checkout-foot {
    margin-top: 32px;
    font-size: 12px;
    color: var(--mh-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mh-checkout-foot a {
    color: var(--mh-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.mh-checkout-foot a:hover { color: var(--mh-black); }

.mh-checkout-summary {
    grid-area: summary;
    background: var(--mh-light);
    border-left: 1px solid var(--mh-border);
    padding: 40px 36px;
    position: sticky;
    top: 64px;
    align-self: start;
    min-height: calc(100vh - 64px);
    overflow: visible;
}

.mh-checkout-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    padding: 6px 10px 0 0;
    overflow: visible;
}

.mh-checkout-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    overflow: visible;
}

.mh-checkout-item-img {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: var(--mh-radius-sm);
    background: var(--mh-light);
    border: 1px solid var(--mh-border);
    flex-shrink: 0;
    overflow: hidden;
}

.mh-checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mh-checkout-item-qty {
    position: absolute;
    top: auto;
    right: auto;
    left: 4px;
    bottom: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--mh-black);
    color: var(--mh-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: none;
}

.mh-checkout-item-info h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mh-checkout-item-info p {
    font-size: 12px;
    color: var(--mh-gray);
    margin: 0 0 6px;
}

.mh-checkout-item-price {
    font-size: 13px;
    font-weight: 500;
}

.mh-checkout-discount {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

/* Select-voucher button (replaces promo code input) */
.mh-checkout-select-voucher {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--mh-border);
    border-radius: 10px;
    background: var(--mh-white);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mh-checkout-select-voucher:hover {
    border-color: var(--mh-black);
}

.mh-checkout-select-voucher.is-applied {
    border-color: var(--mh-accent, #c8a24b);
    background: #eef1f4;
}

.mh-checkout-select-voucher-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--mh-black);
}

.mh-checkout-select-voucher-left .fa-ticket {
    color: var(--mh-accent, #c8a24b);
}

.mh-checkout-select-voucher-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mh-gray);
}

.mh-checkout-select-voucher-value {
    font-weight: 700;
    color: var(--mh-black);
    letter-spacing: 0.3px;
}

/* Voucher select modal */
.mh-voucher-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mh-voucher-modal-overlay.is-open {
    opacity: 1;
}

.mh-voucher-modal {
    position: fixed;
    z-index: 1201;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: min(420px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    background: var(--mh-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mh-voucher-modal.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.mh-voucher-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-voucher-modal-head h3 {
    margin: 0;
    font-size: 16px;
}

.mh-voucher-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--mh-gray);
    padding: 4px;
}

.mh-voucher-modal-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
}

.mh-voucher-modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-voucher-modal-empty,
.mh-voucher-modal-login {
    text-align: center;
    color: var(--mh-gray);
    padding: 24px 0;
    font-size: 13px;
}

.mh-voucher-modal-msg {
    font-size: 13px;
    margin: 0 0 10px;
}

.mh-voucher-modal-msg.is-error {
    color: #c0392b;
}

.mh-voucher-modal-foot {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--mh-border);
}

.mh-voucher-modal-clear {
    width: 100%;
}

/* Stock notice modal */
.mh-stock-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mh-stock-modal-overlay.is-open {
    opacity: 1;
}

.mh-stock-modal {
    position: fixed;
    z-index: 1201;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: min(420px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    display: flex;
    flex-direction: column;
    background: var(--mh-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mh-stock-modal.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.mh-stock-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-stock-modal-head h3 {
    margin: 0;
    font-size: 16px;
}

.mh-stock-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--mh-gray);
    padding: 4px;
}

.mh-stock-modal-body {
    padding: 14px 18px;
    overflow-y: auto;
}

.mh-stock-modal-intro {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-stock-modal-list {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
}

.mh-stock-modal-list li {
    margin-bottom: 6px;
}

.mh-stock-modal-foot {
    padding: 12px 18px 16px;
    border-top: 1px solid var(--mh-border);
}

.mh-stock-modal-foot .mh-btn {
    width: 100%;
}

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

.mh-mine-voucher {
    --mh-voucher-stub: 108px;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    text-align: left;
    padding: 0;
    border: 1px solid #dfe2e6;
    border-radius: 12px;
    background: #f5f6f8;
    cursor: pointer;
    overflow: visible;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.mh-mine-voucher:hover {
    border-color: var(--mh-accent, #c8a24b);
    box-shadow: 0 8px 22px rgba(197, 206, 216, 0.30);
}

.mh-mine-voucher:active {
    transform: scale(0.99);
}

.mh-mine-voucher.is-active {
    border-color: var(--mh-accent, #c8a24b);
    box-shadow: 0 0 0 2px var(--mh-accent, #c8a24b), 0 8px 22px rgba(197, 206, 216, 0.30);
}

/* Ticket punch-holes straddling the seam between stub and body */
.mh-mine-voucher::before,
.mh-mine-voucher::after {
    content: "";
    position: absolute;
    left: var(--mh-voucher-stub);
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--mh-white);
    z-index: 3;
}

.mh-mine-voucher::before {
    top: -7px;
}

.mh-mine-voucher::after {
    bottom: -7px;
}

/* Left stub: dark ticket with the value */
.mh-mine-voucher-value {
    position: relative;
    flex-shrink: 0;
    width: var(--mh-voucher-stub);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.05;
    color: var(--mh-accent, #c8a24b);
    background: linear-gradient(135deg, #2b2b2b, #111);
    border-radius: 11px 0 0 11px;
}

/* small brand line above the value */
.mh-mine-voucher-value::before {
    content: "MERLHEART";
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
}

/* dashed perforation line between stub and body */
.mh-mine-voucher-value::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 12px;
    bottom: 12px;
    border-right: 2px dashed rgba(0, 0, 0, 0.18);
}

.mh-mine-voucher--shipping .mh-mine-voucher-value {
    font-size: 15px;
}

.mh-mine-voucher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    padding: 14px 14px 14px 24px;
}

.mh-mine-voucher-code {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--mh-black);
}

.mh-mine-voucher-meta {
    font-size: 11px;
    color: var(--mh-gray);
    line-height: 1.4;
}

.mh-mine-voucher-check {
    flex-shrink: 0;
    align-self: center;
    width: 22px;
    height: 22px;
    margin-right: 14px;
    border-radius: 50%;
    border: 1px solid #cfd3d8;
    background: var(--mh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mh-mine-voucher.is-active .mh-mine-voucher-check {
    background: var(--mh-accent, #c8a24b);
    border-color: var(--mh-accent, #c8a24b);
    color: #111;
}

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

.mh-checkout-discount .mh-input {
    flex: 1;
}

.mh-checkout-discount-btn {
    padding: 0 18px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    background: var(--mh-white);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.mh-checkout-discount-btn:hover {
    border-color: var(--mh-black);
}

.mh-checkout-voucher-block {
    margin: 16px 0 8px;
}

.mh-checkout-voucher-recommend {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef8f0;
    color: #157347;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.mh-checkout-voucher-pick {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
}

.mh-checkout-voucher-pick--designed {
    padding: 0;
    background: #fff;
    border-color: #111;
    max-width: 280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mh-checkout-voucher-pick.is-active {
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}

.mh-checkout-voucher-pick.is-expired {
    opacity: 0.55;
    cursor: not-allowed;
}

.mh-checkout-voucher-pick .mh-voucher-designed {
    width: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    background: #fff;
    position: relative;
    margin: 0;
    display: block;
}

.mh-checkout-voucher-pick .mh-voucher-designed-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.mh-checkout-voucher-pick-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d1d5db;
    display: none;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 12px;
    z-index: 2;
}

.mh-checkout-voucher-pick.is-active .mh-checkout-voucher-pick-check {
    display: flex;
    background: #111;
    border-color: #111;
    color: #fff;
}

.mh-checkout-vouchers {
    margin-bottom: 20px;
}

.mh-checkout-vouchers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mh-checkout-vouchers-title {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.mh-voucher-nav-group {
    display: flex;
    gap: 6px;
}

.mh-voucher-nav {
    width: 28px;
    height: 28px;
    border: 1px solid var(--mh-border);
    border-radius: 999px;
    background: var(--mh-white);
    color: var(--mh-black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: border-color 0.2s, background 0.2s;
}

.mh-voucher-nav:hover {
    border-color: var(--mh-black);
}

.mh-voucher-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mh-voucher-track::-webkit-scrollbar {
    display: none;
}

.mh-voucher-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.mh-voucher-card-inner {
    display: flex;
    align-items: stretch;
    min-height: 88px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    background: var(--mh-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.mh-voucher-card-left {
    width: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 12px 8px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #0a0a0a 0%, #2d2d2d 100%);
}

.mh-voucher-card-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.mh-voucher-card-off {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.85;
}

.mh-voucher-card-truck {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 4px;
    color: #dfe3e7;
}

.mh-voucher-card--shipping .mh-voucher-card-left {
    background: linear-gradient(145deg, #585e64 0%, #1a1c1f 100%);
}

.mh-voucher-card-divider {
    width: 1px;
    align-self: stretch;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.35) 0,
        rgba(255, 255, 255, 0.35) 4px,
        transparent 4px,
        transparent 8px
    );
    flex-shrink: 0;
}

.mh-voucher-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 14px;
    background: var(--mh-white);
}

.mh-voucher-card-code {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--mh-black);
}

.mh-voucher-card-meta {
    font-size: 11px;
    line-height: 1.35;
    color: var(--mh-gray);
}

.mh-voucher-card.is-active .mh-voucher-card-inner {
    outline: 2px solid var(--mh-black);
    outline-offset: 2px;
}

.mh-voucher-card.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.mh-voucher-card.is-disabled .mh-voucher-card-inner {
    background: #f5f5f5;
}

.mh-voucher-card:focus-visible .mh-voucher-card-inner {
    outline: 2px solid var(--mh-black);
    outline-offset: 2px;
}

.mh-checkout-voucher-hint {
    font-size: 12px;
    color: var(--mh-gray);
    margin: -8px 0 16px;
}

.mh-checkout-voucher-hint.is-applied {
    color: #027a48;
}

.mh-checkout-discount-btn.is-disabled,
.mh-checkout-discount-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mh-checkout-voucher-msg {
    font-size: 12px;
    margin: 8px 0 0;
}

.mh-checkout-voucher-msg.is-error {
    color: #b42318;
}

.mh-checkout-voucher-msg.is-success {
    color: #027a48;
}

.mh-checkout-discount-section {
    margin-bottom: 12px;
}

.mh-checkout-row--discount-head {
    margin-bottom: 6px;
}

.mh-checkout-row--discount-line {
    margin-bottom: 0;
    padding-left: 0;
}

.mh-checkout-discount-code {
    font-size: 12px;
    color: var(--mh-gray);
    letter-spacing: 0.04em;
}

.mh-checkout-discount-amount {
    color: #027a48;
    font-size: 13px;
}

.mh-checkout-row--discount span:last-child {
    color: #027a48;
}

.mh-checkout-totals {
    border-top: 1px solid var(--mh-border);
    padding-top: 20px;
}

.mh-checkout-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 12px;
}

.mh-checkout-row--muted span:last-child {
    color: var(--mh-gray);
    font-size: 12px;
}

.mh-checkout-row--total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-border);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}

.mh-pay-methods {
    display: none !important;
}

.mh-pay-method {
    display: none !important;
}

.mh-pay-method:hover {
    border-color: var(--mh-black);
}

.mh-pay-method.is-selected {
    border-color: var(--mh-black);
    background: #fafafa;
}

.mh-pay-method input {
    margin-top: 4px;
    accent-color: var(--mh-black);
}

.mh-pay-method-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mh-pay-method-body strong {
    font-size: 14px;
    font-weight: 600;
}

.mh-pay-method-body small {
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-pay-msg {
    margin-top: 12px;
    font-size: 13px;
}

.mh-pay-msg.is-error { color: #c0392b; }
.mh-pay-msg.is-success { color: #2d6a1e; }

.mh-pay-detail {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--mh-border);
    background: #fafafa;
}

.mh-pay-detail[hidden] {
    display: none !important;
}

.mh-pay-detail-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-fpx-bank-select {
    width: 100%;
    cursor: pointer;
}

.mh-order-success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    padding: 32px 16px;
}

.mh-order-success {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mh-order-success-card {
    text-align: center;
    max-width: none;
    width: 100%;
    padding: 48px 32px;
    background: #fff;
    border: 1px solid var(--mh-border);
    border-radius: 16px;
    box-sizing: border-box;
}

.mh-order-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--mh-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mh-order-success-ref {
    font-size: 13px;
    color: var(--mh-gray);
    margin: 16px 0 24px;
}

.mh-order-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.mh-order-claim-popup-card {
    max-width: 420px;
    text-align: center;
}

.mh-order-claim-panel[hidden] {
    display: none !important;
}

.mh-order-claim-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mh-order-claim-popup-card h2,
.mh-order-claim-result h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.mh-order-claim-popup-card p,
.mh-order-claim-hint {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
}

.mh-order-claim-hint {
    margin-top: 12px;
    font-size: 12px;
}

.mh-order-claim-rewards {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.mh-order-claim-rewards li {
    background: #fff4d6;
    color: #8a5a00;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}

.mh-order-claim-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.mh-order-claim-result {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--mh-border, #eee);
}

.mh-order-claim-error {
    margin-top: 14px;
    color: #c0392b;
    font-size: 13px;
}

.mh-order-claim-panel[data-claim-panel="register"],
.mh-order-claim-panel[data-claim-panel="login"] {
    text-align: left;
}

.mh-order-claim-panel[data-claim-panel="register"] .mh-member-popup-icon,
.mh-order-claim-panel[data-claim-panel="register"] h2,
.mh-order-claim-panel[data-claim-panel="register"] > p,
.mh-order-claim-panel[data-claim-panel="login"] .mh-member-popup-icon,
.mh-order-claim-panel[data-claim-panel="login"] h2,
.mh-order-claim-panel[data-claim-panel="login"] > p {
    text-align: center;
}

.mh-order-reg-form {
    margin-top: 8px;
}

.mh-order-claim-back {
    width: 100%;
    margin-top: 10px;
}

.mh-order-reg-form .mh-auth-field {
    margin-bottom: 12px;
}

.mh-order-reg-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #555;
}

.mh-order-reg-form input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.mh-order-reg-form input[readonly] {
    background: #f5f5f5;
    color: #555;
}

.mh-order-reg-error {
    color: #c0392b;
    font-size: 13px;
    margin: 0 0 10px;
}

.mh-order-reg-form .mh-btn {
    width: 100%;
    margin-top: 4px;
}

.mh-order-failed-icon {
    background: #c0392b;
}

.mh-order-failed-page .mh-order-success-card h1 {
    color: #c0392b;
}

.mh-btn-outline {
    background: transparent;
    border: 1px solid var(--mh-black);
    color: var(--mh-black);
}

/* ========== ANIMATIONS ========== */
@keyframes mh-fade-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mh-slide-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.merlheart:not(.mh-loading) .mh-animate-in {
    animation: mh-fade-up 0.45s ease both;
}

.mh-animate-in--2 { animation-delay: 0.08s; }
.mh-animate-in--3 { animation-delay: 0.14s; }
.mh-animate-in--4 { animation-delay: 0.2s; }

.mh-btn {
    transition: background 0.2s, color 0.2s, transform 0.15s ease, box-shadow 0.2s;
}

.mh-btn:active {
    transform: scale(0.98);
}

.mh-pdp-details summary {
    transition: color 0.2s;
}

.mh-pdp-details[open] summary {
    color: var(--mh-black);
}

.mh-pdp-accordion-trigger {
    transition: color 0.2s;
}

.mh-pdp-accordion.is-open .mh-pdp-accordion-trigger {
    color: var(--mh-black);
}

@media (prefers-reduced-motion: reduce) {
    .mh-animate-in,
    .mh-nav-shop-col {
        animation: none !important;
    }

    .mh-nav-shop-menu,
    .mh-subcat-list,
    .mh-nav,
    .mh-shop-filter,
    .mh-cart-drawer,
    .mh-cart-overlay {
        transition: none !important;
    }
}

/* Product details */
body.merlheart .product-details-content h2 {
    font-family: var(--mh-font-display);
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.merlheart .add-to-cart-btn { background: var(--mh-black) !important; border-radius: var(--mh-radius-md) !important; }

/* Hide index clutter */
body.merlheart .latest-blog-post-area,
body.merlheart .client-testimonials-area,
body.merlheart .categories-list-post-area,
body.merlheart .our-services-area { display: none !important; }

/* Promo countdown — MERLHEART */
body.merlheart .mh-promo-deals.daily-deals-bg {
    position: relative;
}

body.merlheart .mh-promo-deals.daily-deals-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

body.merlheart .mh-promo-deals .container {
    position: relative;
    z-index: 1;
}

body.merlheart .mh-promo-deals .daily-deals-title h2 {
    font-family: var(--mh-font-display);
    font-size: 36px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mh-white);
    margin-bottom: 8px;
}

body.merlheart .mh-promo-deals .daily-deals-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 28px;
}

body.merlheart .mh-promo-deals .countdown-deals {
    gap: 6px;
    justify-content: flex-start;
    max-width: 300px;
}

body.merlheart .mh-promo-deals .mh-promo-countdown.countdown-deals {
    margin-bottom: 20px;
}

body.merlheart .mh-promo-deals .countdown-deals .cdown {
    flex: 0 0 auto;
    width: 64px;
    max-width: 64px;
    height: auto;
    min-height: 64px;
    padding: 10px 6px 8px;
    border-radius: var(--mh-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 10, 10, 0.65);
    color: var(--mh-white);
    backdrop-filter: blur(6px);
}

body.merlheart .mh-promo-deals .countdown-deals .cdown:first-child {
    background: var(--mh-accent);
    border-color: var(--mh-accent);
    color: var(--mh-black);
}

body.merlheart .mh-promo-deals .countdown-deals .time-count {
    font-family: var(--mh-font-display);
    font-size: 22px;
    letter-spacing: 0.5px;
    line-height: 1.1;
    display: block;
    margin-bottom: 2px;
}

body.merlheart .mh-promo-deals .countdown-deals .cdown p {
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1.2;
}

body.merlheart .mh-promo-deals .single-product-wrap {
    background: var(--mh-white);
    border-radius: var(--mh-radius-md);
    overflow: hidden;
}

body.merlheart .mh-promo-deals .single-product-wrap .product-content {
    padding: 16px;
}

body.merlheart .mh-promo-deals .single-product-wrap .product-content h3,
body.merlheart .mh-promo-deals .single-product-wrap .product-content h3 a {
    color: var(--mh-black);
}

body.merlheart .mh-promo-deals .single-product-wrap .product-content .price-box {
    color: var(--mh-black);
}

body.merlheart .mh-promo-deals .single-product-wrap .product-content .price-box .new-price {
    color: var(--mh-black);
    font-weight: 600;
    font-size: 15px;
}

body.merlheart .mh-promo-deals .single-product-wrap .product-content .price-box .old-price {
    color: var(--mh-gray);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

body.merlheart .mh-promo-deals .mh-promo-countdown {
    margin-bottom: 28px;
}

body.merlheart .mh-promo-deals .product-action .add-to-cart {
    background: var(--mh-black);
    border-radius: var(--mh-radius-sm);
}

@media (max-width: 991px) {
    body.merlheart .mh-promo-deals .mh-deals-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0 !important;
    }

    body.merlheart .mh-promo-deals .daily-deals-title h2 {
        font-size: 28px;
        letter-spacing: 2px;
    }

    body.merlheart .mh-promo-deals .daily-deals-title p {
        margin-bottom: 20px;
    }

    body.merlheart .mh-product-carousel .slick-arrow {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%);
    }
}

@media (max-width: 767px) {
    body.merlheart .mh-footer {
        display: none !important;
    }

    .mh-footer {
        margin-top: 48px;
        padding: 36px 0 0;
    }

    .mh-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 24px;
    }

    .mh-footer-brand {
        text-align: center;
        padding-bottom: 24px;
        margin-bottom: 8px;
        border-bottom: 1px solid #222;
    }

    .mh-footer-brand .mh-footer-company {
        margin-bottom: 20px;
        border-top: 0;
        padding-top: 0;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .mh-footer-brand p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .mh-footer-company {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .mh-footer-company-dl {
        max-width: none;
        gap: 14px;
    }

    /* Stack label above value and center everything to match the brand block */
    .mh-footer-company-row {
        grid-template-columns: 1fr;
        gap: 2px;
        justify-items: center;
        text-align: center;
    }

    .mh-footer-company-row dt,
    .mh-footer-company-row dd {
        text-align: center;
    }

    .mh-social {
        justify-content: center;
    }

    .mh-footer-col {
        border-bottom: 1px solid #222;
    }

    .mh-footer-heading {
        display: none;
    }

    .mh-footer-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        margin: 0;
        background: none;
        border: none;
        color: var(--mh-white);
        font-family: var(--mh-font-display);
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
        cursor: pointer;
    }

    .mh-footer-toggle i {
        font-size: 12px;
        color: #888;
        transition: transform 0.25s ease;
    }

    .mh-footer-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mh-footer-col.is-open .mh-footer-panel {
        max-height: 220px;
        padding-bottom: 14px;
    }

    .mh-footer-col.is-open .mh-footer-toggle i {
        transform: rotate(45deg);
        color: var(--mh-accent);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
    :root {
        --mh-header-top-h: 76px;
        --mh-search-h: 38px;
        --mh-header-h: 76px;
        --mh-search-border: 2px;
    }

    body.mh-header-compact {
        --mh-header-h: 68px;
    }

    /* Always single row: logo | search | lang | cart | profile */
    .mh-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--mh-black);
        padding-top: var(--mh-safe-top);
        padding-bottom: 0;
        overflow: visible;
    }

    .mh-header::before {
        display: none;
    }

    .mh-header .container {
        position: relative;
        z-index: 1;
        display: grid;
        /* Natural widths for logo + icons; search fills the middle without
           colliding into the language control */
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 3px;
        min-height: var(--mh-header-h);
        padding: 10px 8px;
        box-sizing: border-box;
    }

    .mh-header-top {
        display: contents;
    }

    .mh-logo {
        order: 1;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        /* Never let the search bar squeeze/eat the logo */
        flex: none;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        justify-content: flex-start;
        transition: opacity var(--mh-chrome-duration) var(--mh-chrome-ease);
    }

    .mh-logo-img--side {
        height: 38px;
        max-width: min(100px, 100%);
        width: auto;
    }

    .mh-header-top-util .mh-lang-dropdown-trigger {
        padding: 6px 6px;
        gap: 3px;
    }

    .mh-logo-img--search {
        height: 42px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .mh-header-searchbar,
    .mh-mobile-searchbar {
        order: 2;
        grid-column: 2;
        grid-row: 1;
        justify-self: stretch;
        align-self: center;
        flex: none;
        min-width: 0;
        width: 100%;
        max-width: none;
        height: var(--mh-search-h);
        margin: 0;
        border-width: var(--mh-search-border);
        padding: 0 4px 0 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
        transition: box-shadow var(--mh-chrome-duration) var(--mh-chrome-ease);
    }

    body.mh-search-panel-open .mh-header .mh-logo-img--default,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-logo-img--default,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-logo-img--default {
        display: none !important;
    }

    body.mh-search-panel-open .mh-header .mh-logo-img--search,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-logo-img--search,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-logo-img--search {
        display: block !important;
        height: 56px;
        max-width: 40px;
        width: auto;
    }

    /* Search open: keep shine logo on left, expand search into the right third */
    body.mh-search-panel-open .mh-header .mh-logo,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-logo,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-logo {
        flex: none;
        max-width: 48px;
        margin-right: 0;
    }

    body.mh-search-panel-open .mh-header-searchbar,
    body.mh-search-panel-open .mh-mobile-searchbar,
    .mh-header-searchbar.is-focused,
    .mh-mobile-searchbar.is-focused {
        order: 2;
        grid-column: 2 / 4;
        flex: none;
        max-width: none;
        min-width: 0;
        width: 100%;
        margin: 0;
        z-index: 3;
    }

    body.mh-search-panel-open .mh-header-top-util,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-header-top-util,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-header-top-util {
        flex: none;
        max-width: none;
        margin-left: 0;
        opacity: 0;
        pointer-events: none;
    }

    .mh-header-searchbar input[type="search"],
    .mh-mobile-searchbar input[type="search"] {
        font-size: 16px;
    }

    .mh-mobile-search-btn,
    .mh-mobile-image-search-btn,
    .mh-search-panel-close-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .mh-header-top-util {
        order: 3;
        grid-column: 3;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 0;
        flex: none;
        flex-shrink: 0;
        min-width: max-content;
        max-width: none;
        margin: 0;
        position: relative;
        z-index: 4;
    }

    .mh-header-top-util .mh-lang-dropdown--top {
        display: block;
        position: relative;
        flex-shrink: 0;
    }

    .mh-lang-dropdown--compact {
        display: none !important;
    }

    .mh-lang-switch {
        display: none !important;
    }

    .mh-header-icons--mobile {
        display: flex;
        flex-shrink: 0;
        gap: 0;
    }

    .mh-header-icons--mobile .mh-icon-link {
        position: relative;
        background: none;
        border: none;
        font-size: 20px;
        line-height: 1;
        color: var(--mh-silver);
        cursor: pointer;
        padding: 2px;
        min-width: 28px;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mh-header-icons--mobile .mh-icon-link .fa {
        font-size: inherit;
        line-height: 1;
        display: inline-block;
        -webkit-font-smoothing: antialiased;
    }

    .mh-header-icons--mobile .mh-push-enable[hidden] {
        display: none !important;
    }

    .mh-header-icons--mobile .mh-cart-count {
        position: absolute;
        top: -4px;
        /* Pull badge left into the cart icon so util column stays compact */
        right: 8px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 16px;
        text-align: center;
        background: #e53935;
        color: #fff;
        border-radius: 999px;
        font-weight: 700;
        box-sizing: border-box;
    }

    .mh-header-icons--desktop {
        display: none !important;
    }

    .mh-header-end {
        display: none !important;
    }

    .mh-lang-dropdown.is-open {
        z-index: 5;
    }

    /* Compact scroll: slightly shorter, same single-row layout */
    .mh-header.mh-header--compact .container {
        min-height: 68px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mh-header.mh-header--compact .mh-logo-img--side {
        height: 36px;
        max-width: 98px;
    }

    .mh-header.mh-header--compact .mh-header-searchbar,
    .mh-header.mh-header--compact .mh-mobile-searchbar {
        height: 32px;
        flex: 1 1 auto;
        max-width: none;
    }

    .mh-header.mh-header--compact .mh-mobile-image-search-btn {
        display: none;
    }
}

@media (max-width: 991px) {
    .mh-nav--desktop {
        display: none !important;
    }

    .mh-nav-drawer-lang {
        display: none;
    }

    .mh-checkout-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "summary"
            "pay";
    }

    .mh-checkout-summary {
        order: 0;
        min-height: 0;
        position: static;
        border-left: none;
        border-bottom: 1px solid var(--mh-border);
    }

    .mh-checkout-main {
        padding: 24px 16px 16px;
        max-width: none;
    }

    .mh-checkout-pay-wrap {
        padding: 0 16px 32px;
    }

    .mh-addr-card {
        flex-basis: calc(100% - 52px);
        max-width: calc(100% - 52px);
    }

    .mh-addr-scroll-wrap {
        margin: 0 -16px;
    }

    .mh-field-row {
        grid-template-columns: 1fr;
    }

    .mh-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .mh-cart-header { display: none; }

    .mh-cart-item,
    .mh-wishlist-item {
        grid-template-columns: 1fr;
        gap: 12px;
        position: relative;
        padding: 20px 0;
    }

    .mh-cart-item-price,
    .mh-cart-item-total,
    .mh-wishlist-item-price { text-align: left; }

    .mh-cart-remove,
    .mh-wishlist-remove {
        position: absolute;
        top: 20px;
        right: 0;
    }

    .mh-cart-footer { flex-direction: column; }
    .mh-cart-summary { width: 100%; }

    body.merlheart.mh-shop-page .content-wraper .col-lg-9,
    body.merlheart.mh-shop-page .content-wraper .col-lg-3 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .mh-shop-filter {
        display: block;
        position: fixed;
        top: calc(var(--mh-header-h) + var(--mh-safe-top));
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        overflow-y: auto;
        border: none;
        border-top: 1px solid var(--mh-border);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        pointer-events: none;
        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s,
            top var(--mh-chrome-duration) var(--mh-chrome-ease);
    }

    .mh-shop-filter.is-mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 576px) {
    .mh-footer-grid { grid-template-columns: 1fr; }
    body.merlheart .hero-slider-one .slider-text-info h1 { font-size: 40px; }
    .mh-page-title { font-size: 28px; }
    body.merlheart .our-team-area .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========== ROUNDED CORNERS — buttons & cards ========== */
.mh-btn-outline,
.mh-btn-sm,
.mh-add-cart-btn,
.mh-filter-mobile-btn,
.mh-filter-apply,
.mh-pdp-add,
.mh-size-btn,
.mh-checkout-discount-btn,
.mh-cart-checkout-btn,
body.merlheart .contact-submit-btn .submit-btn {
    border-radius: var(--mh-radius-md);
}

.mh-auth-box {
    border-radius: var(--mh-radius-lg);
}

.mh-auth-box input {
    border-radius: var(--mh-radius-sm);
}

.mh-shop-filter,
.mh-cart-summary,
.mh-nav-shop-menu {
    border-radius: var(--mh-radius-md);
}

.mh-qty {
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
}

.mh-cart-qty {
    border-radius: var(--mh-radius-sm);
    overflow: visible;
}

.mh-input {
    border-radius: var(--mh-radius-sm);
}

.mh-wishlist-item-img {
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
}

.mh-cart-item-img {
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
}

.mh-checkout-item-img {
    border-radius: var(--mh-radius-sm);
    overflow: visible;
}

.mh-pdp-thumb {
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
}

.mh-pdp-main {
    border-radius: var(--mh-radius-md);
    overflow: hidden;
}

body.merlheart .single-product-wrap .product-image {
    border-radius: var(--mh-radius-md);
    overflow: hidden;
}

body.merlheart .single-banner a img {
    border-radius: var(--mh-radius-md);
}

.mh-cart-rec-card img {
    border-radius: var(--mh-radius-sm);
}

.mh-checkout-summary {
    border-radius: var(--mh-radius-md);
}

/* ========== PRODUCT CARDS — unified media frame (matches PDP main, no crop) ========== */
body.merlheart .single-product-wrap .product-image {
    padding: 12px 12px 0;
    background: var(--mh-light);
}

body.merlheart .single-product-wrap .product-image > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: var(--mh-product-media-ratio);
    max-height: var(--mh-product-media-max-h);
    overflow: hidden;
    background: var(--mh-light);
}

body.merlheart .single-product-wrap .product-image > a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Product card v2 */
body.merlheart .mh-product-card-v2 {
    position: relative;
    border: 1px solid var(--mh-border);
    border-radius: 16px;
    background: var(--mh-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

body.merlheart .mh-product-card-v2 .mh-card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

body.merlheart .mh-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

body.merlheart .mh-card-badge--hot {
    background: linear-gradient(135deg, #ff7043, #e53935);
    color: #fff;
}

body.merlheart .mh-card-badge--sale {
    background: #d32f2f;
    color: #fff;
}

body.merlheart .mh-product-card-v2 .mh-card-media {
    position: relative;
    display: flex;
    min-height: 0;
    background: #f3f3f3;
}

body.merlheart .mh-product-card-v2 .mh-card-media.has-highlights {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px;
    padding: 8px 8px 0;
    align-items: stretch;
}

body.merlheart .mh-card-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
}

body.merlheart .mh-card-highlight-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 auto;
}

body.merlheart .mh-card-highlight-btn.is-active {
    border-color: var(--mh-black);
}

body.merlheart .mh-card-highlight-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.merlheart .mh-product-card-v2 .product-image {
    padding: 0;
    background: transparent;
    flex: 1 1 auto;
    min-width: 0;
}

body.merlheart .mh-product-card-v2 .product-image > a {
    border-radius: 0;
    aspect-ratio: 3 / 4;
    max-height: none;
    background: #f3f3f3;
}

body.merlheart .mh-product-card-v2 .product-image > a img {
    object-fit: cover;
}

body.merlheart .mh-product-card-v2 .quick_view,
body.merlheart .mh-product-card-v2 .label-product,
body.merlheart .mh-product-card-v2 .product-action {
    display: none !important;
}

body.merlheart .mh-product-card-v2 .product-content {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

body.merlheart .mh-product-card-v2 .product-content h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

body.merlheart .mh-product-card-v2 .price-box.is-sale .new-price {
    color: #d32f2f;
    font-weight: 800;
    font-size: 18px;
}

body.merlheart .mh-product-card-v2 .price-box.is-sale .old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
}

body.merlheart .mh-card-variant-row--qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.merlheart .mh-card-cart-btn {
    border: none;
    background: transparent;
    color: var(--mh-black);
    font-size: 18px;
    padding: 2px 4px;
    cursor: pointer;
    line-height: 1;
    flex: 0 0 auto;
}

body.merlheart .mh-card-cart-btn.is-disabled,
body.merlheart .mh-card-cart-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

body.merlheart .mh-outfit-piece-media {
    display: block;
    width: 100%;
}

body.merlheart .mh-outfit-piece-media .mh-outfit-piece-img {
    margin: 0 auto;
}

body.merlheart .mh-outfit-highlights .mh-card-highlight-btn {
    width: 28px;
    height: 28px;
}

body.merlheart .single-product-wrap .product-image > a img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

body.merlheart .single-product-wrap .product-content {
    margin-top: 14px;
    padding: 0 4px 8px;
}

body.merlheart .single-product-wrap .price-box {
    margin-bottom: 10px;
}

.mh-card-swatches {
    margin-top: 0;
}

.mh-card-variants {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.mh-card-variant-row {
    margin: 0;
}

.mh-card-variant-row--qty {
    margin-top: 8px;
}

.mh-card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mh-size-btn--card {
    min-width: 36px;
    padding: 5px 10px;
    font-size: 11px;
}

.mh-card-qty {
    margin-top: 0;
}

.mh-card-qty input {
    width: 42px;
    font-size: 12px;
}

.mh-cart-icon.is-disabled,
.mh-wishlist-icon.is-disabled,
.mh-add-to-cart.is-disabled,
.mh-add-to-cart:disabled,
.mh-cart-icon:disabled,
.mh-wishlist-icon:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.mh-pdp-thumb--color {
    border: 1px solid var(--mh-border);
}

.mh-pdp-thumb--color.is-active {
    border-color: var(--mh-black);
    box-shadow: 0 0 0 1px var(--mh-black);
}

.product-layout-list .mh-card-variants {
    gap: 14px;
    margin-top: 10px;
}

.product-layout-list .mh-card-variant-row--qty {
    margin-top: 10px;
}

.product-layout-list .mh-add-to-cart {
    margin-top: 14px;
}

.mh-card-swatches .mh-color-swatch--img {
    width: 22px;
    height: 22px;
}

.mh-section-empty {
    width: 100%;
    text-align: center;
    color: #888;
    padding: 2rem 1rem;
    margin: 0;
}

.mh-section-empty--light {
    color: rgba(255, 255, 255, 0.85);
}

.mh-color-swatches {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mh-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: box-shadow 0.2s, transform 0.2s;
}

span.mh-color-swatch {
    cursor: default;
}

button.mh-color-swatch:hover {
    transform: scale(1.08);
}

.mh-color-swatch.is-active,
.mh-color-swatch--light.is-active {
    box-shadow: 0 0 0 2px var(--mh-white), 0 0 0 3px var(--mh-black);
}

.mh-color-swatch--light {
    border-color: var(--mh-border);
}

.mh-color-swatch--static {
    cursor: default;
    pointer-events: none;
}

.mh-drawer-color-swatches {
    margin-top: 0;
    display: inline-flex;
    vertical-align: middle;
}

.mh-drawer-variant-swatch {
    display: inline-flex;
    align-items: center;
}

.mh-color-swatch--img {
    padding: 0;
    overflow: hidden;
    background: var(--mh-light);
    border: 1px solid var(--mh-border);
}

.mh-color-swatch--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-drawer-variant-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.4;
}

.mh-variant-sep {
    color: var(--mh-gray);
}

.mh-variant-size {
    color: var(--mh-black);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mh-checkout-item-info .mh-drawer-variant-inline {
    margin: 0 0 6px;
}

.mh-drawer-stock {
    display: block;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.mh-drawer-stock.in { color: #2d6a1e; }
.mh-drawer-stock.out { color: #c0392b; }

/* ========== PRODUCT DETAILS (BAPE-style) ========== */
body.mh-pdp-page .mh-pdp-wrap {
    padding: 12px 0 48px;
}

.mh-pdp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--mh-gray);
}

.mh-pdp-breadcrumb-back,
.mh-pdp-breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--mh-black);
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.mh-pdp-breadcrumb-back {
    font-size: 28px;
    margin-right: 2px;
    line-height: 1;
}

.mh-pdp-breadcrumb-home {
    font-size: 20px;
    line-height: 1;
}

.mh-pdp-breadcrumb-back .fa,
.mh-pdp-breadcrumb-home .fa {
    font-size: inherit;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

.mh-pdp-breadcrumb-back:hover,
.mh-pdp-breadcrumb-home:hover {
    color: var(--mh-gray);
    background: transparent;
}

.mh-pdp-breadcrumb-link {
    color: var(--mh-gray);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.mh-pdp-breadcrumb-link:hover {
    color: var(--mh-black);
}

.mh-pdp-breadcrumb-sep {
    color: #bbb;
    font-size: 11px;
    user-select: none;
}

.mh-pdp-breadcrumb-current {
    color: var(--mh-black);
    font-weight: 500;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .mh-pdp-breadcrumb {
        margin: 0 16px 8px;
        gap: 5px 6px;
    }

    .mh-pdp-breadcrumb-back {
        font-size: 30px;
        min-width: 44px;
        min-height: 44px;
    }

    .mh-pdp-breadcrumb-current {
        flex: 1 1 120px;
    }
}

body.mh-pdp-page .mh-page-head {
    margin-bottom: 8px;
}

.mh-pdp {
    align-items: flex-start;
}

.mh-pdp-gallery {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mh-pdp-thumbs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mh-pdp-thumb-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mh-border);
    border-radius: 50%;
    background: var(--mh-white);
    color: var(--mh-black);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.mh-pdp-thumb-nav i {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.mh-pdp-nav-icon--mob {
    display: none;
}

.mh-pdp-thumb-nav:hover:not(:disabled) {
    background: var(--mh-black);
    border-color: var(--mh-black);
    color: var(--mh-white);
}

.mh-pdp-thumb-nav:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

.mh-pdp-thumbs-viewport {
    width: 64px;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.mh-pdp-thumbs-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mh-pdp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mh-pdp-thumb {
    width: 64px;
    height: 80px;
    padding: 4px;
    border: 1px solid var(--mh-border);
    background: var(--mh-white);
    cursor: pointer;
    transition: border-color 0.2s;
}

.mh-pdp-thumb.is-active {
    border-color: var(--mh-black);
}

.mh-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mh-pdp-main {
    flex: 1;
    background: var(--mh-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: var(--mh-product-media-ratio);
    max-height: var(--mh-product-media-max-h);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mh-pdp-zoom-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    cursor: crosshair;
}

.mh-pdp-zoom-wrap.is-zoomable:hover {
    cursor: none;
}

.mh-pdp-main img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.mh-pdp-zoom-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 2px solid var(--mh-black);
    border-radius: 50%;
    background-color: var(--mh-white);
    background-repeat: no-repeat;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 8px 28px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    z-index: 2;
}

.mh-pdp-zoom-wrap.is-zooming .mh-pdp-zoom-lens {
    opacity: 1;
    visibility: visible;
}

.mh-pdp-info {
    padding: 8px 0 0 24px;
    position: sticky;
    top: 88px;
}

.mh-pdp-title {
    font-family: var(--mh-font-display);
    font-size: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0 0 6px;
    font-weight: 400;
}

.mh-pdp-price {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.mh-pdp-price.is-sale .new-price {
    color: #d32f2f;
    font-weight: 700;
}

.mh-pdp-price .old-price {
    text-decoration: line-through;
    color: var(--mh-gray);
    margin-left: 8px;
    font-weight: 400;
}

.mh-checkout-item-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mh-checkout-item-price-old {
    font-size: 12px;
    color: var(--mh-gray);
    text-decoration: line-through;
}

.mh-checkout-item-price-wrap.is-sale .mh-checkout-item-price {
    color: #d32f2f;
    font-weight: 700;
}

.mh-pdp-option {
    margin-bottom: 24px;
}

.mh-pdp-label {
    display: block;
    font-family: var(--mh-font-display);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--mh-gray);
}

.mh-pdp-swatches .mh-color-swatch {
    width: 22px;
    height: 22px;
}

.mh-pdp-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-size-btn {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--mh-border);
    background: var(--mh-white);
    font-size: 13px;
    font-family: var(--mh-font-body);
    cursor: pointer;
    transition: all 0.2s;
}

.mh-size-btn:hover {
    border-color: var(--mh-black);
}

.mh-size-btn.is-active {
    background: var(--mh-black);
    color: var(--mh-white);
    border-color: var(--mh-black);
}

.mh-size-btn.is-disabled,
.mh-size-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mh-pdp-add {
    flex: 1;
    padding: 14px 20px;
    font-size: 13px;
    letter-spacing: 1.5px;
}

.mh-pdp-purchase {
    margin-bottom: 32px;
}

.mh-pdp-option--qty {
    margin-bottom: 0;
}

.mh-pdp-purchase .mh-qty {
    height: 40px;
}

.mh-pdp-purchase .mh-qty-btn {
    width: 36px;
    height: 38px;
    font-size: 18px;
}

.mh-pdp-purchase .mh-qty input {
    width: 44px;
    height: 38px;
    font-size: 14px;
}

.mh-pdp-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mh-pdp-actions .mh-pdp-wishlist,
.mh-pdp-actions .mh-pdp-add,
.mh-pdp-actions .mh-pdp-buy-btn {
    flex: 1;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    min-width: 0;
}

.mh-pdp-actions .mh-pdp-add,
.mh-pdp-actions .mh-pdp-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mh-pdp-actions .mh-pdp-add .fa,
.mh-pdp-actions .mh-pdp-buy-btn .fa {
    font-size: 14px;
}

.mh-pdp-actions .mh-pdp-wishlist {
    padding: 14px 12px;
    font-size: 13px;
    letter-spacing: 1px;
}

.mh-pdp-actions .mh-pdp-add {
    padding: 14px 12px;
    letter-spacing: 1px;
    background: transparent;
    color: var(--mh-black, #111);
    border: 1px solid var(--mh-black, #111);
}

.mh-pdp-actions .mh-pdp-add:hover {
    background: #f5f5f5;
    color: var(--mh-black, #111);
}

.mh-pdp-actions .mh-pdp-buy-btn {
    padding: 14px 12px;
    letter-spacing: 1px;
    background: #fff;
    color: var(--mh-black, #111);
    border: 1px solid var(--mh-black, #111);
}

.mh-pdp-actions .mh-pdp-buy-btn:hover {
    background: #f5f5f5;
    color: var(--mh-black, #111);
}

@media (min-width: 768px) {
    .mh-pdp-actions .mh-pdp-buy-btn {
        background: var(--mh-black, #0a0a0a);
        color: #fff;
        border-color: var(--mh-black, #0a0a0a);
    }

    .mh-pdp-actions .mh-pdp-buy-btn:hover {
        background: #111;
        color: #fff;
        border-color: #111;
    }

    .mh-pdp-actions .mh-pdp-buy-btn .fa {
        color: inherit;
    }
}

.mh-pdp-actions .mh-pdp-share-btn {
    flex: 0 0 auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    padding: 14px 18px;
    font-size: 13px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.mh-pdp-actions .mh-pdp-share-btn .fa {
    font-size: 15px;
}

/* On smaller tablets keep the row tidy: share becomes icon-only */
@media (max-width: 991px) and (min-width: 768px) {
    .mh-pdp-actions {
        gap: 8px;
    }

    .mh-pdp-actions .mh-pdp-share-btn {
        padding: 14px 14px;
    }

    .mh-pdp-actions .mh-pdp-share-btn span {
        display: none;
    }
}

.mh-pdp-add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* PDP video in main gallery */
.mh-pdp-main-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #000;
}

/* PDP gallery swipe: drag follows the finger, release slides the next media in */
.mh-pdp-main.is-swiping .mh-pdp-zoom-wrap,
.mh-pdp-main.is-swiping .mh-pdp-main-video {
    transform: translate3d(var(--mh-pdp-swipe, 0px), 0, 0);
    transition: none;
    animation: none;
}

.mh-pdp-main.is-slide-next .mh-pdp-zoom-wrap,
.mh-pdp-main.is-slide-next .mh-pdp-main-video {
    animation: mhPdpSlideNext 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.mh-pdp-main.is-slide-prev .mh-pdp-zoom-wrap,
.mh-pdp-main.is-slide-prev .mh-pdp-main-video {
    animation: mhPdpSlidePrev 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.mh-pdp-main.is-swiping.is-slide-back .mh-pdp-zoom-wrap,
.mh-pdp-main.is-swiping.is-slide-back .mh-pdp-main-video {
    transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes mhPdpSlideNext {
    from {
        opacity: 0.2;
        transform: translate3d(18%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes mhPdpSlidePrev {
    from {
        opacity: 0.2;
        transform: translate3d(-18%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-pdp-main.is-slide-next .mh-pdp-zoom-wrap,
    .mh-pdp-main.is-slide-next .mh-pdp-main-video,
    .mh-pdp-main.is-slide-prev .mh-pdp-zoom-wrap,
    .mh-pdp-main.is-slide-prev .mh-pdp-main-video {
        animation: none;
    }
}

.mh-pdp-thumb--video {
    position: relative;
}

.mh-pdp-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.mh-pdp-thumb-play .fa {
    background: rgba(0, 0, 0, 0.55);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}

/* PDP share button (desktop inline) */
.mh-pdp-share-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mh-gray);
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.mh-pdp-share-link:hover {
    color: var(--mh-black);
}

.mh-pdp-share-link .fa {
    font-size: 15px;
}

/* PDP mobile fixed bottom action bar + mobile bottom nav */
.mh-pdp-bottombar {
    display: none;
}

.mh-mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    .mh-mobile-toggle {
        display: none !important;
    }

    .mh-mobile-bottom-nav {
        display: none !important;
        align-items: stretch;
        justify-content: space-around;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1085;
        height: calc(var(--mh-mobile-bottom-nav-h) + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--mh-black);
        border-top: 1px solid rgba(226, 232, 238, 0.12);
    }

    .mh-mobile-bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-width: 0;
        padding: 6px 4px 4px;
        border: none;
        background: none;
        color: rgba(226, 232, 238, 0.72);
        text-decoration: none;
        font-family: var(--mh-font-body);
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: 0.2px;
        cursor: pointer;
        transition: color 0.2s;
    }

    .mh-mobile-bottom-nav-item:hover,
    .mh-mobile-bottom-nav-item.is-active {
        color: var(--mh-silver);
    }

    .mh-mobile-bottom-nav-icon {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        font-size: 18px;
        line-height: 1;
    }

    .mh-mobile-bottom-nav-label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mh-bottom-notify-count,
    .mh-bottom-chat-count {
        position: absolute;
        top: -5px;
        right: -9px;
        z-index: 2;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #e53935;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        box-shadow: 0 0 0 1px var(--mh-black);
    }

    body.merlheart .mh-mobile-bottom-nav .mh-bottom-chat-count,
    body.merlheart .mh-mobile-bottom-nav #mhChatUnreadCount {
        background: #e53935;
        color: #fff;
    }

    body.merlheart .main-wrapper {
        padding-bottom: 0;
    }

    body.mh-auth-page .mh-auth-wrap {
        padding-bottom: 0;
    }

    #mhNotifyPanel.mh-notify-panel {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: auto;
        max-height: min(50vh, 360px);
    }

    .mh-pdp-bottombar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1090;
        display: flex;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        background: var(--mh-black);
        border-top: 1px solid rgba(226, 232, 238, 0.12);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
        /* Do not stack fixed px + safe-area on iOS (causes huge gap under buttons). */
        padding: 10px 12px max(8px, env(safe-area-inset-bottom, 0px));
    }

    .mh-pdp-bottombar-icon {
        flex: 0 0 auto;
        min-width: 56px;
        min-height: 48px;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 12px;
        color: var(--mh-silver);
        white-space: nowrap;
    }

    .mh-pdp-bottombar-icon .fa {
        font-size: 22px;
        line-height: 1;
        display: inline-block;
        -webkit-font-smoothing: antialiased;
    }

    .mh-pdp-bottombar-cart,
    .mh-pdp-bottombar-buy {
        margin-left: 8px;
        border: none;
        border-radius: 12px;
        font-size: 14px;
        letter-spacing: 1px;
        cursor: pointer;
        font-weight: 700;
        padding: 0 10px;
        min-height: 48px;
    }

    .mh-pdp-bottombar-cart {
        flex: 0 0 32%;
        max-width: 128px;
        background: transparent;
        color: #fff;
        border: 1px solid rgba(226, 232, 238, 0.45);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .mh-pdp-bottombar-buy {
        flex: 1 1 auto;
        background: #fff;
        color: #111;
        border: 1px solid #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    body.mh-pdp-page .mh-pdp-actions {
        display: none;
    }

    body.mh-pdp-page .main-wrapper {
        padding-bottom: calc(72px + max(8px, env(safe-area-inset-bottom, 0px)));
    }
}

@media (max-width: 991px) {
    :root {
        --mh-product-media-max-h: none;
    }

    /* Fixed media frame on phones/tablets — full width 3:4 like PDP */
    body.mh-pdp-page .mh-pdp-main {
        aspect-ratio: var(--mh-product-media-ratio);
        max-height: var(--mh-product-media-max-h);
        width: 100%;
        padding: 0;
        background: #fff;
    }

    body.mh-pdp-page .mh-pdp-zoom-wrap {
        max-height: 100%;
    }

    body.mh-pdp-page .mh-pdp-main img,
    body.mh-pdp-page .mh-pdp-main-video {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

.mh-pdp-accordions {
    border-top: 1px solid var(--mh-border);
}

.mh-pdp-details-row {
    width: 100%;
}

.mh-pdp-accordions--full {
    margin-top: 0;
}

@media (min-width: 768px) {
    .mh-pdp-details-row {
        margin-top: 28px;
    }

    .mh-pdp-accordions--full {
        border-top: 1px solid var(--mh-border);
        padding-top: 4px;
    }

    .mh-pdp-accordions--full .mh-pdp-accordion-trigger {
        padding: 18px 0;
        font-size: 15px;
    }

    .mh-pdp-accordions--full .mh-pdp-accordion.is-open .mh-pdp-accordion-content {
        padding-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .mh-pdp-details-row {
        margin-top: 8px;
    }
}

.mh-pdp-stock {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 6px 0 12px;
}

.mh-pdp-stock.in { color: #2d6a1e; }
.mh-pdp-stock.out { color: #c0392b; }

.mh-pdp-accordion {
    border-bottom: 1px solid var(--mh-border);
}

.mh-pdp-accordion-trigger {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    padding: 16px 0;
    font-family: var(--mh-font-display);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--mh-black);
}

.mh-pdp-accordion-trigger::after {
    content: '+';
    font-family: var(--mh-font-body);
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.mh-pdp-accordion.is-open .mh-pdp-accordion-trigger::after {
    content: '−';
}

.mh-pdp-accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.mh-pdp-accordion.is-open .mh-pdp-accordion-panel {
    grid-template-rows: 1fr;
}

.mh-pdp-accordion-content {
    overflow: hidden;
    min-height: 0;
}

.mh-pdp-accordion.is-open .mh-pdp-accordion-content {
    overflow: visible;
    padding-bottom: 16px;
}

.mh-pdp-accordion-content p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--mh-gray);
}

.mh-pdp-details {
    border-bottom: 1px solid var(--mh-border);
}

.mh-pdp-details summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 0;
    font-family: var(--mh-font-display);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mh-pdp-details summary::-webkit-details-marker { display: none; }

.mh-pdp-details summary::after {
    content: '+';
    font-family: var(--mh-font-body);
    font-size: 18px;
    font-weight: 300;
}

.mh-pdp-details[open] summary::after {
    content: '−';
}

.mh-pdp-details p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--mh-gray);
}

body.mh-pdp-page .product-area .section-title p {
    display: none;
}

/* PDP — related products */
body.mh-pdp-page .mh-pdp-related {
    padding-top: 32px;
    padding-bottom: 24px;
}

body.mh-pdp-page .mh-pdp-related-title {
    text-align: center;
    margin-bottom: 16px;
}

body.mh-pdp-page .mh-pdp-related-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

body.mh-pdp-page .mh-pdp-related .product-wrapper {
    margin-top: 0;
}

body.mh-pdp-page .mh-pdp-related-grid {
    padding-bottom: 4px;
}

body.mh-pdp-page .mh-pdp-related-grid-inner.mh-shop-product-grid {
    align-items: start;
}

body.mh-pdp-page .mh-pdp-related-grid-inner .mh-product-card-home[hidden],
body.mh-pdp-page .mh-pdp-related-grid-inner .mh-product-card-home.is-pdp-related-hidden {
    display: none !important;
}

body.mh-pdp-page .mh-pdp-related-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 16px;
    text-align: center;
    color: rgba(0, 0, 0, 0.55);
    font-size: 14px;
}

body.mh-pdp-page .mh-pdp-related-sentinel {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

body.mh-pdp-page .mh-pdp-related-more-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0 4px;
}

body.mh-pdp-page .mh-pdp-related-more-wrap[hidden] {
    display: none !important;
}

body.mh-pdp-page .mh-pdp-related-more {
    min-width: 160px;
    min-height: 42px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--mh-black);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.mh-pdp-page .mh-pdp-related-more:hover {
    background: var(--mh-black);
    border-color: var(--mh-black);
    color: #fff;
}

body.mh-pdp-page .mh-pdp-related-shop-wrap {
    display: flex;
    justify-content: center;
    margin: 12px 0 8px;
}

body.mh-pdp-page .mh-pdp-related-shop-wrap[hidden] {
    display: none !important;
}

body.mh-pdp-page .mh-pdp-related-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 42px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--mh-black);
    border-radius: 999px;
    background: var(--mh-black);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body.mh-pdp-page .mh-pdp-related-shop:hover {
    background: #fff;
    color: var(--mh-black);
    text-decoration: none;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-slide {
    margin: 0 6px;
    height: auto;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-list {
    margin: 0 -6px;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-slide > div {
    height: 100%;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-dots {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d0d0d0;
    font-size: 0;
    line-height: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-dots li button:before {
    content: '' !important;
    display: none;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-dots li.slick-active button {
    width: 22px;
    background: #111;
}

body.mh-pdp-page .mh-pdp-related-slider .slick-arrow {
    display: none !important;
}

@media (min-width: 992px) {
    body.mh-pdp-page .mh-pdp-related-slider .slick-arrow {
        display: flex !important;
    }
}

body.mh-pdp-page .mh-pdp-related .product-slider .slick-slide {
    height: auto;
}

body.mh-pdp-page .mh-pdp-related .mh-pdp-related-slide {
    padding-left: 8px;
    padding-right: 8px;
}

body.mh-pdp-page .mh-pdp-related .mh-product-card-home {
    height: auto;
    min-height: 0;
    overflow: hidden;
}

body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-media {
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}

@media (max-width: 767px) {
    body.mh-pdp-page .mh-pdp-related {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body.mh-pdp-page .mh-pdp-related-title {
        margin-bottom: 12px;
    }

    body.mh-pdp-page .mh-pdp-related .mh-pdp-related-slide {
        padding-left: 0;
        padding-right: 0;
    }

    body.mh-pdp-page .mh-pdp-related-grid {
        margin-bottom: 8px;
    }

    body.mh-pdp-page .mh-pdp-related-slider .slick-dots {
        margin-top: 14px;
    }

    body.mh-pdp-page .mh-pdp-related-title h2 {
        font-size: 18px;
    }
}

/* PDP — rich HTML description (admin TinyMCE) */
.mh-pdp-rich-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--mh-black, #111);
    word-break: break-word;
}

.mh-pdp-rich-desc .mh-desc-float-wrap {
    overflow: hidden;
    margin: 0 0 16px;
}

.mh-pdp-rich-desc .mh-desc-float-wrap p {
    margin: 0 0 8px;
}

.mh-pdp-rich-desc .mh-desc-float-wrap p:last-child {
    margin-bottom: 0;
}

.mh-pdp-rich-desc .mh-desc-float-wrap img {
    max-width: min(45%, 280px);
    width: auto;
    height: auto;
    border-radius: 8px;
    vertical-align: top;
}

.mh-pdp-rich-desc .mh-desc-float-wrap.mh-desc-img-right img {
    float: right;
    margin: 0 0 12px 16px;
}

.mh-pdp-rich-desc .mh-desc-float-wrap.mh-desc-img-left img {
    float: left;
    margin: 0 16px 12px 0;
}

.mh-pdp-rich-desc .mh-desc-float-wrap.mh-desc-img-center img {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 auto 12px;
}

.mh-pdp-rich-desc > p {
    margin: 0 0 12px;
}

.mh-pdp-rich-desc img:not(.mh-desc-img-float) {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.mh-pdp-rich-desc video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: 8px;
    clear: both;
    float: none;
}

.mh-pdp-rich-desc h2,
.mh-pdp-rich-desc h3 {
    margin: 16px 0 8px;
    font-weight: 600;
    line-height: 1.35;
}

/* PDP — overview blocks */
.mh-pdp-overview {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.mh-pdp-overview-row--text,
.mh-pdp-overview-row--image,
.mh-pdp-overview-row--video {
    display: block;
}

.mh-pdp-overview-row--image-text,
.mh-pdp-overview-row--text-image {
    display: grid;
    gap: 16px 24px;
    align-items: start;
}

.mh-pdp-overview-row--text-image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

.mh-pdp-overview-row--image-text {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.mh-pdp-overview-media {
    min-width: 0;
    width: 100%;
}

.mh-pdp-overview-row--text .mh-pdp-overview-text,
.mh-pdp-overview-row--image .mh-pdp-overview-media,
.mh-pdp-overview-row--video .mh-pdp-overview-media {
    width: 100%;
}

.mh-pdp-overview-media img,
.mh-pdp-overview-media video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.mh-pdp-overview-text {
    min-width: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--mh-gray, #666);
    word-break: break-word;
    align-self: start;
    padding-top: 2px;
}

@media (min-width: 768px) {
    .mh-pdp-accordions--full .mh-pdp-overview {
        gap: 32px;
    }

    .mh-pdp-accordions--full .mh-pdp-overview-row--text-image {
        grid-template-columns: minmax(140px, 38%) minmax(0, 62%);
        gap: 20px 40px;
    }

    .mh-pdp-accordions--full .mh-pdp-overview-row--image-text {
        grid-template-columns: minmax(0, 62%) minmax(140px, 38%);
        gap: 20px 40px;
    }

    .mh-pdp-accordions--full .mh-pdp-overview-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .mh-pdp-accordions--full .mh-pdp-overview-media img,
    .mh-pdp-accordions--full .mh-pdp-overview-media video {
        border-radius: 10px;
    }
}

@media (max-width: 767px) {
    .mh-pdp-overview {
        gap: 20px;
    }

    .mh-pdp-overview-row--text-image {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 10px 12px;
    }

    .mh-pdp-overview-row--image-text {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 10px 12px;
    }

    .mh-pdp-overview-text {
        font-size: 13px;
        line-height: 1.65;
    }
}

@media (max-width: 991px) {
    .mh-pdp-info {
        padding: 20px 16px 0;
        position: static;
    }

    body.mh-pdp-page .mh-pdp-wrap {
        padding-top: 6px;
    }

    body.mh-pdp-page .mh-pdp-wrap > .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    body.mh-pdp-page .mh-pdp-gallery {
        width: 100%;
        max-width: 100%;
        margin: 0;
        gap: 0;
    }

    body.mh-pdp-page .mh-pdp-main {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }

    body.mh-pdp-page .mh-pdp-thumbs-col {
        width: 100%;
        padding: 10px 12px 0;
        box-sizing: border-box;
    }

    body.mh-pdp-page .mh-pdp-details-row,
    body.mh-pdp-page .mh-pdp-related,
    body.mh-pdp-page .product-area {
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .mh-pdp-gallery {
        flex-direction: column-reverse;
    }

    .mh-pdp-thumbs-col {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .mh-pdp-nav-icon--desk {
        display: none;
    }

    .mh-pdp-nav-icon--mob {
        display: block;
    }

    .mh-pdp-thumbs-viewport {
        flex: 1;
        width: auto;
        min-width: 0;
        height: auto;
        overflow: hidden;
    }

    .mh-pdp-thumbs-track {
        flex-direction: row;
        width: max-content;
    }

    .mh-pdp-zoom-wrap.is-zoomable {
        cursor: default;
    }
}

/* ========== MOBILE NAV DRAWER ========== */
body.mh-nav-open { overflow: hidden; }

.mh-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mh-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100%);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--mh-white);
    z-index: 1099;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.mh-nav-drawer.is-open { transform: translateX(0); }

.mh-nav-drawer-head {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 8px;
    padding: calc(18px + var(--mh-safe-top)) 20px 18px;
    border-bottom: 1px solid var(--mh-border);
    flex-shrink: 0;
}

.mh-nav-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--mh-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mh-nav-drawer-title {
    font-family: var(--mh-font-display);
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mh-nav-drawer-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 16px;
}

.mh-nav-drawer-link {
    display: block;
    padding: 14px 20px;
    font-family: var(--mh-font-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-black);
    text-decoration: none;
    border-bottom: 1px solid var(--mh-light);
}

.mh-nav-drawer-link:hover {
    color: var(--mh-gray);
}

.mh-nav-drawer-group {
    border-bottom: 1px solid var(--mh-light);
}

.mh-nav-drawer-toggle,
.mh-nav-drawer-cat-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    background: none;
    font-family: var(--mh-font-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mh-black);
    cursor: pointer;
    text-align: left;
}

.mh-nav-drawer-toggle i,
.mh-nav-drawer-cat-toggle i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.mh-nav-drawer-group.is-open > .mh-nav-drawer-toggle i,
.mh-nav-drawer-cat.is-open > .mh-nav-drawer-cat-toggle i {
    transform: rotate(180deg);
}

.mh-nav-drawer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mh-nav-drawer-group.is-open > .mh-nav-drawer-panel {
    max-height: 1200px;
}

.mh-nav-drawer-sublink--all {
    font-weight: 600;
}

.mh-nav-drawer-cat {
    border-top: 1px solid var(--mh-light);
}

.mh-nav-drawer-cat-toggle {
    font-family: var(--mh-font-body);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: none;
    font-weight: 600;
    padding: 12px 20px 12px 28px;
}

.mh-nav-drawer-cat-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mh-nav-drawer-cat.is-open > .mh-nav-drawer-cat-panel {
    max-height: 280px;
}

.mh-nav-drawer-sublink {
    display: block;
    padding: 10px 20px 10px 40px;
    font-size: 13px;
    color: var(--mh-gray);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.mh-nav-drawer-sublink:hover {
    color: var(--mh-black);
    padding-left: 44px;
}

.mh-nav-drawer-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 20px;
    border-top: 1px solid var(--mh-border);
    flex-shrink: 0;
}

.mh-nav-drawer-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--mh-black);
    font-size: 18px;
    text-decoration: none;
    background: none;
    border: 1px solid var(--mh-border);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    padding: 0;
}

.mh-nav-drawer-icon:hover {
    border-color: var(--mh-black);
}

.mh-nav-drawer-icon .mh-cart-count,
.mh-nav-drawer-icon .mh-wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
}

/* ========== CART DRAWER ========== */
body.mh-cart-open { overflow: hidden; }

.mh-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mh-cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--mh-white);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.mh-cart-drawer.is-open { transform: translateX(0); }

.mh-cart-drawer-head {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: calc(20px + var(--mh-safe-top)) 20px 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-cart-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--mh-black);
    padding: 4px;
}

.mh-cart-drawer-head h2 {
    font-family: var(--mh-font-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.mh-cart-drawer-meta {
    font-size: 12px;
    color: var(--mh-gray);
    white-space: nowrap;
}

.mh-cart-drawer-scroll {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.mh-cart-drawer-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--mh-gray);
    font-size: 14px;
}

.mh-cart-drawer-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mh-cart-drawer-item {
    display: grid;
    grid-template-columns: 28px 72px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
}

.mh-cart-drawer-item.is-unselected {
    opacity: 0.55;
}

.mh-cart-item-check {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 26px;
    margin: 0;
    cursor: pointer;
}

.mh-cart-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--mh-black);
    cursor: pointer;
    flex-shrink: 0;
}

.mh-cart-select-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 20px 12px;
    border-bottom: 1px solid var(--mh-border);
    margin-bottom: 4px;
}

.mh-cart-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.mh-cart-select-all-input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--mh-black);
    cursor: pointer;
}

.mh-cart-selected-meta {
    font-size: 12px;
    color: var(--mh-gray);
    white-space: nowrap;
}

.mh-cart-checkout-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.mh-checkout-empty {
    font-size: 13px;
    color: var(--mh-gray);
    margin: 0;
    padding: 8px 0;
}

.mh-cart-item-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh-cart-item-meta {
    min-width: 0;
    flex: 1;
}

.mh-cart-item-body h4 {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.mh-cart-item-body p {
    font-size: 12px;
    color: var(--mh-gray);
    margin: 0;
}

.mh-cart-item-price {
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.mh-cart-item-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.mh-cart-item-price-old {
    font-size: 12px;
    color: var(--mh-gray);
    text-decoration: line-through;
    white-space: nowrap;
}

.mh-cart-item-price-wrap.is-sale .mh-cart-item-price {
    color: #d32f2f;
    font-weight: 700;
}

.mh-cart-item-price.is-sale {
    color: #d32f2f;
    font-weight: 700;
}

.mh-cart-item-img {
    position: relative;
    width: 72px;
    height: 88px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--mh-light);
    border: 1px solid var(--mh-border);
}

.mh-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.mh-cart-item-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--mh-black);
    color: var(--mh-white);
    font-size: 11px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
    z-index: 1;
}

.mh-cart-item-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.mh-cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--mh-border);
    border-radius: 6px;
}

.mh-cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--mh-white);
    cursor: pointer;
    font-size: 14px;
}

.mh-cart-qty-val {
    min-width: 32px;
    padding: 0 4px;
    text-align: center;
    font-size: 13px;
    border-left: 1px solid var(--mh-border);
    border-right: 1px solid var(--mh-border);
    line-height: 28px;
    flex-shrink: 0;
}

.mh-cart-qty.is-readonly .mh-cart-qty-val {
    border-left: none;
    border-right: none;
    min-width: 36px;
    padding: 0 12px;
    color: var(--mh-gray, #888);
    cursor: default;
    user-select: none;
}

.mh-drawer-variant-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.4;
}

.mh-drawer-variant-label {
    color: var(--mh-muted, #888);
    flex-shrink: 0;
}

.mh-drawer-variant-label::after {
    content: ':';
}

.mh-drawer-variant-value {
    color: var(--mh-text, #222);
}

.mh-cart-item-meta h4,
.mh-wishlist-item-meta h4 {
    margin: 0;
}

.mh-wishlist-item-meta {
    flex: 1;
    min-width: 0;
}

.mh-cart-remove-btn {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--mh-white);
    border: 1px solid #d64545;
    color: #c0392b;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--mh-radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mh-cart-remove-btn:hover {
    background: #c0392b;
    color: var(--mh-white);
}

.mh-cart-rec {
    display: none !important;
}

.mh-cart-rec h3 {
    font-family: var(--mh-font-display);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.mh-cart-rec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.mh-cart-rec-card {
    text-decoration: none;
    color: inherit;
}

.mh-cart-rec-card img {
    width: 100%;
    aspect-ratio: var(--mh-product-media-ratio);
    max-height: var(--mh-product-media-max-h);
    object-fit: contain;
    object-position: center center;
    background: var(--mh-light);
    border-radius: 8px;
    margin-bottom: 8px;
}

.mh-cart-rec-name {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.mh-cart-rec-price {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 6px;
}

.mh-cart-drawer-foot {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border-top: 1px solid var(--mh-border);
    box-sizing: border-box;
}

.mh-cart-foot-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 14px;
    font-weight: 500;
    max-width: 100%;
}

.mh-cart-promo-hints {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0;
    border: none;
    background: transparent;
}

.mh-cart-promo-hint {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.mh-cart-promo-hint.is-pending {
    color: #8b4040;
    background: #f9eded;
    border: 1px solid #e6c8c8;
}

.mh-cart-promo-hint.is-met {
    color: #356b52;
    background: #edf6f1;
    border: 1px solid #c6e2d4;
}

.mh-cart-promo-hint.is-shipping.is-pending {
    color: #8b4040;
    background: #f9eded;
    border: 1px solid #e6c8c8;
}

.mh-cart-promo-hint + .mh-cart-promo-hint {
    margin-top: 0;
}

.mh-cart-checkout-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    display: block;
    padding: 14px;
    border-radius: 8px;
}

/* ========== WISHLIST DRAWER ========== */
body.mh-wishlist-open { overflow: hidden; }

.mh-wishlist-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-family: var(--mh-font-body);
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    box-sizing: border-box;
}

.mh-wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mh-wishlist-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--mh-white);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

.mh-wishlist-drawer.is-open { transform: translateX(0); }

.mh-wishlist-drawer-head {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-wishlist-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--mh-black);
    padding: 4px;
}

.mh-wishlist-drawer-head h2 {
    font-family: var(--mh-font-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.mh-wishlist-drawer-meta {
    font-size: 12px;
    color: var(--mh-gray);
    white-space: nowrap;
}

.mh-wishlist-drawer-scroll {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.mh-wishlist-drawer-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--mh-gray);
    font-size: 14px;
}

.mh-wishlist-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mh-wishlist-drawer-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.mh-wishlist-item-img {
    width: 72px;
    height: 88px;
    flex-shrink: 0;
    border-radius: var(--mh-radius-sm);
    overflow: hidden;
    background: var(--mh-light);
    border: 1px solid var(--mh-border);
}

.mh-wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-wishlist-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-wishlist-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh-wishlist-item-body h4 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    flex: 1;
    min-width: 0;
}

.mh-wishlist-stock {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mh-wishlist-stock.in { color: #2d6a1e; }
.mh-wishlist-stock.out { color: #c0392b; }

.mh-wishlist-item-price {
    display: block;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    white-space: nowrap;
}

.mh-wishlist-item-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
}

.mh-wishlist-item-controls .mh-wishlist-remove-btn {
    margin-left: auto;
    flex-shrink: 0;
}

.mh-wishlist-item-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
}

.mh-wishlist-add-cart {
    display: inline-block;
    padding: 9px 12px;
    background: var(--mh-black);
    color: var(--mh-white);
    border: 1px solid var(--mh-black);
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--mh-radius-sm);
    transition: all 0.2s;
    text-align: center;
}

.mh-wishlist-add-cart:hover {
    background: transparent;
    color: var(--mh-black);
}

.mh-wishlist-add-cart.disabled {
    background: var(--mh-light);
    color: var(--mh-gray);
    border-color: var(--mh-border);
    cursor: default;
}

.mh-wishlist-remove-btn {
    background: var(--mh-white);
    border: 1px solid #d64545;
    color: #c0392b;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    padding: 9px 12px;
    border-radius: var(--mh-radius-sm);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.mh-wishlist-remove-btn:hover {
    background: #c0392b;
    color: var(--mh-white);
}

.mh-wishlist-drawer-foot {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border-top: 1px solid var(--mh-border);
    box-sizing: border-box;
}

.mh-wishlist-shop-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    display: block;
}

.mh-cart-drawer-foot .mh-btn,
.mh-wishlist-drawer-foot .mh-btn {
    box-sizing: border-box;
    max-width: 100%;
}

/* ========== PRELOADER ========== */
body.mh-pwa-modal-open { overflow: hidden; }

.mh-pwa-install-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.mh-pwa-install-modal[hidden] {
    display: none !important;
}

.mh-pwa-install-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.mh-pwa-install-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    padding: 22px 20px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.mh-pwa-install-modal-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--mh-black, #111);
}

.mh-pwa-install-modal-message {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
    white-space: pre-line;
}

.mh-pwa-install-intro {
    margin: 0 0 10px;
}

.mh-pwa-install-steps {
    margin: 0;
    padding-left: 1.25em;
}

.mh-pwa-install-steps li {
    margin: 0 0 8px;
}

.mh-pwa-install-steps li:last-child {
    margin-bottom: 0;
}

.mh-pwa-install-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.mh-pwa-install-modal-btn {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: var(--mh-black, #111);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.mh-pwa-install-modal-btn--primary {
    background: var(--mh-black, #0a0a0a);
    border-color: var(--mh-black, #0a0a0a);
    color: #fff;
}

.mh-pwa-install-modal-btn--ghost {
    background: #fff;
}

body.mh-loading { overflow: hidden; }

.mh-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.mh-preloader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mh-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: none;
    padding: 0 24px;
    box-sizing: border-box;
}

.mh-preloader-brand,
.mh-preloader-img {
    display: block;
    width: min(88vw, 560px);
    height: auto;
    max-width: min(560px, 88vw);
    max-height: min(36vh, 280px);
    margin: 0 auto 18px;
    object-fit: contain;
    object-position: center center;
    animation: mh-pulse 1.4s ease-in-out infinite;
}

.mh-preloader-brand.mh-brand-logo--solo,
.mh-preloader-img.mh-brand-logo--solo {
    width: auto;
    height: min(48vh, 320px);
    max-width: min(56vw, 240px);
    max-height: min(48vh, 320px);
}

.mh-preloader-logo {
    display: none;
}

.mh-preloader-bar {
    width: 120px;
    height: 2px;
    background: #1c1c1c;
    margin: 24px auto 0;
    overflow: hidden;
    position: relative;
}

.mh-preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: var(--mh-accent);
    animation: mh-loadbar 1.1s ease-in-out infinite;
}

/* Tablet + desktop: bigger brand mark and progress bar */
@media (min-width: 768px) {
    .mh-preloader-brand.mh-brand-logo--solo,
    .mh-preloader-img.mh-brand-logo--solo {
        height: min(52vh, 380px);
        max-width: min(48vw, 280px);
        max-height: min(52vh, 380px);
        margin: 0 auto 26px;
    }

    .mh-preloader-brand,
    .mh-preloader-img,
    .mh-preloader-brand.mh-brand-logo--full,
    .mh-preloader-img.mh-brand-logo--full {
        width: min(72vw, 820px);
        max-width: min(820px, 72vw);
        max-height: min(42vh, 360px);
        height: auto;
        margin: 0 auto 26px;
    }

    .mh-preloader-bar {
        width: 220px;
        height: 3px;
        margin-top: 28px;
    }
}

@media (min-width: 1100px) {
    .mh-preloader-brand,
    .mh-preloader-img,
    .mh-preloader-brand.mh-brand-logo--full,
    .mh-preloader-img.mh-brand-logo--full {
        width: min(60vw, 960px);
        max-width: min(960px, 60vw);
        max-height: min(40vh, 400px);
        margin: 0 auto 32px;
    }

    .mh-preloader-bar {
        width: 280px;
        height: 3px;
        margin-top: 32px;
    }
}

@keyframes mh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes mh-loadbar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* ========== RESPONSIVE — tablet & mobile enhancements ========== */

/* Tablet (≤991px) */
@media (max-width: 991px) {
    .mh-logo {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .mh-pdp {
        flex-direction: column;
    }

    .mh-pdp-gallery {
        justify-content: center;
        max-width: 100%;
    }

    .mh-pdp-main {
        width: 100%;
    }

    body.merlheart .banner-area .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    body.merlheart .content-wraper .about-us-img,
    body.merlheart .content-wraper .about-info-wrapper,
    body.merlheart .contact-form,
    body.merlheart .contact-infor {
        margin-bottom: 32px;
    }

    body.merlheart .content-wraper .row > .col-lg-6,
    body.merlheart .content-wraper .row > .col-lg-7,
    body.merlheart .content-wraper .row > .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .shop-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .shop-bar-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-select-box {
        width: 100%;
    }

    .product-short {
        width: 100%;
    }

    .mh-checkout-discount {
        flex-direction: column;
        align-items: stretch;
    }

    .mh-checkout-discount .mh-input {
        width: 100%;
    }

    .mh-cart-drawer,
    .mh-wishlist-drawer {
        width: min(380px, 100%);
    }

    body.merlheart .section-title h2 {
        font-size: 30px;
    }

    .mh-page-head {
        padding-top: 24px;
    }

    body.merlheart .breadcrumb-area {
        padding: 28px 0;
    }

    .mh-wishlist-list,
    .mh-cart-list {
        padding: 0 4px;
    }
}

/* Mobile (≤576px) */
@media (max-width: 576px) {
    :root {
        --mh-header-h: 72px;
        --mh-header-top-h: 72px;
        --mh-search-h: 32px;
    }

    .container {
        padding: 0 16px;
    }

    .mh-header .container {
        padding: 8px;
        column-gap: 3px;
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .mh-header .mh-logo-img--side {
        height: 36px;
        max-width: min(94px, 100%);
    }

    .mh-header .mh-header-searchbar,
    .mh-header .mh-mobile-searchbar {
        flex: none;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .mh-header-top-util {
        flex: none;
        min-width: 0;
    }

    body.mh-search-panel-open .mh-header .mh-logo,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-logo,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-logo {
        flex: 0 0 auto;
        max-width: 44px;
    }

    body.mh-search-panel-open .mh-header .mh-logo-img--search,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-logo-img--search,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-logo-img--search {
        height: 52px;
        max-width: 36px;
        width: auto;
    }

    body.mh-search-panel-open .mh-header .mh-header-searchbar,
    body.mh-search-panel-open .mh-header .mh-mobile-searchbar,
    .mh-header .mh-header-searchbar.is-focused,
    .mh-header .mh-mobile-searchbar.is-focused {
        flex: 1 1 auto;
        max-width: none;
        min-width: 0;
    }

    body.mh-search-panel-open .mh-header-top-util,
    .mh-header:has(.mh-header-searchbar.is-focused) .mh-header-top-util,
    .mh-header:has(.mh-mobile-searchbar.is-focused) .mh-header-top-util {
        flex: 0 0 auto;
    }

    .mh-header-inner {
        height: 56px;
        gap: 12px;
    }

    .mh-logo {
        font-size: 20px;
        letter-spacing: 2px;
        gap: 8px;
    }

    .mh-footer .mh-logo-img {
        height: 32px;
        border-radius: 6px;
    }

    .mh-lang-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .mh-icon-link {
        font-size: 17px;
    }

    .mh-cart-drawer,
    .mh-wishlist-drawer {
        width: 100%;
    }

    .mh-nav-shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.merlheart .hero-slider-one .slider-text-info {
        padding: 0 16px;
    }

    body.merlheart .hero-slider-one .slider-text-info h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    body.merlheart .slider-btn {
        padding: 12px 28px !important;
        font-size: 14px !important;
    }

    body.merlheart .banner-area .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    body.merlheart .section-title h2 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .mh-page-title {
        font-size: 24px;
    }

    .mh-breadcrumb {
        font-size: 12px;
    }

    .mh-checkout-main {
        padding: 24px 16px 40px;
    }

    .mh-checkout-summary {
        padding: 24px 16px;
    }

    .mh-checkout-item {
        gap: 12px;
    }

    .shop-top-bar {
        margin-top: 0 !important;
    }

    .mh-filter-mobile-btn {
        width: 100%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .toolbar-amount {
        width: 100%;
        font-size: 12px;
    }

    .mh-cart-rec-grid {
        grid-template-columns: 1fr;
    }

    .mh-footer-grid {
        gap: 24px;
    }

    .mh-footer-bottom {
        text-align: center;
    }

    body.merlheart .single-team {
        margin-bottom: 8px;
    }

    body.merlheart .our-team-area .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .mh-pdp-title {
        font-size: 22px;
    }

    .mh-pdp-info {
        padding: 20px 16px 0;
    }

    .mh-content {
        padding-bottom: 40px;
    }
}

/* Small phones — register form fit */
@media (max-width: 390px) {
    body.mh-auth-page .mh-auth-box h1 {
        font-size: 24px;
    }

    body.mh-auth-page .mh-auth-box input {
        padding: 10px 12px 10px 36px;
        font-size: 13px;
    }

    body.mh-auth-page .mh-auth-field label {
        font-size: 10px;
        margin-bottom: 6px;
    }
}

/* Account / order history */
.mh-account {
    padding: 8px 0 24px;
}

.mh-account-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-account-logout-form {
    flex-shrink: 0;
    margin: 0;
}

.mh-account-logout-form .mh-logout-btn--account {
    width: auto;
}

.mh-account-eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mh-gray);
    margin: 0 0 8px;
}

.mh-account-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.mh-account-email {
    margin: 0;
    color: var(--mh-gray);
    font-size: 14px;
    word-break: break-all;
}

.mh-account-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mh-account-section-head h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.mh-account-shop-link {
    font-size: 13px;
    color: var(--mh-black);
    text-decoration: none;
}

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

.mh-order-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mh-order-card {
    border: 1px solid var(--mh-border);
    border-radius: 14px;
    background: var(--mh-white);
    overflow: hidden;
}

.mh-order-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mh-order-card-link:hover,
.mh-order-card-link:focus {
    color: inherit;
    text-decoration: none;
    border-color: #d0d0d0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.mh-order-card-summary {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 20px;
    cursor: pointer;
}

.mh-order-card-link .mh-order-card-summary {
    cursor: pointer;
}

.mh-order-card-summary::-webkit-details-marker {
    display: none;
}

.mh-order-card[open] .mh-order-card-summary {
    border-bottom: 1px solid var(--mh-border);
    background: #fafafa;
}

.mh-order-card-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.mh-order-no {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.mh-order-date {
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-order-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.mh-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #f2f2f2;
    color: var(--mh-black);
}

.mh-order-badge--paid {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.mh-order-badge--pending {
    background: #fffaeb;
    color: #b54708;
    border: 1px solid #fedf89;
}

.mh-order-badge--failed {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.mh-order-badge--refunded {
    background: #f2f4f7;
    color: #475467;
    border: 1px solid #eaecf0;
}

.mh-order-total {
    font-size: 15px;
    font-weight: 700;
}

.mh-order-items-count {
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-order-card-shipping {
    width: 100%;
}

.mh-order-card-shipping .mh-order-progress {
    margin-bottom: 0;
}

.mh-order-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.mh-order-card-actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 16px 14px;
    border-top: 1px solid var(--mh-border);
    background: #fafafa;
}

.mh-order-card-actions .mh-order-go-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
}

.mh-order-card-chevron {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--mh-gray);
}

.mh-order-shipping-hint {
    margin: 0;
    font-size: 13px;
    color: var(--mh-gray);
    line-height: 1.45;
}

.mh-order-shipping-snapshot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-order-progress--compact {
    padding: 12px 14px;
    background: #f8fafc;
}

.mh-order-progress-status--inline {
    display: inline-flex;
    margin-bottom: 10px;
}

.mh-order-card-body {
    padding: 20px;
}

.mh-order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.mh-order-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mh-order-item-img {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    border: 1px solid var(--mh-border);
    background: var(--mh-light);
    overflow: visible;
    flex-shrink: 0;
}

.mh-order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.mh-order-item-variant.mh-variant-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0 0;
}

.mh-order-pay-sep {
    opacity: 0.7;
}

.mh-order-item-info {
    flex: 1;
    min-width: 0;
}

.mh-order-item-info h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mh-order-item-variant,
.mh-order-item-qty {
    margin: 0;
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-order-item-price {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.mh-order-item-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.mh-order-item-price-old {
    font-size: 12px;
    color: var(--mh-gray);
    text-decoration: line-through;
    font-weight: 500;
}

.mh-order-item-price-wrap.is-sale .mh-order-item-price-now {
    color: #d32f2f;
    font-weight: 700;
}

.mh-order-shipping {
    padding: 16px 0;
    border-top: 1px solid var(--mh-border);
    border-bottom: 1px solid var(--mh-border);
    margin-bottom: 16px;
}

.mh-order-shipping h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    color: var(--mh-gray);
}

.mh-order-shipping p {
    margin: 0 0 4px;
    font-size: 13px;
}

.mh-order-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-totals-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mh-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
}

.mh-totals-row--adj {
    color: var(--mh-gray);
}

.mh-totals-row--adj .mh-totals-adj-value {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-align: right;
    color: var(--mh-gray);
}

.mh-totals-row--adj .mh-totals-amount,
.mh-totals-free-ship,
.mh-totals-points {
    color: var(--mh-gray);
}

.mh-totals-amount {
    color: var(--mh-text, #1a1a1a);
}

.mh-totals-icon {
    font-size: 12px;
    color: var(--mh-gray);
    flex-shrink: 0;
}

.mh-totals-row--discount .mh-totals-adj-value,
.mh-totals-row--discount .mh-totals-amount,
.mh-totals-row--discount .mh-totals-icon {
    color: #dc2626;
}

.mh-totals-row--shipping.is-free .mh-totals-adj-value,
.mh-totals-row--shipping.is-free .mh-totals-amount,
.mh-totals-row--shipping.is-free .mh-totals-icon {
    color: #16a34a;
}

.mh-totals-row--reward .mh-totals-adj-value,
.mh-totals-row--reward .mh-totals-draw,
.mh-totals-row--reward .mh-totals-points,
.mh-totals-draw,
.mh-totals-points {
    color: #16a34a;
}

.mh-totals-points {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mh-totals-draw {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mh-totals-row--grand,
.mh-order-total-row--grand {
    font-weight: 700;
    font-size: 15px;
    padding-top: 8px;
    border-top: 1px solid var(--mh-border);
    margin-top: 4px;
}

.mh-account-order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.mh-account-order-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--mh-border);
    border-radius: 999px;
    font-size: 13px;
    color: var(--mh-gray);
    text-decoration: none;
    background: var(--mh-white);
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.mh-account-order-tab.is-active,
.mh-account-order-tab:hover {
    border-color: var(--mh-black);
    color: var(--mh-black);
}

.mh-account-order-tab.is-active {
    background: var(--mh-black);
    color: var(--mh-white);
}

.mh-order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.mh-order-total-row--grand {
    font-weight: 700;
    font-size: 15px;
    padding-top: 8px;
}

.mh-order-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--mh-border);
    border-radius: 14px;
    background: var(--mh-white);
    max-width: 100%;
    box-sizing: border-box;
}

.mh-order-empty p {
    margin: 0 0 20px;
    color: var(--mh-gray);
    font-size: 14px;
}

.mh-account-empty-btn {
    display: inline-block;
    width: auto;
    min-width: 160px;
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 2px;
}

/* Tablet */
@media (max-width: 991px) {
    .mh-account-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .mh-account-head {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .mh-account-logout-form {
        width: 100%;
    }

    .mh-account-logout-form .mh-logout-btn--account {
        width: 100%;
        padding: 12px 16px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .mh-account-title {
        font-size: 26px;
    }

    .mh-account-eyebrow {
        font-size: 11px;
    }

    .mh-account-email {
        font-size: 13px;
    }

    .mh-account-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 16px;
    }

    .mh-account-section-head h2 {
        font-size: 16px;
    }

    .mh-account-shop-link {
        font-size: 12px;
    }

    .mh-order-empty {
        padding: 32px 16px 28px;
    }

    .mh-account-empty-btn {
        width: 100%;
        max-width: 220px;
    }

    .mh-order-card-summary {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .mh-order-card-meta {
        width: 100%;
        gap: 8px 10px;
    }

    .mh-order-card-body {
        padding: 16px;
    }

    .mh-order-item {
        gap: 12px;
    }

    .mh-order-item-price {
        align-self: flex-start;
        margin-left: 76px;
    }
}

/* Legal & company compliance pages */
.mh-legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
    align-items: start;
    padding: 24px 0 48px;
}

.mh-legal-head h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mh-legal-updated {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.mh-legal-intro {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.mh-legal-section {
    margin-bottom: 28px;
}

.mh-legal-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mh-legal-section p {
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 10px;
}

.mh-legal-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mh-legal-nav h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.mh-legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mh-legal-nav li + li {
    margin-top: 8px;
}

.mh-legal-nav a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.mh-legal-nav a:hover,
.mh-legal-nav a[aria-current="page"] {
    color: var(--mh-accent, #c9a227);
    font-weight: 600;
}

.mh-company-card {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.mh-company-card-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.mh-company-dl {
    margin: 0;
}

.mh-company-dl > div {
    margin-bottom: 12px;
}

.mh-company-dl > div:last-child {
    margin-bottom: 0;
}

.mh-company-dl dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 2px;
}

.mh-company-dl dd {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #222;
}

@media (max-width: 991px) {
    .mh-legal-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mh-legal-sidebar {
        position: static;
    }
}

/* About page */
.mh-about-page {
    padding-bottom: 56px;
}

.mh-about-hero {
    margin-bottom: 72px;
    padding-top: 8px;
}

.mh-about-image-wrap {
    position: relative;
    height: 100%;
    min-height: 420px;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
}

.mh-about-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
}

.mh-about-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mh-about-image-caption .mh-about-eyebrow {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.mh-about-image-sub {
    font-size: 22px;
    letter-spacing: 4px;
    color: #fff;
    font-weight: 600;
}

.mh-about-story {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mh-about-story-head {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.mh-about-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
}

.mh-about-title {
    font-family: var(--mh-font-display);
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 16px;
}

.mh-about-lead {
    font-size: 17px;
    line-height: 1.75;
    color: #333;
    margin: 0;
    max-width: 520px;
}

.mh-about-story-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.mh-about-block {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mh-about-block:hover {
    border-color: #d8d8d8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.mh-about-block--accent {
    background: #fafafa;
    border-color: #e0e0e0;
}

.mh-about-block-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #aaa;
    padding-top: 2px;
}

.mh-about-block-body p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 10px;
}

.mh-about-block-body p:last-child {
    margin-bottom: 0;
}

.mh-about-emphasis {
    font-weight: 600;
    color: #111 !important;
}

.mh-about-quote {
    position: relative;
    margin: 0 0 28px;
    padding: 24px 24px 24px 28px;
    background: #111;
    border-radius: 6px;
    border: none;
}

.mh-about-quote-mark {
    position: absolute;
    top: 8px;
    left: 14px;
    font-size: 48px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    font-family: Georgia, serif;
}

.mh-about-quote p {
    position: relative;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: #f5f5f5;
    letter-spacing: 0.3px;
}

.mh-about-story-foot {
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}

.mh-about-story-foot p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 10px;
}

.mh-about-tagline {
    display: inline-block;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding: 10px 16px;
    font-size: 12px !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #111;
    background: #f3f3f3;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.mh-about-faq {
    max-width: 860px;
    margin: 0 auto 48px;
    scroll-margin-top: 100px;
}

.mh-about-faq-head {
    text-align: center;
    margin-bottom: 32px;
}

.mh-about-faq-head h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

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

.mh-faq-item {
    border: 1px solid #e5e5e5;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.mh-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #111;
    transition: color 0.2s ease, background 0.2s ease;
}

.mh-faq-trigger:hover,
.mh-faq-item.is-open .mh-faq-trigger {
    background: #fafafa;
}

.mh-faq-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    position: relative;
}

.mh-faq-icon::before,
.mh-faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #111;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mh-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.mh-faq-item.is-open .mh-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
    opacity: 0;
}

.mh-faq-panel {
    overflow: hidden;
    height: 0;
    transition: height 0.35s ease;
}

.mh-faq-panel-inner {
    padding: 0 18px 18px;
}

.mh-faq-panel-inner p {
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 10px;
}

.mh-faq-panel-inner p:last-child {
    margin-bottom: 0;
}

.mh-faq-panel-inner ul {
    margin: 0 0 12px 18px;
    padding: 0;
}

.mh-faq-panel-inner li {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 4px;
}

@media (max-width: 991px) {
    .mh-about-hero {
        margin-bottom: 48px;
    }

    .mh-about-image-wrap,
    .mh-about-image {
        min-height: 320px;
    }

    .mh-about-image-wrap {
        margin-bottom: 8px;
    }

    .mh-about-title {
        font-size: 30px;
    }

    .mh-about-block {
        grid-template-columns: 36px 1fr;
        padding: 16px;
    }
}

/* Account — tracking & returns */
.mh-order-badge--shipping {
    background: #e8f4fd;
    color: #1565c0;
}

.mh-order-tracking {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--mh-border);
    border-radius: 10px;
    background: #fafcff;
}

.mh-order-tracking h4,
.mh-return-field h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-order-tracking-dl {
    display: grid;
    gap: 8px 16px;
    margin: 0;
}

.mh-order-tracking-dl > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 8px;
}

.mh-order-tracking-dl dt {
    margin: 0;
    color: var(--mh-gray);
    font-size: 13px;
}

.mh-order-tracking-dl dd {
    margin: 0;
    font-size: 14px;
}

.mh-order-tracking--pending p {
    margin: 0;
    color: var(--mh-gray);
    font-size: 14px;
}

.mh-order-progress {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    background: #fafcff;
}

.mh-order-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.mh-order-progress-head h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-order-progress-status {
    font-size: 12px;
    font-weight: 600;
    color: #1565c0;
    background: #e8f4fd;
    padding: 4px 10px;
    border-radius: 999px;
}

.mh-shipping-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}

.mh-shipping-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 4px 2px;
    text-align: center;
}

.mh-shipping-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 9px;
    left: calc(50% + 12px);
    width: calc(100% - 24px);
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.mh-shipping-step--done:not(:last-child)::after {
    background: #2e7d32;
}

.mh-shipping-step-dot {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    background: #fff;
    box-sizing: border-box;
}

.mh-shipping-step--done .mh-shipping-step-dot {
    border-color: #2e7d32;
    background: #2e7d32;
}

.mh-shipping-step--active .mh-shipping-step-dot {
    border-color: #1565c0;
    background: #1565c0;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.15);
}

.mh-shipping-step-label {
    font-size: 11px;
    line-height: 1.35;
    color: var(--mh-gray);
}

.mh-shipping-step--done .mh-shipping-step-label,
.mh-shipping-step--active .mh-shipping-step-label {
    color: #111;
    font-weight: 600;
}

@media (max-width: 640px) {
    .mh-shipping-step-label {
        font-size: 10px;
    }

    .mh-shipping-step-dot {
        width: 18px;
        height: 18px;
    }

    .mh-shipping-step:not(:last-child)::after {
        top: 8px;
        left: calc(50% + 11px);
        width: calc(100% - 22px);
    }
}

.mh-order-return-actions {
    margin-top: 14px;
}

.mh-return-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-return-card {
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    padding: 16px 18px;
    background: #fff;
}

.mh-return-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.mh-return-no {
    font-weight: 700;
    font-size: 14px;
}

.mh-return-meta,
.mh-return-reason {
    font-size: 13px;
    color: var(--mh-gray);
    margin: 0 0 8px;
}

.mh-return-items {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.mh-return-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mh-return-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s;
}

.mh-return-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    width: min(560px, calc(100vw - 32px));
    max-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    z-index: 10051;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.mh-return-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

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

.mh-return-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--mh-border);
    flex-shrink: 0;
}

.mh-return-modal-head h2 {
    margin: 0;
    font-size: 18px;
}

.mh-return-modal-close {
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.mh-return-modal-shell {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.mh-return-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 20px;
    overscroll-behavior: contain;
}

.mh-return-order-ref {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-return-field h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-return-field + .mh-return-field {
    margin-top: 18px;
}

.mh-return-item-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-return-item-card {
    display: grid;
    grid-template-columns: auto 72px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--mh-border);
    border-radius: 12px;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s;
}

.mh-return-item-card.is-selected {
    border-color: #111;
    background: #fff;
}

.mh-return-item-check {
    display: flex;
    align-items: flex-start;
    padding-top: 28px;
    cursor: pointer;
}

.mh-return-item-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mh-return-item-check-ui {
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    background: #fff;
}

.mh-return-item-check input:checked + .mh-return-item-check-ui {
    border-color: #111;
    background: #111;
}

.mh-return-item-check input:checked + .mh-return-item-check-ui::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mh-return-item-img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mh-border);
}

.mh-return-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-return-item-meta {
    min-width: 0;
}

.mh-return-item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.mh-return-item-variant {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-return-variant-size,
.mh-return-variant-color {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mh-return-variant-text {
    font-size: 12px;
}

.mh-return-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh-return-qty-label {
    font-size: 12px;
    color: var(--mh-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mh-return-qty .mh-cart-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.mh-return-empty {
    margin: 0;
    font-size: 14px;
    color: var(--mh-gray);
}

.mh-return-reason-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    cursor: pointer;
}

.mh-return-reason-option:last-child {
    border-bottom: 0;
}

.mh-return-type-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

.mh-return-type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.mh-return-upload-hint {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-return-photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mh-return-photo-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
}

.mh-return-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-order-delivered {
    margin-top: 12px;
}

.mh-order-delivered-badge,
.mh-return-delivered .mh-order-delivered-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 13px;
    font-weight: 600;
}

.mh-return-progress {
    margin-top: 12px;
}

.mh-return-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mh-btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.mh-return-bank-field {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.mh-return-bank-field span {
    display: block;
    margin-bottom: 4px;
    color: var(--mh-gray);
}

.mh-return-bank-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    box-sizing: border-box;
}

.mh-return-refund-done {
    color: #2e7d32;
    font-weight: 600;
}

.mh-return-other-wrap textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    box-sizing: border-box;
}

.mh-return-msg {
    margin-top: 12px;
    font-size: 13px;
}

.mh-return-msg.is-error {
    color: #c62828;
}

.mh-return-msg.is-success {
    color: #2e7d32;
}

.mh-return-modal-foot {
    display: flex;
    gap: 10px;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--mh-border);
    background: #fff;
    flex-shrink: 0;
}

.mh-return-modal-foot .mh-btn,
.mh-return-modal-foot .mh-btn-outline {
    flex: 1;
}

/* ===== Rewards / Redeem pages & voucher cards ===== */
.mh-reward-page {
    min-height: 60vh;
    padding: 48px 16px 80px;
    background: #f6f7f9;
}
.mh-reward-wrap {
    max-width: 560px;
    margin: 0 auto;
}
.mh-reward-wrap--list {
    max-width: 1120px;
}
.mh-reward-head {
    text-align: center;
    margin-bottom: 28px;
}
.mh-reward-head h1 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
}
.mh-reward-head p {
    color: #6b7280;
    margin: 0;
}
.mh-reward-card-box {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.mh-reward-section {
    margin-bottom: 36px;
}
.mh-reward-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-left: 10px;
    border-left: 4px solid #111;
}
.mh-reward-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}
.mh-reward-grid-item {
    min-width: 0;
    width: 100%;
}
@media (max-width: 1024px) {
    .mh-reward-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}
@media (max-width: 767px) {
    .mh-reward-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        max-width: 400px;
        margin: 0 auto;
    }
}
.mh-reward-voucher {
    display: flex;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.mh-reward-voucher.is-used {
    opacity: .55;
    filter: grayscale(.4);
}
.mh-reward-voucher-left {
    flex: 0 0 44%;
    background: linear-gradient(160deg, #111 0%, #1f2937 100%);
    color: #fff;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mh-reward-voucher--shipping .mh-reward-voucher-left {
    background: linear-gradient(160deg, #0f5132 0%, #198754 100%);
}
.mh-reward-voucher-brand {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: .85;
}
.mh-reward-voucher-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    margin: 6px 0 2px;
    color: var(--mh-silver);
}
.mh-reward-voucher--shipping .mh-reward-voucher-value {
    color: #fff;
}
.mh-reward-voucher-label {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: .8;
}
.mh-reward-voucher-right {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-left: 2px dashed #d1d5db;
}
.mh-reward-voucher-code {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}
.mh-reward-voucher-meta {
    font-size: 12px;
    color: #6b7280;
}
.mh-reward-voucher-status {
    margin-top: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e7f6ec;
    color: #198754;
}
.mh-reward-voucher-status.is-used {
    background: #f1f1f1;
    color: #777;
}
.mh-reward-action {
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.mh-reward-btn {
    min-width: 200px;
    padding: 12px 24px;
    font-weight: 700;
}
.mh-reward-btn--ghost {
    background: transparent;
    color: #111;
    border: 1px solid #d1d5db;
}
.mh-reward-msg {
    font-size: 14px;
    margin: 0;
}
.mh-reward-msg.is-error {
    color: #dc3545;
}
.mh-reward-msg.is-success {
    color: #198754;
}
.mh-reward-state {
    text-align: center;
    padding: 24px 8px;
}
.mh-reward-state i {
    font-size: 44px;
    color: #dc3545;
    margin-bottom: 12px;
}
.mh-reward-state h1 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
}
.mh-reward-state p {
    color: #6b7280;
    margin: 0 0 18px;
}
.mh-reward-empty {
    text-align: center;
    padding: 36px 16px;
    color: #9ca3af;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 14px;
}
.mh-reward-empty i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}
.mh-reward-empty p {
    margin: 0;
    font-size: 14px;
}

/* ===== Membership join popup (checkout) ===== */
.mh-member-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mh-member-popup.is-open {
    display: flex;
}
.mh-member-popup-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .5);
}
.mh-member-popup-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 18px;
    padding: 32px 26px 26px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.mh-member-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
}
.mh-member-popup-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: var(--mh-silver);
    font-size: 26px;
}
.mh-member-popup-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
}
.mh-member-popup-card p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 20px;
}
.mh-member-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mh-member-popup-join {
    padding: 12px 24px;
    font-weight: 700;
}
.mh-member-popup-login {
    display: block;
    padding: 11px 24px;
    border: 1px solid var(--mh-black);
    border-radius: var(--mh-radius-md);
    background: #fff;
    color: var(--mh-black);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.mh-member-popup-login:hover {
    background: var(--mh-black);
    color: #fff;
}
.mh-member-popup-skip {
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.mh-member-popup-remind {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}
.mh-member-popup-remind input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ===== Login / register success popup (checkout) ===== */
.mh-welcome-popup {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mh-welcome-popup.is-open {
    display: flex;
}
.mh-welcome-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.mh-welcome-popup-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px 28px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
    overflow: hidden;
    animation: mhWelcomeIn .45s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes mhWelcomeIn {
    0% { transform: scale(.8); opacity: 0; }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); opacity: 1; }
}
.mh-welcome-popup-burst {
    position: absolute;
    left: 50%;
    top: 64px;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(198, 162, 75, .35), rgba(198, 162, 75, 0) 65%);
    pointer-events: none;
}
.mh-welcome-popup-check {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 34px;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .4);
    animation: mhWelcomeCheck .5s .15s ease-out both;
}
@keyframes mhWelcomeCheck {
    0% { transform: scale(0); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
.mh-welcome-popup-card h2 {
    position: relative;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}
.mh-welcome-popup-card p {
    position: relative;
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 22px;
}
.mh-welcome-popup-ok {
    position: relative;
    padding: 12px 24px;
    font-weight: 700;
}

/* Mobile fixed header + compact search bar */
@media (max-width: 991px) {
    .mh-header {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 999;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-header,
    .mh-header-top,
    .mh-header-searchbar,
    .mh-mobile-searchbar,
    .mh-mobile-bottom-nav,
    body.mh-pdp-page .mh-pdp-bottombar,
    .mh-shop-filter {
        transition: none !important;
    }
}

/* Auth pages — fill leftover viewport below header (no page scroll) */
body.merlheart.mh-auth-page .mh-auth-wrap {
    min-height: 0;
    max-height: none;
}

/* Cart page */
body.merlheart.mh-cart-page {
    overscroll-behavior-y: none;
}

.mh-cart-page-main {
    padding: 24px 0 32px;
}

.mh-cart-page-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.mh-cart-page-head h1 {
    margin: 0;
    font-family: var(--mh-font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mh-cart-page-meta {
    margin: 0;
    font-size: 13px;
    color: var(--mh-gray);
}

.mh-cart-page-body {
    background: var(--mh-white);
    border: 1px solid var(--mh-border);
    border-radius: 16px;
    overflow: visible;
}

.mh-cart-page-list .mh-cart-drawer-item {
    padding: 16px 18px 16px 14px;
    border-bottom: 1px solid var(--mh-border);
    box-sizing: border-box;
}

.mh-cart-page-list .mh-cart-drawer-item:last-child {
    border-bottom: none;
}

.mh-cart-page .mh-cart-item-top {
    gap: 10px;
}

.mh-cart-page .mh-cart-item-price {
    padding-right: 4px;
}

.mh-cart-page .mh-cart-item-actions {
    padding-right: 4px;
}

.mh-cart-page .mh-cart-remove-btn {
    margin-left: auto;
}

.mh-cart-variant-edit {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 4px 8px 4px 4px;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    text-align: left;
    max-width: 100%;
    width: fit-content;
    transition: border-color 0.2s, background 0.2s;
}

.mh-cart-variant-edit:hover {
    border-color: #bbb;
    background: #f3f3f3;
}

.mh-cart-variant-edit-hint {
    font-size: 11px;
    color: var(--mh-gray);
    white-space: nowrap;
}

.mh-cart-variant-edit-hint::after {
    content: ' ›';
}

/* Cart variation drawer (bottom sheet) */
body.mh-cart-var-open {
    overflow: hidden;
}

.mh-cart-var-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mh-cart-var-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-cart-var-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1201;
    max-height: min(85dvh, 640px);
    background: var(--mh-white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
}

.mh-cart-var-drawer.is-open {
    transform: translateY(0);
}

.mh-cart-var-drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--mh-border);
    flex-shrink: 0;
}

.mh-cart-var-drawer-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--mh-black);
    padding: 4px;
    flex-shrink: 0;
}

.mh-cart-var-drawer-head h3 {
    margin: 0;
    flex: 1;
    font-family: var(--mh-font-display);
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    text-align: center;
}

.mh-cart-var-drawer-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px 20px;
}

.mh-cart-var-product {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mh-border);
}

.mh-cart-var-product-img {
    width: 96px;
    height: 114px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--mh-border);
    flex-shrink: 0;
    background: var(--mh-light);
    cursor: zoom-in;
    position: relative;
    padding: 0;
    display: block;
}

.mh-cart-var-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.mh-cart-var-product-img::after {
    content: "\f00e";
    font-family: FontAwesome;
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.mh-cart-var-colors .mh-color-swatch--img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
}

.mh-cart-var-colors .mh-color-swatch--img img {
    border-radius: 10px;
    object-fit: cover;
}

.mh-cart-var-colors .mh-color-swatch.is-active {
    box-shadow: 0 0 0 2px var(--mh-white), 0 0 0 3px var(--mh-black);
}

/* Drawer color preview lightbox */
.mh-drawer-img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mh-drawer-img-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.mh-drawer-img-lightbox img {
    max-width: min(94vw, 560px);
    max-height: min(86vh, 760px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mh-drawer-img-lightbox-close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mh-cart-var-product-meta h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.mh-cart-var-stock {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #888;
    font-weight: 500;
}

.mh-cart-var-stock.is-out {
    color: #c0392b;
}

.mh-cart-var-stock.is-pick {
    color: #888;
    font-weight: 400;
}

.mh-outfit-drawer-item-meta .mh-cart-var-stock {
    margin-top: 2px;
}

.mh-cart-var-product-meta .mh-cart-var-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.mh-cart-var-product-meta .mh-cart-var-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--mh-black, #111);
}

.mh-cart-var-product-meta .mh-cart-var-price-was {
    font-size: 12px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.mh-cart-var-product-meta .mh-cart-var-prices.is-sale .mh-cart-var-price {
    color: #d32f2f;
}

.mh-cart-var-option {
    margin-bottom: 18px;
}

.mh-cart-var-option-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--mh-gray);
}

.mh-cart-var-colors,
.mh-cart-var-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mh-cart-var-drawer-foot {
    flex-shrink: 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--mh-border);
    background: #fafafa;
}

.mh-cart-var-drawer-foot .mh-btn {
    width: 100%;
    text-align: center;
    text-transform: none;
}

.mh-cart-var-drawer-head h3 {
    text-transform: none;
}

.mh-cart-var-drawer-foot .mh-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.mh-cart-var-loading,
.mh-cart-var-error {
    font-size: 13px;
    color: var(--mh-gray);
    text-align: center;
    padding: 24px 12px;
}

.mh-cart-var-error {
    color: #c0392b;
}

.mh-cart-variant-edit-placeholder {
    font-size: 12px;
    color: var(--mh-gray);
}

.mh-cart-page-list {
    margin: 0;
    padding: 0;
}

.mh-cart-page-body .mh-cart-drawer-empty {
    padding: 56px 20px;
}

.mh-cart-page-shop-btn {
    margin-top: 16px;
    display: inline-flex;
}

.mh-cart-page-foot {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid var(--mh-border);
    border-radius: 16px;
    background: #fafafa;
}

.mh-cart-totals {
    border-top: 0;
    padding-top: 0;
}

.mh-cart-totals .mh-totals-row {
    font-size: 14px;
}

.mh-cart-page-foot .mh-cart-checkout-btn {
    width: 100%;
    margin-top: 14px;
    text-align: center;
}

.mh-cart-page .mh-cart-select-bar {
    padding: 14px 20px;
    border-bottom: 1px solid var(--mh-border);
    background: #fafafa;
}

/* ========== HERO BANNER (single media) ========== */
body.merlheart.mh-home-page .hero-slider-one {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
}

body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--media-only,
body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--video {
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    align-items: stretch;
    background: transparent;
    line-height: 0;
}

body.merlheart.mh-home-page .hero-slider-one .mh-hero-img,
body.merlheart.mh-home-page .hero-slider-one .mh-hero-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    object-position: center top;
    margin: 0 auto;
    background: transparent;
}

body.merlheart.mh-home-page .hero-slider-one .slick-list,
body.merlheart.mh-home-page .hero-slider-one .slick-track,
body.merlheart.mh-home-page .hero-slider-one .slick-slide {
    background: transparent;
    height: auto !important;
}

body.merlheart.mh-home-page .hero-slider-one.slick-initialized .slick-list {
    min-height: 0 !important;
}

@media (min-width: 768px) {
    body.merlheart.mh-home-page .hero-slider-one .slick-list,
    body.merlheart.mh-home-page .hero-slider-one .slick-track,
    body.merlheart.mh-home-page .hero-slider-one .slick-slide {
        width: 100% !important;
    }

    body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--media-only,
    body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--video {
        width: 100%;
        height: 400px !important;
        overflow: hidden;
    }

    body.merlheart.mh-home-page .hero-slider-one .mh-hero-img,
    body.merlheart.mh-home-page .hero-slider-one .mh-hero-video {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center center;
    }
}

@media (min-width: 1200px) {
    body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--media-only,
    body.merlheart.mh-home-page .hero-slider-one .single-slide.mh-hero-slide--video {
        height: 500px !important;
    }
}

@media (max-width: 767px) {
    body.merlheart.mh-home-page {
        padding-top: calc(var(--mh-header-h) + var(--mh-safe-top));
    }
}

/* ========== NEW ARRIVAL MONTH CARDS (horizontal banner) ========== */
body.merlheart .mh-launch-month-carousel:not(.slick-initialized) > .mh-launch-month-card:not(:first-child) {
    display: none;
}

.mh-launch-month-carousel {
    margin: 0;
    position: relative;
    overflow: visible;
}

body.merlheart .mh-new-arrival-launch {
    padding-bottom: 8px;
}

.mh-launch-month-carousel .slick-slide {
    padding: 0;
}

.mh-launch-month-carousel .slick-list {
    overflow: hidden;
    border-radius: 16px;
}

body.merlheart .mh-launch-month-carousel.slick-initialized .slick-slide {
    height: auto;
}

body.merlheart .mh-launch-month-carousel .slick-dots {
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    z-index: auto;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

body.merlheart .mh-launch-month-carousel .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

body.merlheart .mh-launch-month-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d0d0d0;
    font-size: 0;
    line-height: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

body.merlheart .mh-launch-month-carousel .slick-dots li button:before {
    content: '' !important;
    display: none;
}

body.merlheart .mh-launch-month-carousel .slick-dots li.slick-active button {
    width: 22px;
    background: #111;
}

.mh-launch-month-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mh-launch-month-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    backdrop-filter: blur(6px);
}

.mh-launch-month-card.is-upcoming .mh-launch-month-card__tag {
    background: rgba(176, 141, 87, 0.92);
    color: #111;
}

.mh-launch-month-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f3f3;
    line-height: 0;
}

.mh-launch-month-card__media img,
.mh-launch-month-card__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mh-launch-month-card__countdown {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    gap: 5px;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

.mh-launch-month-card__countdown .cdown {
    min-width: 36px;
    padding: 2px 4px;
    border-radius: 8px;
    background: transparent;
    text-align: center;
    box-shadow: none;
}

.mh-launch-month-card__countdown .time-count {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.mh-launch-month-card__countdown p {
    margin: 2px 0 0;
    font-size: 8px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (min-width: 768px) {
    .mh-new-arrival-launch .mh-launch-month-carousel {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .mh-launch-month-carousel .slick-prev,
    .mh-launch-month-carousel .slick-next {
        display: none !important;
    }

    .mh-launch-month-card__media {
        aspect-ratio: auto;
        height: 360px;
    }
}

@media (min-width: 992px) {
    .mh-launch-month-card__media {
        height: 390px;
    }
}

@media (min-width: 1200px) {
    .mh-launch-month-card__media {
        height: 440px;
    }
}

@media (max-width: 767px) {
    .mh-new-arrival-launch .section-title {
        padding-bottom: 16px;
        margin-bottom: 0;
        background: none;
    }

    .mh-launch-month-card__tag {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 4px 10px;
    }

    .mh-launch-month-card__countdown {
        right: 8px;
        bottom: 8px;
        gap: 3px;
        padding: 5px 6px;
        border-radius: 10px;
    }

    .mh-launch-month-card__countdown .cdown {
        min-width: 30px;
    }

    .mh-launch-month-card__countdown .time-count {
        font-size: 12px;
    }
}

/* ========== HOMEPAGE PRODUCT CARDS (v3 grid carousel) ========== */
.mh-home-product-carousel {
    margin: 0;
    padding-bottom: 8px;
}

.mh-home-product-carousel .slick-dots {
    position: static;
    margin: 14px 0 0;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.mh-home-product-carousel .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.mh-home-product-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0;
    line-height: 0;
}

.mh-home-product-carousel .slick-dots li.slick-active button {
    width: 22px;
    background: var(--mh-black, #111);
}

.mh-home-product-carousel .slick-slide {
    height: auto;
}

.mh-home-product-carousel .slick-track {
    display: flex !important;
    align-items: stretch;
}

.mh-home-product-carousel .slick-slide > div {
    height: 100%;
}

.mh-home-product-page {
    height: 100%;
}

.mh-home-product-slide {
    height: auto;
}

@media (max-width: 767px) {
    .mh-home-product-carousel.is-mobile-peek .mh-home-product-slide {
        padding-right: 10px;
        box-sizing: border-box;
    }
}

.mh-home-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .mh-home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .mh-home-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

/* Homepage category cards — compact image, card grows with content */
.mh-home-category-section,
.mh-search-panel .mh-search-rec-grid,
.mh-shop-page .mh-shop-product-grid,
body.mh-pdp-page .mh-pdp-related {
    --mh-home-card-img-max-h: 120px;
}

@media (max-width: 767px) {
    .mh-shop-page .mh-shop-product-grid,
    .mh-search-panel .mh-search-rec-grid,
    body.mh-pdp-page .mh-pdp-related {
        --mh-home-card-img-max-h: 110px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-title-row,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-title-row,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-title-row {
        gap: 2px;
        margin-top: 4px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-footer,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-footer,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-footer {
        padding-bottom: 10px;
    }

    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-footer {
        padding-bottom: 8px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-actions,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-actions,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-actions {
        gap: 8px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-buy-now,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-buy-now,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-buy-now {
        min-height: 28px;
        padding: 0 10px;
    }
}

@media (min-width: 768px) {
    .mh-home-category-section,
    .mh-search-panel .mh-search-rec-grid,
    .mh-shop-page .mh-shop-product-grid,
    body.mh-pdp-page .mh-pdp-related {
        --mh-home-card-img-max-h: 145px;
    }
}

.mh-home-category-section .mh-product-card-home .mh-pch-media,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-media,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-media,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-media {
    aspect-ratio: unset;
    height: var(--mh-home-card-img-max-h);
    max-height: var(--mh-home-card-img-max-h);
}

.mh-home-category-section .mh-product-card-home .mh-pch-main,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-main,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-main,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-main,
.mh-home-category-section .mh-product-card-home .mh-pch-highlight-pane,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-highlight-pane,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-highlight-pane,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-highlight-pane {
    position: absolute;
    inset: 0;
    aspect-ratio: unset;
    height: 100% !important;
    max-height: none;
    display: block;
    overflow: hidden;
}

.mh-home-category-section .mh-product-card-home .mh-pch-main img,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-main img,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-main img,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-main img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center center;
}

.mh-home-category-section .mh-product-card-home .mh-pch-highlight-bg,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-highlight-bg,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-highlight-bg,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-highlight-bg {
    display: none !important;
}

.mh-home-category-section .mh-product-card-home .mh-pch-highlight-img,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-highlight-img,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-highlight-img,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-highlight-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center center;
}

.mh-home-category-section .mh-product-card-home .mh-pch-highlights,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-highlights,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-highlights,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-highlights {
    padding: 6px 8px 0;
    min-height: 34px;
}

.mh-home-category-section .mh-product-card-home .mh-pch-highlight-btn,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-highlight-btn,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-highlight-btn,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-highlight-btn {
    width: 28px;
    height: 28px;
}

.mh-home-category-section .mh-product-card-home {
    min-height: 0;
}

.mh-home-category-section .mh-product-card-home .mh-pch-media {
    flex-shrink: 0;
}

.mh-home-category-section .mh-product-card-home .mh-pch-title,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-title,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-title,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-title {
    margin: 0;
    font-size: 12px;
    min-height: 0;
    flex-shrink: 0;
}

.mh-home-category-section .mh-product-card-home .mh-pch-title-row,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-title-row,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-title-row,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-title-row {
    margin: 4px 8px 0;
    gap: 2px;
}

.mh-home-category-section .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
.mh-shop-page .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
body.mh-pdp-page .mh-pdp-related .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
    margin-top: auto;
    padding: 0 8px 8px;
    gap: 2px;
}

.mh-home-category-section .mh-product-card-home .mh-pch-footer,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-footer,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-footer,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-footer {
    padding: 4px 8px 10px;
    margin-top: auto;
    flex-shrink: 0;
    gap: 2px;
}

.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-footer {
    margin-top: 0;
    padding: 2px 8px 8px;
    gap: 2px;
}

.mh-home-category-section .mh-product-card-home .mh-pch-price-current,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-price-current,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-price-current,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-price-current {
    font-size: 14px;
}

.mh-home-category-section .mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current {
    font-size: 14px;
    color: #d32f2f;
}

.mh-home-category-section .mh-product-card-home .mh-pch-btn .fa,
.mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-btn .fa,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-btn .fa,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-btn .fa {
    font-size: 22px;
    line-height: 1;
}

.mh-product-card-home {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.mh-product-card-home .mh-pch-media {
    position: relative;
    background: #f3f3f3;
    line-height: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.mh-product-card-home .mh-pch-main,
.mh-product-card-home .mh-pch-highlight-pane {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mh-product-card-home .mh-pch-highlight-pane {
    background: #f3f3f3;
    z-index: 2;
}

.mh-product-card-home .mh-pch-main {
    z-index: 1;
}

.mh-product-card-home .mh-pch-media.is-highlight-mode .mh-pch-main {
    visibility: hidden;
    pointer-events: none;
}

.mh-product-card-home .mh-pch-highlight-img {
    position: absolute !important;
    inset: 0;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    display: block !important;
    background: transparent;
}

.mh-product-card-home .mh-pch-highlight-bg {
    display: none !important;
}

.mh-product-card-home .mh-pch-main[hidden],
.mh-product-card-home .mh-pch-highlight-pane[hidden],
.mh-product-card-home .mh-pch-design-side[hidden] {
    display: none !important;
}

.mh-product-card-home .mh-pch-media.is-color-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mh-product-card-home .mh-pch-media.is-color-split .mh-pch-main,
.mh-product-card-home .mh-pch-media.is-color-split .mh-pch-design-side {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.mh-product-card-home .mh-pch-design-side {
    display: flex;
    flex-direction: column;
    background: #ececec;
    z-index: 2;
}

.mh-product-card-home .mh-pch-design-side img {
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.mh-product-card-home .mh-pch-design-side img + img {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mh-product-card-home .mh-pch-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.mh-product-card-home .mh-pch-highlight-pane .mh-pch-highlight-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    display: block !important;
}

.mh-product-card-home .mh-pch-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}

.mh-product-card-home .mh-pch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.mh-product-card-home .mh-pch-badge--hot {
    background: linear-gradient(135deg, #ff7043, #e53935);
    margin-right: auto;
}

.mh-product-card-home .mh-pch-badge--hot .fa {
    font-size: 11px;
}

.mh-product-card-home .mh-pch-badge--sale {
    background: #d32f2f;
    margin-left: auto;
}

.mh-home-category-section .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
.mh-shop-page .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
body.mh-pdp-page .mh-pdp-related .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
    margin-top: auto;
    padding: 0 8px 8px;
    gap: 2px;
}

.mh-home-category-section .mh-product-card-home .mh-pch-footer,
.mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-footer,
body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-footer {
    padding: 6px 8px 14px;
}

.mh-product-card-home .mh-pch-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
    margin-top: 2px;
}

.mh-product-card-home .mh-pch-highlights {
    display: flex;
    align-items: center;
    padding: 8px 10px 0;
    min-height: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
}

.mh-product-card-home .mh-pch-highlights.is-scrollable,
.mh-product-card-home .mh-pch-highlights.is-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    width: auto;
    max-width: 100%;
}

.mh-product-card-home .mh-pch-highlights-track {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
    scrollbar-width: none;
    min-width: 0;
    flex: 0 0 auto;
    width: max-content;
    transform: none !important;
    transition: none;
    will-change: auto;
}

.mh-product-card-home .mh-pch-highlights.is-scrollable .mh-pch-highlights-track,
.mh-product-card-home .mh-pch-highlights.is-carousel .mh-pch-highlights-track {
    overflow: visible;
    flex-wrap: nowrap;
    width: max-content;
    flex: 0 0 auto;
    transform: none !important;
}

.mh-product-card-home .mh-pch-highlights-track::-webkit-scrollbar {
    display: none;
}

.mh-product-card-home .mh-pch-highlight-btn {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
}

.mh-product-card-home .mh-pch-main-thumb {
    border-color: rgba(0, 0, 0, 0.08);
}

.mh-product-card-home .mh-pch-highlight-btn.is-active {
    border-color: var(--mh-black, #111);
}

.mh-product-card-home .mh-pch-highlight-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-product-card-home .mh-pch-title {
    margin: 8px 10px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 0;
}

.mh-product-card-home .mh-pch-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mh-product-card-home .mh-pch-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.mh-product-card-home .mh-pch-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 10px 14px;
    margin-top: auto;
}

.mh-product-card-home .mh-pch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 36px;
    min-height: 36px;
    height: auto;
    padding: 4px;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--mh-black, #111);
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.mh-product-card-home .mh-pch-btn .fa {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

.mh-product-card-home .mh-pch-btn--cart,
.mh-product-card-home .mh-pch-btn--buy {
    color: var(--mh-black, #111);
}

.mh-product-card-home .mh-pch-btn:hover {
    opacity: 1;
    transform: none;
}

.mh-product-card-home .mh-pch-btn--cart:hover,
.mh-product-card-home .mh-pch-btn--buy:hover {
    color: var(--mh-black, #111);
}

.mh-product-card-home .mh-pch-btn--buy {
    display: none;
}

/* Pill Buy Now — icon left of label (no circle) */
.mh-pch-buy-now,
body.merlheart .mh-outfit-buy-now.mh-pch-buy-now {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: var(--mh-black, #0a0a0a);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    opacity: 1;
    flex-shrink: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mh-pch-buy-now:hover,
body.merlheart .mh-outfit-buy-now.mh-pch-buy-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    opacity: 1;
}

.mh-pch-buy-now-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
    color: #fff;
}

.mh-pch-buy-now-icon {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mh-pch-buy-now-icon .fa {
    font-size: 13px;
    font-weight: 700;
    color: inherit;
    line-height: 1;
}

.mh-pch-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin: 8px 10px 0;
    min-width: 0;
}

.mh-product-card-home .mh-pch-title-row .mh-pch-title {
    margin: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
}

.mh-series-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--mh-black, #0a0a0a);
    color: var(--mh-silver, #e2e8ee);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 0 auto;
}

a.mh-series-chip:hover {
    color: #fff;
    background: #1a1a1a;
}

.mh-series-chip--pdp {
    margin: 0 0 10px;
    font-size: 12px;
    padding: 5px 12px;
}

body.merlheart .mh-outfit-card-actions {
    gap: 8px;
}

body.merlheart .mh-outfit-buy-now.mh-pch-buy-now {
    padding: 0 12px;
    min-height: 30px;
}

body.merlheart .mh-outfit-piece-img {
    display: block;
    cursor: default;
}

.mh-product-card-home .mh-pch-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--mh-black, #111);
    letter-spacing: 0.02em;
}

.mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current {
    color: #d32f2f;
    font-size: 16px;
}

.mh-product-card-home .mh-pch-price-was {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.mh-add-cart-drawer-head .mh-add-cart-drawer-spacer {
    width: 26px;
    flex-shrink: 0;
}

#mhAddCartDrawer .mh-cart-var-option--qty .mh-qty {
    max-width: 140px;
}

@media (min-width: 768px) {
    .mh-product-card-home .mh-pch-title {
        font-size: 14px;
    }

    .mh-product-card-home .mh-pch-price-current {
        font-size: 17px;
    }

    .mh-product-card-home .mh-pch-price.is-sale .mh-pch-price-current {
        font-size: 17px;
    }
}

/* ========== SHOP PAGE (v2 grid + dropdown filters) ========== */
body.merlheart.mh-shop-page .mh-shop-content {
    padding-bottom: 48px;
}

@media (max-width: 767px) {
    body.merlheart.mh-shop-page .mh-shop-content {
        padding-top: 14px;
    }
}

@media (min-width: 768px) {
    body.merlheart.mh-shop-page .mh-shop-content {
        padding-top: 24px;
    }
}

.mh-shop-toolbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .mh-shop-toolbar {
        gap: 14px;
        margin-bottom: 16px;
        padding: 16px 18px;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    }
}

.mh-shop-select {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

@media (min-width: 768px) {
    .mh-shop-select {
        gap: 6px;
    }
}

.mh-shop-select-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .mh-shop-select-label {
        font-size: 11px;
        letter-spacing: 0.08em;
        color: rgba(0, 0, 0, 0.55);
    }
}

.mh-shop-select-wrap {
    position: relative;
}

.mh-shop-select-input {
    width: 100%;
    height: 34px;
    padding: 0 26px 0 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 500;
    color: var(--mh-black, #111);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
    .mh-shop-select-input {
        height: 44px;
        padding: 0 38px 0 14px;
        border-radius: 12px;
        font-size: 14px;
    }
}

.mh-shop-select-input:hover {
    border-color: rgba(0, 0, 0, 0.28);
}

.mh-shop-select-input:focus {
    outline: none;
    border-color: var(--mh-black, #111);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.mh-shop-select-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

@media (min-width: 768px) {
    .mh-shop-select-icon {
        right: 14px;
        font-size: 12px;
    }
}

.mh-shop-count {
    margin: 0 0 10px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
    .mh-shop-count {
        margin: 0 0 14px;
        font-size: 13px;
    }
}

.mh-shop-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

@media (min-width: 768px) {
    .mh-shop-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .mh-shop-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mh-shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: rgba(0, 0, 0, 0.55);
}

body.merlheart .mh-home-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.merlheart .mh-home-cat-head .mh-home-cat-title {
    margin: 0;
}

body.merlheart .mh-home-cat-more {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--mh-black, #111);
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

body.merlheart .mh-home-cat-more:hover {
    text-decoration: underline;
}

/* Homepage activity carousel (lucky draw + flash sale) */
body.merlheart .mh-home-activity-section .section-title {
    background: none !important;
    padding-bottom: 0;
    margin-bottom: 18px;
    border: 0;
}

body.merlheart .mh-home-activity-section {
    border: 0;
    box-shadow: none;
}

body.merlheart .mh-home-activity-carousel {
    position: relative;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.merlheart .mh-home-activity-carousel .slick-list {
    border-radius: 12px;
    overflow: hidden;
    background: #f3f3f3;
}

body.merlheart .mh-home-activity-carousel:not(.slick-initialized) > .mh-home-activity-slide:not(:first-child) {
    display: none;
}

body.merlheart .mh-home-activity-carousel.slick-initialized .slick-list,
body.merlheart .mh-home-activity-carousel.slick-initialized .slick-track {
    min-height: 0;
}

body.merlheart .mh-home-activity-carousel.slick-initialized .slick-slide {
    height: auto !important;
}

body.merlheart .mh-home-activity-carousel.slick-initialized .slick-slide > div {
    height: auto;
    line-height: 0;
}

/* Slick fade/loading can hide imgs — always show activity banners. */
body.merlheart .mh-home-activity-carousel .slick-slide img,
body.merlheart .mh-home-activity-carousel .slick-slide.slick-loading img,
body.merlheart .mh-home-activity-carousel.slick-loading .slick-track {
    display: block !important;
    visibility: visible !important;
    opacity: 1;
}

body.merlheart .mh-home-activity-slide {
    position: relative;
    cursor: pointer;
    outline: none;
    background: transparent;
    border: 0;
    line-height: 0;
}

body.merlheart .mh-home-activity-slide:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.85);
}

body.merlheart .mh-home-activity-img {
    display: block !important;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    vertical-align: top;
    background: transparent;
    border: 0;
}

body.merlheart .mh-home-activity-img.is-fallback {
    object-fit: contain;
    padding: 24px;
    background: #f3f3f3;
}

body.merlheart .mh-home-activity-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px 28px;
    background: none;
    pointer-events: none;
    z-index: 2;
    line-height: normal;
}

body.merlheart .mh-home-activity-type {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: #c9a962;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    line-height: 1.2;
}

body.merlheart .mh-home-activity-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 92%;
}

body.merlheart .mh-home-activity-title {
    display: block;
    max-width: 90%;
    margin: 0;
    color: #fff;
    font-size: clamp(16px, 2.4vw, 22px);
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

body.merlheart .mh-home-activity-countdown-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    color: #fff;
}

body.merlheart .mh-home-activity-countdown-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

body.merlheart .mh-countdown--activity,
body.merlheart .mh-countdown--activity-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.merlheart .mh-countdown--activity .cdown,
body.merlheart .mh-countdown--activity-modal .cdown {
    min-width: 52px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.65);
    text-align: center;
}

body.merlheart .mh-countdown--activity .time-count,
body.merlheart .mh-countdown--activity-modal .time-count {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

body.merlheart .mh-countdown--activity .cdown p,
body.merlheart .mh-countdown--activity-modal .cdown p {
    margin: 2px 0 0;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

body.merlheart .mh-home-activity-carousel .slick-dots {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

body.merlheart .mh-home-activity-carousel .slick-dots li {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

body.merlheart .mh-home-activity-carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #d0d0d0;
    font-size: 0;
    line-height: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

body.merlheart .mh-home-activity-carousel .slick-dots li button:before {
    content: '' !important;
    display: none;
}

body.merlheart .mh-home-activity-carousel .slick-dots li.slick-active button {
    width: 22px;
    background: #111;
}

body.merlheart .mh-home-activity-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.22s ease;
}

body.merlheart .mh-home-activity-modal-overlay.is-open {
    opacity: 1;
}

body.merlheart .mh-home-activity-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 12001;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    transform: translate(-50%, -48%) scale(0.98);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

body.merlheart .mh-home-activity-modal.is-open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

body.merlheart .mh-home-activity-modal-head {
    position: relative;
    padding: 22px 52px 8px 22px;
}

body.merlheart .mh-home-activity-modal-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.merlheart .mh-home-activity-modal-head h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

body.merlheart .mh-home-activity-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #111;
    cursor: pointer;
}

body.merlheart .mh-home-activity-modal-body {
    padding: 0 0 8px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
}

body.merlheart .mh-home-activity-modal-meta {
    margin: 0;
    padding: 16px 22px 0;
}

body.merlheart .mh-home-activity-modal-meta-row {
    margin-bottom: 12px;
}

body.merlheart .mh-home-activity-modal-meta dt {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

body.merlheart .mh-home-activity-modal-meta dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.82);
    white-space: pre-wrap;
}

body.merlheart .mh-home-activity-modal-entry {
    margin: 0;
    padding: 0 22px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

body.merlheart .mh-home-activity-modal-section {
    padding: 0 22px 14px;
}

body.merlheart .mh-home-activity-modal-section-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.72);
}

body.merlheart .mh-home-activity-modal-prize-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body.merlheart .mh-home-activity-prize-tier-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.merlheart .mh-home-activity-prize-tier-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #111;
}

body.merlheart .mh-home-activity-prize-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.03);
}

body.merlheart .mh-home-activity-prize-visual {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

body.merlheart .mh-home-activity-prize-visual .mh-draw-voucher-designed {
    width: 72px;
    max-width: 72px;
    max-height: 72px;
}

/* Designed voucher card — global base styles (previously only on reward pages,
   which made the raw template image render full-size in the homepage draw modal) */
.mh-draw-voucher-designed {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.mh-voucher-designed-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.mh-voucher-designed-layer {
    position: absolute;
    overflow: hidden;
    line-height: 1.2;
    word-break: normal;
    box-sizing: border-box;
    padding: 0;
}

.mh-voucher-designed-layer img {
    width: 100%;
    height: 100%;
    display: block;
}

body.merlheart .mh-home-activity-prize-visual .mh-draw-row-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

body.merlheart .mh-home-activity-modal-foot .mh-btn-block {
    width: 100%;
    max-width: 320px;
}

body.merlheart .mh-home-activity-prize-img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

body.merlheart .mh-home-activity-prize-placeholder {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eee;
    color: rgba(0, 0, 0, 0.35);
    font-size: 16px;
    font-weight: 700;
}

body.merlheart .mh-home-activity-prize-name {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
}

body.merlheart .mh-home-activity-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

body.merlheart .mh-home-activity-modal-tab {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
}

body.merlheart .mh-home-activity-modal-tab.is-active {
    background: #111;
    border-color: #111;
    color: #fff;
}

body.merlheart .mh-home-activity-modal-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 10px;
}

body.merlheart .mh-home-activity-product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

body.merlheart .mh-home-activity-product-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f3f3f3;
}

body.merlheart .mh-home-activity-product-info {
    padding: 8px;
}

body.merlheart .mh-home-activity-product-name {
    font-size: 12px;
    line-height: 1.35;
    color: #111;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.merlheart .mh-home-activity-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

body.merlheart .mh-home-activity-product-old {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: line-through;
}

body.merlheart .mh-home-activity-product-new {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

body.merlheart .mh-home-activity-product-prices.is-sale .mh-home-activity-product-new {
    color: #d32f2f;
}

body.merlheart .product-layout-list .price-box.is-sale .new-price {
    color: #d32f2f;
    font-weight: 700;
}

body.merlheart .mh-home-activity-modal-empty {
    margin: 0;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.55);
}

body.merlheart .mh-home-activity-modal-countdown {
    margin-top: 8px;
    padding: 0 22px 4px;
}

body.merlheart .mh-home-activity-modal-countdown-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
}

body.merlheart .mh-countdown--activity-modal .cdown {
    background: rgba(0, 0, 0, 0.06);
}

body.merlheart .mh-countdown--activity-modal .time-count {
    color: #111;
}

body.merlheart .mh-countdown--activity-modal .cdown p {
    color: rgba(0, 0, 0, 0.55);
}

body.merlheart .mh-home-activity-modal-foot {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px 22px;
}

body.merlheart .mh-home-activity-modal-foot .mh-btn {
    min-width: 140px;
}

/* Back to top — phone only */
@media (min-width: 768px) {
    #scrollUp {
        display: none !important;
    }
}

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

@media (max-width: 767px) {
    body.merlheart .mh-home-activity-overlay {
        padding: 12px 12px 24px;
    }
}

/* Cart / checkout outfit set group card — same 3-col grid as normal rows (check | thumb | body). */
.mh-cart-drawer-item.mh-cart-outfit-group {
    grid-template-columns: 28px 72px minmax(0, 1fr);
    align-items: flex-start;
}

.mh-cart-outfit-group .mh-cart-outfit-thumb {
    border-radius: 8px;
    overflow: hidden;
    background: #f3f3f3;
}

.mh-cart-outfit-group .mh-cart-outfit-thumb.is-empty {
    background: #f0f0f0;
}

.mh-cart-outfit-group .mh-cart-outfit-body {
    min-width: 0;
    width: 100%;
}

.mh-cart-outfit-group .mh-cart-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 16px;
}

.mh-cart-outfit-group .mh-cart-item-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.mh-cart-outfit-group .mh-cart-item-meta h4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.mh-cart-outfit-group .mh-cart-item-price,
.mh-cart-outfit-group .mh-cart-item-price-wrap {
    flex: 0 0 auto;
    white-space: nowrap;
    writing-mode: horizontal-tb;
}

.mh-cart-outfit-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #555;
    background: #f0f0f0;
    border-radius: 999px;
    white-space: nowrap;
    writing-mode: horizontal-tb;
}

.mh-cart-qty-text {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.2;
    color: var(--mh-gray, #888);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.mh-cart-drawer-item.is-redeem-reward .mh-cart-qty-text {
    margin-top: 4px;
}

.mh-cart-outfit-piece-meta .mh-cart-qty-text {
    display: block;
    margin-top: 8px;
}

.mh-cart-outfit-pieces {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    min-width: 0;
}

.mh-cart-outfit-piece {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.mh-cart-outfit-piece-img {
    width: 56px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
}

.mh-cart-outfit-piece-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh-cart-outfit-piece-meta {
    min-width: 0;
}

.mh-cart-outfit-piece-name {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    white-space: normal;
    writing-mode: horizontal-tb;
    word-break: normal;
}

.mh-checkout-outfit-group {
    display: block;
    padding: 14px 0;
}

.mh-checkout-outfit-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.mh-checkout-outfit-head h3 {
    margin: 0;
    font-size: 14px;
}

.mh-checkout-outfit-pieces {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh-checkout-outfit-piece {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
}

.mh-checkout-outfit-piece .mh-checkout-item-info {
    min-width: 0;
    padding-top: 2px;
}

.mh-checkout-outfit-piece h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}


/* Outfit detail page (PDP-style) */
body.mh-outfit-pdp-page .mh-outfit-pdp-card {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: transparent;
    aspect-ratio: auto;
    height: auto;
    cursor: default;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-info {
    padding-top: 0;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-pieces {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 18px 0 8px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-pieces > .mh-pdp-label {
    margin-bottom: -6px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--mh-border);
    text-align: left;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid var(--mh-border);
    border-radius: 10px;
    overflow: hidden;
    background: #f3f3f3;
    cursor: pointer;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-meta {
    min-width: 0;
    flex: 1 1 auto;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--mh-black);
}

body.mh-outfit-pdp-page .mh-outfit-pdp-piece-qty {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    color: #777;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-option {
    margin: 0;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-highlight-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-highlight-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--mh-border);
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    cursor: pointer;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-highlight-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-purchase {
    margin-top: 20px;
}

body.mh-outfit-pdp-page .mh-outfit-pdp-purchase .mh-pdp-actions {
    width: 100%;
}

/* Product 3D carousel — footer pinned to bottom, small gap below Buy Now */
body.merlheart .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-product-card-home .mh-pch-footer,
body.merlheart .mh-home-category-section .mh-home-3d-carousel:not(.mh-outfit-3d-carousel) .mh-home-3d-card .mh-product-card-home .mh-pch-footer {
    margin-top: auto;
    padding: 0 8px 8px;
    gap: 2px;
    flex-shrink: 0;
}

/* Compact card actions: keep every icon inside narrow two-column cards, and
   make the VISUAL spacing uniform. The 32px icon buttons carry ~5px of inner
   padding around the 22px glyph, so a 0 gap between icon buttons plus a 5px
   margin before the buy-now pill both read as ~10px of visible space. */
body.merlheart .mh-pch-actions,
body.merlheart .mh-outfit-card-actions {
    min-width: 0;
    max-width: 100%;
    gap: 0 !important;
}

.mh-product-card-home .mh-pch-btn,
body.merlheart .mh-outfit-share,
body.merlheart .mh-outfit-add-all,
body.merlheart .mh-outfit-add-all--icon {
    flex: 0 0 32px;
    min-width: 32px;
    min-height: 34px;
    padding: 2px;
}

.mh-pch-buy-now,
body.merlheart .mh-outfit-buy-now.mh-pch-buy-now {
    flex: 0 1 auto;
    flex-shrink: 1;
    min-width: 0;
    gap: 5px;
    padding-right: 9px;
    padding-left: 9px;
    margin-left: 5px !important;
}

/* Wider 2-col cards on phone so Buy Now (+ icon) fits without clipping */
@media (max-width: 767px) {
    .mh-shop-page .container,
    body.mh-pdp-page .mh-pdp-related .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .mh-shop-page .mh-shop-product-grid,
    body.mh-pdp-page .mh-pdp-related-grid-inner.mh-shop-product-grid {
        gap: 6px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-btn,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-btn {
        flex: 0 0 28px;
        min-width: 28px;
        min-height: 30px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-buy-now,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-buy-now,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-buy-now,
    body.merlheart .mh-outfit-buy-now.mh-pch-buy-now {
        padding-right: 8px;
        padding-left: 8px;
        margin-left: 4px !important;
        gap: 4px;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-buy-now-icon,
    .mh-search-panel .mh-search-rec-grid .mh-product-card-home .mh-pch-buy-now-icon,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-buy-now-icon,
    body.merlheart .mh-outfit-buy-now.mh-pch-buy-now .mh-pch-buy-now-icon {
        display: inline-flex !important;
    }

    .mh-shop-page .mh-shop-product-grid .mh-product-card-home .mh-pch-buy-now-label,
    body.mh-pdp-page .mh-pdp-related .mh-product-card-home .mh-pch-buy-now-label {
        font-size: 10px;
        letter-spacing: 0.02em;
    }
}
