﻿:root {
    --primary: #085433;
    --primary-hover: #0A6B40;
    --secondary: #5EAE16;
    --accent: #00AFAF;
    --cta: #FF980C;
    --cta-hover: #F0780A;
    --campaign: #FF5525;
    --primary-soft: #E7F3EC;
    --background: #F4F7F5;
    --surface: #FFFFFF;
    --text: #17231D;
    --text-muted: #66736C;
    --border: #E6ECE8;
    --danger: #C62828;
    --success: #085433;
    --warning: #FF980C;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-card: 16px;
    --shadow: 0 8px 24px rgba(23, 35, 29, 0.06);
    --header: 72px;
}

body.mh-store {
    background: var(--background);
    color: var(--text);
    font-family: Roboto, sans-serif;
    overflow-x: visible;
}

body.mh-store h1,
body.mh-store h2,
body.mh-store h3,
body.mh-store h4,
body.mh-store .price,
body.mh-store .mh-price {
    font-family: Roboto, sans-serif;
    color: var(--text);
}

body.mh-store a { color: var(--primary); }
body.mh-store a:hover { color: var(--primary-hover); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.mh-btn,
body.mh-store .btn-primary,
body.mh-store .btn-primary:hover,
body.mh-store .btn-primary:focus,
body.mh-store .btn-primary:active {
    background: var(--cta);
    border-color: var(--cta);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 700;
    box-shadow: none;
}

body.mh-store .btn-primary:hover,
body.mh-store .btn-primary:focus,
.mh-btn:hover {
    background: var(--cta-hover);
    border-color: var(--cta-hover);
    color: var(--text);
}

/* Header */
.mh-header { background: var(--surface); position: relative; z-index: 40; overflow: visible; }
header.mh-header { background: var(--surface); height: auto; }
.mh-topbar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    min-height: 36px;
}
body.mh-store .mh-topbar a,
body.mh-store .mh-topbar a:visited,
body.mh-store .mh-topbar a:hover,
body.mh-store .mh-topbar a:focus {
    color: #fff;
    text-decoration: none;
}
body.mh-store .mh-topbar a:hover,
body.mh-store .mh-topbar a:focus { text-decoration: underline; }
.mh-topbar .container { display: flex; justify-content: flex-end; }
.mh-topbar ul { display: flex; gap: 16px; margin: 0; padding: 8px 0; list-style: none; flex-wrap: wrap; }
.mh-topbar:not(:has(li)) { display: none; }

.mh-main { border-bottom: 1px solid var(--border); }
.mh-main-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    min-height: var(--header);
    padding-top: 10px;
    padding-bottom: 10px;
}
.mh-logo img { max-height: 52px; width: auto; }
.mh-search {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 0;
    height: 48px;
    padding: 4px 4px 4px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    box-sizing: border-box;
}
.mh-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 90;
    max-height: min(70vh, 420px);
    overflow: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.mh-suggest[hidden] { display: none; }
.mh-suggest a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text);
    text-decoration: none;
}
.mh-suggest a.is-active,
.mh-suggest a:hover { background: var(--primary-soft); }
.mh-suggest img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--background);
    flex: 0 0 48px;
}
.mh-suggest span { display: flex; flex-direction: column; min-width: 0; }
.mh-suggest strong {
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.mh-suggest em {
    font-style: normal;
    color: var(--primary);
    font-weight: 700;
}
.mh-search-input,
body.mh-store .mh-search .search-field {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    line-height: 40px;
    font-size: 15px;
    color: var(--text);
}
.mh-search-btn .fa { display: none; }
.mh-search-btn,
body.mh-store a.mh-search-btn,
body.mh-store a.mh-search-btn:hover,
body.mh-store a.mh-search-btn:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    height: 40px;
    min-width: 76px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}
body.mh-store a.mh-search-btn:hover,
body.mh-store a.mh-search-btn:focus { background: var(--primary-hover); }
body.mh-store a.mh-fav,
body.mh-store a.mh-fav:hover { color: var(--primary); text-decoration: none; background: #fff; }
body.mh-store a.mh-tool:hover { color: var(--primary); }
body.mh-store a.mh-btn-cart,
body.mh-store a.mh-btn-cart:hover { color: var(--text); }
body.mh-store a.mh-btn-buy,
body.mh-store a.mh-btn-buy:hover { color: #fff; }
body.mh-store a.mh-btn-ghost,
body.mh-store a.mh-btn-ghost:hover { color: var(--primary); }

.mh-tools { display: flex; align-items: center; gap: 8px; }
.mh-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    border: 0;
    padding: 4px 6px;
}
.mh-tool:hover { color: var(--primary); text-decoration: none; }
.mh-tool .fa { font-size: 18px; color: var(--primary); margin-bottom: 2px; }
.mh-account-menu { position: relative; }
.mh-account-menu > .mh-account-toggle { cursor: pointer; }
.mh-account-drop {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    max-width: min(320px, calc(100vw - 24px));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 90;
    padding: 8px 0;
}
.mh-account-drop[hidden] { display: none !important; }
.mh-account-drop-title,
.mh-account-drop-label {
    margin: 0;
    padding: 8px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}
.mh-account-drop-label {
    margin-top: 6px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    color: #5a6b62;
    font-weight: 600;
    text-transform: none;
}
.mh-account-drop a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}
.mh-account-drop a:hover {
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
}
.mh-account-drop a .fa {
    width: 16px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    margin: 0;
}
.mh-account-drop-foot {
    margin-top: 6px;
    border-top: 1px solid var(--border);
    padding-top: 6px;
}
.mh-account-drop-foot a { color: #8a3b2d; }
.mh-account-drop-foot a .fa { color: #8a3b2d; }
.mh-cart { position: relative; }
.mh-badge {
    position: absolute;
    top: 0;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--cta);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.mh-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(23, 35, 29, 0.4);
    z-index: 2000;
}
.mh-drawer-backdrop.is-open { display: block; }
.mh-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(400px, 100%);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: var(--surface);
    z-index: 2010;
    transform: translateX(100%);
    transition: transform .2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.mh-drawer.is-open { transform: translateX(0); }
#mhDrawerCart { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: hidden; }
#mhDrawerCart .mh-drawer-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.mh-drawer-head, .mh-drawer-foot { padding: 16px; border-bottom: 1px solid var(--border); }
.mh-drawer-head { flex: 0 0 auto; }
.mh-drawer-foot { flex: 0 0 auto; border-bottom: 0; border-top: 1px solid var(--border); margin-top: 0; background: #fff; }
.mh-drawer-head { display: flex; justify-content: space-between; align-items: center; }
.mh-drawer-body { overflow: auto; padding: 8px 16px 16px; }
.mh-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mh-line img { width: 64px; height: 64px; object-fit: contain; background: var(--background); border-radius: var(--radius-sm); }
.mh-line h3 { font-size: 14px; margin: 0 0 4px; line-height: 1.3; }
.mh-line h3 a { color: var(--text); }
.mh-drawer-empty { color: var(--text-muted); padding: 24px 0; }
.mh-drawer-actions { display: grid; gap: 8px; }
.mh-btn-cart, .mh-btn-ghost, .mh-btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 8px 14px;
    width: 100%;
}
.mh-btn-cart { background: var(--cta); color: var(--text); }
.mh-btn-cart:hover { background: var(--cta-hover); color: var(--text); text-decoration: none; }
.mh-btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.mh-btn-ghost:hover { color: var(--primary-hover); text-decoration: none; }
.mh-btn-buy { background: var(--primary); color: #fff; }
.mh-btn-buy:hover { background: var(--primary-hover); color: #fff; text-decoration: none; }
.mh-icon-btn {
    border: 0;
    background: transparent;
    color: var(--text-muted);
    min-width: 44px;
    min-height: 44px;
}
.mh-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
}

.mh-toast {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-weight: 600;
}

.mh-cats { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 30; height: auto; overflow: visible; }
.mh-cats-row { display: flex; align-items: center; gap: 8px; min-height: 48px; height: auto; overflow: visible; min-width: 0; }
.mh-cat-toggle { display: none; }
.mh-nav-head { display: none; }
.mh-nav-subtoggle { display: none; }
.mh-nav-backdrop { display: none; }
.mh-nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 2px 4px; list-style: none; margin: 0; padding: 6px 0; width: 100%; height: auto; overflow: visible; min-width: 0; }
@media (min-width: 768px) {
    .mh-cats-row {
        overflow: hidden;
        min-width: 0;
        justify-content: center;
    }
    .mh-nav {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        align-items: center;
        justify-content: center;
    }
    .mh-nav > li { flex: 0 0 auto; width: max-content; max-width: 132px; }
    .mh-nav > li.mh-nav-more { width: auto; max-width: none; }
}
.mh-nav > li.mh-nav-overflow {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
}
.mh-nav > li.mh-nav-overflow > .mh-nav-row,
.mh-nav > li.mh-nav-overflow > a { visibility: hidden; }
.mh-nav > li.mh-nav-overflow.is-open { pointer-events: auto; }
.mh-nav > li { float: none; position: relative; }
.mh-nav-row { display: flex; align-items: center; min-width: 0; }
.mh-nav > li > a,
.mh-nav > li > .mh-nav-row > a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
@media (min-width: 768px) {
    .mh-nav > li > a,
    .mh-nav > li > .mh-nav-row > a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-box-pack: center;
        -webkit-line-clamp: 2;
        white-space: normal;
        text-align: center;
        text-decoration: none;
        line-height: 1.25;
        width: max-content;
        max-width: 132px;
        margin-left: auto;
        margin-right: auto;
        height: calc(1.25em * 2 + 16px);
        padding: 8px 10px;
        overflow: hidden;
        box-sizing: border-box;
    }
    .mh-nav > li.mh-nav-more > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        white-space: nowrap;
        width: auto;
        max-width: none;
        height: calc(1.25em * 2 + 16px);
    }
    .mh-nav > li.mh-nav-more > a:after {
        content: "\f107";
        font-family: FontAwesome;
        font-weight: normal;
        font-size: 14px;
        line-height: 1;
    }
}
.mh-nav > li > a:hover,
.mh-nav > li.active > a,
.mh-nav .dropdown.open > a {
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
}
.mh-nav .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 280px;
    width: max-content;
    max-width: min(420px, calc(100vw - 32px));
    max-height: 70vh;
    overflow: auto;
    z-index: 50;
}
.mh-nav .dropdown-menu .list-unstyled { margin: 0; min-width: 260px; }
body.mh-store .mh-nav .dropdown-menu a,
body.mh-store .mh-nav .dropdown-menu a:visited {
    color: var(--text);
    display: block;
    padding: 8px 16px;
    white-space: normal;
    line-height: 1.35;
    background: transparent;
}
body.mh-store .mh-nav .dropdown-menu a:hover { color: var(--primary); background: var(--primary-soft); text-decoration: none; }
body.mh-store .mh-nav .mh-nav-more .dropdown-menu {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    padding: 6px 0;
}
body.mh-store .mh-nav .mh-nav-more .dropdown-menu,
body.mh-store .mh-nav .mh-nav-more .dropdown-menu ul {
    list-style: none;
}
body.mh-store .mh-nav .mh-nav-more .dropdown-menu .list-unstyled {
    min-width: 0;
    margin: 0;
    padding: 0;
}
body.mh-store .mh-nav .mh-nav-more .dropdown-menu a,
body.mh-store .mh-nav .mh-nav-more .dropdown-menu a:visited {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center;
    -webkit-line-clamp: 2;
    white-space: normal;
    text-decoration: none;
    line-height: 1.35;
    height: calc(1.35em * 2 + 16px);
    overflow: hidden;
    box-sizing: border-box;
    padding: 8px 14px;
}
.mh-hero { position: relative; z-index: 1; width: 100%; max-width: 1330px; }

/* Home — vitrin, kısayol ve yatay ürün rayı */
.mh-page { padding-top: 20px; }
.mh-home { padding-top: 16px; padding-bottom: 28px; max-width: 100%; }
@media (min-width: 1200px) {
    body.mh-store .container { width: 1240px; }
}
@media (min-width: 1400px) {
    body.mh-store .container { width: 1360px; max-width: calc(100% - 32px); }
}
.mh-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.mh-stage:has(.mh-stage-side) {
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: stretch;
}
.mh-stage-main #hero,
.mh-stage-main #owl-main,
.mh-stage-main .owl-wrapper-outer {
    border-radius: 8px;
    overflow: hidden;
}
.mh-hero #owl-main .item,
.mh-hero #hero,
.mh-hero #owl-main { max-height: 360px; }
.mh-hero #owl-main .item {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1330 / 360;
    background: #fff none !important;
    border-radius: 8px;
    overflow: hidden;
}
.mh-hero #owl-main .item a { display: block; width: 100%; height: 100%; }
.mh-hero #owl-main .item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.mh-hero #owl-main .caption { display: none !important; }
.mh-stage-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 360px;
    min-height: 0;
}
.mh-stage-side:not(:has(a + a)) { grid-template-rows: 1fr; }
.mh-stage-card {
    display: block;
    height: 100%;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.mh-stage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mh-shortcuts {
    margin: 18px 0 6px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 12px 8px;
}
.mh-section { margin: 28px 0; }
.mh-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: 0;
}
.mh-cats-scroller {
    display: flex;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
}
.mh-rail {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 16px 8px 18px;
    margin: 16px 0;
}
.mh-rail-head {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 8px 12px;
}
.mh-rail-head h2 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
}
.mh-rail-more {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.mh-rail-more::after { content: " \203A"; }
.mh-rail-more:hover { color: var(--primary-hover); text-decoration: none; }
.mh-rail-viewport {
    position: relative;
    overflow: hidden;
    padding: 2px 8px 4px;
    touch-action: pan-y;
}
.mh-rail-track {
    display: flex;
    gap: 12px;
    transition: transform .35s ease;
}
.mh-rail-track > .mh-card {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 0;
    border-radius: 8px;
}
.mh-rail .mh-btn-cart { min-height: 36px; margin-top: 8px; font-size: 13px; }
.mh-rail-prev,
.mh-rail-next {
    position: absolute;
    top: 42%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(23, 35, 29, 0.14);
    padding: 0;
    line-height: 0;
}
.mh-rail-prev { left: 0; }
.mh-rail-next { right: 0; }
.mh-rail-prev::before,
.mh-rail-next::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
    margin: 0;
    box-sizing: border-box;
}
.mh-rail-prev::before { transform: rotate(-135deg); }
.mh-rail-next::before { transform: rotate(45deg); }
.mh-rail-prev:hover,
.mh-rail-next:hover { background: var(--primary-soft); }
.mh-rail-prev:disabled,
.mh-rail-next:disabled { display: none; }
.mh-rail.is-static .mh-rail-prev,
.mh-rail.is-static .mh-rail-next { display: none; }
.mh-promo {
    display: block;
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.mh-promo img { width: 100%; height: auto; display: block; }
.mh-rail-blog .blog-post { background: var(--background); border-radius: 8px; overflow: hidden; }
.mh-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 104px;
    scroll-snap-align: start;
    text-align: center;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
}
.mh-cat:hover { color: var(--primary); text-decoration: none; }
.mh-cat-visual {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft) center/cover no-repeat;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
}
.mh-recent { margin: 16px 0 8px; }
.mh-recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mh-recent-head .mh-section-title { margin-bottom: 14px; }
.mh-recent-nav { display: flex; gap: 8px; margin-bottom: 14px; flex: 0 0 auto; }
.mh-recent-nav button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.mh-recent-nav button::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
}
.mh-recent-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.mh-recent-next::before { transform: rotate(45deg); margin-right: 4px; }
.mh-recent-nav button:hover { background: var(--primary-soft); }
.mh-recent-nav button:disabled { opacity: .35; cursor: default; background: #fff; }
.mh-recent.is-static .mh-recent-nav { visibility: hidden; }
.mh-recent-viewport { overflow: hidden; touch-action: pan-y; }
.mh-recent-track { display: flex; gap: 12px; transition: transform .35s ease; }
.mh-recent-track > .mh-card { flex: 0 0 calc((100% - 48px) / 5); min-width: 0; box-sizing: border-box; }
@media (max-width: 1199px) {
    .mh-recent-track > .mh-card { flex-basis: calc((100% - 36px) / 4); }
}
@media (max-width: 979px) {
    .mh-recent-track > .mh-card { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 699px) {
    .mh-recent-track > .mh-card { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 479px) {
    .mh-recent-track > .mh-card { flex-basis: 100%; }
}

.mh-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.mh-card-media {
    display: block;
    aspect-ratio: 1;
    background: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
}
.mh-card-media img { width: 100%; height: 100%; object-fit: contain; }
.mh-off {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--campaign);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    line-height: 1.2;
}
.mh-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    gap: 6px;
}
.mh-fav {
    position: static;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mh-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.mh-card-name,
body.mh-store a.mh-card-name,
body.mh-store a.mh-card-name:visited {
    display: block;
    margin: 10px 0 6px;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.35;
    min-height: 38px;
    overflow: hidden;
    text-decoration: none;
}
.mh-card-name:hover,
body.mh-store a.mh-card-name:hover { color: var(--primary); text-decoration: none; }
.mh-price { font-size: 18px; font-weight: 700; }
.mh-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 6px;
    font-weight: 500;
}
.mh-card .mh-btn-cart { margin-top: auto; }
.mh-card-tools { display: flex; justify-content: flex-end; }

.mh-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.mh-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 16px;
    text-align: center;
}
.mh-grid .mh-empty { grid-column: 1 / -1; }

body.mh-store .product .product-info .name a:hover { color: var(--primary); }
body.mh-store .price-before-discount,
body.mh-store .price-strike { color: var(--text-muted); text-decoration: line-through; }
body.mh-store .header-style-1,
body.mh-store .top-bar,
body.mh-store .main-header,
body.mh-store .header-nav { background: transparent; }

body.mh-store #footer,
body.mh-store .footer {
    background: #fff;
    color: var(--text);
    border-top: 1px solid var(--border);
    margin-top: 24px;
}
body.mh-store .footer .module-title,
body.mh-store .footer h4 { color: var(--primary); }
body.mh-store .copyright-bar { background: var(--primary); color: #fff; }
body.mh-store .copyright-bar a { color: #fff; }

.mh-steps {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    flex-wrap: wrap;
}
.mh-steps li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}
.mh-steps li.is-current { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.mh-steps a { color: inherit; }

body.mh-store .checkout-box,
body.mh-store .shopping-cart,
body.mh-store .single-product .product-info,
body.mh-store .body-content {
    color: var(--text);
}
body.mh-store .checkout-steps .panel,
body.mh-store .shopping-cart {
    border-radius: var(--radius);
    border-color: var(--border);
    box-shadow: none;
}
body.mh-quiet .mh-cats,
body.mh-quiet .mh-tabbar,
body.mh-quiet .mh-topbar { display: none; }

.mh-tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
}
.mh-tabbar a, .mh-tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    gap: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 0;
    text-decoration: none;
}
.mh-tabbar .fa { color: var(--primary); font-size: 16px; }
.mh-tabbar a.is-active,
.mh-tabbar button.is-active { color: var(--primary); }
.mh-tabbar a.is-active .fa,
.mh-tabbar button.is-active .fa { color: var(--cta); }

.single-product .gallery-holder img { object-fit: contain; background: var(--background); }
.mh-buy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-buy-actions .btn, .mh-buy-actions .mh-btn-buy, .mh-buy-actions .mh-btn-cart { width: auto; min-width: 160px; }

@media (min-width: 768px) {
    .mh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .mh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1440px) {
    .mh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    body.mh-store { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    body.mh-quiet { padding-bottom: 0; }
    body.mh-nav-open,
    body.mh-filter-open,
    body.mh-drawer-open { overflow: hidden; }
    body.mh-nav-open .mh-tabbar,
    body.mh-filter-open .mh-tabbar,
    body.mh-drawer-open .mh-tabbar { visibility: hidden; pointer-events: none; }
    .mh-drawer { width: 100%; }
    .mh-drawer-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
    body.mh-store .copyright-bar .payment-methods { text-align: center; max-width: 100%; }
    body.mh-store .copyright-bar .payment-methods ul { max-width: 100%; }
    body.mh-store .copyright-bar .mh-pay-item { display: block; width: 100%; margin: 0 0 12px; }
    body.mh-store .copyright-bar .mh-pay-logo { display: block; width: 100%; max-width: 100%; height: auto; }
    .mh-tabbar { display: grid; }
    .mh-topbar { display: none; }
    .mh-header {
        position: sticky;
        top: 0;
        z-index: 40;
        background: #fff;
    }
    .mh-main { position: relative; z-index: 2; background: #fff; }
    body.mh-nav-open .mh-header { z-index: 90; }
    .mh-tools > a.mh-tool,
    .mh-account-menu > .mh-account-toggle { display: none; }
    .mh-account-drop {
        position: fixed;
        top: auto;
        right: 12px;
        left: 12px;
        bottom: calc(68px + env(safe-area-inset-bottom));
        min-width: 0;
        max-width: none;
        max-height: min(70vh, 480px);
        overflow: auto;
        z-index: 70;
        box-shadow: 0 12px 32px rgba(23, 35, 29, 0.16);
    }
    .mh-main-row {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        grid-template-areas:
            "menu logo cart"
            "search search search";
        gap: 8px 10px;
        min-height: 0;
    }
    .mh-cat-toggle { grid-area: menu; display: inline-flex; justify-self: start; }
    .mh-logo { grid-area: logo; justify-self: center; }
    .mh-logo img { max-height: 36px; }
    .mh-tools { grid-area: cart; justify-self: end; }
    .mh-search { grid-area: search; width: 100%; height: 44px; padding-left: 12px; }
    .mh-search-input, body.mh-store .mh-search .search-field { min-width: 0; width: 1%; height: 36px; line-height: 36px; }
    .mh-tool span { display: none; }
    .mh-tool { min-width: 44px; min-height: 44px; }
    body.mh-store a.mh-search-btn { min-width: 44px; height: 36px; padding: 0 12px; }
    body.mh-store a.mh-search-btn .fa { display: inline-block; }
    body.mh-store a.mh-search-btn span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .mh-home { display: flex; flex-direction: column; }
    .mh-stage { order: 1; }
    .mh-shortcuts { order: 2; }
    .mh-home-hot { order: 3; }
    .mh-home-best { order: 4; }
    .mh-home-special { order: 5; }
    .mh-home-new { order: 6; }
    .mh-home-cats { order: 7; }
    .mh-home-featured { order: 8; }
    .mh-promo { order: 9; }
    .mh-home-recent { order: 10; }
    .mh-rail-blog { order: 11; }
    .mh-hero #hero,
    .mh-hero #owl-main,
    .mh-hero #owl-main .item,
    .mh-hero #owl-main .owl-wrapper-outer,
    .mh-hero #owl-main .owl-wrapper,
    .mh-hero #owl-main .owl-item { max-height: none; height: auto !important; aspect-ratio: auto; }
    .mh-hero #owl-main .item img { width: 100%; height: auto; object-fit: contain; }
    .mh-stage:has(.mh-stage-side) { grid-template-columns: 1fr; }
    .mh-stage-side {
        height: auto;
        grid-template-rows: none;
        grid-template-columns: 1fr;
    }
    .mh-stage-card { height: auto; }
    .mh-stage-card img { height: auto; object-fit: contain; }
    .mh-rail-head h2 { font-size: 18px; white-space: normal; }
    .mh-rail-viewport { overflow: visible; touch-action: auto; }
    .mh-rail-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        transform: none !important;
    }
    .mh-rail-track > .mh-card { flex: none; width: auto; min-width: 0; }
    .mh-rail-prev, .mh-rail-next { display: none; }
    .mh-card-name,
    body.mh-store a.mh-card-name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        min-height: calc(1.35em * 2);
        max-height: calc(1.35em * 2);
        overflow: hidden;
    }
    .mh-price, .mh-old { white-space: normal; }
    .mh-card .mh-btn-cart,
    .mh-rail .mh-btn-cart { min-height: 44px; }
    .mh-fav { width: 44px; height: 44px; min-width: 44px; }
    .mh-cats { background: transparent; border: 0; height: 0; min-height: 0; overflow: visible; z-index: 90; }
    .mh-cats-row { display: block; height: 0; min-height: 0; padding: 0; overflow: visible; }
    .mh-nav-backdrop { position: fixed; inset: 0; background: rgba(23, 35, 29, .45); z-index: 80; }
    body.mh-nav-open .mh-nav-backdrop { display: block; }
    .mh-nav {
        display: flex;
        position: fixed;
        z-index: 80;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(85vw, 360px);
        max-width: 85vw;
        background: #fff;
        overflow: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding: 0 0 calc(16px + env(safe-area-inset-bottom));
        transform: translateX(-105%);
        transition: transform .25s ease;
        box-shadow: 8px 0 24px rgba(23, 35, 29, .12);
    }
    .mh-cats.is-open .mh-nav { transform: translateX(0); }
    .mh-nav-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1;
        background: #fff;
        padding: 8px 8px 8px 16px;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }
    .mh-nav-close {
        border: 0;
        background: transparent;
        font-size: 28px;
        line-height: 1;
        min-width: 44px;
        min-height: 44px;
    }
    .mh-nav > li { max-width: none; width: 100%; }
    .mh-nav > li > a,
    .mh-nav > li > .mh-nav-row > a {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 44px;
        margin: 0;
        padding: 10px 16px;
        white-space: normal;
        text-align: left;
        -webkit-line-clamp: unset;
        line-height: 1.35;
    }
    .mh-nav-row { width: 100%; }
    .mh-nav-row > a { flex: 1 1 auto; }
    .mh-nav-subtoggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: var(--text);
    }
    .mh-nav > li.dropdown.is-open > .mh-nav-row .fa-angle-down { transform: rotate(180deg); }
    .mh-nav .dropdown-menu {
        display: none;
        position: static;
        float: none;
        width: 100%;
        min-width: 0;
        max-width: none;
        max-height: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 8px;
    }
    .mh-nav > li.dropdown.is-open > .dropdown-menu { display: block; }
    .mh-nav .dropdown-menu .list-unstyled { min-width: 0; }
    .mh-line-body h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .mh-remove { min-width: 44px; min-height: 44px; }
    .single-product .quantity-container.info-container {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 56px;
        z-index: 55;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 8px 12px 10px;
        margin: 0;
        box-shadow: 0 -6px 20px rgba(23, 35, 29, 0.08);
    }
    .single-product { padding-bottom: 88px; }
    .mh-buy-actions .btn, .mh-buy-actions .mh-btn-buy { min-width: 0; flex: 1; }
    body.mh-store .shopping-cart .table,
    body.mh-store .shopping-cart .table tbody,
    body.mh-store .shopping-cart .table tr,
    body.mh-store .shopping-cart .table td {
        display: block;
        width: 100%;
    }
    body.mh-store .shopping-cart thead { display: none; }
}

body.mh-store .filters-container .filter-tabs { display: none; }
body.mh-store .price-box .price { color: var(--text); }
body.mh-store .nav-tabs > li.active > a,
body.mh-store .nav-tabs > li.active > a:hover,
body.mh-store .nav-tabs > li.active > a:focus {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
body.mh-store .sidebar .price-range-holder .btn,
body.mh-store .price-range-holder .slider-handle,
body.mh-store .price-range-holder .slider-selection {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
body.mh-store .scroll-tabs .more-info-tab { background: transparent; }
body.mh-store .section-title,
body.mh-store .new-product-title { color: var(--text); letter-spacing: 0; }
body.mh-store .info-box { background: transparent; border: 0; }

.mh-price, .mh-old { white-space: nowrap; }
.mh-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 14px 0 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.mh-crumbs a, .mh-crumbs span { color: var(--text-muted); text-decoration: none; }
.mh-crumbs a:hover { color: var(--primary); }
.mh-crumbs > * + *::before { content: "/"; margin: 0 8px; color: #c5d0cb; }
.mh-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mh-list-count { margin: 0; color: var(--text-muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.mh-list-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.mh-list-layout > .mh-side { float: none; width: auto; max-width: none; padding: 0; }
.mh-sortbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow-x: auto;
}
.mh-sortbar > span { padding: 0 6px; color: var(--text-muted); font-size: 13px; font-weight: 700; }
body.mh-store .mh-sortbar a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 32px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
body.mh-store .mh-sortbar a:hover,
body.mh-store .mh-sortbar a.is-on { background: var(--primary-soft); color: var(--primary); }
.mh-list-main .mh-pager { margin-top: 16px; }
.mh-list-main .mh-pager ul { justify-content: center; }
.mh-listing .mh-card { border-radius: 8px; box-shadow: none; }
.mh-listing .mh-card-name { font-weight: 500; font-size: 13px; }
.mh-listing .mh-price { font-size: 16px; }
.mh-listing .mh-btn-cart { min-height: 36px; font-size: 13px; border-radius: 8px; }
.mh-list-title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
}
.mh-listbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.mh-listbar-bottom { margin-top: 16px; margin-bottom: 8px; justify-content: flex-end; }
.mh-sort .btn {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    min-height: 40px;
    padding: 8px 14px;
    color: var(--text);
    font-weight: 700;
}
.mh-sort .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 240px;
    padding: 6px 0;
    box-shadow: var(--shadow);
}
body.mh-store .mh-sort .dropdown-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--text);
    white-space: nowrap;
}
body.mh-store .mh-sort .dropdown-menu a:hover { background: var(--background); color: var(--primary); }
.mh-pager ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}
body.mh-store .mh-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
}
body.mh-store .mh-pager li.active a,
body.mh-store .mh-pager li.active a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.mh-list-desc {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px 20px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
}
.mh-list-desc h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}
.mh-list-desc h3 {
    margin: 22px 0 8px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.mh-list-desc p {
    margin: 0 0 14px;
}
.mh-list-desc ul,
.mh-list-desc ol {
    margin: 0 0 16px;
    padding-left: 1.25em;
}
.mh-list-desc li {
    margin: 6px 0;
}
.mh-list-desc a {
    color: var(--primary);
    text-decoration: underline;
}
.mh-filter-head { display: none; }
.mh-side-filter {
    display: none;
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.mh-side-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
}
.mh-side-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}
.mh-side-list, .mh-side-sub { list-style: none; margin: 0; padding: 0; }
.mh-side-item > a,
.mh-side-row > a,
.mh-side-sub a {
    display: flex;
    align-items: center;
    min-height: 40px;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    padding: 6px 8px;
}
body.mh-store .mh-side a { color: var(--text); }
body.mh-store .mh-side a:hover { color: var(--primary); background: var(--background); text-decoration: none; }
.mh-side-item.is-current > a,
.mh-side-row > a,
.mh-side-sub li.is-current a {
    font-weight: 700;
}
.mh-side-item.is-current > a,
.mh-side-item.is-current .mh-side-row > a,
.mh-side-sub li.is-current a {
    color: var(--primary);
    background: var(--primary-soft);
}
.mh-side-row { display: flex; align-items: center; }
.mh-side-row > a { flex: 1; min-width: 0; overflow-wrap: break-word; }
.mh-side-toggle {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
}
.mh-side-item.is-open > .mh-side-row .mh-side-toggle { color: var(--primary); }
.mh-side-item.is-open > .mh-side-row .fa-angle-down { transform: rotate(180deg); }
.mh-side-sub { display: none; padding: 0 0 6px 12px; }
.mh-side-item.is-open > .mh-side-sub { display: block; }
.mh-side .price-range-holder { position: relative; padding-bottom: 8px; }
.mh-side .price-range-holder .min-max {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--text);
    margin-top: 8px;
}
.mh-side .price-range-holder .slider { display: block; position: relative; margin-top: 16px; }
.mh-side .price-range-holder .slider.slider-horizontal { height: 20px; width: 100% !important; }
.mh-side .price-range-holder .slider .slider-track {
    background: var(--border);
    height: 6px;
    width: 100% !important;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -3px;
}
.mh-side .price-range-holder .slider .slider-selection {
    background: var(--primary);
    position: absolute;
    top: 0;
    height: 100%;
}
.mh-side .price-range-holder .slider .slider-handle {
    background: #fff;
    border: 3px solid var(--primary);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    margin-left: -9px !important;
}
.mh-side .price-range-holder { padding-top: 8px; }
.mh-side #amount {
    display: block;
    width: 100%;
    border: 0;
    text-align: center;
    font-weight: 700;
    color: var(--text);
    background: transparent;
    margin-bottom: 8px;
}
body.mh-store a.btn-sidebar-search,
body.mh-store a.btn-sidebar-search:hover {
    display: block;
    margin-top: 12px;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    min-height: 40px;
    line-height: 40px;
    text-align: center;
    font-weight: 700;
}
.mh-side-banner { display: block; margin-bottom: 12px; }
.mh-side-banner img { width: 100%; height: auto; border-radius: var(--radius); }
.mh-listing .mh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) {
    .mh-list-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .mh-listing .mh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .mh-listing .mh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
    .mh-grid,
    .mh-rail-track { gap: 8px; }
}
@media (max-width: 991px) {
    .mh-side-filter { display: inline-flex; }
    .mh-filter-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(23, 35, 29, .45);
        z-index: 70;
    }
    body.mh-filter-open .mh-filter-backdrop { display: block; }
    .mh-filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 1;
        margin: -4px 0 8px;
        font-size: 16px;
    }
    .mh-filter-close {
        border: 0;
        background: transparent;
        font-size: 28px;
        line-height: 1;
        min-width: 44px;
        min-height: 44px;
    }
    .mh-side-panel {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 75;
        max-height: min(78vh, 640px);
        overflow: auto;
        background: #fff;
        border-radius: 16px 16px 0 0;
        padding: 12px 12px calc(16px + env(safe-area-inset-bottom));
        transform: translateY(110%);
        transition: transform .25s ease;
        box-shadow: 0 -8px 24px rgba(23, 35, 29, .12);
    }
    .mh-side.is-filter-open .mh-side-panel { transform: translateY(0); }
    .mh-side-toggle { width: 44px; height: 44px; }
    .mh-list-title { font-size: 22px; }
    .mh-listbar { align-items: flex-start; }
}

/* Logo: koyu yeşil yazı, yaprak yeşili, meyve turuncusu. Eski pembe tema kalmasın. */
body.mh-store .yamm .open > a,
body.mh-store .yamm .open > a:hover,
body.mh-store .yamm .open > a:focus { color: var(--primary) !important; }
body.mh-store .breadcrumb ul li.active,
body.mh-store .breadcrumb ul a:hover { color: var(--primary); }
body.mh-store .product-price .price,
body.mh-store .price-box .price,
body.mh-store span.price { color: var(--text); }
body.mh-store a.shop-now-button,
body.mh-store a.shop-now-button:hover,
body.mh-store a.shop-now-button:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--cta);
    border: 0;
    border-radius: 999px;
    color: var(--text);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}
body.mh-store .footer a:hover,
body.mh-store .copyright-bar a:hover { color: #fff; }
body.mh-store .nav > li > a:hover,
body.mh-store .nav > li > a:focus { background: transparent; }
body.mh-store .mh-nav > li > a.is-current,
body.mh-store .mh-nav > li > a.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mh-cart-page { padding: 8px 0 32px; }
.mh-cart-layout { display: block; }
.mh-cart-page h1 { margin: 0 0 16px; font-size: 28px; }
.mh-lines { display: flex; flex-direction: column; gap: 12px; }
.mh-line-card, .mh-summary, .mh-rec-card, .mh-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
}
.mh-line-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
}
.mh-line-media img, .mh-rec-media img { width: 100%; height: 96px; object-fit: contain; background: var(--background); border-radius: var(--radius-sm); }
.mh-line-body h2 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.mh-line-body h2 a, .mh-rec-name { color: var(--text); text-decoration: none; }
.mh-line-price, .mh-rec-price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.mh-line-price span, .mh-rec-price .mh-price { font-size: 18px; font-weight: 800; }
.mh-line-price s, .mh-rec-price s { color: var(--text-muted); font-size: 13px; }
.mh-line-price em, .mh-rec-price em { color: var(--campaign); font-style: normal; font-weight: 800; font-size: 13px; }
.mh-stock { margin: 6px 0 0; color: var(--primary); font-size: 13px; }
.mh-stock.is-out { color: var(--danger); }
.mh-qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.mh-qty button, .mh-qty span { width: 44px; height: 44px; border: 0; background: #fff; font-size: 20px; font-weight: 700; }
.mh-qty span { display: grid; place-items: center; font-size: 16px; }
.mh-line-side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.mh-line-side strong { font-size: 18px; }
.mh-remove, .mh-clear { border: 0; background: transparent; color: var(--text-muted); font-weight: 700; padding: 8px 0; }
.mh-clear { margin: 8px 0 16px; }
.mh-summary { padding: 16px; margin: 8px 0 20px; }
.mh-summary h2, .mh-rec h2 { margin: 0 0 12px; font-size: 20px; }
.mh-summary dl { margin: 0; }
.mh-summary dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mh-summary dt { color: var(--text-muted); font-weight: 500; }
.mh-summary dd { margin: 0; font-weight: 700; }
.mh-summary .is-total { font-size: 18px; }
.mh-summary .is-total dd { color: var(--primary); }
.mh-checkout, .mh-rec-add {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 14px;
    border: 0; border-radius: var(--radius-sm); font-weight: 800; text-decoration: none; font-size: 16px;
}
.mh-checkout { background: var(--cta); color: var(--text); }
.mh-checkout:hover { background: var(--cta-hover); color: var(--text); }
.mh-rec-add { background: var(--primary); color: #fff; }
.mh-note { margin: 10px 0 0; color: var(--text-muted); font-size: 12px; }
.mh-ship p { margin: 0 0 8px; font-weight: 700; }
.mh-ship-bar { height: 8px; background: var(--primary-soft); border-radius: 999px; overflow: hidden; }
.mh-ship-bar span { display: block; height: 100%; background: var(--secondary); }
.mh-summary-desktop { display: none; }
.mh-rec { margin-top: 8px; }
.mh-rec-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.mh-rec-card { scroll-snap-align: start; padding: 12px; }
.mh-rec-media { display: block; }
.mh-rec-media img { height: 160px; }
.mh-rec-name { display: block; min-height: 44px; margin: 8px 0; font-weight: 700; line-height: 1.35; }
.mh-empty { padding: 28px 20px; text-align: center; }
.mh-empty h1 { font-size: 26px; }
.mh-empty .mh-checkout { max-width: 280px; margin-left: auto; margin-right: auto; }
.mh-cart-toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(12px); opacity: 0; pointer-events: none; background: var(--primary); color: #fff; border-radius: 999px; padding: 12px 18px; z-index: 2100; transition: .2s ease; }
.mh-cart-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 768px) {
    .mh-line-card { grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; }
    .mh-line-side { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 8px; }
    .mh-line-media img { height: 120px; }
    .mh-rec-row { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
}
@media (min-width: 992px) {
    .mh-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
    .mh-summary-mobile { display: none; }
    .mh-summary-desktop { display: block; position: sticky; top: 88px; }
    .mh-rec-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    .mh-rec-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mh-mega {
    display: none;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    padding: 18px 20px 22px;
    overflow: auto;
}
.mh-mega-main { min-width: 0; }
.mh-mega-group { margin: 0 0 16px; }
.mh-mega-head {
    color: var(--primary);
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
}
.mh-mega-list,
.mh-mega-deep { list-style: none; margin: 4px 0 0; padding: 0; }
.mh-mega-deep { padding-left: 12px; }
body.mh-store .mh-mega a { color: var(--text); text-decoration: none; }
body.mh-store .mh-mega-head,
body.mh-store .mh-mega-head:visited { color: var(--primary); }
body.mh-store .mh-mega a:hover { color: var(--primary); }
.mh-mega-list a,
.mh-mega-deep a { display: block; padding: 3px 0; line-height: 1.35; }
.mh-mega-tiles {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
}
.mh-mega-tile {
    display: block;
    background: #f3f5f4;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}
.mh-mega-tile img { width: 100%; height: 78px; object-fit: cover; display: block; background: #fff; }
.mh-mega-tile span {
    display: block;
    padding: 6px 6px 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: uppercase;
}
.mh-more-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 70;
    width: 220px;
    max-height: 70vh;
    margin: 0;
    padding: 6px 0;
    overflow: auto;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mh-nav-more { position: relative; }
.mh-nav-more.is-open > .mh-more-menu,
.mh-nav-more:hover > .mh-more-menu { display: block; }
body.mh-store .mh-more-menu a,
body.mh-store .mh-more-menu a:visited {
    display: block;
    padding: 8px 14px;
    color: var(--text);
    text-decoration: none;
    line-height: 1.35;
}
body.mh-store .mh-more-menu a:hover { color: var(--primary); background: var(--primary-soft); }
@media (min-width: 768px) {
    .mh-cat.is-open > .mh-mega { display: flex; gap: 28px; }
    .mh-mega .mh-nav-subtoggle { display: none; }
    .mh-mega-main { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 32px; }
    .mh-mega-group { width: 180px; margin: 0; }
    .mh-mega-list,
    .mh-mega-deep { display: block; }
    .mh-mega-tiles { display: grid; flex: 0 0 280px; }
}
@media (max-width: 767px) {
    .mh-cat.is-open > .mh-mega {
        display: block;
        position: static;
        width: auto;
        max-height: none;
        padding: 0 0 8px 8px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .mh-mega-list,
    .mh-mega-deep { display: none; }
    .mh-mega-group.is-open > .mh-mega-list,
    .mh-mega-item.is-open > .mh-mega-deep { display: block; }
    .mh-mega .mh-nav-row { width: 100%; }
    .mh-mega .mh-nav-row > a { flex: 1 1 auto; min-height: 40px; padding: 8px 8px 8px 12px; }
    .mh-mega .mh-nav-subtoggle { display: inline-flex; }
    .mh-mega-tiles { display: none; }
}
