﻿/* Merged legacy marketplace.css base styles. Keep before Marketplace UI refresh so newer rules win. */
/* =======================================================
   MARKETPLACE v3.0 — World-Class Design System
   Inspired by Jumia & Amazon best practices
   ======================================================= */

/* ─── 1. Design Tokens ─── */
body.mp2 {
    --mk-green:        #1a7a52;
    --mk-green-dark:   #145e3d;
    --mk-green-mid:    #1f8f60;
    --mk-green-soft:   rgba(26,122,82,.10);
    --mk-green-muted:  #eaf6f0;
    --mk-orange:       #f59e0b;
    --mk-orange-dark:  #d97706;
    --mk-orange-soft:  rgba(245,158,11,.10);
    --mk-orange-muted: #fef9ec;
    --mk-red:          #ef4444;
    --mk-red-soft:     rgba(239,68,68,.08);
    --mk-blue:         #3b82f6;
    --mk-indigo:       #6366f1;
    --mk-bg:           #f0f2f5;
    --mk-surface:      #ffffff;
    --mk-surface-alt:  #f8fafc;
    --mk-border:       #e5e7eb;
    --mk-border-soft:  rgba(0,0,0,.06);
    --mk-text:         #111827;
    --mk-text-2:       #374151;
    --mk-text-3:       #6b7280;
    --mk-text-4:       #9ca3af;
    --mk-radius-sm:    6px;
    --mk-radius:       10px;
    --mk-radius-lg:    16px;
    --mk-radius-xl:    22px;
    --mk-card-shadow:  0 1px 4px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --mk-hover-shadow: 0 8px 28px rgba(0,0,0,.13);
    --mk-topbar-h:     60px;
    --mk-catbar-h:     52px;
    background: var(--mk-bg) !important;
    color: var(--mk-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}

/* ─── 2. Topbar ─── */
.mk-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--mk-green);
    height: var(--mk-topbar-h);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.mk-topbar-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mk-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    color: #fff;
}
.mk-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    letter-spacing: -.02em;
    border: 1.5px solid rgba(255,255,255,.3);
}
.mk-brand-text {
    font-weight: 900;
    font-size: .9rem;
    letter-spacing: -.02em;
    color: #fff;
}
.mk-search-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: var(--mk-radius);
    overflow: hidden;
    height: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.mk-search-wrap input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 12px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--mk-text);
    height: 100%;
}
.mk-search-wrap input::placeholder { color: var(--mk-text-3); }
.mk-search-btn {
    width: 46px;
    height: 100%;
    background: var(--mk-orange);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background .15s;
}
.mk-search-btn:hover { background: var(--mk-orange-dark); }
.mk-topbar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.mk-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: background .15s, transform .15s;
}
.mk-icon-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.mk-cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    min-width: 17px;
    height: 17px;
    background: var(--mk-orange);
    color: #fff;
    font-size: .65rem;
    font-weight: 900;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    pointer-events: none;
    line-height: 1;
}

/* ─── 3. Category Bar ─── */
.mk-catbar {
    background: var(--mk-surface);
    border-bottom: 1px solid var(--mk-border);
    position: sticky;
    top: var(--mk-topbar-h);
    z-index: 90;
    overflow: hidden;
}
.mk-catbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    height: var(--mk-catbar-h);
}
.mk-catbar-inner::-webkit-scrollbar { display: none; }
.mk-cat-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 700;
    color: var(--mk-text-2);
    white-space: nowrap;
    border-radius: var(--mk-radius);
    transition: color .15s, background .15s;
    flex-shrink: 0;
    height: 36px;
}
.mk-cat-chip i { font-size: .88rem; }
.mk-cat-chip:hover { background: var(--mk-green-muted); color: var(--mk-green); }
.mk-cat-chip.active {
    background: var(--mk-green-muted);
    color: var(--mk-green);
    font-weight: 900;
    border-bottom: 2.5px solid var(--mk-green);
    border-radius: 0;
}
.mk-cat-chip-all { color: var(--mk-text); font-weight: 800; }

/* ─── 4. Page Container ─── */
.mk-page {
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 32px;
}
.mk-section {
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    margin: 12px 12px 0;
    padding: 16px;
    box-shadow: var(--mk-card-shadow);
}
.mk-section-ghost {
    margin: 12px 12px 0;
    padding: 0;
}
.mk-section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.mk-section-title {
    font-size: .96rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mk-section-title i { color: var(--mk-orange); }
.mk-section-link {
    font-size: .78rem;
    font-weight: 800;
    color: var(--mk-green);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-decoration: none;
}
.mk-section-link:hover { color: var(--mk-green-dark); }

/* ─── 5. Hero Carousel ─── */
.mk-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a2a18;
    border-radius: var(--mk-radius-lg);
    margin: 12px 12px 0;
    box-shadow: var(--mk-card-shadow);
}
.mk-hero-track {
    display: flex;
    transition: transform .48s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.mk-hero-slide {
    min-width: 100%;
    height: 240px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
}
.mk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.45) 55%,
        rgba(0,0,0,.1) 100%
    );
    pointer-events: none;
}
.mk-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 22px 24px;
    color: #fff;
    max-width: 560px;
}
.mk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mk-orange);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.mk-hero-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.mk-hero-sub {
    font-size: .84rem;
    font-weight: 600;
    opacity: .88;
    margin-bottom: 14px;
    line-height: 1.4;
}
.mk-hero-ctas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mk-hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius);
    padding: 9px 18px;
    font-size: .82rem;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.mk-hero-cta-primary:hover { background: var(--mk-green-dark); transform: translateY(-1px); }
.mk-hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: var(--mk-radius);
    padding: 9px 18px;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.mk-hero-cta-outline:hover { background: rgba(255,255,255,.25); }
.mk-hero-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    backdrop-filter: blur(4px);
    transition: background .15s, transform .15s;
}
.mk-hero-nav:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.08); }
.mk-hero-prev { left: 10px; }
.mk-hero-next { right: 10px; }
.mk-hero-dots {
    position: absolute;
    bottom: 12px; right: 16px;
    display: flex;
    gap: 5px;
    z-index: 10;
}
.mk-hero-dot {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.4);
    cursor: pointer;
    transition: background .2s, width .2s;
}
.mk-hero-dot.active {
    background: #fff;
    width: 18px;
}

/* ─── 6. Deal Strip ─── */
.mk-deal-strip {
    margin: 12px 12px 0;
    background: linear-gradient(135deg, #7c2d12 0%, #dc2626 50%, #b91c1c 100%);
    border-radius: var(--mk-radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 16px rgba(220,38,38,.25);
}
.mk-deal-strip::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.mk-deal-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}
.mk-deal-text { flex: 1; color: #fff; }
.mk-deal-label {
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .85;
}
.mk-deal-title {
    font-size: .96rem;
    font-weight: 900;
    letter-spacing: -.01em;
    margin-top: 1px;
}
.mk-deal-btn {
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: var(--mk-radius);
    padding: 7px 14px;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
    flex-shrink: 0;
}
.mk-deal-btn:hover { background: rgba(255,255,255,.28); }

/* ─── 7. Horizontal Scroll Rows ─── */
.mk-hscroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}
.mk-hscroll::-webkit-scrollbar { display: none; }

/* ─── 8. Product Card (main grid) ─── */
.mk-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.mk-pcard {
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--mk-card-shadow);
    border: 1px solid var(--mk-border);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.mk-pcard:hover {
    transform: translateY(-3px);
    box-shadow: var(--mk-hover-shadow);
    border-color: rgba(26,122,82,.2);
}
.mk-pcard:active { transform: translateY(0); }
.mk-pcard-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--mk-surface-alt);
    flex-shrink: 0;
}
.mk-pcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: block;
}
.mk-pcard:hover .mk-pcard-img { transform: scale(1.06); }
.mk-pcard-img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mk-surface-alt);
    color: var(--mk-text-4);
    font-size: 2.2rem;
}
.mk-pcard-badges {
    position: absolute;
    top: 8px; left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.mk-pcard-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    backdrop-filter: blur(6px);
}
.mk-pcard-badge.featured { background: rgba(245,158,11,.9); color: #fff; }
.mk-pcard-badge.sale { background: rgba(239,68,68,.9); color: #fff; }
.mk-pcard-badge.new { background: rgba(26,122,82,.9); color: #fff; }
.mk-pcard-wish {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 2;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-text-3);
    font-size: .8rem;
    backdrop-filter: blur(4px);
    transition: background .15s, color .15s, transform .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.mk-pcard-wish:hover { transform: scale(1.12); background: #fff; }
.mk-pcard-wish.wished { color: var(--mk-red); background: #fff; }
.mk-pcard-atc-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 8px 8px;
    z-index: 2;
    transform: translateY(110%);
    transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.mk-pcard:hover .mk-pcard-atc-wrap { transform: translateY(0); }
.mk-pcard-atc {
    width: 100%;
    padding: 8px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius);
    font-size: .76rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.mk-pcard-atc:hover { background: var(--mk-green-dark); }
.mk-pcard-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.mk-pcard-name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--mk-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mk-pcard-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .72rem;
    color: var(--mk-orange);
    font-weight: 700;
}
.mk-pcard-stars .count { color: var(--mk-text-3); }
.mk-pcard-price {
    font-size: .96rem;
    font-weight: 900;
    color: var(--mk-green);
    letter-spacing: -.01em;
    margin-top: 2px;
}
.mk-pcard-store {
    font-size: .68rem;
    font-weight: 700;
    color: var(--mk-text-3);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}
.mk-pcard-store i { color: var(--mk-blue); font-size: .64rem; }

/* Mobile: always show ATC button (no hover) */
@media (hover: none) {
    .mk-pcard-atc-wrap { transform: translateY(0) !important; }
}

/* ─── 9. Mini Card (horizontal featured scroll) ─── */
.mk-mini-card {
    flex-shrink: 0;
    width: 140px;
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-card-shadow);
    scroll-snap-align: start;
    transition: transform .2s, box-shadow .2s;
}
.mk-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mk-hover-shadow);
}
.mk-mini-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--mk-surface-alt);
    position: relative;
}
.mk-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}
.mk-mini-card:hover .mk-mini-img img { transform: scale(1.05); }
.mk-mini-img-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-text-4);
    font-size: 1.8rem;
}
.mk-mini-body {
    padding: 8px 9px 10px;
}
.mk-mini-name {
    font-size: .72rem;
    font-weight: 700;
    color: var(--mk-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.mk-mini-price {
    font-size: .82rem;
    font-weight: 900;
    color: var(--mk-green);
}
.mk-mini-atc {
    margin-top: 6px;
    width: 100%;
    padding: 5px;
    background: var(--mk-green-muted);
    color: var(--mk-green);
    border: 1.5px solid var(--mk-green-soft);
    border-radius: var(--mk-radius-sm);
    font-size: .68rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background .15s, color .15s;
}
.mk-mini-atc:hover { background: var(--mk-green); color: #fff; }

/* ─── 10. Store Cards ─── */
.mk-stores-scroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.mk-stores-scroll::-webkit-scrollbar { display: none; }
.mk-store-card {
    flex-shrink: 0;
    width: 160px;
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-card-shadow);
    scroll-snap-align: start;
    transition: transform .2s, box-shadow .2s;
}
.mk-store-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--mk-hover-shadow);
}
.mk-store-banner {
    height: 80px;
    background: linear-gradient(135deg, #0f2235 0%, #1a7a52 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.mk-store-logo-wrap {
    position: absolute;
    bottom: -22px;
    left: 12px;
}
.mk-store-logo {
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 2.5px solid var(--mk-surface);
    background: var(--mk-surface);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mk-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-store-letter {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--mk-green);
    background: var(--mk-green-muted);
}
.mk-store-body {
    padding: 28px 12px 12px;
}
.mk-store-name {
    font-size: .8rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mk-store-name i { color: var(--mk-blue); font-size: .72rem; }
.mk-store-count {
    font-size: .68rem;
    font-weight: 700;
    color: var(--mk-text-3);
    margin-top: 3px;
}
.mk-store-desc {
    font-size: .7rem;
    color: var(--mk-text-3);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Stores full-page list */
.mk-stores-list { display: flex; flex-direction: column; gap: 12px; }
.mk-store-row {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    align-items: stretch;
    box-shadow: var(--mk-card-shadow);
}
.mk-store-row:hover {
    transform: translateY(-2px);
    box-shadow: var(--mk-hover-shadow);
}
.mk-store-row-banner {
    width: 100px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0f2235, #1a7a52);
    background-size: cover;
    background-position: center;
}
.mk-store-row-inner {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mk-store-row-logo {
    width: 48px; height: 48px;
    border-radius: 12px;
    border: 1px solid var(--mk-border);
    background: var(--mk-surface-alt);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mk-store-row-logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-store-row-meta { flex: 1; min-width: 0; }
.mk-store-row-name {
    font-weight: 900;
    font-size: .92rem;
    color: var(--mk-text);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mk-store-row-name i { color: var(--mk-blue); }
.mk-store-row-desc {
    font-size: .8rem;
    color: var(--mk-text-3);
    margin-top: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mk-store-row-foot {
    font-size: .74rem;
    color: var(--mk-text-4);
    margin-top: 6px;
    font-weight: 700;
}
.mk-store-row-arrow {
    color: var(--mk-text-4);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ─── 11. Category Tiles Page ─── */
.mk-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mk-cat-tile {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 16px 10px 14px;
    cursor: pointer;
    text-align: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    box-shadow: var(--mk-card-shadow);
}
.mk-cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--mk-hover-shadow);
    border-color: var(--mk-green);
}
.mk-cat-tile:active { transform: translateY(0); }
.mk-cat-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--mk-green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.4rem;
    color: var(--mk-green);
    transition: background .2s, transform .2s;
}
.mk-cat-tile:hover .mk-cat-icon-wrap {
    background: var(--mk-green);
    color: #fff;
    transform: scale(1.08);
}
.mk-cat-name {
    font-size: .78rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.01em;
    line-height: 1.3;
}
.mk-cat-count {
    font-size: .66rem;
    color: var(--mk-text-3);
    margin-top: 3px;
    font-weight: 700;
}

/* ─── 12. Filter / Sort Bar ─── */
.mk-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.mk-chip-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.mk-chip-scroll::-webkit-scrollbar { display: none; }
.mk-filter-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1.5px solid var(--mk-border);
    background: var(--mk-surface);
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
    color: var(--mk-text-2);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}
.mk-filter-chip.active {
    background: var(--mk-green);
    border-color: var(--mk-green);
    color: #fff;
}
.mk-filter-chip:not(.active):hover {
    border-color: var(--mk-green);
    color: var(--mk-green);
}
.mk-sort-sel {
    border: 1.5px solid var(--mk-border);
    background: var(--mk-surface);
    border-radius: var(--mk-radius);
    padding: 6px 10px;
    font-size: .76rem;
    font-weight: 800;
    color: var(--mk-text-2);
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}

/* Load more */
.mk-load-more {
    text-align: center;
    margin-top: 16px;
}
.mk-load-more-btn {
    background: var(--mk-surface);
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 12px 32px;
    font-size: .84rem;
    font-weight: 900;
    color: var(--mk-text-2);
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.mk-load-more-btn:hover {
    border-color: var(--mk-green);
    color: var(--mk-green);
    background: var(--mk-green-muted);
}

/* ─── 13. Store Page ─── */
.mk-store-hero-banner {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #0f2235 0%, #1a7a52 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--mk-radius-lg) var(--mk-radius-lg) 0 0;
}
.mk-store-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45) 100%);
    border-radius: inherit;
}
.mk-store-hero-info {
    background: var(--mk-surface);
    border-radius: 0 0 var(--mk-radius-lg) var(--mk-radius-lg);
    padding: 0 16px 16px;
    border: 1px solid var(--mk-border);
    border-top: none;
    box-shadow: var(--mk-card-shadow);
}
.mk-store-hero-logo-abs {
    width: 72px; height: 72px;
    border-radius: 20px;
    border: 3px solid var(--mk-surface);
    background: var(--mk-surface);
    overflow: hidden;
    margin-top: -36px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mk-store-hero-logo-abs img { width: 100%; height: 100%; object-fit: cover; }
.mk-store-hero-top {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 10px;
}
.mk-store-hero-texts { flex: 1; min-width: 0; padding-bottom: 2px; }
.mk-store-hero-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mk-store-hero-name i { color: var(--mk-blue); font-size: .9rem; }
.mk-store-hero-desc {
    font-size: .84rem;
    color: var(--mk-text-3);
    margin-top: 4px;
    line-height: 1.5;
}
.mk-store-hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.mk-store-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--mk-surface-alt);
    border: 1px solid var(--mk-border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--mk-text-3);
}
.mk-store-tag.verified { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.2); color: var(--mk-blue); }
.mk-store-tag.green { background: var(--mk-green-muted); border-color: var(--mk-green-soft); color: var(--mk-green); }
.mk-store-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mk-surface-alt);
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius);
    padding: 0 12px;
    height: 38px;
    margin-top: 12px;
}
.mk-store-search i { color: var(--mk-text-3); }
.mk-store-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: .86rem;
    color: var(--mk-text);
}
.mk-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: var(--mk-text-3);
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
    padding: 10px 14px 6px;
    border-radius: var(--mk-radius);
    transition: color .15s;
}
.mk-back-btn:hover { color: var(--mk-text); }
.mk-back-btn i { font-size: .9rem; }

/* ─── 14. Product Detail Page ─── */
.mk-product-wrap {
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-card-shadow);
    border: 1px solid var(--mk-border);
    margin: 0 12px;
}
.mk-product-gallery {
    position: relative;
    width: 100%;
    background: var(--mk-surface-alt);
}
.mk-gallery-main {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    max-height: 380px;
}
.mk-gallery-main-ph {
    width: 100%;
    aspect-ratio: 1;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--mk-text-4);
}
.mk-gallery-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--mk-surface);
    border-top: 1px solid var(--mk-border);
}
.mk-gallery-thumbs::-webkit-scrollbar { display: none; }
.mk-gallery-thumb {
    width: 56px; height: 56px;
    border-radius: var(--mk-radius);
    overflow: hidden;
    border: 2px solid var(--mk-border);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s;
}
.mk-gallery-thumb.active { border-color: var(--mk-green); }
.mk-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-gallery-wish {
    position: absolute;
    top: 12px; right: 12px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-text-3);
    font-size: .9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: color .15s, transform .15s;
}
.mk-gallery-wish:hover { transform: scale(1.1); }
.mk-gallery-wish.wished { color: var(--mk-red); }
.mk-product-body {
    padding: 16px;
}
.mk-product-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.mk-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.mk-product-tag.featured { background: var(--mk-orange-muted); border: 1px solid var(--mk-orange-soft); color: var(--mk-orange-dark); }
.mk-product-tag.cat { background: var(--mk-surface-alt); border: 1px solid var(--mk-border); color: var(--mk-text-3); }
.mk-product-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.02em;
    line-height: 1.25;
    margin-bottom: 8px;
}
.mk-product-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.mk-product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--mk-orange);
    font-weight: 800;
}
.mk-product-rating .cnt { color: var(--mk-text-3); }
.mk-product-store-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--mk-blue);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color .15s;
}
.mk-product-store-link:hover { text-decoration-color: var(--mk-blue); }
.mk-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--mk-green-muted);
    border-radius: var(--mk-radius);
    border: 1px solid var(--mk-green-soft);
}
.mk-product-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--mk-green);
    letter-spacing: -.02em;
}
.mk-var-section { margin-bottom: 16px; }
.mk-var-label {
    font-size: .78rem;
    font-weight: 900;
    color: var(--mk-text-2);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.mk-var-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mk-var-chip {
    padding: 7px 14px;
    border: 2px solid var(--mk-border);
    background: var(--mk-surface);
    border-radius: var(--mk-radius);
    cursor: pointer;
    font-size: .8rem;
    font-weight: 800;
    color: var(--mk-text-2);
    transition: all .15s;
}
.mk-var-chip:hover { border-color: var(--mk-green); color: var(--mk-green); }
.mk-var-chip.active { border-color: var(--mk-green); background: var(--mk-green); color: #fff; }
.mk-var-mod { font-size: .7rem; font-weight: 700; margin-left: 3px; opacity: .8; }
.mk-product-desc {
    font-size: .85rem;
    color: var(--mk-text-2);
    line-height: 1.65;
    margin-bottom: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--mk-border);
}
.mk-atc-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mk-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius);
    overflow: hidden;
    flex-shrink: 0;
}
.mk-qty-btn {
    width: 38px; height: 44px;
    border: none;
    background: var(--mk-surface-alt);
    color: var(--mk-text);
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.mk-qty-btn:hover { background: var(--mk-green-muted); color: var(--mk-green); }
.mk-qty-input {
    width: 44px;
    height: 44px;
    border: none;
    border-left: 1.5px solid var(--mk-border);
    border-right: 1.5px solid var(--mk-border);
    text-align: center;
    font-size: .92rem;
    font-weight: 900;
    color: var(--mk-text);
    background: var(--mk-surface);
    outline: none;
}
.mk-atc-btn {
    flex: 1;
    height: 44px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius);
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .15s;
}
.mk-atc-btn:hover { background: var(--mk-green-dark); transform: translateY(-1px); }
.mk-atc-btn:active { transform: translateY(0); }

/* ─── 15. Cart Page ─── */
.mk-cart-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
}
.mk-cart-group {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-card-shadow);
}
.mk-cart-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--mk-border);
    background: var(--mk-surface-alt);
}
.mk-cart-store-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 900;
    color: var(--mk-text);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.mk-cart-store-link:hover { color: var(--mk-green); }
.mk-cart-store-link i { color: var(--mk-green); }
.mk-cart-items { padding: 0 14px; }
.mk-cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--mk-border);
}
.mk-cart-item:last-child { border-bottom: none; }
.mk-cart-thumb {
    width: 72px; height: 72px;
    border-radius: var(--mk-radius);
    overflow: hidden;
    background: var(--mk-surface-alt);
    border: 1px solid var(--mk-border);
    flex-shrink: 0;
}
.mk-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-cart-thumb-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mk-text-4);
    font-size: 1.5rem;
}
.mk-cart-info { flex: 1; min-width: 0; }
.mk-cart-name {
    font-size: .84rem;
    font-weight: 800;
    color: var(--mk-text);
    line-height: 1.3;
    margin-bottom: 3px;
}
.mk-cart-var {
    font-size: .72rem;
    color: var(--mk-text-3);
    margin-bottom: 8px;
    font-weight: 700;
}
.mk-cart-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.mk-cart-unit { font-size: .78rem; color: var(--mk-text-3); font-weight: 700; }
.mk-cart-total { font-size: .96rem; font-weight: 900; color: var(--mk-green); }
.mk-cart-qty-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}
.mk-cart-qty-ctrl {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius-sm);
    overflow: hidden;
}
.mk-cart-qty-btn {
    width: 30px; height: 30px;
    border: none;
    background: var(--mk-surface-alt);
    color: var(--mk-text-2);
    font-weight: 900;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.mk-cart-qty-btn:hover { background: var(--mk-green-muted); color: var(--mk-green); }
.mk-cart-qty-input {
    width: 36px; height: 30px;
    border: none;
    border-left: 1.5px solid var(--mk-border);
    border-right: 1.5px solid var(--mk-border);
    text-align: center;
    font-size: .82rem;
    font-weight: 900;
    background: var(--mk-surface);
    outline: none;
    color: var(--mk-text);
}
.mk-cart-remove {
    border: none;
    background: none;
    color: var(--mk-text-4);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--mk-radius-sm);
    transition: color .15s, background .15s;
}
.mk-cart-remove:hover { color: var(--mk-red); background: var(--mk-red-soft); }
.mk-cart-summary {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 16px;
    box-shadow: var(--mk-card-shadow);
}
.mk-cart-summary-title {
    font-size: .92rem;
    font-weight: 900;
    color: var(--mk-text);
    margin-bottom: 12px;
}
.mk-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: .84rem;
}
.mk-kv .label { color: var(--mk-text-3); font-weight: 700; }
.mk-kv .val { font-weight: 800; color: var(--mk-text); }
.mk-kv .val.green { color: var(--mk-green); }
.mk-kv-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 4px;
    border-top: 2px solid var(--mk-border);
    margin-top: 6px;
}
.mk-kv-total .label { font-size: .9rem; font-weight: 900; color: var(--mk-text); }
.mk-kv-total .val { font-size: 1.15rem; font-weight: 900; color: var(--mk-green); }
.mk-checkout-btn {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius-lg);
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s, transform .15s;
    box-shadow: 0 4px 16px rgba(26,122,82,.3);
}
.mk-checkout-btn:hover { background: var(--mk-green-dark); transform: translateY(-1px); }
.mk-cart-empty {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--mk-card-shadow);
}
.mk-cart-empty-icon {
    font-size: 3.5rem;
    color: var(--mk-text-4);
    margin-bottom: 14px;
    display: block;
}
.mk-cart-empty-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--mk-text);
    margin-bottom: 6px;
}
.mk-cart-empty-sub {
    font-size: .84rem;
    color: var(--mk-text-3);
    margin-bottom: 18px;
    line-height: 1.5;
}
.mk-cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius-lg);
    font-size: .88rem;
    font-weight: 900;
    cursor: pointer;
    transition: background .15s;
}
.mk-cart-empty-btn:hover { background: var(--mk-green-dark); }

/* Cart FAB */
.mk-cart-fab {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 80;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 18px 10px 14px;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(26,122,82,.45);
    cursor: pointer;
    font-weight: 900;
    transition: background .15s, transform .15s;
}
.mk-cart-fab:hover { background: var(--mk-green-dark); transform: translateY(-2px); }
.mk-cart-fab.visible { display: flex; }
.mk-cart-fab-icon { font-size: 1.1rem; }
.mk-cart-fab-info { display: flex; flex-direction: column; line-height: 1.25; }
.mk-cart-fab-count { font-size: .7rem; opacity: .88; }
.mk-cart-fab-total { font-size: .9rem; font-weight: 900; }

/* ─── 16. Checkout Modal ─── */
.mk-checkout-modal {
    padding: 0;
}
.mk-checkout-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding: 16px;
    scrollbar-width: thin;
}
.mk-checkout-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--mk-border);
    background: var(--mk-surface);
}
.mk-co-section {
    background: var(--mk-surface-alt);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 14px;
    margin-bottom: 12px;
}
.mk-co-section-title {
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--mk-text-3);
    margin-bottom: 10px;
}
.mk-co-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .84rem;
    padding: 4px 0;
    color: var(--mk-text-2);
    font-weight: 700;
}
.mk-co-summary-row.total {
    font-size: 1rem;
    font-weight: 900;
    color: var(--mk-text);
    border-top: 1.5px solid var(--mk-border);
    padding-top: 8px;
    margin-top: 4px;
}
.mk-co-summary-row.total .val { color: var(--mk-green); }
.mk-place-btn {
    width: 100%;
    padding: 14px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius-lg);
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(26,122,82,.3);
    transition: background .15s;
}
.mk-place-btn:hover { background: var(--mk-green-dark); }
.mk-place-btn:disabled { opacity: .7; cursor: not-allowed; }

/* ─── 17. Account Page ─── */
.mk-account-wrap { padding: 12px; }
.mk-account-hero {
    background: linear-gradient(135deg, var(--mk-green) 0%, var(--mk-green-dark) 100%);
    border-radius: var(--mk-radius-lg);
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(26,122,82,.35);
}
.mk-account-avatar {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    border: 2px solid rgba(255,255,255,.3);
    flex-shrink: 0;
}
.mk-account-info { flex: 1; min-width: 0; }
.mk-account-name {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.01em;
}
.mk-account-phone {
    font-size: .8rem;
    opacity: .8;
    margin-top: 2px;
}
.mk-tab-bar {
    display: flex;
    gap: 0;
    background: var(--mk-surface);
    border-radius: var(--mk-radius-lg);
    border: 1px solid var(--mk-border);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--mk-card-shadow);
}
.mk-tab {
    flex: 1;
    padding: 11px 4px;
    border: none;
    background: transparent;
    font-size: .72rem;
    font-weight: 800;
    color: var(--mk-text-3);
    cursor: pointer;
    transition: all .15s;
    border-right: 1px solid var(--mk-border);
    white-space: nowrap;
}
.mk-tab:last-child { border-right: none; }
.mk-tab.active {
    background: var(--mk-green);
    color: #fff;
    font-weight: 900;
}
.mk-card-box {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--mk-card-shadow);
}
.mk-card-box-title {
    font-size: .9rem;
    font-weight: 900;
    color: var(--mk-text);
    margin-bottom: 12px;
}
.mk-order-item {
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 14px;
    margin-bottom: 10px;
    transition: border-color .15s;
}
.mk-order-item:hover { border-color: var(--mk-green); }
.mk-order-item:last-child { margin-bottom: 0; }
.mk-order-ref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.mk-order-ref {
    font-size: .84rem;
    font-weight: 900;
    color: var(--mk-text);
    font-family: monospace;
}
.mk-order-amt {
    font-size: .92rem;
    font-weight: 900;
    color: var(--mk-green);
}
.mk-order-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.mk-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 900;
    text-transform: capitalize;
}
.mk-badge.green { background: var(--mk-green-muted); color: var(--mk-green); }
.mk-badge.orange { background: var(--mk-orange-muted); color: var(--mk-orange-dark); }
.mk-badge.red { background: var(--mk-red-soft); color: var(--mk-red); }
.mk-badge.gray { background: var(--mk-surface-alt); border: 1px solid var(--mk-border); color: var(--mk-text-3); }
.mk-order-actions { display: flex; gap: 8px; }
.mk-btn-sm {
    padding: 6px 14px;
    border-radius: var(--mk-radius);
    font-size: .76rem;
    font-weight: 900;
    cursor: pointer;
    border: 1.5px solid var(--mk-border);
    background: var(--mk-surface);
    color: var(--mk-text-2);
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mk-btn-sm:hover { border-color: var(--mk-green); color: var(--mk-green); }
.mk-btn-sm.primary {
    background: var(--mk-green);
    border-color: var(--mk-green);
    color: #fff;
}
.mk-btn-sm.primary:hover { background: var(--mk-green-dark); }

/* Login box */
.mk-login-box {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: var(--mk-card-shadow);
}
.mk-login-title { font-size: 1rem; font-weight: 900; color: var(--mk-text); margin-bottom: 4px; }
.mk-login-sub { font-size: .82rem; color: var(--mk-text-3); margin-bottom: 14px; }

/* ─── 18. Empty states ─── */
.mk-empty {
    padding: 40px 20px;
    text-align: center;
}
.mk-empty-icon { font-size: 3rem; color: var(--mk-text-4); margin-bottom: 12px; display: block; }
.mk-empty-title { font-size: 1.05rem; font-weight: 900; color: var(--mk-text); margin-bottom: 6px; }
.mk-empty-sub { font-size: .84rem; color: var(--mk-text-3); line-height: 1.5; margin-bottom: 16px; }

/* ─── 19. Skeleton loaders ─── */
.mk-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: mk-shimmer 1.5s infinite;
    border-radius: var(--mk-radius);
}
@keyframes mk-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── 20. Bottom Nav ─── */
.mk-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--mk-surface);
    border-top: 1px solid var(--mk-border);
    display: flex;
    z-index: 100;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.mk-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    background: transparent;
    color: var(--mk-text-3);
    font-size: .6rem;
    font-weight: 800;
    cursor: pointer;
    transition: color .15s;
    padding: 0;
    position: relative;
}
.mk-nav-item i { font-size: 1.28rem; transition: transform .15s; }
.mk-nav-item.active { color: var(--mk-green); }
.mk-nav-item.active i { transform: translateY(-1px); }
.mk-nav-cart-badge {
    position: absolute;
    top: 8px; left: 50%;
    margin-left: 2px;
    min-width: 16px; height: 16px;
    background: var(--mk-orange);
    color: #fff;
    font-size: .58rem;
    font-weight: 900;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    pointer-events: none;
    line-height: 1;
}

/* ─── 21. Page header (store/category/cart pages) ─── */
.mk-page-hd {
    padding: 14px 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mk-page-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--mk-text);
    letter-spacing: -.02em;
    flex: 1;
}
.mk-page-subtitle {
    font-size: .78rem;
    color: var(--mk-text-3);
    font-weight: 700;
    margin-top: 2px;
}

/* ─── 22. Responsive Breakpoints ─── */
@media (min-width: 640px) {
    body.mp2 {
        padding-bottom: 24px;
    }
    .mk-bottom-nav { display: none; }
    .mk-cart-fab { bottom: 20px; }
    .mk-hero-slide { height: 320px; }
    .mk-hero-title { font-size: 2rem; }
    .mk-product-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .mk-cats-grid { grid-template-columns: repeat(4, 1fr); }
    .mk-mini-card { width: 160px; }
    .mk-store-card { width: 190px; }
}
@media (min-width: 900px) {
    .mk-hero { margin: 16px 16px 0; }
    .mk-hero-slide { height: 400px; }
    .mk-hero-title { font-size: 2.5rem; }
    .mk-hero-nav { width: 42px; height: 42px; }
    .mk-section { margin: 14px 16px 0; padding: 20px; }
    .mk-section-ghost { margin: 14px 16px 0; }
    .mk-deal-strip { margin: 14px 16px 0; }
    .mk-product-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .mk-cats-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .mk-pcard-atc-wrap { transform: translateY(110%); }
    .mk-mini-card { width: 180px; }
    .mk-store-card { width: 210px; }
    .mk-home-layout {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 16px;
        align-items: start;
        padding: 0 16px;
    }
    .mk-home-sidebar {
        position: sticky;
        top: calc(var(--mk-topbar-h) + var(--mk-catbar-h) + 16px);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mk-home-main { min-width: 0; }
    .mk-sidebar-box {
        background: var(--mk-surface);
        border: 1px solid var(--mk-border);
        border-radius: var(--mk-radius-lg);
        overflow: hidden;
        box-shadow: var(--mk-card-shadow);
    }
    .mk-sidebar-hd {
        padding: 12px 14px;
        font-size: .8rem;
        font-weight: 900;
        color: var(--mk-text);
        border-bottom: 1px solid var(--mk-border);
        background: var(--mk-surface-alt);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .mk-sidebar-link-btn {
        font-size: .7rem;
        font-weight: 800;
        color: var(--mk-green);
        background: none;
        border: none;
        cursor: pointer;
    }
    .mk-sidebar-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 9px 14px;
        border-bottom: 1px solid var(--mk-border);
        cursor: pointer;
        font-size: .8rem;
        font-weight: 700;
        color: var(--mk-text-2);
        background: transparent;
        border-left: none;
        border-right: none;
        width: 100%;
        text-align: left;
        transition: background .15s, color .15s;
    }
    .mk-sidebar-item:last-child { border-bottom: none; }
    .mk-sidebar-item:hover { background: var(--mk-green-muted); color: var(--mk-green); }
    .mk-sidebar-item.active { color: var(--mk-green); font-weight: 900; background: var(--mk-green-muted); border-left: 3px solid var(--mk-green); }
    .mk-sidebar-item i { font-size: .88rem; width: 16px; flex-shrink: 0; }
    .mk-sidebar-count { font-size: .7rem; font-weight: 800; color: var(--mk-text-4); }
    .mk-cart-wrap { flex-direction: row; align-items: flex-start; }
    .mk-cart-items-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
    .mk-cart-summary-col { width: 300px; flex-shrink: 0; position: sticky; top: calc(var(--mk-topbar-h) + 16px); }
    .mk-product-wrap { margin: 0 16px; }
    .mk-product-detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .mk-product-gallery { border-right: 1px solid var(--mk-border); }
    .mk-gallery-main { max-height: 480px; }
    .mk-gallery-main-ph { max-height: 480px; }
}
@media (min-width: 1200px) {
    .mk-product-grid { grid-template-columns: repeat(5, 1fr); }
    .mk-cats-grid { grid-template-columns: repeat(6, 1fr); }
    .mk-topbar-inner { padding: 0 24px; }
    .mk-section { margin: 16px 0 0; }
    .mk-section-ghost { margin: 16px 0 0; }
    .mk-hero { margin: 16px 0 0; }
    .mk-deal-strip { margin: 16px 0 0; }
}

/* ─── 23. Overrides for existing mp2 classes ─── */
body.mp2 .mp2-topbar { display: none !important; }
body.mp2 .mp2-bottom-nav { display: none !important; }
body.mp2 .mp-cart-fab { display: none !important; }
body.mp2 .mp-filter-fab { display: none !important; }
body.mp2 .mp2-view {
    padding: 0 0 16px !important;
    max-width: none !important;
}

/* ─── 24. Promo banner between sections ─── */
.mk-promo-banner {
    margin: 14px 12px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: var(--mk-radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(59,130,246,.25);
    cursor: pointer;
    transition: transform .15s;
}
.mk-promo-banner:hover { transform: translateY(-2px); }
.mk-promo-banner-text { flex: 1; }
.mk-promo-banner-label { font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.mk-promo-banner-title { font-size: .96rem; font-weight: 900; margin-top: 2px; }
.mk-promo-banner-icon { font-size: 2rem; opacity: .8; }

/* ─── 25. Input styles within mk context ─── */
body.mp2 .mk-input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius);
    font-size: .86rem;
    font-weight: 600;
    color: var(--mk-text);
    background: var(--mk-surface);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
body.mp2 .mk-input:focus {
    border-color: var(--mk-green);
    box-shadow: 0 0 0 3px var(--mk-green-soft);
}
body.mp2 .mk-label {
    display: block;
    font-size: .76rem;
    font-weight: 900;
    color: var(--mk-text-2);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
body.mp2 .mk-input-group { margin-bottom: 14px; }
body.mp2 .mk-select {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius);
    font-size: .86rem;
    font-weight: 600;
    color: var(--mk-text);
    background: var(--mk-surface);
    outline: none;
    cursor: pointer;
}
body.mp2 .mk-select:focus { border-color: var(--mk-green); }

/* ─── 26. Bottom Nav ─── */
.mk-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--mk-surface);
    border-top: 1px solid var(--mk-border);
    display: flex;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.mk-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: .62rem;
    font-weight: 700;
    color: var(--mk-text-3);
    transition: color .15s;
    padding: 6px 0;
    position: relative;
}
.mk-bnav-item i { font-size: 1.2rem; }
.mk-bnav-item.active { color: var(--mk-green); }
.mk-bnav-item.active i { color: var(--mk-green); }
@media (min-width: 640px) {
    .mk-bottom-nav { display: none; }
    body.mp2 { padding-bottom: 0 !important; }
}

/* ─── 27. Compact desktop layout for mk-page ─── */
@media (min-width: 900px) {
    .mk-page { padding: 0 16px; }
    .mk-section { margin: 16px 0 0; }
    .mk-hero { margin: 16px 0 0; border-radius: var(--mk-radius-lg); }
    .mk-deal-strip { margin: 16px 0 0; }
    .mk-section-ghost { margin: 8px 0 0; }
}

/* ═══════════════════════════════════════════════════════════════
   MARKETPLACE v3.1 — UX IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Overflow prevention ─── */
body.mp2 { overflow-x: hidden; max-width: 100vw; }
.mk-page { overflow-x: hidden; }
.mk-hero, .mk-section, .mk-deal-strip { max-width: 100%; }

/* ─── Reduced global font sizes ─── */
.mk-hero-title       { font-size: 1.25rem; }
.mk-hero-sub         { font-size: .78rem; }
.mk-section-title    { font-size: .84rem; }
.mk-pcard-name       { font-size: .74rem; }
.mk-pcard-price      { font-size: .86rem; }
.mk-pcard-store      { font-size: .63rem; }
.mk-pcard-stars      { font-size: .66rem; }
.mk-mini-name        { font-size: .68rem; }
.mk-mini-price       { font-size: .76rem; }
.mk-store-name       { font-size: .76rem; }
.mk-store-row-name   { font-size: .84rem; }
.mk-store-row-desc   { font-size: .74rem; }
.mk-cat-name         { font-size: .74rem; }
.mk-cat-count        { font-size: .62rem; }
.mk-product-name     { font-size: 1rem; }
.mk-back-btn         { font-size: .78rem; }
.mk-deal-title       { font-size: .9rem; }
.mk-deal-label       { font-size: .6rem; }
.mk-hero-badge       { font-size: .64rem; }

/* ─── Desktop home 3-column layout ─── */
.mk-home-sidebar-left,
.mk-home-sidebar-right { display: none; }

@media (min-width: 960px) {
    .mk-home-hero-row,
    .mk-home-catbar-row,
    .mk-home-deal-row { padding: 0 16px; }
    .mk-home-layout {
        display: grid;
        grid-template-columns: 210px 1fr 190px;
        gap: 0 12px;
        align-items: start;
        padding: 12px 16px 0;
        max-width: 1400px;
        margin: 0 auto;
    }
    .mk-home-sidebar-left,
    .mk-home-sidebar-right {
        display: block;
        position: sticky;
        top: calc(var(--mk-topbar-h) + 10px);
    }
    .mk-home-main { min-width: 0; }
    /* On desktop, hide the inline stores h-scroll – sidebar handles it */
    #mp-stores-section { display: none; }
    /* Sections inside main: remove side margin (grid provides gap) */
    .mk-home-main .mk-section,
    .mk-home-main .mk-deal-strip { margin-left: 0; margin-right: 0; }
}

/* ─── Sidebar card styles ─── */
.mk-sidebar-card {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-card-shadow);
    margin-bottom: 10px;
}
.mk-sidebar-hd {
    padding: 10px 12px 8px;
    font-size: .76rem;
    font-weight: 900;
    color: var(--mk-text);
    border-bottom: 1px solid var(--mk-border);
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.mk-sidebar-hd-link {
    font-size: .68rem;
    font-weight: 800;
    color: var(--mk-green);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.mk-sidebar-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    color: var(--mk-text-2);
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--mk-border-soft);
    transition: background .12s, color .12s;
}
.mk-sidebar-item:hover { background: var(--mk-green-muted); color: var(--mk-green); }
.mk-sidebar-item:last-child { border-bottom: none; }
.mk-sidebar-item i { font-size: .8rem; color: var(--mk-green); flex-shrink: 0; }
.mk-sidebar-item-count {
    margin-left: auto;
    font-size: .6rem;
    font-weight: 900;
    color: var(--mk-text-4);
    background: var(--mk-surface-alt);
    border-radius: 999px;
    padding: 1px 6px;
}
.mk-sidebar-see-all {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px;
    font-size: .7rem;
    font-weight: 900;
    color: var(--mk-green);
    background: var(--mk-green-muted);
    border: none;
    cursor: pointer;
    transition: background .12s;
}
.mk-sidebar-see-all:hover { background: rgba(26,122,82,.15); }
.mk-sidebar-store-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
    border-bottom: 1px solid var(--mk-border-soft);
    transition: background .12s;
    text-align: left;
}
.mk-sidebar-store-row:hover { background: var(--mk-surface-alt); }
.mk-sidebar-store-row:last-child { border-bottom: none; }
.mk-sidebar-store-logo {
    width: 30px; height: 30px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--mk-border);
    flex-shrink: 0;
    background: var(--mk-green-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .76rem;
    color: var(--mk-green);
}
.mk-sidebar-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.mk-sidebar-store-info { flex: 1; min-width: 0; }
.mk-sidebar-store-name {
    font-size: .72rem;
    font-weight: 800;
    color: var(--mk-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 3px;
}
.mk-sidebar-store-name i { color: var(--mk-blue); font-size: .64rem; }
.mk-sidebar-store-count { font-size: .6rem; color: var(--mk-text-4); font-weight: 700; margin-top: 1px; }

/* ─── Desktop product 2-column layout ─── */
.mk-product-sidebar { display: none; }

@media (min-width: 960px) {
    .mk-product-layout {
        display: grid;
        grid-template-columns: 1fr 268px;
        gap: 14px;
        align-items: start;
        padding: 0 16px;
        max-width: 1400px;
        margin: 0 auto;
    }
    .mk-product-sidebar {
        display: block;
        position: sticky;
        top: calc(var(--mk-topbar-h) + 10px);
    }
    .mk-product-wrap { margin: 0; }
}
.mk-product-sidebar-card {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    box-shadow: var(--mk-card-shadow);
    margin-bottom: 10px;
}

/* ─── Cart Identity Modal ─── */
.mk-identity-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}
.mk-identity-box {
    background: var(--mk-surface);
    border-radius: var(--mk-radius-xl);
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
    overflow: hidden;
    animation: mk-pop-in .25s cubic-bezier(.34,1.56,.64,1);
}
@keyframes mk-pop-in {
    from { transform: scale(.88); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.mk-identity-top {
    background: var(--mk-green);
    padding: 22px 20px 18px;
    color: #fff;
    text-align: center;
}
.mk-identity-top i { font-size: 2rem; opacity: .9; }
.mk-identity-top-title { font-size: 1rem; font-weight: 900; margin-top: 8px; }
.mk-identity-top-sub   { font-size: .78rem; opacity: .85; margin-top: 4px; }
.mk-identity-body { padding: 18px 18px 20px; }
.mk-id-field { margin-bottom: 12px; }
.mk-id-label {
    display: block;
    font-size: .7rem;
    font-weight: 900;
    color: var(--mk-text-3);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}
.mk-id-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--mk-border);
    border-radius: var(--mk-radius);
    font-size: .88rem;
    color: var(--mk-text);
    background: var(--mk-surface);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.mk-id-input:focus { border-color: var(--mk-green); box-shadow: 0 0 0 3px var(--mk-green-soft); }
.mk-id-submit {
    width: 100%;
    margin-top: 6px;
    padding: 13px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius-lg);
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
}
.mk-id-submit:hover { background: var(--mk-green-dark); }

/* ─── Back to top button ─── */
.mk-btt {
    position: fixed;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    width: 38px; height: 38px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    box-shadow: 0 4px 16px rgba(26,122,82,.4);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s;
    z-index: 150;
    pointer-events: none;
}
.mk-btt.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 640px) { .mk-btt { bottom: 20px; } }

/* ─── Page skeleton fade-in ─── */
#mp-view { animation: mk-fadein .22s ease; }
@keyframes mk-fadein { from { opacity: .4; } to { opacity: 1; } }

/* ─── Search clear button ─── */
.mk-search-clear {
    width: 32px; height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--mk-text-3);
    font-size: .8rem;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mk-search-clear.visible { display: flex; }
.mk-search-clear:hover { color: var(--mk-text); }

/* ─── Sticky sort/filter row for product section ─── */
.mk-sticky-filter {
    position: sticky;
    top: var(--mk-topbar-h);
    z-index: 70;
    background: var(--mk-surface);
    border-bottom: 1px solid var(--mk-border);
    padding: 8px 0;
    margin: 0 -16px;
    padding: 6px 16px;
}

/* Compact individual store page */
body.mp2 .mk-storefront {
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08) !important;
    margin-top: 8px !important;
}
body.mp2 .mk-storefront-banner {
    height: 145px !important;
    min-height: 145px !important;
    border-radius: 16px 16px 0 0 !important;
}
body.mp2 .mk-storefront-body {
    padding: 0 18px 16px !important;
}
body.mp2 .mk-storefront-top {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
}
body.mp2 .mk-storefront-logo {
    width: 82px !important;
    height: 82px !important;
    margin-top: -38px !important;
    border-width: 4px !important;
    border-radius: 50% !important;
}
body.mp2 .mk-storefront-main {
    padding-top: 10px !important;
}
body.mp2 .mk-storefront-name {
    font-size: clamp(1.12rem, 1.5vw, 1.38rem) !important;
    line-height: 1.15 !important;
}
body.mp2 .mk-storefront-rating,
body.mp2 .mk-storefront-address {
    font-size: .78rem !important;
    margin-top: 5px !important;
}
body.mp2 .mk-storefront-stats {
    margin-top: 10px !important;
    padding-top: 10px !important;
    gap: 12px !important;
}
body.mp2 .mk-storefront-stats strong {
    font-size: 1rem !important;
}
body.mp2 .mk-storefront-stats span {
    font-size: .68rem !important;
}
body.mp2 .mk-storefront-tags,
body.mp2 .mk-store-coupons,
body.mp2 .mk-store-cats {
    margin-top: 10px !important;
}
body.mp2 .mk-store-tag,
body.mp2 .mk-store-cats button {
    padding: 6px 9px !important;
    font-size: .72rem !important;
}
body.mp2 .mk-store-policies {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
body.mp2 .mk-store-policy {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
body.mp2 .mk-store-policy i {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--store-theme, var(--mk-primary));
    background: color-mix(in srgb, var(--store-theme, var(--mk-primary)) 11%, #fff);
}
body.mp2 .mk-store-policy strong {
    display: block;
    font-size: .76rem;
    color: var(--mk-text);
    line-height: 1.15;
}
body.mp2 .mk-store-policy span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 3px;
    color: var(--mk-text-3);
    font-size: .7rem;
    line-height: 1.35;
}
@media (max-width: 760px) {
    body.mp2 .mk-storefront-banner {
        height: 106px !important;
        min-height: 106px !important;
    }
    body.mp2 .mk-storefront-body {
        padding: 0 12px 14px !important;
    }
    body.mp2 .mk-storefront-top {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 10px !important;
    }
    body.mp2 .mk-storefront-logo {
        width: 64px !important;
        height: 64px !important;
        margin-top: -30px !important;
        border-width: 3px !important;
    }
    body.mp2 .mk-storefront-main {
        padding-top: 7px !important;
    }
    body.mp2 .mk-storefront-name {
        font-size: 1.02rem !important;
    }
    body.mp2 .mk-storefront-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin-top: 8px !important;
    }
    body.mp2 .mk-storefront-stats strong {
        font-size: .86rem !important;
    }
    body.mp2 .mk-storefront-stats span {
        font-size: .6rem !important;
    }
    body.mp2 .mk-store-policies {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}

/* Marketplace polish pass: consistent page rhythm and brighter interactive surfaces */
body.mp2 .mk-page {
    width: min(100%, 1380px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}
body.mp2 .mk-home-hero-row,
body.mp2 .mk-assurance-strip,
body.mp2 .mk-section,
body.mp2 .mk-promo-slots,
body.mp2 .mk-category-showcase,
body.mp2 .mk-page-head,
body.mp2 .mk-stores-hero {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
@media (min-width: 900px) {
    body.mp2 .mk-page {
        padding-left: 18px;
        padding-right: 18px;
    }
}
body.mp2 #mp-recent-section {
    background: linear-gradient(0deg, rgba(255,255,255,.96), rgba(255,255,255,.96)), #e8fff3;
    border-color: rgba(16, 185, 129, .16);
}
body.mp2 .mk-categories-section {
    background: #fff;
}
body.mp2 .mk-category-searchbar {
    height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: #f8fafc;
    margin-bottom: 16px;
}
body.mp2 .mk-category-searchbar i {
    color: var(--mk-primary);
}
body.mp2 .mk-category-searchbar input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mk-text);
    font: inherit;
}
body.mp2 .mk-cat-tile-premium {
    position: relative;
    min-height: 118px;
    align-items: center;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
body.mp2 .mk-cat-tile-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
    filter: saturate(1.04);
}
body.mp2 .mk-cat-copy {
    min-width: 0;
}
body.mp2 .mk-cat-arrow {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cat-color, var(--mk-primary));
    background: rgba(255,255,255,.74);
    flex-shrink: 0;
}
body.mp2 .mk-store-vacation,
body.mp2 .mk-product-vacation {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #fff7ed;
    color: #9a3412;
    margin-top: 10px;
    border: 1px solid rgba(234, 88, 12, .16);
}
body.mp2 .mk-store-vacation i,
body.mp2 .mk-product-vacation i {
    font-size: 1rem;
    margin-top: 1px;
}
body.mp2 .mk-store-vacation strong,
body.mp2 .mk-product-vacation strong {
    display: block;
    font-size: .8rem;
    line-height: 1.15;
}
body.mp2 .mk-store-vacation span,
body.mp2 .mk-product-vacation span {
    display: block;
    margin-top: 2px;
    font-size: .74rem;
    line-height: 1.35;
}
body.mp2 .mk-store-tag.paused {
    color: #9a3412;
    background: #fff7ed;
}
body.mp2 .mk-storefront-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
@media (max-width: 760px) {
    body.mp2 .mk-storefront-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    body.mp2 .mk-cat-tile-premium {
        min-height: 104px;
    }
}

/* Wishlist button overlaid on product panel gallery image */
.mp-gallery-wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .95rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    transition: color .2s, transform .2s, background .2s;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.mp-gallery-wish-btn:hover {
    transform: scale(1.12);
    color: #e11d48;
    background: rgba(255, 255, 255, .98);
}

.mp-gallery-wish-btn.wished {
    color: #e11d48;
    background: #fff1f2;
}

.mp-gallery-wish-btn i {
    pointer-events: none;
}

/* ─── Product page mobile enhancements ─── */



/* Fix 4: Product image fills its gallery container on small screens */
@media (max-width: 639px) {
    .mk-gallery-main {
        aspect-ratio: 4 / 3;
        max-height: none;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .mk-gallery-main-ph {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
    /* Give room at the bottom for the sticky Add to Cart bar */
    .mk-product-body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

/* Fix 5: Sticky Add to Cart bar above bottom nav on mobile */
.mp2-atc-sticky {
    display: none; /* shown by JS on mobile when inline button scrolls out of view */
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    z-index: 99;
    background: var(--mk-surface);
    border-top: 1px solid var(--mk-border);
    padding: 10px 16px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.10);
    gap: 10px;
    align-items: center;
}
/* Only activate on mobile — hide on tablet/desktop where bottom nav is hidden */
@media (max-width: 639px) {
    .mp2-atc-sticky.visible {
        display: flex;
    }
}
.mp2-atc-sticky-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--mk-border);
    border-radius: var(--mk-radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}
.mp2-atc-sticky-qty button {
    width: 38px; height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--mk-text-2);
}
.mp2-atc-sticky-qty input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    font-size: .94rem;
    font-weight: 900;
    color: var(--mk-text);
    background: transparent;
}
.mp2-atc-sticky-btn {
    flex: 1;
    height: 42px;
    background: var(--mk-green);
    color: #fff;
    border: none;
    border-radius: var(--mk-radius-lg);
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
}
.mp2-atc-sticky-btn:active { background: var(--mk-green-dark); }

/* ─── Popular Stores: infinite logo marquee ─── */
.mk-logo-belt {
    overflow: hidden;
    padding: 6px 0 12px;
    /* Fade edges for polish */
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.mk-logo-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: mkLogoBelt 24s linear infinite;
}
.mk-logo-track:hover {
    animation-play-state: paused;
}
@keyframes mkLogoBelt {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.mk-logo-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.mk-logo-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--mk-border);
    background: var(--mk-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.mk-logo-pill:hover .mk-logo-circle,
.mk-logo-pill:active .mk-logo-circle {
    transform: scale(1.08);
    border-color: var(--mk-green);
    box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}
.mk-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.mk-logo-pill-name {
    font-size: .64rem;
    font-weight: 800;
    color: var(--mk-text-2);
    text-align: center;
    max-width: 68px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: .01em;
}

/* Marketplace UI refresh overrides and additions. */
/*
   Marketplace UI refresh
   Purpose-built ecommerce layer inspired by high-volume retail patterns.
*/

body.mp2 {
    --mk-primary: #0f5f45;
    --mk-primary-dark: #0a4633;
    --mk-primary-soft: #e6f4ef;
    --mk-accent: #f5a400;
    --mk-accent-dark: #c97700;
    --mk-accent-soft: #fff4d8;
    --mk-danger: #dc2626;
    --mk-danger-soft: #fee2e2;
    --mk-info: #2563eb;
    --mk-info-soft: #dbeafe;
    --mk-bg: #eef2f6;
    --mk-band: #f8fafc;
    --mk-surface: #ffffff;
    --mk-surface-alt: #f6f8fb;
    --mk-border: #dfe5ed;
    --mk-border-soft: rgba(17, 24, 39, .08);
    --mk-text: #111827;
    --mk-text-2: #374151;
    --mk-text-3: #6b7280;
    --mk-text-4: #9ca3af;
    --mk-radius-sm: 6px;
    --mk-radius: 8px;
    --mk-radius-lg: 8px;
    --mk-radius-xl: 8px;
    --mk-topbar-h: 132px;
    --mk-card-shadow: 0 1px 2px rgba(17, 24, 39, .06);
    --mk-hover-shadow: 0 12px 32px rgba(17, 24, 39, .12);
    background: var(--mk-bg) !important;
    color: var(--mk-text);
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

body.mp2 button,
body.mp2 input,
body.mp2 select,
body.mp2 textarea {
    font: inherit;
}

body.mp2 a {
    text-decoration: none;
}

body.mp2 .mk-topbar-pro {
    position: sticky;
    top: 0;
    z-index: 300;
    display: block;
    height: auto;
    background: var(--mk-surface);
    color: var(--mk-text);
    border-bottom: 1px solid var(--mk-border);
    box-shadow: 0 6px 22px rgba(17, 24, 39, .08);
}

.mk-utilitybar {
    background: var(--mk-primary-dark);
    color: #fff;
    min-height: 30px;
    display: flex;
    align-items: center;
}

.mk-utilitybar-inner,
.mk-mainbar,
.mk-category-strip {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.mk-utilitybar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0 16px;
}

.mk-utility-link,
.mk-utility-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .9);
    background: transparent;
    border: 0;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.mk-utility-link:hover {
    color: #fff;
}

body.mp2 .mk-mainbar {
    min-height: 66px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.mp2 .mk-brand {
    color: var(--mk-text);
    min-width: max-content;
}

body.mp2 .mk-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--mk-primary);
    border: 0;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .14);
}

body.mp2 .mk-brand-text {
    color: var(--mk-text);
    font-size: 1rem;
    letter-spacing: 0;
}

.mk-department-btn {
    height: 44px;
    padding: 0 13px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: var(--mk-band);
    color: var(--mk-text);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.mk-department-btn:hover {
    background: var(--mk-primary-soft);
    border-color: rgba(15, 95, 69, .24);
    color: var(--mk-primary);
}

body.mp2 .mk-search-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    height: 46px;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--mk-accent);
    background: #fff;
    box-shadow: 0 3px 10px rgba(17, 24, 39, .08);
}

body.mp2 .mk-search-wrap:focus-within {
    box-shadow: 0 0 0 4px rgba(245, 164, 0, .2);
}

body.mp2 .mk-search-wrap input {
    height: 100%;
    padding: 0 14px;
    color: var(--mk-text);
    font-size: .95rem;
    font-weight: 700;
}

body.mp2 .mk-search-wrap input::placeholder {
    color: var(--mk-text-4);
}

body.mp2 .mk-search-btn {
    width: 58px;
    background: var(--mk-accent);
    color: #1f2937;
    font-size: 1.05rem;
}

body.mp2 .mk-search-btn:hover {
    background: #ffb31a;
}

body.mp2 .mk-search-clear {
    display: none;
    width: 36px;
    color: var(--mk-text-3);
}

body.mp2 .mk-search-clear.visible {
    display: flex;
}

body.mp2 .mk-topbar-actions {
    gap: 8px;
}

.mk-action-btn,
body.mp2 .mk-icon-btn {
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: var(--mk-surface);
    color: var(--mk-text-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background .16s, border-color .16s, transform .16s;
}

body.mp2 .mk-icon-btn {
    width: 44px;
    font-size: 1.1rem;
}

.mk-action-btn {
    padding: 0 12px;
    font-weight: 900;
    cursor: pointer;
}

.mk-action-btn:hover,
body.mp2 .mk-icon-btn:hover {
    background: var(--mk-primary-soft);
    border-color: rgba(15, 95, 69, .24);
    color: var(--mk-primary);
    transform: translateY(-1px);
}

body.mp2 .mk-cart-badge {
    background: var(--mk-danger);
    border: 2px solid #fff;
    top: -5px;
    right: -5px;
}

.mk-category-strip {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.mk-category-strip::-webkit-scrollbar {
    display: none;
}

.mk-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--mk-text-2);
    font-size: .75rem;
    font-weight: 850;
    cursor: pointer;
}

.mk-strip-link:hover,
.mk-strip-link.active {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    border-color: rgba(15, 95, 69, .18);
}

body.mp2 .mk-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px 44px;
    overflow: visible;
}

.mk-home-hero-row {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr) 260px;
    gap: 12px;
    align-items: stretch;
    margin-top: 14px;
}

.mk-aisle-card,
.mk-confidence-panel,
.mk-section,
.mk-storefront,
.mk-product-wrap,
.mk-cart-group,
.mk-cart-summary,
.mk-account-panel,
.mk-auth-card {
    background: var(--mk-surface);
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    box-shadow: var(--mk-card-shadow);
}

body.mp2 .mk-section {
    margin: 14px 0 0;
    padding: 18px;
}

.mk-aisle-card {
    overflow: hidden;
}

.mk-panel-head {
    min-height: 44px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--mk-border);
    background: var(--mk-band);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-weight: 950;
    color: var(--mk-text);
}

.mk-panel-head i {
    color: var(--mk-primary);
}

.mk-aisle-list,
.mk-store-shortlist {
    display: flex;
    flex-direction: column;
}

.mk-aisle-link,
.mk-store-short {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--mk-border-soft);
    background: #fff;
    color: var(--mk-text-2);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: .82rem;
    font-weight: 800;
}

.mk-aisle-link:last-child,
.mk-store-short:last-child {
    border-bottom: 0;
}

.mk-aisle-link:hover,
.mk-aisle-link.active,
.mk-store-short:hover {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

.mk-aisle-link i {
    width: 18px;
    color: var(--mk-primary);
}

.mk-aisle-count {
    margin-left: auto;
    min-width: 24px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--mk-band);
    color: var(--mk-text-3);
    font-size: .65rem;
    font-weight: 950;
}

body.mp2 .mk-hero {
    margin: 0;
    min-height: 360px;
    border-radius: 8px;
    background: #101827;
    overflow: hidden;
}

body.mp2 .mk-hero-slide {
    height: 360px;
    align-items: center;
}

body.mp2 .mk-hero-overlay {
    background: linear-gradient(90deg, rgba(7, 16, 28, .82), rgba(7, 16, 28, .48) 54%, rgba(7, 16, 28, .1));
}

body.mp2 .mk-hero-content {
    max-width: 620px;
    padding: 34px 44px;
}

body.mp2 .mk-hero-badge {
    background: var(--mk-accent);
    color: #1f2937;
    border-radius: 6px;
    letter-spacing: 0;
}

body.mp2 .mk-hero-title {
    font-size: 2.35rem;
    line-height: 1.06;
    letter-spacing: 0;
    margin-bottom: 10px;
}

body.mp2 .mk-hero-sub {
    max-width: 520px;
    font-size: .98rem;
    line-height: 1.55;
}

body.mp2 .mk-hero-cta-primary,
body.mp2 .mk-hero-cta-outline {
    border-radius: 8px;
    min-height: 42px;
    padding: 0 18px;
}

body.mp2 .mk-hero-cta-primary {
    background: var(--mk-accent);
    color: #1f2937;
}

body.mp2 .mk-hero-cta-primary:hover {
    background: #ffb31a;
}

.mk-confidence-panel {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mk-confidence-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: var(--mk-band);
}

.mk-confidence-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    font-size: 1rem;
}

.mk-confidence-title {
    font-size: .82rem;
    font-weight: 950;
    color: var(--mk-text);
}

.mk-confidence-copy {
    margin-top: 2px;
    color: var(--mk-text-3);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
}

.mk-assurance-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 12px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: var(--mk-border);
}

.mk-assurance-item {
    min-height: 58px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.mk-assurance-item i {
    color: var(--mk-primary);
    font-size: 1.2rem;
}

.mk-assurance-title {
    font-size: .78rem;
    font-weight: 950;
}

.mk-assurance-copy {
    color: var(--mk-text-3);
    font-size: .68rem;
    font-weight: 750;
}

body.mp2 .mk-section-hd,
.mk-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.mp2 .mk-section-title,
.mk-section-title-strong {
    color: var(--mk-text);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.mp2 .mk-section-title i {
    color: var(--mk-primary);
}

.mk-section-subtitle {
    color: var(--mk-text-3);
    font-size: .8rem;
    font-weight: 700;
    margin-top: 2px;
}

body.mp2 .mk-section-link,
.mk-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-primary);
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

body.mp2 .mk-section-link:hover,
.mk-view-all:hover {
    background: var(--mk-primary-soft);
}

.mk-chip-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scrollbar-width: none;
}

.mk-chip-row::-webkit-scrollbar {
    display: none;
}

body.mp2 .mk-cat-chip {
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-2);
    padding: 0 12px;
    font-size: .78rem;
    font-weight: 850;
}

body.mp2 .mk-cat-chip.active,
body.mp2 .mk-cat-chip:hover {
    border-color: rgba(15, 95, 69, .22);
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-hscroll,
.mk-product-rail,
body.mp2 .mk-stores-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 174px;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 1px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

body.mp2 .mk-stores-scroll {
    grid-auto-columns: 220px;
}

body.mp2 .mk-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
.mk-store-tile,
.mk-cat-tile {
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    box-shadow: var(--mk-card-shadow);
    background: #fff;
    overflow: hidden;
    transition: border-color .16s, box-shadow .16s, transform .16s;
}

body.mp2 .mk-pcard:hover,
body.mp2 .mk-mini-card:hover,
body.mp2 .mk-store-card:hover,
.mk-store-tile:hover,
.mk-cat-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 95, 69, .26);
    box-shadow: var(--mk-hover-shadow);
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img {
    background: linear-gradient(180deg, #fff, #f6f8fb);
}

body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img {
    object-fit: contain;
    padding: 10px;
}

body.mp2 .mk-pcard-body {
    padding: 11px 12px 12px;
    gap: 6px;
}

body.mp2 .mk-pcard-name {
    min-height: 38px;
    color: var(--mk-text);
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.35;
}

body.mp2 .mk-pcard-price {
    color: var(--mk-text);
    font-size: 1rem;
    font-weight: 950;
}

.mk-pcard-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--mk-text-3);
    font-size: .7rem;
    font-weight: 800;
}

body.mp2 .mk-pcard-stars {
    color: var(--mk-accent-dark);
}

body.mp2 .mk-pcard-store {
    min-width: 0;
    color: var(--mk-text-3);
    font-size: .7rem;
    font-weight: 800;
}

.mk-pcard-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.mk-product-action {
    flex: 1;
    min-height: 36px;
    border: 0;
    border-radius: 8px;
    background: var(--mk-accent);
    color: #1f2937;
    font-size: .78rem;
    font-weight: 950;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mk-product-action:hover {
    background: #ffb31a;
}

.mk-wish-action {
    width: 38px;
    min-height: 36px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-3);
    cursor: pointer;
}

.mk-wish-action:hover,
.mk-wish-action.wished {
    color: var(--mk-danger);
    background: var(--mk-danger-soft);
    border-color: rgba(220, 38, 38, .18);
}

body.mp2 .mk-pcard-atc-wrap {
    display: none;
}

body.mp2 .mk-pcard-badge {
    border-radius: 6px;
    letter-spacing: 0;
}

body.mp2 .mk-pcard-badge.featured {
    background: var(--mk-accent);
    color: #1f2937;
}

.mk-sale-badge {
    background: var(--mk-danger);
    color: #fff;
}

body.mp2 .mk-mini-card {
    width: auto;
    scroll-snap-align: start;
}

body.mp2 .mk-mini-body {
    padding: 9px 10px 11px;
}

body.mp2 .mk-mini-name {
    min-height: 34px;
    font-size: .78rem;
    font-weight: 850;
}

body.mp2 .mk-mini-price {
    color: var(--mk-text);
    font-size: .9rem;
}

body.mp2 .mk-mini-atc {
    border-radius: 8px;
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    border-color: rgba(15, 95, 69, .18);
}

body.mp2 .mk-mini-atc:hover {
    background: var(--mk-primary);
    color: #fff;
}

body.mp2 .mk-store-card {
    width: auto;
    scroll-snap-align: start;
}

body.mp2 .mk-store-banner {
    height: 92px;
    background: linear-gradient(135deg, #132018, var(--mk-primary));
}

body.mp2 .mk-store-logo,
.mk-store-row-logo,
.mk-store-tile-logo {
    border-radius: 8px;
}

body.mp2 .mk-store-body {
    padding: 30px 12px 13px;
}

body.mp2 .mk-store-name {
    font-size: .86rem;
}

.mk-product-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.mp2 .mk-sort-sel {
    height: 38px;
    border-radius: 8px;
    background: #fff;
    border-color: var(--mk-border);
    font-size: .78rem;
}

.mk-filter-btn {
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: #fff;
    color: var(--mk-text-2);
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.mk-filter-btn:hover {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-load-more-btn {
    border-radius: 8px;
    background: #fff;
}

.mk-page-head {
    margin-top: 14px;
    padding: 20px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.mk-page-eyebrow {
    color: var(--mk-accent);
    font-size: .72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.mk-page-heading {
    margin-top: 4px;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: 0;
}

.mk-page-copy {
    margin-top: 5px;
    max-width: 640px;
    color: rgba(255, 255, 255, .76);
    font-size: .9rem;
    line-height: 1.5;
}

body.mp2 .mk-back-btn {
    height: 34px;
    padding: 0 10px;
    margin-top: 10px;
    color: var(--mk-text-2);
    border: 1px solid var(--mk-border);
    background: #fff;
    border-radius: 8px;
}

body.mp2 .mk-back-btn:hover {
    color: var(--mk-primary);
    background: var(--mk-primary-soft);
}

body.mp2 .mk-cats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.mp2 .mk-cat-tile {
    padding: 16px;
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 12px;
    align-items: center;
}

body.mp2 .mk-cat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin: 0;
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-cat-name {
    font-size: .9rem;
}

.mk-store-directory {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

.mk-store-tile {
    cursor: pointer;
}

.mk-store-tile-banner {
    height: 118px;
    background: linear-gradient(135deg, #1f2937, var(--mk-primary));
    background-size: cover;
    background-position: center;
    position: relative;
}

.mk-store-tile-body {
    padding: 0 14px 14px;
}

.mk-store-tile-logo {
    width: 58px;
    height: 58px;
    margin-top: -29px;
    border: 3px solid #fff;
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
    position: relative;
}

.mk-store-tile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-store-tile-name {
    margin-top: 9px;
    font-size: .95rem;
    font-weight: 950;
    color: var(--mk-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mk-store-tile-name i,
.mk-store-hero-name i,
.mk-storefront-name i {
    color: var(--mk-info);
}

.mk-store-tile-desc {
    margin-top: 5px;
    min-height: 34px;
    color: var(--mk-text-3);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mk-store-tile-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--mk-text-3);
    font-size: .74rem;
    font-weight: 850;
}

.mk-storefront {
    margin-top: 14px;
    overflow: hidden;
}

.mk-storefront-banner {
    min-height: 220px;
    background: linear-gradient(135deg, #172033, var(--mk-primary));
    background-size: cover;
    background-position: center;
    position: relative;
}

.mk-storefront-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .58));
}

.mk-storefront-body {
    padding: 0 20px 20px;
}

.mk-storefront-top {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-top: -42px;
    position: relative;
    z-index: 2;
}

.mk-storefront-logo {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .16);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.mk-storefront-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-storefront-name {
    font-size: 1.45rem;
    font-weight: 950;
    color: var(--mk-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mk-storefront-desc {
    margin-top: 5px;
    color: var(--mk-text-3);
    max-width: 720px;
    font-size: .9rem;
    line-height: 1.5;
}

.mk-storefront-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.mk-store-tag {
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--mk-band);
    border: 1px solid var(--mk-border);
    color: var(--mk-text-2);
    font-size: .76rem;
    font-weight: 850;
}

.mk-product-layout {
    margin-top: 14px;
}

body.mp2 .mk-product-wrap {
    margin: 0;
    overflow: hidden;
}

.mk-product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

body.mp2 .mk-product-gallery {
    background: #fff;
}

body.mp2 .mk-gallery-main,
body.mp2 .mk-gallery-main-ph {
    height: min(72vw, 520px);
    max-height: 520px;
    background: #fff;
    object-fit: contain;
    padding: 18px;
}

body.mp2 .mk-gallery-thumbs {
    border-top: 1px solid var(--mk-border);
}

body.mp2 .mk-gallery-thumb {
    border-radius: 8px;
}

body.mp2 .mk-gallery-wish {
    border-radius: 8px;
    border: 1px solid var(--mk-border);
}

body.mp2 .mk-product-body {
    padding: 22px;
}

body.mp2 .mk-product-name {
    font-size: 1.45rem;
    line-height: 1.2;
}

body.mp2 .mk-product-tag {
    border-radius: 6px;
    letter-spacing: 0;
}

.mk-product-price-panel {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(15, 95, 69, .16);
    border-radius: 8px;
    background: var(--mk-primary-soft);
}

body.mp2 #mp2-pprice {
    color: var(--mk-text) !important;
    font-size: 1.65rem !important;
    margin: 0 !important;
}

.mk-product-delivery-note {
    color: var(--mk-primary);
    font-size: .78rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mk-product-description {
    margin: 16px 0;
    padding-top: 16px;
    border-top: 1px solid var(--mk-border);
    color: var(--mk-text-2);
    font-size: .92rem;
    line-height: 1.72;
}

.mp-var-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mp-var-chip {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-2);
    font-size: .82rem;
    font-weight: 900;
    cursor: pointer;
}

.mp-var-chip:hover,
.mp-var-chip.active {
    border-color: var(--mk-primary);
    background: var(--mk-primary);
    color: #fff;
}

.mk-atc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.mk-qty-ctrl {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.mk-qty-btn {
    width: 42px;
    height: 48px;
    border: 0;
    background: var(--mk-band);
    color: var(--mk-text);
    font-size: 1.2rem;
    font-weight: 950;
}

.mk-qty-input,
.mp2-qty-input {
    width: 46px !important;
    height: 48px;
    border: 0;
    text-align: center;
    font-weight: 950;
}

.mk-atc-btn {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--mk-accent);
    color: #1f2937;
    font-size: .95rem;
    font-weight: 950;
    cursor: pointer;
}

.mk-atc-btn:hover {
    background: #ffb31a;
}

.mk-product-sidebar {
    display: none;
}

.mk-product-sidebar-card {
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    padding: 14px;
    box-shadow: var(--mk-card-shadow);
}

.mk-side-benefit {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--mk-border);
}

.mk-side-benefit:last-child {
    border-bottom: 0;
}

.mk-side-benefit i {
    color: var(--mk-primary);
}

.mk-side-benefit-title {
    font-size: .82rem;
    font-weight: 950;
}

.mk-side-benefit-copy {
    margin-top: 2px;
    color: var(--mk-text-3);
    font-size: .74rem;
    line-height: 1.35;
}

.mk-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.mk-cart-items-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mk-cart-group {
    overflow: hidden;
}

.mk-cart-group-head {
    background: var(--mk-band);
    border-bottom: 1px solid var(--mk-border);
    padding: 13px 14px;
}

.mk-cart-store-link {
    border: 0;
    background: transparent;
    color: var(--mk-text);
    font-weight: 950;
    cursor: pointer;
}

.mk-cart-item {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--mk-border);
}

.mk-cart-item:last-child {
    border-bottom: 0;
}

.mk-cart-thumb {
    width: 82px;
    height: 82px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mk-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.mk-cart-name {
    color: var(--mk-text);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.35;
}

.mk-cart-var,
.mk-cart-unit {
    margin-top: 4px;
    color: var(--mk-text-3);
    font-size: .76rem;
    font-weight: 750;
}

.mk-cart-line-total {
    color: var(--mk-text);
    font-size: .94rem;
    font-weight: 950;
    white-space: nowrap;
}

.mk-cart-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.mk-cart-qty-ctrl {
    display: flex;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    overflow: hidden;
}

.mk-cart-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    background: var(--mk-band);
    font-weight: 950;
}

.mk-cart-qty-input {
    width: 38px;
    height: 32px;
    border: 0;
    text-align: center;
    font-weight: 950;
}

.mk-cart-remove {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-3);
    cursor: pointer;
}

.mk-cart-remove:hover {
    background: var(--mk-danger-soft);
    color: var(--mk-danger);
    border-color: rgba(220, 38, 38, .18);
}

.mk-cart-summary {
    padding: 16px;
}

.mk-cart-summary-title {
    font-size: 1rem;
    font-weight: 950;
    margin-bottom: 12px;
}

.mk-kv,
body.mp2 .mp-kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
}

.mk-kv .label {
    color: var(--mk-text-3);
    font-weight: 800;
}

.mk-kv .val {
    color: var(--mk-text);
    font-weight: 950;
}

.mk-kv-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--mk-border);
    margin-top: 8px;
    padding-top: 13px;
    font-weight: 950;
}

.mk-kv-total .val {
    font-size: 1.2rem;
}

.mk-checkout-btn,
.mk-cart-empty-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--mk-accent);
    color: #1f2937;
    font-weight: 950;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mk-checkout-btn:hover,
.mk-cart-empty-btn:hover {
    background: #ffb31a;
}

.mk-cart-empty,
.mk-empty {
    text-align: center;
    padding: 48px 20px;
}

.mk-cart-empty-icon,
.mk-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 8px;
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    font-size: 2rem;
}

.mk-cart-empty-title,
.mk-empty-title {
    color: var(--mk-text);
    font-size: 1.15rem;
    font-weight: 950;
}

.mk-cart-empty-sub,
.mk-empty-sub {
    color: var(--mk-text-3);
    margin: 6px auto 18px;
    max-width: 420px;
    line-height: 1.55;
}

.mk-account-shell {
    margin-top: 14px;
}

.mk-account-hero {
    background: #111827;
    color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mk-account-avatar {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: var(--mk-accent);
    color: #1f2937;
    display: grid;
    place-items: center;
    font-weight: 950;
    font-size: 1.25rem;
}

.mk-account-name {
    font-size: 1.1rem;
    font-weight: 950;
}

.mk-account-phone {
    margin-top: 2px;
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
    font-weight: 750;
}

.mk-tab-bar {
    display: flex;
    overflow-x: auto;
    margin-top: 12px;
    background: #fff;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
}

.mk-tab {
    min-width: 104px;
    flex: 1;
    height: 48px;
    border: 0;
    border-right: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-3);
    font-weight: 900;
    cursor: pointer;
}

.mk-tab:last-child {
    border-right: 0;
}

.mk-tab.active {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

.mk-account-panel,
.mk-auth-card {
    margin-top: 12px;
    padding: 18px;
}

.mk-auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.mk-order-list,
.mk-address-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mk-order-item,
.mk-address-item {
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.mk-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mk-order-ref {
    font-weight: 950;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.mk-order-amt {
    font-weight: 950;
}

.mk-order-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 8px;
    color: var(--mk-text-3);
    font-size: .76rem;
    font-weight: 800;
}

.mk-badge,
body.mp2 .mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: .7rem;
    font-weight: 900;
    background: var(--mk-band);
    border: 1px solid var(--mk-border);
    color: var(--mk-text-2);
}

.mk-badge.green {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    border-color: rgba(15, 95, 69, .18);
}

.mk-badge.orange {
    background: var(--mk-accent-soft);
    color: var(--mk-accent-dark);
    border-color: rgba(245, 164, 0, .2);
}

.mk-badge.red {
    background: var(--mk-danger-soft);
    color: var(--mk-danger);
    border-color: rgba(220, 38, 38, .18);
}

body.mp2 .modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, .55);
    backdrop-filter: blur(8px);
}

body.mp2 .modal {
    width: min(560px, 100%);
    max-height: min(86vh, 760px);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(17, 24, 39, .32);
    border: 1px solid var(--mk-border);
}

body.mp2 .modal-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--mk-border);
}

body.mp2 .modal-title {
    color: var(--mk-text);
    font-weight: 950;
}

body.mp2 .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text-2);
}

body.mp2 .form-stack {
    padding: 16px 18px 18px;
}

body.mp2 .input-group {
    margin-bottom: 12px;
}

body.mp2 .input-group label {
    display: block;
    color: var(--mk-text-2);
    font-size: .76rem;
    font-weight: 950;
    margin-bottom: 6px;
}

body.mp2 .input-group input,
body.mp2 .input-group select,
body.mp2 .input-group textarea {
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: #fff;
    color: var(--mk-text);
    padding: 0 12px;
    outline: none;
}

body.mp2 .input-group textarea {
    padding-top: 10px;
}

body.mp2 .input-group input:focus,
body.mp2 .input-group select:focus,
body.mp2 .input-group textarea:focus {
    border-color: var(--mk-primary);
    box-shadow: 0 0 0 4px rgba(15, 95, 69, .12);
}

body.mp2 .btn {
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    font-weight: 950;
    cursor: pointer;
}

body.mp2 .btn-primary {
    background: var(--mk-primary);
    border-color: var(--mk-primary);
    color: #fff;
}

body.mp2 .btn-outline {
    background: #fff;
    color: var(--mk-text-2);
}

body.mp2 .btn-outline:hover {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .btn-sm {
    min-height: 34px;
    font-size: .76rem;
}

body.mp2 .btn-block {
    width: 100%;
}

body.mp2 .mp-checkout-wrap {
    display: flex;
    flex-direction: column;
    max-height: calc(86vh - 60px);
}

body.mp2 .mp-checkout-scroll {
    overflow-y: auto;
    padding: 16px 18px 0;
}

body.mp2 .mp-checkout-footer {
    padding: 14px 18px 18px;
    border-top: 1px solid var(--mk-border);
    background: #fff;
}

body.mp2 .card,
body.mp2 .mp-alert,
body.mp2 .mp2-card {
    border-radius: 8px !important;
    border: 1px solid var(--mk-border) !important;
    background: #fff !important;
    box-shadow: var(--mk-card-shadow);
}

body.mp2 .mp2-card {
    padding: 16px;
}

body.mp2 .mp2-card-title,
body.mp2 .mp2-rowtitle {
    font-weight: 950;
    color: var(--mk-text);
}

body.mp2 .mp2-muted,
body.mp2 .mp-muted {
    color: var(--mk-text-3);
}

body.mp2 .mp2-empty {
    padding: 38px 18px;
    text-align: center;
    color: var(--mk-text-3);
    font-weight: 800;
}

body.mp2 .toast {
    position: fixed;
    left: 50%;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 12px);
    z-index: 900;
    max-width: min(420px, calc(100vw - 28px));
    padding: 12px 14px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: .86rem;
    font-weight: 850;
    box-shadow: 0 18px 40px rgba(17, 24, 39, .24);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

body.mp2 .toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

body.mp2 .toast.success {
    background: var(--mk-primary);
}

body.mp2 .toast.error {
    background: var(--mk-danger);
}

body.mp2 .skeleton,
.mk-skeleton-line,
.mk-skeleton-box {
    background: linear-gradient(90deg, #eef2f6 25%, #f8fafc 50%, #eef2f6 75%);
    background-size: 200% 100%;
    animation: mk-ui-shimmer 1.2s infinite linear;
    border-radius: 8px;
}

@keyframes mk-ui-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

body.mp2 .mk-bottom-nav {
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--mk-border);
    box-shadow: 0 -10px 26px rgba(17, 24, 39, .1);
}

body.mp2 .mk-bnav-item {
    color: var(--mk-text-3);
    font-weight: 850;
}

body.mp2 .mk-bnav-item.active {
    color: var(--mk-primary);
}

@media (max-width: 959px) {
    body.mp2 {
        --mk-topbar-h: 112px;
    }

    .mk-utilitybar {
        display: none;
    }

    body.mp2 .mk-mainbar {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 8px;
        padding: 10px 12px 8px;
    }

    body.mp2 .mk-brand-text {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mk-department-btn {
        display: none;
    }

    body.mp2 .mk-search-wrap {
        grid-column: 1 / -1;
        order: 3;
        height: 42px;
    }

    body.mp2 .mk-action-btn-wide {
        display: none;
    }

    .mk-category-strip {
        min-height: 34px;
        padding: 0 12px 8px;
    }

    body.mp2 .mk-page {
        padding: 0 10px 32px;
    }

    .mk-home-hero-row {
        display: block;
        margin-top: 10px;
    }

    .mk-aisle-card,
    .mk-confidence-panel {
        display: none;
    }

    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 230px;
        height: 230px;
    }

    body.mp2 .mk-hero-content {
        padding: 22px;
    }

    body.mp2 .mk-hero-title {
        font-size: 1.45rem;
    }

    body.mp2 .mk-hero-sub {
        font-size: .82rem;
    }

    .mk-assurance-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-assurance-item {
        min-height: 62px;
    }

    body.mp2 .mk-section {
        padding: 14px;
        margin-top: 10px;
    }

    body.mp2 .mk-section-hd,
    .mk-section-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .mk-product-toolbar {
        width: 100%;
    }

    body.mp2 .mk-sort-sel,
    .mk-filter-btn {
        flex: 1;
    }

    body.mp2 .mk-hscroll,
    .mk-product-rail,
    body.mp2 .mk-stores-scroll {
        grid-auto-columns: 148px;
    }

    body.mp2 .mk-stores-scroll {
        grid-auto-columns: 188px;
    }

    .mk-page-head {
        padding: 16px;
        display: block;
    }

    .mk-page-heading {
        font-size: 1.25rem;
    }

    .mk-storefront-banner {
        min-height: 160px;
    }

    .mk-storefront-body {
        padding: 0 14px 16px;
    }

    .mk-storefront-top {
        align-items: flex-start;
    }

    .mk-storefront-logo {
        width: 68px;
        height: 68px;
    }

    .mk-storefront-name {
        font-size: 1.15rem;
    }

    body.mp2 .mk-product-body {
        padding: 16px;
    }

    body.mp2 .mk-product-name {
        font-size: 1.16rem;
    }

    .mk-atc-row {
        flex-wrap: wrap;
    }

    .mk-qty-ctrl {
        flex: 0 0 132px;
    }

    .mk-atc-btn {
        min-width: 100%;
    }

    .mk-cart-item {
        grid-template-columns: 74px 1fr;
    }

    .mk-cart-line-total {
        grid-column: 2;
    }

    .mk-cart-thumb {
        width: 74px;
        height: 74px;
    }
}

@media (min-width: 640px) {
    body.mp2 {
        padding-bottom: 24px !important;
    }

    body.mp2 .mk-bottom-nav {
        display: none;
    }

    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.mp2 .mk-cats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mk-store-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mk-auth-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    body.mp2 .mk-cats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mk-product-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 286px;
        gap: 14px;
    }

    .mk-product-detail-grid {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    }

    body.mp2 .mk-product-gallery {
        border-right: 1px solid var(--mk-border);
    }

    .mk-product-sidebar {
        display: block;
        position: sticky;
        top: calc(var(--mk-topbar-h) + 14px);
    }

    .mk-cart-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .mk-cart-summary {
        position: sticky;
        top: calc(var(--mk-topbar-h) + 14px);
        align-self: start;
    }
}

@media (min-width: 1200px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.mp2 .mk-cats-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .mk-store-directory {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Compact marketplace density pass */
body.mp2 {
    --mk-topbar-h: 104px;
    --mk-card-shadow: 0 1px 2px rgba(17, 24, 39, .05);
    --mk-hover-shadow: 0 10px 24px rgba(17, 24, 39, .10);
    font-size: 13px;
    line-height: 1.42;
}

body.mp2 .mk-topbar-pro {
    box-shadow: 0 4px 16px rgba(17, 24, 39, .07);
}

body.mp2 .mk-utilitybar {
    min-height: 24px;
}

body.mp2 .mk-utilitybar-inner {
    gap: 12px;
    padding: 0 14px;
}

body.mp2 .mk-utility-link,
body.mp2 .mk-utility-note {
    gap: 5px;
    font-size: .64rem;
    font-weight: 850;
}

body.mp2 .mk-mainbar {
    min-height: 50px;
    padding: 7px 14px;
    gap: 8px;
}

body.mp2 .mk-brand {
    gap: 7px;
}

body.mp2 .mk-brand-mark {
    width: 32px;
    height: 32px;
    font-size: .78rem;
}

body.mp2 .mk-brand-text {
    font-size: .86rem;
    font-weight: 950;
}

body.mp2 .mk-department-btn {
    height: 36px;
    padding: 0 10px;
    gap: 5px;
    font-size: .78rem;
}

body.mp2 .mk-search-wrap {
    height: 38px;
    border-width: 1.5px;
}

body.mp2 .mk-search-wrap input {
    padding: 0 12px;
    font-size: .78rem;
}

body.mp2 .mk-search-btn {
    width: 48px;
    font-size: .86rem;
}

body.mp2 .mk-search-clear {
    width: 30px;
    font-size: .7rem;
}

body.mp2 .mk-topbar-actions {
    gap: 6px;
}

body.mp2 .mk-action-btn,
body.mp2 .mk-icon-btn {
    height: 36px;
    min-height: 36px;
    gap: 5px;
    font-size: .76rem;
}

body.mp2 .mk-icon-btn {
    width: 36px;
    font-size: .9rem;
}

body.mp2 .mk-action-btn {
    padding: 0 10px;
}

body.mp2 .mk-cart-badge {
    min-width: 15px;
    height: 15px;
    font-size: .56rem;
}

body.mp2 .mk-category-strip {
    min-height: 30px;
    padding: 0 14px 6px;
    gap: 5px;
}

body.mp2 .mk-strip-link {
    height: 24px;
    padding: 0 8px;
    gap: 4px;
    font-size: .68rem;
    font-weight: 850;
}

body.mp2 .mk-page {
    padding: 0 14px 34px;
}

body.mp2 .mk-home-hero-row {
    grid-template-columns: 220px minmax(0, 1fr) 224px;
    gap: 10px;
    margin-top: 10px;
}

body.mp2 .mk-hero,
body.mp2 .mk-hero-slide {
    min-height: 270px;
    height: 270px;
}

body.mp2 .mk-hero-content {
    max-width: 520px;
    padding: 26px 34px;
}

body.mp2 .mk-hero-badge {
    padding: 3px 8px;
    font-size: .56rem;
}

body.mp2 .mk-hero-title {
    max-width: 520px;
    font-size: 1.7rem;
    line-height: 1.08;
    margin-bottom: 8px;
}

body.mp2 .mk-hero-sub {
    max-width: 440px;
    margin-bottom: 12px;
    font-size: .78rem;
    line-height: 1.45;
}

body.mp2 .mk-hero-cta-primary,
body.mp2 .mk-hero-cta-outline {
    min-height: 34px;
    padding: 0 13px;
    gap: 5px;
    font-size: .72rem;
}

body.mp2 .mk-panel-head {
    min-height: 36px;
    padding: 9px 11px;
    font-size: .78rem;
}

body.mp2 .mk-aisle-link,
body.mp2 .mk-store-short {
    gap: 8px;
    padding: 8px 11px;
    font-size: .74rem;
}

body.mp2 .mk-aisle-count {
    min-width: 21px;
    padding: 1px 5px;
    font-size: .56rem;
}

body.mp2 .mk-confidence-panel {
    padding: 10px;
    gap: 8px;
}

body.mp2 .mk-confidence-item {
    grid-template-columns: 30px 1fr;
    gap: 8px;
    padding: 8px;
}

body.mp2 .mk-confidence-icon {
    width: 30px;
    height: 30px;
    font-size: .82rem;
}

body.mp2 .mk-confidence-title,
body.mp2 .mk-assurance-title {
    font-size: .72rem;
}

body.mp2 .mk-confidence-copy,
body.mp2 .mk-assurance-copy {
    font-size: .62rem;
    line-height: 1.25;
}

body.mp2 .mk-assurance-strip {
    margin-top: 10px;
}

body.mp2 .mk-assurance-item {
    min-height: 46px;
    padding: 9px 11px;
    gap: 8px;
}

body.mp2 .mk-assurance-item i {
    font-size: .95rem;
}

body.mp2 .mk-section {
    margin-top: 10px;
    padding: 13px;
}

body.mp2 .mk-section-hd,
body.mp2 .mk-section-top {
    margin-bottom: 10px;
    gap: 8px;
}

body.mp2 .mk-section-title,
body.mp2 .mk-section-title-strong {
    gap: 6px;
    font-size: .84rem;
}

body.mp2 .mk-section-subtitle {
    font-size: .68rem;
    line-height: 1.35;
}

body.mp2 .mk-section-link,
body.mp2 .mk-view-all,
body.mp2 .mk-filter-btn,
body.mp2 .mk-sort-sel {
    height: 30px;
    min-height: 30px;
    padding: 0 9px;
    gap: 5px;
    font-size: .68rem;
    border-radius: 7px;
}

body.mp2 .mk-chip-row {
    gap: 6px;
    padding-bottom: 7px;
}

body.mp2 .mk-cat-chip {
    height: 28px;
    padding: 0 9px;
    gap: 5px;
    font-size: .68rem;
}

body.mp2 .mk-hscroll,
body.mp2 .mk-product-rail,
body.mp2 .mk-stores-scroll {
    grid-auto-columns: 136px;
    gap: 10px;
    padding-bottom: 5px;
}

body.mp2 .mk-stores-scroll {
    grid-auto-columns: 176px;
}

body.mp2 .mk-product-grid {
    gap: 10px;
}

body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile,
body.mp2 .mk-cat-tile,
body.mp2 .mk-cart-group,
body.mp2 .mk-cart-summary,
body.mp2 .mk-account-panel,
body.mp2 .mk-auth-card {
    border-radius: 7px;
}

body.mp2 .mk-pcard-img-wrap {
    aspect-ratio: 4 / 3;
}

body.mp2 .mk-mini-img {
    aspect-ratio: 4 / 3;
}

body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img {
    padding: 8px;
}

body.mp2 .mk-pcard-body {
    padding: 8px 9px 9px;
    gap: 4px;
}

body.mp2 .mk-pcard-name {
    min-height: 31px;
    font-size: .7rem;
    line-height: 1.28;
    font-weight: 850;
}

body.mp2 .mk-pcard-meta {
    gap: 5px;
    font-size: .58rem;
}

body.mp2 .mk-pcard-stars {
    gap: 2px;
    font-size: .58rem;
}

body.mp2 .mk-pcard-price {
    font-size: .82rem;
}

body.mp2 .mk-pcard-store {
    gap: 3px;
    font-size: .58rem;
}

body.mp2 .mk-pcard-badges {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.mp2 .mk-pcard-badge {
    padding: 2px 6px;
    gap: 3px;
    font-size: .52rem;
}

body.mp2 .mk-pcard-actions {
    gap: 6px;
    margin-top: 3px;
}

body.mp2 .mk-product-action {
    min-height: 30px;
    gap: 5px;
    font-size: .68rem;
}

body.mp2 .mk-wish-action {
    width: 32px;
    min-height: 30px;
    font-size: .75rem;
}

body.mp2 .mk-mini-body {
    padding: 7px 8px 8px;
}

body.mp2 .mk-mini-name {
    min-height: 28px;
    margin-bottom: 3px;
    font-size: .66rem;
}

body.mp2 .mk-mini-price {
    font-size: .75rem;
}

body.mp2 .mk-mini-atc {
    margin-top: 5px;
    min-height: 27px;
    padding: 0 6px;
    font-size: .62rem;
}

body.mp2 .mk-store-banner {
    height: 70px;
}

body.mp2 .mk-store-logo {
    width: 36px;
    height: 36px;
}

body.mp2 .mk-store-logo-wrap {
    bottom: -18px;
    left: 10px;
}

body.mp2 .mk-store-body {
    padding: 23px 10px 10px;
}

body.mp2 .mk-store-name {
    font-size: .72rem;
}

body.mp2 .mk-store-count,
body.mp2 .mk-store-desc {
    font-size: .62rem;
}

body.mp2 .mk-page-head {
    margin-top: 10px;
    padding: 15px;
}

body.mp2 .mk-page-eyebrow {
    font-size: .62rem;
}

body.mp2 .mk-page-heading {
    font-size: 1.12rem;
}

body.mp2 .mk-page-copy {
    max-width: 560px;
    font-size: .74rem;
}

body.mp2 .mk-back-btn {
    height: 28px;
    padding: 0 8px;
    margin-top: 8px;
    font-size: .68rem;
}

body.mp2 .mk-cat-tile {
    grid-template-columns: 38px 1fr;
    gap: 9px;
    padding: 11px;
}

body.mp2 .mk-cat-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}

body.mp2 .mk-cat-name {
    font-size: .74rem;
}

body.mp2 .mk-cat-count {
    font-size: .6rem;
}

body.mp2 .mk-store-tile-banner {
    height: 92px;
}

body.mp2 .mk-store-tile-body {
    padding: 0 11px 11px;
}

body.mp2 .mk-store-tile-logo {
    width: 46px;
    height: 46px;
    margin-top: -23px;
}

body.mp2 .mk-store-tile-name {
    margin-top: 7px;
    font-size: .78rem;
}

body.mp2 .mk-store-tile-desc {
    min-height: 30px;
    font-size: .66rem;
}

body.mp2 .mk-store-tile-foot {
    margin-top: 9px;
    font-size: .62rem;
}

body.mp2 .mk-storefront-banner {
    min-height: 162px;
}

body.mp2 .mk-storefront-body {
    padding: 0 15px 15px;
}

body.mp2 .mk-storefront-top {
    gap: 12px;
    margin-top: -34px;
}

body.mp2 .mk-storefront-logo {
    width: 68px;
    height: 68px;
}

body.mp2 .mk-storefront-name {
    font-size: 1.08rem;
}

body.mp2 .mk-storefront-desc {
    font-size: .72rem;
}

body.mp2 .mk-storefront-tags {
    gap: 6px;
    margin-top: 12px;
}

body.mp2 .mk-store-tag,
body.mp2 .mk-badge,
body.mp2 .mp-pill {
    padding: 3px 7px;
    gap: 4px;
    font-size: .6rem;
}

body.mp2 .mk-product-layout {
    margin-top: 10px;
}

body.mp2 .mk-product-body {
    padding: 16px;
}

body.mp2 .mk-gallery-main,
body.mp2 .mk-gallery-main-ph {
    height: min(54vw, 390px);
    max-height: 390px;
    padding: 14px;
}

body.mp2 .mk-gallery-thumbs {
    gap: 6px;
    padding: 7px 9px;
}

body.mp2 .mk-gallery-thumb {
    width: 42px;
    height: 42px;
}

body.mp2 .mk-gallery-wish {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: .74rem;
}

body.mp2 .mk-product-tags {
    gap: 5px;
    margin-bottom: 8px;
}

body.mp2 .mk-product-tag {
    padding: 2px 7px;
    gap: 4px;
    font-size: .56rem;
}

body.mp2 .mk-product-name {
    margin-bottom: 7px;
    font-size: 1.08rem;
}

body.mp2 .mk-product-meta-row {
    gap: 8px;
    margin-bottom: 9px;
    font-size: .7rem;
}

body.mp2 .mk-product-store-link,
body.mp2 .mk-product-rating {
    font-size: .7rem;
}

body.mp2 .mk-product-price-panel {
    margin: 11px 0;
    padding: 10px 11px;
}

body.mp2 #mp2-pprice {
    font-size: 1.2rem !important;
}

body.mp2 .mk-product-delivery-note {
    gap: 4px;
    font-size: .66rem;
}

body.mp2 .mk-var-label {
    margin-bottom: 6px;
    font-size: .62rem;
}

body.mp2 .mp-var-chips {
    gap: 6px;
}

body.mp2 .mp-var-chip {
    min-height: 31px;
    padding: 0 9px;
    font-size: .68rem;
}

body.mp2 .mp-var-mod {
    font-size: .56rem;
}

body.mp2 .mk-product-description {
    margin: 12px 0;
    padding-top: 12px;
    font-size: .74rem;
    line-height: 1.55;
}

body.mp2 .mk-atc-row {
    gap: 8px;
    margin-top: 12px;
}

body.mp2 .mk-qty-ctrl {
    height: 38px;
}

body.mp2 .mk-qty-btn {
    width: 34px;
    height: 38px;
    font-size: .95rem;
}

body.mp2 .mk-qty-input,
body.mp2 .mp2-qty-input {
    width: 38px !important;
    height: 38px;
    font-size: .78rem;
}

body.mp2 .mk-atc-btn {
    min-height: 38px;
    gap: 6px;
    font-size: .78rem;
}

body.mp2 .mk-product-sidebar-card {
    padding: 11px;
}

body.mp2 .mk-side-benefit {
    gap: 8px;
    padding: 8px 0;
}

body.mp2 .mk-side-benefit-title {
    font-size: .72rem;
}

body.mp2 .mk-side-benefit-copy {
    font-size: .64rem;
}

body.mp2 .mk-cart-layout {
    gap: 10px;
    margin-top: 10px;
}

body.mp2 .mk-cart-group-head {
    padding: 9px 11px;
}

body.mp2 .mk-cart-store-link {
    font-size: .76rem;
}

body.mp2 .mk-cart-item {
    grid-template-columns: 62px 1fr auto;
    gap: 10px;
    padding: 10px 11px;
}

body.mp2 .mk-cart-thumb {
    width: 62px;
    height: 62px;
}

body.mp2 .mk-cart-name {
    font-size: .74rem;
}

body.mp2 .mk-cart-var,
body.mp2 .mk-cart-unit {
    font-size: .62rem;
}

body.mp2 .mk-cart-line-total {
    font-size: .78rem;
}

body.mp2 .mk-cart-qty-row {
    gap: 6px;
    margin-top: 7px;
}

body.mp2 .mk-cart-qty-btn,
body.mp2 .mk-cart-qty-input {
    height: 27px;
}

body.mp2 .mk-cart-qty-btn {
    width: 28px;
}

body.mp2 .mk-cart-qty-input {
    width: 32px;
    font-size: .7rem;
}

body.mp2 .mk-cart-remove {
    width: 29px;
    height: 29px;
    font-size: .7rem;
}

body.mp2 .mk-cart-summary {
    padding: 12px;
}

body.mp2 .mk-cart-summary-title {
    margin-bottom: 8px;
    font-size: .82rem;
}

body.mp2 .mk-kv,
body.mp2 .mp-kv {
    padding: 5px 0;
    font-size: .72rem;
}

body.mp2 .mk-kv-total {
    margin-top: 6px;
    padding-top: 10px;
    font-size: .78rem;
}

body.mp2 .mk-kv-total .val {
    font-size: .95rem;
}

body.mp2 .mk-checkout-btn,
body.mp2 .mk-cart-empty-btn {
    min-height: 38px;
    margin-top: 10px;
    gap: 6px;
    font-size: .74rem;
}

body.mp2 .mk-empty,
body.mp2 .mk-cart-empty {
    padding: 32px 16px;
}

body.mp2 .mk-empty-icon,
body.mp2 .mk-cart-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 1.45rem;
}

body.mp2 .mk-empty-title,
body.mp2 .mk-cart-empty-title {
    font-size: .88rem;
}

body.mp2 .mk-empty-sub,
body.mp2 .mk-cart-empty-sub {
    margin: 5px auto 13px;
    font-size: .7rem;
}

body.mp2 .mk-account-shell {
    margin-top: 10px;
}

body.mp2 .mk-account-hero {
    padding: 14px;
    gap: 10px;
}

body.mp2 .mk-account-avatar {
    width: 44px;
    height: 44px;
    font-size: .95rem;
}

body.mp2 .mk-account-name {
    font-size: .88rem;
}

body.mp2 .mk-account-phone {
    font-size: .68rem;
}

body.mp2 .mk-tab-bar {
    margin-top: 10px;
}

body.mp2 .mk-tab {
    min-width: 86px;
    height: 38px;
    font-size: .68rem;
}

body.mp2 .mk-account-panel,
body.mp2 .mk-auth-card {
    margin-top: 10px;
    padding: 13px;
}

body.mp2 .mk-order-item,
body.mp2 .mk-address-item {
    padding: 10px;
}

body.mp2 .mk-order-ref,
body.mp2 .mk-order-amt {
    font-size: .76rem;
}

body.mp2 .mk-order-sub {
    gap: 6px 10px;
    margin-top: 6px;
    font-size: .62rem;
}

body.mp2 .modal {
    max-width: 500px;
}

body.mp2 .modal-header {
    padding: 11px 13px;
}

body.mp2 .modal-title {
    font-size: .86rem;
}

body.mp2 .modal-close {
    width: 30px;
    height: 30px;
}

body.mp2 .form-stack {
    padding: 12px 13px 13px;
}

body.mp2 .input-group {
    margin-bottom: 9px;
}

body.mp2 .input-group label {
    margin-bottom: 4px;
    font-size: .62rem;
}

body.mp2 .input-group input,
body.mp2 .input-group select,
body.mp2 .input-group textarea {
    min-height: 34px;
    padding: 0 9px;
    font-size: .74rem;
}

body.mp2 .btn {
    min-height: 34px;
    padding: 0 11px;
    gap: 5px;
    font-size: .72rem;
}

body.mp2 .btn-sm {
    min-height: 29px;
    font-size: .64rem;
}

body.mp2 .mp-checkout-scroll {
    padding: 12px 13px 0;
}

body.mp2 .mp-checkout-footer {
    padding: 10px 13px 13px;
}

body.mp2 .mp2-card {
    padding: 12px;
}

body.mp2 .mp2-card-title,
body.mp2 .mp2-rowtitle {
    font-size: .82rem;
}

body.mp2 .mp2-muted,
body.mp2 .mp-muted,
body.mp2 .mp2-empty {
    font-size: .7rem;
}

body.mp2 .toast {
    padding: 9px 11px;
    font-size: .74rem;
}

body.mp2 .mk-bottom-nav {
    height: calc(56px + env(safe-area-inset-bottom, 0px));
}

body.mp2 .mk-bnav-item {
    gap: 2px;
    padding: 4px 0;
    font-size: .58rem;
}

body.mp2 .mk-bnav-item i {
    font-size: 1rem;
}

@media (max-width: 959px) {
    body.mp2 {
        --mk-topbar-h: 98px;
        font-size: 12.5px;
    }

    body.mp2 .mk-mainbar {
        gap: 6px;
        padding: 7px 10px 6px;
    }

    body.mp2 .mk-brand-mark {
        width: 30px;
        height: 30px;
    }

    body.mp2 .mk-brand-text {
        max-width: 84px;
        font-size: .82rem;
    }

    body.mp2 .mk-search-wrap {
        height: 36px;
    }

    body.mp2 .mk-search-btn {
        width: 44px;
    }

    body.mp2 .mk-category-strip {
        min-height: 28px;
        padding: 0 10px 5px;
    }

    body.mp2 .mk-page {
        padding: 0 8px 26px;
    }

    body.mp2 .mk-home-hero-row {
        margin-top: 8px;
    }

    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 176px;
        height: 176px;
    }

    body.mp2 .mk-hero-content {
        padding: 16px;
    }

    body.mp2 .mk-hero-title {
        max-width: 330px;
        font-size: 1rem;
    }

    body.mp2 .mk-hero-sub {
        max-width: 310px;
        font-size: .66rem;
        margin-bottom: 9px;
    }

    body.mp2 .mk-hero-ctas {
        gap: 6px;
    }

    body.mp2 .mk-hero-cta-primary,
    body.mp2 .mk-hero-cta-outline {
        min-height: 31px;
        font-size: .66rem;
    }

    body.mp2 .mk-assurance-item {
        min-height: 46px;
        padding: 8px 9px;
    }

    body.mp2 .mk-section {
        margin-top: 8px;
        padding: 11px;
    }

    body.mp2 .mk-section-hd,
    body.mp2 .mk-section-top {
        margin-bottom: 8px;
    }

    body.mp2 .mk-product-toolbar {
        gap: 8px;
    }

    body.mp2 .mk-hscroll,
    body.mp2 .mk-product-rail,
    body.mp2 .mk-stores-scroll {
        grid-auto-columns: 124px;
    }

    body.mp2 .mk-stores-scroll {
        grid-auto-columns: 160px;
    }

    body.mp2 .mk-product-grid {
        gap: 8px;
    }

    body.mp2 .mk-pcard-name {
        min-height: 34px;
        font-size: .68rem;
    }

    body.mp2 .mk-pcard-meta,
    body.mp2 .mk-pcard-store,
    body.mp2 .mk-pcard-stars {
        font-size: .55rem;
    }

    body.mp2 .mk-pcard-price {
        font-size: .8rem;
    }

    body.mp2 .mk-product-action {
        min-height: 29px;
    }

    body.mp2 .mk-wish-action {
        width: 31px;
        min-height: 29px;
    }

    body.mp2 .mk-page-head {
        padding: 12px;
    }

    body.mp2 .mk-page-heading {
        font-size: .95rem;
    }

    body.mp2 .mk-storefront-banner {
        min-height: 128px;
    }

    body.mp2 .mk-storefront-logo {
        width: 52px;
        height: 52px;
    }

    body.mp2 .mk-storefront-name {
        font-size: .9rem;
    }

    body.mp2 .mk-gallery-main,
    body.mp2 .mk-gallery-main-ph {
        height: 260px;
        max-height: 260px;
        padding: 10px;
    }

    body.mp2 .mk-product-body {
        padding: 12px;
    }

    body.mp2 .mk-product-name {
        font-size: .95rem;
    }

    body.mp2 #mp2-pprice {
        font-size: 1rem !important;
    }

    body.mp2 .mk-atc-row {
        gap: 7px;
    }

    body.mp2 .mk-atc-btn {
        min-width: 0;
        flex: 1;
    }

    body.mp2 .mk-qty-ctrl {
        flex: 0 0 auto;
    }

    body.mp2 .mk-cart-item {
        grid-template-columns: 54px 1fr;
        gap: 8px;
    }

    body.mp2 .mk-cart-thumb {
        width: 54px;
        height: 54px;
    }

    body.mp2 .mk-cart-line-total {
        grid-column: 2;
        font-size: .74rem;
    }
}

@media (min-width: 640px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    body.mp2 .mk-cats-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.mp2 .mk-product-layout {
        grid-template-columns: minmax(0, 1fr) 248px;
        gap: 10px;
    }

    body.mp2 .mk-cart-layout {
        grid-template-columns: minmax(0, 1fr) 292px;
    }

    body.mp2 .mk-product-sidebar,
    body.mp2 .mk-cart-summary {
        top: calc(var(--mk-topbar-h) + 10px);
    }
}

@media (min-width: 1280px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    body.mp2 .mk-cats-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Plus Jakarta Sans typography refinement */
body.mp2 {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 400;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.mp2 button,
body.mp2 input,
body.mp2 select,
body.mp2 textarea {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.mp2 b,
body.mp2 strong {
    font-weight: 600;
}

body.mp2 .mk-brand-text,
body.mp2 .mk-panel-head,
body.mp2 .mk-section-title,
body.mp2 .mk-section-title-strong,
body.mp2 .mk-page-heading,
body.mp2 .mk-storefront-name,
body.mp2 .mk-product-name,
body.mp2 .mk-cart-summary-title,
body.mp2 .mk-empty-title,
body.mp2 .mk-cart-empty-title,
body.mp2 .mk-account-name,
body.mp2 .mk-modal-title,
body.mp2 .modal-title,
body.mp2 .mk2-card-title,
body.mp2 .mp2-card-title,
body.mp2 .mp2-rowtitle {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0;
}

body.mp2 .mk-hero-title {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

body.mp2 .mk-pcard-name,
body.mp2 .mk-mini-name,
body.mp2 .mk-store-name,
body.mp2 .mk-store-tile-name,
body.mp2 .mk-cat-name,
body.mp2 .mk-cart-name,
body.mp2 .mk-order-ref,
body.mp2 .mk-confidence-title,
body.mp2 .mk-assurance-title,
body.mp2 .mk-side-benefit-title {
    font-weight: 500 !important;
}

body.mp2 .mk-pcard-price,
body.mp2 .mk-mini-price,
body.mp2 #mp2-pprice,
body.mp2 .mk-cart-line-total,
body.mp2 .mk-kv .val,
body.mp2 .mk-kv-total,
body.mp2 .mk-kv-total .val,
body.mp2 .mk-order-amt {
    font-weight: 600 !important;
}

body.mp2 .mk-product-action,
body.mp2 .mk-atc-btn,
body.mp2 .mk-checkout-btn,
body.mp2 .mk-cart-empty-btn,
body.mp2 .mk-mini-atc,
body.mp2 .mk-action-btn,
body.mp2 .mk-department-btn,
body.mp2 .mk-filter-btn,
body.mp2 .mk-view-all,
body.mp2 .mk-section-link,
body.mp2 .btn,
body.mp2 .mk-tab,
body.mp2 .mk-bnav-item {
    font-weight: 500 !important;
}

body.mp2 .mk-strip-link,
body.mp2 .mk-cat-chip,
body.mp2 .mk-aisle-link,
body.mp2 .mk-store-short,
body.mp2 .mk-store-tag,
body.mp2 .mk-badge,
body.mp2 .mp-pill,
body.mp2 .mk-pcard-badge,
body.mp2 .mk-product-tag,
body.mp2 .mk-page-eyebrow,
body.mp2 .mk-var-label,
body.mp2 .input-group label,
body.mp2 .mk-id-label,
body.mp2 .mk-utility-link,
body.mp2 .mk-utility-note {
    font-weight: 500 !important;
}

body.mp2 .mk-section-subtitle,
body.mp2 .mk-page-copy,
body.mp2 .mk-hero-sub,
body.mp2 .mk-confidence-copy,
body.mp2 .mk-assurance-copy,
body.mp2 .mk-store-tile-desc,
body.mp2 .mk-storefront-desc,
body.mp2 .mk-product-description,
body.mp2 .mk-side-benefit-copy,
body.mp2 .mk-cart-var,
body.mp2 .mk-cart-unit,
body.mp2 .mk-order-sub,
body.mp2 .mp2-muted,
body.mp2 .mp-muted {
    font-weight: 400 !important;
}

body.mp2 .mk-pcard-meta,
body.mp2 .mk-pcard-stars,
body.mp2 .mk-pcard-store,
body.mp2 .mk-store-count,
body.mp2 .mk-store-desc,
body.mp2 .mk-store-tile-foot,
body.mp2 .mk-cat-count,
body.mp2 .mk-account-phone {
    font-weight: 400 !important;
}

body.mp2 .mk-search-wrap input {
    font-weight: 400 !important;
}

body.mp2 .mk-search-wrap input::placeholder {
    font-weight: 400;
}

body.mp2 [style*="font-weight:900"],
body.mp2 [style*="font-weight: 900"],
body.mp2 [style*="font-weight:950"],
body.mp2 [style*="font-weight: 950"],
body.mp2 [style*="font-weight:800"],
body.mp2 [style*="font-weight: 800"] {
    font-weight: 500 !important;
}

body.mp2 [style*="font-weight:700"],
body.mp2 [style*="font-weight: 700"],
body.mp2 [style*="font-weight:750"],
body.mp2 [style*="font-weight: 750"],
body.mp2 [style*="font-weight:850"],
body.mp2 [style*="font-weight: 850"] {
    font-weight: 500 !important;
}

/* Readable platform polish: green, black, white, and boxed desktop layout */
body.mp2 {
    --mk-primary: #0f7a55;
    --mk-primary-dark: #07130f;
    --mk-primary-soft: #e8f6f0;
    --mk-accent: #0f7a55;
    --mk-accent-dark: #0a5b40;
    --mk-accent-soft: #e8f6f0;
    --mk-bg: #f2f5f4;
    --mk-band: #f8faf9;
    --mk-surface: #ffffff;
    --mk-text: #0b0f0d;
    --mk-text-2: #27332f;
    --mk-text-3: #68736f;
    --mk-border: #dce5e1;
    --mk-topbar-h: 112px;
    font-size: 14px;
    line-height: 1.48;
}

body.mp2 .mk-utilitybar {
    background: #07130f;
}

body.mp2 .mk-utilitybar-inner,
body.mp2 .mk-mainbar,
body.mp2 .mk-category-strip,
body.mp2 .mk-page {
    max-width: 1180px;
}

body.mp2 .mk-page {
    padding-left: 12px;
    padding-right: 12px;
}

body.mp2 .mk-mainbar {
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
}

body.mp2 .mk-brand-mark {
    background: #0f7a55;
}

body.mp2 .mk-brand-text {
    color: #0b0f0d;
    font-size: .95rem;
}

body.mp2 .mk-department-btn,
body.mp2 .mk-action-btn,
body.mp2 .mk-icon-btn {
    color: #0b0f0d;
    background: #fff;
}

body.mp2 .mk-search-wrap {
    height: 42px;
    border-color: #0f7a55;
    box-shadow: none;
}

body.mp2 .mk-search-wrap:focus-within {
    box-shadow: 0 0 0 3px rgba(15, 122, 85, .15);
}

body.mp2 .mk-search-wrap input {
    font-size: .9rem;
}

body.mp2 .mk-search-btn {
    width: 52px;
    background: #0f7a55;
    color: #fff;
}

body.mp2 .mk-search-btn:hover {
    background: #0a5b40;
}

body.mp2 .mk-strip-link,
body.mp2 .mk-cat-chip {
    color: #27332f;
}

body.mp2 .mk-strip-link.active,
body.mp2 .mk-strip-link:hover,
body.mp2 .mk-cat-chip.active,
body.mp2 .mk-cat-chip:hover {
    background: #e8f6f0;
    color: #0f7a55;
    border-color: rgba(15, 122, 85, .22);
}

body.mp2 .mk-home-hero-row {
    grid-template-columns: 214px minmax(0, 1fr) 214px;
    gap: 10px;
}

body.mp2 .mk-hero,
body.mp2 .mk-hero-slide {
    min-height: 292px;
    height: 292px;
}

body.mp2 .mk-hero-slide {
    background-color: #07130f;
}

body.mp2 .mk-hero-content {
    max-width: 560px;
    padding: 28px 34px;
}

body.mp2 .mk-hero-badge,
body.mp2 .mk-pcard-badge.featured,
body.mp2 .mk-product-tag.featured {
    background: #0f7a55;
    color: #fff;
}

body.mp2 .mk-hero-title {
    font-size: 2rem;
    line-height: 1.12;
}

body.mp2 .mk-hero-sub {
    font-size: .9rem;
    line-height: 1.5;
}

body.mp2 .mk-hero-cta-primary,
body.mp2 .mk-product-action,
body.mp2 .mk-atc-btn,
body.mp2 .mk-checkout-btn,
body.mp2 .mk-cart-empty-btn {
    background: #0f7a55;
    color: #fff;
}

body.mp2 .mk-hero-cta-primary:hover,
body.mp2 .mk-product-action:hover,
body.mp2 .mk-atc-btn:hover,
body.mp2 .mk-checkout-btn:hover,
body.mp2 .mk-cart-empty-btn:hover {
    background: #0a5b40;
}

body.mp2 .mk-hero-cta-outline {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}

body.mp2 .mk-section {
    padding: 15px;
}

body.mp2 .mk-section-title,
body.mp2 .mk-section-title-strong {
    font-size: .95rem;
}

body.mp2 .mk-section-subtitle {
    font-size: .78rem;
}

body.mp2 .mk-panel-head {
    font-size: .86rem;
}

body.mp2 .mk-aisle-link {
    font-size: .82rem;
}

body.mp2 .mk-aisle-more {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--mk-border);
    background: #fff;
    color: #0f7a55;
    min-height: 36px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
}

body.mp2 .mk-aisle-more:hover {
    background: #e8f6f0;
}

body.mp2 .mk-confidence-cta {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(15, 122, 85, .22);
    border-radius: 7px;
    background: #0f7a55;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
}

body.mp2 .mk-confidence-cta:hover {
    background: #0a5b40;
}

body.mp2 .mk-confidence-title,
body.mp2 .mk-assurance-title {
    font-size: .82rem;
}

body.mp2 .mk-confidence-copy,
body.mp2 .mk-assurance-copy {
    font-size: .72rem;
}

body.mp2 .mk-assurance-item {
    min-height: 54px;
}

body.mp2 .mk-product-grid {
    gap: 11px;
}

body.mp2 .mk-pcard-img-wrap {
    aspect-ratio: 1 / .78;
}

body.mp2 .mk-pcard-body {
    padding: 10px;
    gap: 5px;
}

body.mp2 .mk-pcard-name {
    min-height: 38px;
    font-size: .86rem;
    line-height: 1.34;
}

body.mp2 .mk-pcard-meta,
body.mp2 .mk-pcard-stars,
body.mp2 .mk-pcard-store {
    font-size: .68rem;
}

body.mp2 .mk-pcard-price {
    font-size: 1rem;
}

body.mp2 .mk-product-action {
    min-height: 34px;
    font-size: .78rem;
}

body.mp2 .mk-wish-action {
    width: 35px;
    min-height: 34px;
}

body.mp2 .mk-mini-name {
    min-height: 34px;
    font-size: .8rem;
}

body.mp2 .mk-mini-price {
    font-size: .9rem;
}

body.mp2 .mk-mini-atc {
    min-height: 31px;
    background: #e8f6f0;
    color: #0f7a55;
    border-color: rgba(15, 122, 85, .22);
    font-size: .72rem;
}

body.mp2 .mk-mini-atc:hover {
    background: #0f7a55;
    color: #fff;
}

body.mp2 .mk-page-heading {
    font-size: 1.3rem;
}

body.mp2 .mk-page-copy {
    font-size: .86rem;
}

body.mp2 .mk-product-name {
    font-size: 1.34rem;
}

body.mp2 .mk-product-meta-row,
body.mp2 .mk-product-store-link,
body.mp2 .mk-product-rating {
    font-size: .82rem;
}

body.mp2 #mp2-pprice {
    font-size: 1.45rem !important;
}

body.mp2 .mk-product-description {
    font-size: .86rem;
}

body.mp2 .mp-var-chip {
    min-height: 34px;
    font-size: .8rem;
}

body.mp2 .mk-atc-btn,
body.mp2 .mk-qty-ctrl,
body.mp2 .mk-qty-btn,
body.mp2 .mk-qty-input,
body.mp2 .mp2-qty-input {
    height: 42px;
}

body.mp2 .mk-atc-btn {
    font-size: .9rem;
}

body.mp2 .mk-related-section {
    max-width: calc(100% - 258px);
}

body.mp2 .mk-cart-name,
body.mp2 .mk-store-tile-name,
body.mp2 .mk-cat-name {
    font-size: .88rem;
}

body.mp2 .mk-tab,
body.mp2 .btn,
body.mp2 .input-group input,
body.mp2 .input-group select,
body.mp2 .input-group textarea {
    font-size: .82rem;
}

body.mp2 .btn-primary {
    background: #0f7a55;
    border-color: #0f7a55;
}

body.mp2 .btn-primary:hover {
    background: #0a5b40;
}

body.mp2 .mk-bottom-nav {
    background: #fff;
}

body.mp2 .mk-bnav-item.active {
    color: #0f7a55;
}

@media (min-width: 960px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    body.mp2 .mk-product-layout {
        grid-template-columns: minmax(0, 1fr) 238px;
    }
}

@media (min-width: 1280px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    body.mp2 {
        --mk-topbar-h: 106px;
        font-size: 13.5px;
    }

    body.mp2 .mk-home-hero-row {
        display: block;
    }

    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 210px;
        height: 210px;
    }

    body.mp2 .mk-hero-content {
        padding: 18px;
    }

    body.mp2 .mk-hero-nav {
        display: none;
    }

    body.mp2 .mk-hero-title {
        max-width: 340px;
        font-size: 1.35rem;
    }

    body.mp2 .mk-hero-sub {
        font-size: .78rem;
    }

    body.mp2 .mk-section {
        padding: 12px;
    }

    body.mp2 .mk-section-title {
        font-size: .92rem;
    }

    body.mp2 .mk-pcard-name {
        min-height: 39px;
        font-size: .82rem;
    }

    body.mp2 .mk-pcard-meta,
    body.mp2 .mk-pcard-stars,
    body.mp2 .mk-pcard-store {
        font-size: .64rem;
    }

    body.mp2 .mk-pcard-price {
        font-size: .95rem;
    }

    body.mp2 .mk-product-action {
        min-height: 33px;
    }

    body.mp2 .mk-page-heading {
        font-size: 1.12rem;
    }

    body.mp2 .mk-product-name {
        font-size: 1.12rem;
    }

    body.mp2 #mp2-pprice {
        font-size: 1.2rem !important;
    }

    body.mp2 .mk-gallery-main,
    body.mp2 .mk-gallery-main-ph {
        height: 300px;
        max-height: 300px;
    }

    body.mp2 .mk-related-section {
        max-width: none;
    }
}

/* Final clean marketplace pass */
body.mp2 {
    --mk-primary: #0b7a57;
    --mk-primary-dark: #073f31;
    --mk-primary-soft: #e8f6f0;
    --mk-accent: #f5a524;
    --mk-accent-soft: #fff4d8;
    --mk-ink: #111713;
    --mk-muted: #65726b;
    --mk-soft-border: rgba(17, 23, 19, .07);
    --mk-surface: #ffffff;
    --mk-surface-alt: #f6f9f7;
    --mk-shadow-soft: 0 12px 34px rgba(17, 23, 19, .07), 0 1px 2px rgba(17, 23, 19, .04);
    --mk-shadow-hover: 0 18px 42px rgba(17, 23, 19, .12), 0 2px 5px rgba(17, 23, 19, .06);
    background:
        linear-gradient(180deg, #f7faf8 0%, #eef5f0 420px, #f8faf8 100%);
    color: var(--mk-ink);
    font-size: 14.25px;
}

body.mp2 .mk-category-strip,
body.mp2 .mk-page {
    max-width: 1180px;
}

body.mp2 .mk-page {
    padding-left: 14px;
    padding-right: 14px;
}

body.mp2 .mk-topbar,
body.mp2 .mk-category-strip {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(17, 23, 19, .06);
}

body.mp2 .mk-brand-mark,
body.mp2 .mk-confidence-icon,
body.mp2 .mk-category-hero-icon,
body.mp2 .mk-cat-icon-wrap,
body.mp2 .mk-empty-icon {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-section,
body.mp2 .mk-aisle-card,
body.mp2 .mk-confidence-panel,
body.mp2 .mk-assurance-item,
body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile,
body.mp2 .mk-storefront,
body.mp2 .mk-product-wrap,
body.mp2 .mk-product-sidebar-card,
body.mp2 .mk-cart-group,
body.mp2 .mk-cart-summary,
body.mp2 .mk-auth-card,
body.mp2 .mk-account-panel,
body.mp2 .mk-account-hero,
body.mp2 .mk-page-head,
body.mp2 .mk-category-hero {
    border: 0 !important;
    box-shadow: var(--mk-shadow-soft);
}

body.mp2 .mk-section,
body.mp2 .mk-aisle-card,
body.mp2 .mk-confidence-panel,
body.mp2 .mk-assurance-item,
body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile,
body.mp2 .mk-product-wrap,
body.mp2 .mk-product-sidebar-card,
body.mp2 .mk-cart-group,
body.mp2 .mk-cart-summary,
body.mp2 .mk-auth-card,
body.mp2 .mk-account-panel {
    background: rgba(255, 255, 255, .96);
    border-radius: 8px;
}

body.mp2 .mk-section-hd,
body.mp2 .mk-section-top,
body.mp2 .mk-panel-head,
body.mp2 .mk-cart-group-head,
body.mp2 .modal-header {
    border-color: transparent !important;
}

body.mp2 .mk-hero {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 46px rgba(7, 63, 49, .18);
    background: var(--mk-ink);
}

body.mp2 .mk-hero-slide {
    background-color: #0c1511;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(245, 165, 36, .28), transparent 30%),
        linear-gradient(135deg, #0c1511 0%, #0a4f3d 58%, #0b7a57 100%);
}

body.mp2 .mk-hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 20px 16px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    pointer-events: none;
}

body.mp2 .mk-hero-overlay {
    background: linear-gradient(90deg, rgba(9, 17, 13, .84), rgba(9, 17, 13, .28));
}

body.mp2 .mk-hero-title {
    max-width: 560px;
    font-size: 1.85rem;
    line-height: 1.08;
    font-weight: 650;
}

body.mp2 .mk-hero-content {
    padding-left: 70px;
}

body.mp2 .mk-hero-sub {
    max-width: 500px;
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
}

body.mp2 .mk-hero-badge {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    box-shadow: none;
}

body.mp2 .mk-hero-cta-primary,
body.mp2 .mk-product-action,
body.mp2 .mk-atc-btn,
body.mp2 .mk-checkout-btn,
body.mp2 .mk-confidence-cta,
body.mp2 .btn-primary {
    background: var(--mk-primary) !important;
    border-color: var(--mk-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(11, 122, 87, .2);
}

body.mp2 .mk-hero-cta-primary:hover,
body.mp2 .mk-product-action:hover,
body.mp2 .mk-atc-btn:hover,
body.mp2 .mk-checkout-btn:hover,
body.mp2 .mk-confidence-cta:hover,
body.mp2 .btn-primary:hover {
    background: var(--mk-primary-dark) !important;
}

body.mp2 .mk-hero-cta-outline,
body.mp2 .mk-filter-btn,
body.mp2 .mk-sort-sel,
body.mp2 .mk-view-all,
body.mp2 .mk-section-link,
body.mp2 .mk-load-more-btn,
body.mp2 .btn-outline {
    border: 0 !important;
    background: #f0f5f2 !important;
    color: var(--mk-ink) !important;
    box-shadow: none !important;
}

body.mp2 .mk-hero-nav {
    border: 0;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(12px);
}

body.mp2 .mk-hero-dot {
    width: 18px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .42);
}

body.mp2 .mk-hero-dot.active {
    width: 34px;
    background: #fff;
}

body.mp2 .mk-assurance-strip {
    gap: 10px;
}

body.mp2 .mk-assurance-item {
    min-height: 62px;
    box-shadow: 0 8px 22px rgba(17, 23, 19, .05);
}

body.mp2 .mk-assurance-item > i,
body.mp2 .mk-section-title i,
body.mp2 .mk-page-eyebrow,
body.mp2 .mk-pcard-stars,
body.mp2 .mk-product-rating,
body.mp2 .mk-store-name i,
body.mp2 .mk-store-tile-name i,
body.mp2 .mk-storefront-name i {
    color: var(--mk-primary);
}

body.mp2 .mk-aisle-link,
body.mp2 .mk-cat-chip,
body.mp2 .mk-strip-link,
body.mp2 .mk-tab,
body.mp2 .mp-var-chip {
    border: 0 !important;
    background: #f2f6f3;
    color: var(--mk-ink);
}

body.mp2 .mk-aisle-link.active,
body.mp2 .mk-cat-chip.active,
body.mp2 .mk-strip-link.active,
body.mp2 .mk-tab.active,
body.mp2 .mp-var-chip.active {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

body.mp2 .mk-pcard:hover,
body.mp2 .mk-mini-card:hover,
body.mp2 .mk-store-card:hover,
body.mp2 .mk-store-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--mk-shadow-hover);
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img,
body.mp2 .mk-store-banner,
body.mp2 .mk-store-tile-banner,
body.mp2 .mk-cart-thumb {
    background: linear-gradient(180deg, #f8faf8, #edf4ef);
}

body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img {
    transition: transform .28s ease, opacity .24s ease;
}

body.mp2 .mk-pcard:hover .mk-pcard-img,
body.mp2 .mk-mini-card:hover .mk-mini-img img {
    transform: scale(1.035);
}

body.mp2 .mk-pcard-name {
    color: var(--mk-ink);
    font-size: .88rem;
    line-height: 1.35;
    font-weight: 500;
}

body.mp2 .mk-pcard-price,
body.mp2 .mk-mini-price,
body.mp2 #mp2-pprice,
body.mp2 .mk-cart-line-total {
    color: var(--mk-ink);
    font-weight: 650;
}

body.mp2 .mk-pcard-meta,
body.mp2 .mk-pcard-store,
body.mp2 .mk-section-subtitle,
body.mp2 .mk-page-copy,
body.mp2 .mk-confidence-copy,
body.mp2 .mk-assurance-copy {
    color: var(--mk-muted);
}

body.mp2 .mk-mini-atc,
body.mp2 .mk-wish-action,
body.mp2 .mk-cart-remove,
body.mp2 .mk-gallery-wish {
    border: 0;
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-category-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 20px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(232, 246, 240, .94));
}

body.mp2 .mk-category-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex: 0 0 auto;
}

body.mp2 .mk-category-hero-copy {
    flex: 1;
    min-width: 0;
}

body.mp2 .mk-page-head {
    background:
        linear-gradient(135deg, #101713 0%, #0b5d43 100%);
}

body.mp2 .mk-page-head .mk-page-eyebrow {
    color: #a7f3d0;
}

body.mp2 .mk-page-head .mk-page-heading {
    color: #fff;
}

body.mp2 .mk-page-head .mk-view-all {
    background: rgba(255, 255, 255, .13) !important;
    color: #fff !important;
}

body.mp2 .mk-cart-item,
body.mp2 .mk-order-item,
body.mp2 .mk-kv,
body.mp2 .mk-kv-total,
body.mp2 .mk-side-benefit,
body.mp2 .mk-confidence-item {
    border-color: rgba(17, 23, 19, .06) !important;
}

body.mp2 .mk-product-grid {
    gap: 12px;
}

body.mp2 .mk-product-rail,
body.mp2 .mk-stores-scroll,
body.mp2 .mk-chip-row,
body.mp2 .mk-category-strip-inner {
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

body.mp2 .mk-product-rail > *,
body.mp2 .mk-stores-scroll > *,
body.mp2 .mk-chip-row > *,
body.mp2 .mk-category-strip-inner > * {
    scroll-snap-align: start;
}

body.mp2 .mk-load-more {
    min-height: 48px;
}

body.mp2 .mk-load-more-btn {
    min-height: 40px;
}

body.mp2 .modal-overlay {
    background: rgba(10, 17, 13, .56);
    backdrop-filter: blur(8px);
}

body.mp2 .modal {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(10, 17, 13, .28);
}

body.mp2 .modal-header {
    position: relative;
}

body.mp2 .mk-section-title,
body.mp2 .mk-page-heading,
body.mp2 .mk-product-name,
body.mp2 .mk-storefront-name,
body.mp2 .mk-cart-summary-title,
body.mp2 .mk-account-name,
body.mp2 .modal-title {
    font-weight: 620;
}

@keyframes mkFadeUpClean {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mkSheetUp {
    from {
        opacity: .7;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.mp2 .mk-section,
body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile,
body.mp2 .mk-category-hero,
body.mp2 .mk-page-head {
    animation: mkFadeUpClean .34s ease both;
}

body.mp2 .mk-pcard:nth-child(2n),
body.mp2 .mk-mini-card:nth-child(2n),
body.mp2 .mk-store-card:nth-child(2n) {
    animation-delay: .035s;
}

body.mp2 .mk-pcard:nth-child(3n),
body.mp2 .mk-mini-card:nth-child(3n),
body.mp2 .mk-store-card:nth-child(3n) {
    animation-delay: .07s;
}

@media (min-width: 960px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.mp2 .mk-product-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }
}

@media (min-width: 1200px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    body.mp2 {
        --mk-topbar-h: 112px;
        font-size: 14px;
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
        background: #f6faf7;
    }

    body.mp2 .mk-topbar {
        border-radius: 0 0 8px 8px;
    }

    body.mp2 .mk-page {
        padding: 0 10px 24px;
    }

    body.mp2 .mk-home-hero-row {
        display: block;
    }

    body.mp2 .mk-aisle-card,
    body.mp2 .mk-confidence-panel {
        display: none;
    }

    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        height: 232px;
        min-height: 232px;
    }

    body.mp2 .mk-hero-content {
        padding: 18px;
    }

    body.mp2 .mk-hero-title {
        max-width: 330px;
        font-size: 1.42rem;
        line-height: 1.12;
    }

    body.mp2 .mk-hero-sub {
        max-width: 320px;
        font-size: .84rem;
    }

    body.mp2 .mk-hero-ctas {
        gap: 8px;
    }

    body.mp2 .mk-hero-cta-primary,
    body.mp2 .mk-hero-cta-outline {
        min-height: 38px;
        padding: 0 12px;
        font-size: .82rem;
    }

    body.mp2 .mk-assurance-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.mp2 .mk-assurance-item {
        min-height: 58px;
        padding: 10px;
    }

    body.mp2 .mk-section {
        padding: 12px;
    }

    body.mp2 .mk-section-title {
        font-size: .96rem;
    }

    body.mp2 .mk-section-top {
        gap: 10px;
    }

    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.mp2 .mk-pcard-img-wrap {
        aspect-ratio: 1 / .82;
    }

    body.mp2 .mk-pcard-body {
        padding: 10px;
        gap: 5px;
    }

    body.mp2 .mk-pcard-name {
        min-height: 40px;
        font-size: .84rem;
    }

    body.mp2 .mk-pcard-meta,
    body.mp2 .mk-pcard-store,
    body.mp2 .mk-pcard-stars {
        font-size: .65rem;
    }

    body.mp2 .mk-pcard-price {
        font-size: 1rem;
    }

    body.mp2 .mk-product-action,
    body.mp2 .mk-wish-action {
        min-height: 36px;
    }

    body.mp2 .mk-category-hero {
        align-items: flex-start;
        padding: 14px;
    }

    body.mp2 .mk-category-hero-icon {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    body.mp2 .mk-category-hero .mk-view-all {
        display: none;
    }

    body.mp2 .mk-page-heading {
        font-size: 1.18rem;
    }

    body.mp2 .mk-page-copy {
        font-size: .84rem;
    }

    body.mp2 .mk-product-name {
        font-size: 1.18rem;
    }

    body.mp2 #mp2-pprice {
        font-size: 1.28rem !important;
    }

    body.mp2 .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    body.mp2 .modal {
        width: 100%;
        max-width: none;
        max-height: 88dvh;
        border-radius: 8px 8px 0 0;
        animation: mkSheetUp .24s ease both;
    }

    body.mp2 .modal-header {
        padding: 14px 16px 10px;
    }

    body.mp2 .modal-header::before {
        content: "";
        position: absolute;
        top: 7px;
        left: 50%;
        width: 42px;
        height: 4px;
        border-radius: 99px;
        background: rgba(17, 23, 19, .16);
        transform: translateX(-50%);
    }

    body.mp2 .mk-bottom-nav {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        height: calc(58px + env(safe-area-inset-bottom, 0px));
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
        border: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 14px 34px rgba(17, 23, 19, .16);
        backdrop-filter: blur(18px);
    }

    body.mp2 .mk-bnav-item {
        border-radius: 8px;
        gap: 3px;
        color: #728076;
    }

    body.mp2 .mk-bnav-item.active {
        background: var(--mk-primary-soft);
        color: var(--mk-primary);
    }
}

@media (min-width: 640px) and (max-width: 959px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    body.mp2 .mk-hero-title {
        font-size: 1.28rem;
    }

    body.mp2 .mk-product-grid {
        gap: 9px;
    }

    body.mp2 .mk-pcard-name {
        font-size: .81rem;
    }

    body.mp2 .mk-pcard-meta,
    body.mp2 .mk-pcard-store,
    body.mp2 .mk-pcard-stars {
        font-size: .61rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mp2 *,
    body.mp2 *::before,
    body.mp2 *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

body.mp2 button.mk-product-action,
body.mp2 button.mk-atc-btn,
body.mp2 button.mk-checkout-btn,
body.mp2 button.mk-confidence-cta {
    background: var(--mk-primary) !important;
    border-color: var(--mk-primary) !important;
    color: #fff !important;
}

/* Larger desktop merchandising + category shelves */
body.mp2 .mk-category-showcase {
    display: grid;
    gap: 14px;
    margin: 14px 0;
}

body.mp2 .mk-cat-band {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--mk-shadow-soft);
    overflow: hidden;
}

body.mp2 .mk-cat-band-banner {
    position: relative;
    min-height: 250px;
    padding: 18px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--cat-accent) 38%, transparent), transparent 34%),
        linear-gradient(145deg, var(--cat-a), var(--cat-b));
}

body.mp2 .mk-cat-band-banner::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -52px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .11);
}

body.mp2 .mk-cat-band-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

body.mp2 .mk-cat-band-kicker {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.mp2 .mk-cat-band-title {
    position: relative;
    z-index: 1;
    margin-top: 5px;
    font-size: 1.55rem;
    line-height: 1.08;
    font-weight: 650;
}

body.mp2 .mk-cat-band-copy {
    position: relative;
    z-index: 1;
    max-width: 210px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
    line-height: 1.45;
}

body.mp2 .mk-cat-band-btn {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    color: var(--cat-a);
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
}

body.mp2 .mk-cat-band-products {
    min-width: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 205px;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
}

body.mp2 .mk-cat-band-products .mk-pcard {
    min-width: 0;
    scroll-snap-align: start;
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img,
body.mp2 .mk-gallery-main,
body.mp2 .mk-gallery-thumb,
body.mp2 .mk-cart-thumb {
    border-radius: 8px;
    overflow: hidden;
}

body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img,
body.mp2 .mk-gallery-main,
body.mp2 .mk-gallery-thumb img,
body.mp2 .mk-cart-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    border-radius: 8px;
}

body.mp2 .mk-pcard-img-ph,
body.mp2 .mk-mini-img-ph,
body.mp2 .mk-gallery-main-ph,
body.mp2 .mk-cart-thumb-ph {
    border-radius: 8px;
}

@media (min-width: 960px) {
    body.mp2 {
        font-size: 15.5px;
    }

    body.mp2 .mk-page,
    body.mp2 .mk-category-strip {
        max-width: 1240px;
    }

    body.mp2 .mk-hero-title {
        font-size: 2.08rem;
    }

    body.mp2 .mk-hero-sub {
        font-size: 1rem;
    }

    body.mp2 .mk-section-title {
        font-size: 1.1rem;
    }

    body.mp2 .mk-section-subtitle,
    body.mp2 .mk-page-copy {
        font-size: .94rem;
    }

    body.mp2 .mk-pcard-name {
        min-height: 48px;
        font-size: 1rem;
        line-height: 1.33;
    }

    body.mp2 .mk-pcard-meta,
    body.mp2 .mk-pcard-stars,
    body.mp2 .mk-pcard-store {
        font-size: .78rem;
    }

    body.mp2 .mk-pcard-price {
        font-size: 1.18rem;
    }

    body.mp2 .mk-product-action {
        min-height: 40px;
        font-size: .92rem;
    }

    body.mp2 .mk-wish-action {
        width: 40px;
        min-height: 40px;
    }

    body.mp2 .mk-mini-name {
        font-size: .95rem;
        line-height: 1.32;
    }

    body.mp2 .mk-mini-price {
        font-size: 1.08rem;
    }

    body.mp2 .mk-product-name {
        font-size: 1.7rem;
    }

    body.mp2 #mp2-pprice {
        font-size: 1.72rem !important;
    }

    body.mp2 .mk-product-description {
        font-size: .98rem;
    }
}

@media (min-width: 1320px) {
    body.mp2 .mk-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    body.mp2 .mk-category-showcase {
        gap: 12px;
    }

    body.mp2 .mk-cat-band {
        display: block;
        padding: 10px;
    }

    body.mp2 .mk-cat-band-banner {
        min-height: 154px;
        margin-bottom: 10px;
        padding: 14px;
    }

    body.mp2 .mk-cat-band-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    body.mp2 .mk-cat-band-title {
        font-size: 1.2rem;
    }

    body.mp2 .mk-cat-band-copy {
        max-width: 250px;
        font-size: .82rem;
    }

    body.mp2 .mk-cat-band-btn {
        left: 14px;
        bottom: 14px;
        min-height: 34px;
        font-size: .78rem;
    }

    body.mp2 .mk-cat-band-products {
        grid-auto-columns: 45%;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    body.mp2 .mk-cat-band-products {
        grid-auto-columns: 48%;
    }
}

/* Premium marketplace controls and imagery */
body.mp2,
body.mp2 * {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.mp2 .mk-hero-slide {
    background-size: cover;
    background-position: center;
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img,
body.mp2 .mk-store-banner,
body.mp2 .mk-store-tile-banner,
body.mp2 .mk-cart-thumb {
    overflow: hidden;
    border-radius: var(--mk-radius);
}

body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img,
body.mp2 .mk-store-logo img,
body.mp2 .mk-store-tile-logo img,
body.mp2 .mk-cart-thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: 100%;
}

body.mp2 .mk-gallery-main {
    object-fit: contain !important;
    background: #fff;
}

body.mp2 .mk-promo-slots {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 12px;
    margin-top: 14px;
}

body.mp2 .mk-promo-banner,
body.mp2 .mk-flyer-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--mk-radius);
    background:
        linear-gradient(135deg, rgba(17, 23, 19, .94), rgba(11, 122, 87, .82)),
        var(--mk-primary);
    background-size: cover;
    background-position: center;
    color: #fff;
}

body.mp2 .mk-promo-banner::before,
body.mp2 .mk-flyer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .08));
}

body.mp2 .mk-promo-content {
    position: relative;
    z-index: 1;
    min-height: 190px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
}

body.mp2 .mk-promo-kicker {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 650;
}

body.mp2 .mk-promo-title {
    margin-top: 8px;
    font-size: 1.45rem;
    line-height: 1.12;
    font-weight: 700;
}

body.mp2 .mk-promo-copy {
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
    line-height: 1.55;
}

body.mp2 .mk-promo-btn {
    margin-top: 16px;
    width: fit-content;
    min-height: 38px;
    border: 0;
    border-radius: var(--mk-radius);
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--mk-primary);
    font-weight: 650;
    cursor: pointer;
}

body.mp2 .mk-flyer-grid {
    display: grid;
    gap: 12px;
}

body.mp2 .mk-flyer-card {
    min-height: 88px;
    border: 0;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

body.mp2 .mk-flyer-card span,
body.mp2 .mk-flyer-card i {
    position: relative;
    z-index: 1;
    font-weight: 650;
}

body.mp2 .mk-cat-band-banner.has-image {
    background-size: cover;
    background-position: center;
}

body.mp2 .mk-category-hero.has-image,
body.mp2 .mk-cat-tile.has-image {
    background-size: cover;
    background-position: center;
}

body.mp2 .mk-category-layout {
    display: grid;
    grid-template-columns: 278px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

body.mp2 .mk-category-panel {
    position: sticky;
    top: calc(var(--mk-topbar-h) + 14px);
    background: #fff;
    border-radius: var(--mk-radius);
    box-shadow: var(--mk-shadow-soft);
    padding: 16px;
}

body.mp2 .mk-category-panel-close {
    display: none;
}

body.mp2 .mk-panel-title {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--mk-text);
    font-size: .98rem;
    font-weight: 700;
}

body.mp2 .mk-panel-sub,
body.mp2 .mk-panel-empty {
    margin-top: 5px;
    color: var(--mk-muted);
    font-size: .82rem;
    line-height: 1.45;
}

body.mp2 .mk-panel-block {
    margin-top: 16px;
}

body.mp2 .mk-panel-label {
    color: var(--mk-text-3);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}

body.mp2 .mk-panel-select {
    width: 100%;
    height: 40px;
    border: 0;
    border-radius: var(--mk-radius);
    background: #f3f7f5;
    color: var(--mk-text);
    padding: 0 10px;
}

body.mp2 .mk-panel-chips {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body.mp2 .mk-panel-chip,
body.mp2 .mk-option-row {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-radius: var(--mk-radius);
    background: #f3f7f5;
    color: var(--mk-text);
    padding: 9px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}

body.mp2 .mk-panel-chip.active {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}

body.mp2 .mk-option-row {
    margin-bottom: 7px;
    text-align: left;
}

body.mp2 .mk-option-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.mp2 .mk-option-row em {
    color: var(--mk-primary);
    font-style: normal;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

body.mp2 .mk-mobile-filter-fab {
    display: none;
}

body.mp2 .mk-storefront {
    border: 0;
    box-shadow: var(--mk-shadow-soft);
}

body.mp2 .mk-storefront-banner {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--store-theme, var(--mk-primary)) 92%, #000), var(--store-theme, var(--mk-primary)));
    background-size: cover;
    background-position: center;
}

body.mp2 .mk-storefront-logo {
    border-radius: var(--mk-radius);
}

body.mp2 .mk-storefront-name i,
body.mp2 .mk-store-tag i {
    color: var(--store-accent, var(--mk-accent));
}

body.mp2 .mk-store-coupons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

body.mp2 .mk-coupon-card {
    border: 0;
    border-radius: var(--mk-radius);
    background: linear-gradient(135deg, #111713, var(--store-theme, var(--mk-primary)));
    color: #fff;
    min-height: 70px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
}

body.mp2 .mk-coupon-code {
    font-weight: 800;
    letter-spacing: .04em;
}

body.mp2 .mk-coupon-card span:last-child {
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
}

body.mp2 .mk-store-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

body.mp2 .mk-store-cats button {
    border: 0;
    border-radius: var(--mk-radius);
    background: #f1f6f3;
    color: var(--store-theme, var(--mk-primary));
    min-height: 34px;
    padding: 0 10px;
    font-weight: 650;
    cursor: pointer;
}

body.mp2 .mk-product-gallery {
    position: relative;
}

body.mp2 .mk-zoom-pane {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 220px;
    height: 220px;
    border-radius: var(--mk-radius);
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 230%;
    box-shadow: 0 20px 50px rgba(17, 24, 39, .22);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 5;
}

body.mp2 .mk-zoom-pane.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 959px) {
    body.mp2 .mk-promo-slots {
        grid-template-columns: 1fr;
    }

    body.mp2 .mk-category-layout {
        display: block;
    }

    body.mp2 .mk-mobile-filter-fab {
        display: inline-flex;
        position: fixed;
        right: 16px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        z-index: 280;
        border: 0;
        border-radius: 999px;
        min-height: 44px;
        padding: 0 14px;
        align-items: center;
        gap: 8px;
        background: var(--mk-primary);
        color: #fff;
        box-shadow: 0 12px 28px rgba(17, 24, 39, .2);
        font-weight: 700;
    }

    body.mp2 .mk-category-panel {
        position: fixed;
        inset: auto 0 0;
        z-index: 500;
        max-height: 78vh;
        overflow: auto;
        border-radius: 18px 18px 0 0;
        transform: translateY(110%);
        transition: transform .24s ease;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    }

    body.mp2 .mk-category-panel.open {
        transform: translateY(0);
    }

    body.mp2 .mk-category-panel-close {
        display: inline-flex;
        position: absolute;
        top: 12px;
        right: 12px;
        border: 0;
        background: #f1f5f9;
        border-radius: 999px;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
    }

    body.mp2.mk-panel-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 490;
        background: rgba(17, 24, 39, .32);
    }

    body.mp2 .mk-zoom-pane {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PATCH — carousel, menu drawer, badges, layout fixes
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hamburger menu button ─── */
body.mp2 .mk-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--mk-border);
    background: transparent;
    color: var(--mk-text);
    font-size: 1.3rem;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background .15s, color .15s;
}
body.mp2 .mk-menu-btn:hover {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
    border-color: rgba(15,95,69,.22);
}

/* ─── Nav Drawer ─── */
body.mp2 .mk-nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 900;
}
body.mp2 .mk-nav-drawer.open {
    display: flex;
}
body.mp2 .mk-nav-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.52);
}
body.mp2 .mk-nav-drawer-panel {
    position: relative;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--mk-surface);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 28px rgba(17,24,39,.18);
    z-index: 1;
    overflow-y: auto;
    animation: mkDrawerSlideIn .24s ease;
}
@keyframes mkDrawerSlideIn {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}
body.mp2 .mk-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mk-border);
    background: var(--mk-primary);
    color: #fff;
    min-height: 60px;
    flex-shrink: 0;
}
body.mp2 .mk-nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: .98rem;
    color: #fff;
}
body.mp2 .mk-nav-drawer-brand .mk-brand-mark {
    background: rgba(255,255,255,.22);
    box-shadow: none;
}
body.mp2 .mk-nav-drawer-brand .mk-brand-text {
    color: #fff;
}
body.mp2 .mk-nav-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}
body.mp2 .mk-nav-drawer-body {
    flex: 1;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
body.mp2 .mk-nav-drawer-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 20px;
    border: 0;
    background: transparent;
    color: var(--mk-text);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background .13s, color .13s;
    width: 100%;
}
body.mp2 .mk-nav-drawer-item i {
    font-size: 1.1rem;
    color: var(--mk-text-3);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
body.mp2 .mk-nav-drawer-item:hover {
    background: var(--mk-primary-soft);
    color: var(--mk-primary);
}
body.mp2 .mk-nav-drawer-item:hover i { color: var(--mk-primary); }
body.mp2 .mk-nav-drawer-item.highlight {
    margin: 8px 16px;
    width: calc(100% - 32px);
    border-radius: 8px;
    background: var(--mk-primary);
    color: #fff;
}
body.mp2 .mk-nav-drawer-item.highlight i { color: rgba(255,255,255,.85); }
body.mp2 .mk-nav-drawer-item.highlight:hover { background: var(--mk-primary-dark); }
body.mp2 .mk-nav-drawer-item.danger { color: var(--mk-danger); }
body.mp2 .mk-nav-drawer-item.danger i { color: var(--mk-danger); }
body.mp2 .mk-nav-drawer-item.danger:hover { background: var(--mk-danger-soft); }
body.mp2 .mk-nav-drawer-divider {
    height: 1px;
    background: var(--mk-border);
    margin: 6px 16px;
}

/* ─── Hero Carousel — fade transition ─── */
body.mp2 .mk-hero {
    position: relative;
    overflow: hidden;
}
body.mp2 .mk-hero-track {
    position: relative !important;
    overflow: hidden;
    display: block !important;
    height: 360px;
}
body.mp2 .mk-hero-slide {
    position: absolute !important;
    inset: 0;
    height: 100% !important;
    min-width: unset !important;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}
body.mp2 .mk-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 959px) {
    body.mp2 .mk-hero-track { height: 230px; }
}
@media (max-width: 639px) {
    body.mp2 .mk-hero-track { height: 210px; }
}

/* ─── Bottom nav — items always relative ─── */
body.mp2 .mk-bnav-item {
    position: relative;
}
/* Cart badge on bottom nav */
body.mp2 .mk-bnav-item .mk-cart-badge {
    position: absolute !important;
    top: 2px;
    right: calc(50% - 20px);
    z-index: 2;
    background: var(--mk-danger);
    border: 2px solid var(--mk-surface);
}

/* ─── Bottom nav gap fix ─── */
body.mp2 .mk-bottom-nav {
    background: var(--mk-surface);
}

/* ─── Categories — per-category color tiles ─── */
body.mp2 .mk-cat-tile {
    background-image: none !important;
    transition: transform .15s, box-shadow .15s;
}
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+1) { background: #e8f5e9; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+2) { background: #e3f2fd; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+3) { background: #fff3e0; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+4) { background: #f3e5f5; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+5) { background: #fce4ec; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+6) { background: #e0f7fa; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+7) { background: #fff8e1; }
body.mp2 .mk-cats-grid .mk-cat-tile:nth-child(8n+8) { background: #efebe9; }
body.mp2 .mk-cat-icon-wrap {
    background: rgba(255,255,255,.65);
    border-radius: 10px;
}

/* ─── Product gallery — images fill perfectly ─── */
body.mp2 .mk-gallery-main {
    object-fit: cover !important;
    padding: 0 !important;
    width: 100%;
    border-radius: 0;
}
body.mp2 .mk-gallery-main-ph {
    display: flex;
    align-items: center;
    justify-content: center;
}
body.mp2 #mp-img-track {
    border-radius: 0;
    overflow: hidden;
}

/* ─── Store name visibility ─── */
body.mp2 .mk-storefront-body {
    background: var(--mk-surface);
}
body.mp2 .mk-storefront-name {
    color: var(--mk-text) !important;
}

/* ─── Reduce gradients ─── */
body.mp2 .mk-storefront-banner {
    background-color: var(--store-theme, var(--mk-primary)) !important;
}
body.mp2 .mk-hero-overlay {
    background: rgba(7,16,28,.5) !important;
}

/* ─── Fixed checkout bar (mobile) / sticky summary (desktop) ─── */
body.mp2 .mk-cart-checkout-fixed {
    display: none;
}
@media (max-width: 1023px) {
    body.mp2 .mk-cart-checkout-fixed {
        display: block;
        position: fixed;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        z-index: 250;
        padding: 10px 16px 12px;
        background: var(--mk-surface);
        border-top: 1px solid var(--mk-border);
        box-shadow: 0 -6px 20px rgba(17,24,39,.1);
    }
    body.mp2 .mk-cart-checkout-fixed .mk-checkout-btn {
        margin-top: 8px;
    }
    /* Add padding to page so fixed bar doesn't cover content */
    body.mp2 .mk-cart-layout {
        padding-bottom: 110px;
    }
    /* Hide the in-page checkout button on mobile */
    body.mp2 .mk-cart-summary .mk-checkout-btn {
        display: none;
    }
}
@media (min-width: 1024px) {
    body.mp2 .mk-cart-layout {
        grid-template-columns: minmax(0,1fr) 300px;
        align-items: start;
    }
    body.mp2 .mk-cart-summary {
        position: sticky;
        top: calc(var(--mk-topbar-h) + 16px);
        border: 1px solid var(--mk-border);
        border-radius: 8px;
    }
}

/* Marketplace UX fixes: mobile header, stock, login modal, tighter product media */
body.mp2 .mk-stock-line {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.2;
}
body.mp2 .mk-stock-line.in,
body.mp2 .mk-stock-chip.in {
    color: #0f766e;
    background: rgba(15,118,110,.1);
}
body.mp2 .mk-stock-line.out,
body.mp2 .mk-stock-chip.out {
    color: #b91c1c;
    background: rgba(239,68,68,.1);
}
body.mp2 .mk-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-top: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 720;
}
body.mp2 .mk-product-action:disabled,
body.mp2 .mk-mini-atc:disabled,
body.mp2 .mk-atc-btn:disabled,
body.mp2 .mk-qty-input:disabled {
    opacity: .58;
    cursor: not-allowed;
}
body.mp2 .mk-login-modal {
    padding: 6px 2px 12px;
}
body.mp2 .mk-login-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--mk-primary);
    background: color-mix(in srgb, var(--mk-primary) 12%, white);
    margin-bottom: 12px;
    font-size: 1.25rem;
}
body.mp2 .mk-login-title {
    font-size: 1.05rem;
    font-weight: 760;
    color: var(--mk-text);
    margin-bottom: 4px;
}
body.mp2 .mk-login-copy {
    color: var(--mk-text-3);
    line-height: 1.5;
    font-size: .88rem;
    margin-bottom: 14px;
}
body.mp2 .mk-product-gallery {
    align-self: start;
}
body.mp2 #mp-img-track {
    aspect-ratio: 4 / 3 !important;
    max-height: min(520px, 70vh);
}
body.mp2 .mk-gallery-thumbs {
    margin-top: 10px !important;
}
body.mp2 .mk-pcard-img,
body.mp2 .mk-mini-img img {
    border-radius: 12px;
}

@media (max-width: 959px) {
    body.mp2 .mk-mainbar {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
    }
    body.mp2 .mk-menu-btn {
        grid-column: 1 !important;
        justify-self: start !important;
    }
    body.mp2 .mk-brand {
        grid-column: 2 !important;
        justify-self: start !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    body.mp2 .mk-brand-text {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.mp2 .mk-topbar-actions {
        grid-column: 3 !important;
        justify-self: end !important;
    }
    body.mp2 .mk-search-wrap {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    body.mp2 #mp-img-track {
        aspect-ratio: 1 / 1 !important;
        max-height: 360px;
    }
    body.mp2 .mk-rating-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
    }
    body.mp2 .mk-rate-product-btn,
    body.mp2 .mk-view-ratings-btn {
        min-height: 40px;
        padding: 8px 6px;
        font-size: .78rem;
    }
}

/* ─── Star rating picker ─── */
body.mp2 .mk-star-picker {
    display: flex;
    gap: 6px;
}
body.mp2 .mk-star-btn {
    font-size: 1.6rem;
    border: 0;
    background: transparent;
    color: #d1d5db;
    cursor: pointer;
    padding: 4px;
    transition: color .15s, transform .12s;
}
body.mp2 .mk-star-btn:hover {
    transform: scale(1.15);
}
body.mp2 .mk-star-btn.filled {
    color: #f59e0b;
}

/* Final marketplace hardening pass */
body.mp2 {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

body.mp2 .mk-bottom-nav {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.mp2 .mk-bnav-item .mk-cart-badge {
    top: 6px !important;
    right: auto !important;
    left: calc(50% + 6px) !important;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: .62rem;
    z-index: 5;
}

body.mp2 .mk-storefront {
    background: var(--mk-surface);
}

body.mp2 .mk-storefront-body {
    position: relative;
    z-index: 2;
    background: var(--mk-surface) !important;
}

body.mp2 .mk-storefront-name {
    color: #111827 !important;
    text-shadow: none !important;
}

body.mp2 .mk-storefront-desc,
body.mp2 .mk-store-tag {
    color: var(--mk-text-2) !important;
}

body.mp2 .mk-storefront-banner {
    background-color: var(--store-theme, var(--mk-primary)) !important;
    background-size: cover !important;
    background-position: center !important;
}

body.mp2 #mp-img-track {
    aspect-ratio: 1 / 1;
    background: #fff;
}

body.mp2 .mk-gallery-main {
    object-fit: var(--mk-product-image-fit, contain) !important;
    background: #fff !important;
    padding: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    display: block !important;
}

body.mp2 .mk-hero-slide {
    will-change: opacity;
}

/* Premium coupon tickets, checkout polish, and gold ratings */
body.mp2 .mk-store-coupons{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px}
body.mp2 .mk-coupon-ticket{min-height:128px;border:0;border-radius:18px;background:#fff;color:var(--mk-text);box-shadow:0 16px 38px rgba(17,24,39,.1);display:grid;grid-template-columns:minmax(105px,.85fr) 24px minmax(145px,1.15fr);align-items:stretch;overflow:hidden;text-align:center;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
body.mp2 .mk-coupon-ticket:hover{transform:translateY(-2px);box-shadow:0 20px 48px rgba(17,24,39,.14)}
body.mp2 .mk-coupon-ticket-left,body.mp2 .mk-coupon-ticket-right{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:18px 14px;min-width:0}
body.mp2 .mk-coupon-ticket-left strong{font-size:1.08rem;color:#2f594f;line-height:1.1}
body.mp2 .mk-coupon-ticket-left small,body.mp2 .mk-coupon-ticket-right small{font-size:.76rem;color:var(--mk-text-3);margin-top:7px}
body.mp2 .mk-coupon-flame{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(245,158,11,.1);color:var(--mk-rating-gold,#f5a524);font-size:1.1rem;margin-bottom:8px}
body.mp2 .mk-coupon-ticket-cut{position:relative;background:radial-gradient(circle at 50% 0,#f4f7fb 0 15px,transparent 16px),radial-gradient(circle at 50% 100%,#f4f7fb 0 15px,transparent 16px)}
body.mp2 .mk-coupon-ticket-cut::after{content:"";position:absolute;top:24px;bottom:24px;left:50%;border-left:2px dashed #d7dce3;transform:translateX(-50%)}
body.mp2 .mk-coupon-code{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-width:132px;padding:10px 14px;border:2px dotted color-mix(in srgb,var(--mk-coupon-accent,var(--mk-primary)) 70%,transparent);border-radius:12px;background:color-mix(in srgb,var(--mk-coupon-accent,var(--mk-primary)) 16%,white);color:var(--mk-coupon-accent,var(--mk-primary));font-size:.96rem;font-weight:780;text-transform:uppercase;overflow-wrap:anywhere}
body.mp2 .mk-rating-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
body.mp2 .mk-rate-product-btn,body.mp2 .mk-view-ratings-btn{min-height:42px;border:1px solid var(--mk-border);border-radius:8px;background:#fff;color:var(--mk-text-2);font-size:.86rem;font-weight:720;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
body.mp2 .mk-rate-product-btn i,body.mp2 .mk-view-ratings-btn i,body.mp2 .mk-product-rating i,body.mp2 .mk-ratings-stars i{color:var(--mk-rating-gold,#f5a524)}
body.mp2 button.mk-product-rating{border:0;background:rgba(245,165,36,.1);cursor:pointer}
body.mp2 .mk-rating-modal-pad{padding:10px 4px 14px}
body.mp2 .mk-ratings-summary{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;padding:16px;border-radius:14px;background:#fff8e8;border:1px solid rgba(245,165,36,.24);margin-bottom:14px}
body.mp2 .mk-ratings-score{font-size:2rem;font-weight:820;color:#8a5a00;line-height:1}
body.mp2 .mk-ratings-stars{display:flex;gap:2px;color:var(--mk-rating-gold,#f5a524);font-size:.95rem}
body.mp2 .mk-ratings-title{font-weight:780;color:var(--mk-text);line-height:1.25}
body.mp2 .mk-ratings-count{font-size:.84rem;color:var(--mk-text-3);margin-top:4px}
body.mp2 .mk-review-list{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
body.mp2 .mk-review-item{padding:13px;border-radius:12px;background:#fff;border:1px solid var(--mk-border)}
body.mp2 .mk-review-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.78rem;color:var(--mk-text-3);margin-bottom:7px}
body.mp2 .mk-review-comment{font-size:.9rem;line-height:1.55;color:var(--mk-text-2)}
body.mp2 .mp-checkout-location-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
body.mp2 .mp-tax-lines{display:flex;flex-direction:column;gap:5px;margin-top:6px}
body.mp2 .mp-tax-lines div{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:var(--mk-text-3)}
body.mp2 .mp-checkout-note{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:10px;border-radius:12px;background:rgba(11,122,87,.08);color:var(--mk-primary);font-size:.8rem;line-height:1.35}
@media (max-width:640px){
    body.mp2 .mk-store-coupons{grid-template-columns:1fr}
    body.mp2 .mk-coupon-ticket{grid-template-columns:minmax(96px,.85fr) 20px minmax(122px,1.15fr);min-height:118px}
    body.mp2 .mk-coupon-ticket-left,body.mp2 .mk-coupon-ticket-right{padding:14px 9px}
    body.mp2 .mk-coupon-code{min-width:0;width:100%;font-size:.84rem;padding:9px 10px}
    body.mp2 .mk-rating-actions{grid-template-columns:1fr}
}

body.mp2 .mk-promo-banner::before,
body.mp2 .mk-flyer-card::before {
    background: rgba(0, 0, 0, .28);
}

body.mp2.mk-panel-open {
    overflow: hidden;
}

@media (max-width: 1023px) {
    body.mp2 .mk-cart-checkout-fixed {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 12px 12px 0 0;
    }
}

@media (min-width: 1024px) {
    body.mp2 .mk-cart-layout {
        grid-template-columns: minmax(0, 1fr) 380px !important;
        gap: 18px;
    }

    body.mp2 .mk-cart-summary {
        position: fixed !important;
        top: calc(var(--mk-topbar-h) + 18px) !important;
        right: max(22px, calc((100vw - 1240px) / 2 + 22px));
        width: min(360px, calc(100vw - 44px));
        max-height: calc(100vh - var(--mk-topbar-h) - 36px);
        overflow: auto;
        z-index: 90;
    }

    body.mp2 .mk-cart-checkout-fixed {
        display: none !important;
    }
}

/* Checkout map, cart clickability, and card polish */
body.mp2 .mp-checkout-wrap .input-group input,
body.mp2 .mp-checkout-wrap .input-group select {
    min-height: 48px;
    padding: 13px 14px;
    border-radius: 10px;
}

body.mp2 .mp-checkout-wrap .input-group textarea {
    min-height: 96px;
    padding: 13px 14px;
    border-radius: 10px;
}

body.mp2 .mp-map-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

body.mp2 .mp-map-search-btn {
    min-height: 48px;
    border-color: rgba(37, 99, 235, .18);
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
}

body.mp2 .mp-selected-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 9px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: var(--mk-text-3);
    font-size: .82rem;
    line-height: 1.35;
}

body.mp2 .mp-selected-location.is-set {
    background: rgba(16, 185, 129, .1);
    color: #047857;
}

body.mp2 .mp-selected-location small {
    display: block;
    margin-top: 2px;
    color: inherit;
    opacity: .76;
}

body.mp2 .mp-checkout-map-shell {
    position: relative;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 16px;
    background: #edf2f7;
    border: 1px solid rgba(15, 23, 42, .08);
}

body.mp2 .mp-checkout-map {
    width: 100%;
    height: 230px;
}

body.mp2 .mp-map-provider-pill {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--mk-text-2);
    font-size: .74rem;
    font-weight: 760;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

body.mp2 .mp-map-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: var(--mk-text-3);
    font-size: .86rem;
}

body.mp2 .mk-pcard-img-wrap {
    position: relative;
}

body.mp2 .mk-wish-action.mk-wish-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #334155;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .15);
}

body.mp2 .mk-wish-action.mk-wish-floating.wished,
body.mp2 .mk-gallery-wish.wished {
    color: #e11d48;
    background: #fff1f2;
}

body.mp2 .mk-cart-thumb.is-clickable,
body.mp2 .mk-cart-name.is-clickable {
    cursor: pointer;
}

body.mp2 .mk-cart-name.is-clickable:hover {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.mp2 .mk-section:nth-of-type(4n + 1) .mk-section-title i,
body.mp2 .mk-page-eyebrow {
    color: #0f766e;
}

body.mp2 .mk-section:nth-of-type(4n + 2) .mk-section-title i,
body.mp2 .mk-view-all i {
    color: #2563eb;
}

body.mp2 .mk-section:nth-of-type(4n + 3) .mk-section-title i,
body.mp2 .mk-coupon-flame {
    color: #d97706;
}

body.mp2 .mk-section:nth-of-type(4n) .mk-section-title i {
    color: #be123c;
}

body.mp2 .mk-product-action {
    background: #0f766e;
}

body.mp2 .mk-product-action:hover {
    background: #115e59;
}

body.mp2 .mk-product-action:disabled {
    background: #e5e7eb;
    color: #64748b;
    cursor: not-allowed;
}

body.mp2 .mk-checkout-btn {
    background: #111827;
}

body.mp2 .mk-rate-product-btn {
    border-color: rgba(217, 119, 6, .22);
    background: #fffbeb;
    color: #92400e;
}

body.mp2 .mk-view-ratings-btn {
    border-color: rgba(37, 99, 235, .18);
    background: #eff6ff;
    color: #1d4ed8;
}

@media (max-width: 640px) {
    body.mp2 .mp-map-search-row {
        grid-template-columns: 1fr;
    }

    body.mp2 .mp-checkout-map {
        height: 200px;
    }

    body.mp2 .mk-product-detail-grid {
        gap: 8px !important;
    }

    body.mp2 .mk-product-gallery {
        margin-bottom: 0 !important;
    }

    body.mp2 .mk-product-body {
        padding-top: 10px !important;
    }

    body.mp2 .mk-product-tags {
        margin-bottom: 6px !important;
    }

    body.mp2 #mp-img-track {
        max-height: 320px;
    }

    body.mp2 .mk-wish-action.mk-wish-floating {
        width: 36px;
        height: 36px;
        min-height: 36px;
        top: 8px;
        right: 8px;
    }

    body.mp2 .mk-rating-actions {
        grid-template-columns: 1fr 1fr;
    }
}

/* Shopper order details */
body.mp2 .mk-order-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.mp2 .mk-order-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: #101827;
    color: #fff;
}

body.mp2 .mk-order-detail-label {
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: .06em;
}

body.mp2 .mk-order-detail-ref {
    margin-top: 4px;
    font-size: 1.15rem;
    font-weight: 820;
}

body.mp2 .mk-order-detail-store {
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
}

body.mp2 .mk-order-detail-total {
    align-self: flex-start;
    padding: 9px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    color: #047857;
    font-size: .98rem;
    font-weight: 840;
    white-space: nowrap;
}

body.mp2 .mk-order-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body.mp2 .mk-order-status-card,
body.mp2 .mk-order-break-card {
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 16px;
    background: #fff;
}

body.mp2 .mk-order-status-card {
    padding: 12px;
}

body.mp2 .mk-order-status-card span,
body.mp2 .mk-order-info-grid span {
    display: block;
    color: var(--mk-text-3);
    font-size: .72rem;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.mp2 .mk-order-status-card strong,
body.mp2 .mk-order-info-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--mk-text);
    font-size: .9rem;
    font-weight: 780;
    overflow-wrap: anywhere;
}

body.mp2 .mk-order-status-card.paid {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, .18);
}

body.mp2 .mk-order-break-card {
    padding: 14px;
}

body.mp2 .mk-order-break-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mk-text);
    font-size: .95rem;
    font-weight: 820;
    margin-bottom: 12px;
}

body.mp2 .mk-order-break-title i {
    color: #2563eb;
}

body.mp2 .mk-order-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.mp2 .mk-order-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

body.mp2 .mk-order-line-img {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    color: var(--mk-text-4);
    cursor: pointer;
}

body.mp2 .mk-order-line-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.mp2 .mk-order-line-name {
    color: var(--mk-text);
    font-size: .9rem;
    font-weight: 780;
    line-height: 1.28;
}

body.mp2 .mk-order-line-var,
body.mp2 .mk-order-line-meta {
    margin-top: 3px;
    color: var(--mk-text-3);
    font-size: .78rem;
}

body.mp2 .mk-order-line-total {
    color: #0f766e;
    font-size: .9rem;
    font-weight: 820;
    white-space: nowrap;
}

body.mp2 .mk-order-totals {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.mp2 .mk-order-totals div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--mk-text-2);
    font-size: .88rem;
}

body.mp2 .mk-order-totals strong {
    color: var(--mk-text);
    font-weight: 800;
}

body.mp2 .mk-order-totals .discount strong {
    color: #dc2626;
}

body.mp2 .mk-order-totals .grand {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed var(--mk-border);
    color: var(--mk-text);
    font-weight: 820;
}

body.mp2 .mk-order-totals .grand strong {
    color: #047857;
    font-size: 1.05rem;
}

body.mp2 .mk-order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.mp2 .mk-order-info-grid .wide {
    grid-column: 1 / -1;
}

body.mp2 .mk-order-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 640px) {
    body.mp2 .mk-order-detail-hero,
    body.mp2 .mk-order-status-grid,
    body.mp2 .mk-order-info-grid {
        grid-template-columns: 1fr;
    }

    body.mp2 .mk-order-detail-hero {
        display: grid;
    }

    body.mp2 .mk-order-line {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    body.mp2 .mk-order-line-total {
        grid-column: 2;
        justify-self: start;
    }
}

/* Bright marketplace palette pass */
body.mp2 {
    --mk-primary: #00a86b;
    --mk-primary-dark: #007a52;
    --mk-primary-soft: #d9fff0;
    --mk-accent: #ffb703;
    --mk-accent-dark: #f97316;
    --mk-accent-soft: #fff2bf;
    --mk-danger: #f43f5e;
    --mk-danger-soft: #ffe4e9;
    --mk-info: #0ea5e9;
    --mk-info-soft: #e0f2fe;
    --mk-bg: #f3fbff;
    --mk-band: #ffffff;
    --mk-surface-alt: #f0f9ff;
    --mk-border: #d7ecf7;
    background:
        linear-gradient(180deg, #f0fbff 0%, #fffdf4 42%, #f8fbff 100%) !important;
}

body.mp2 .mk-topbar-pro {
    background: #ffffff;
    border-bottom-color: rgba(14, 165, 233, .18);
    box-shadow: 0 12px 30px rgba(14, 165, 233, .12);
}

body.mp2 .mk-utilitybar {
    background: #05a66b;
}

body.mp2 .mk-brand-mark,
body.mp2 .mk-menu-btn {
    background: #00a86b;
    box-shadow: 0 10px 22px rgba(0, 168, 107, .28);
}

body.mp2 .mk-search-wrap {
    border-color: #ffb703;
    box-shadow: 0 6px 18px rgba(255, 183, 3, .2);
}

body.mp2 .mk-search-submit,
body.mp2 .mk-search-btn,
body.mp2 .mk-hero-cta-primary,
body.mp2 .mk-product-action,
body.mp2 .mk-mini-atc,
body.mp2 .mk-checkout-btn,
body.mp2 .mk-atc-btn,
body.mp2 .btn.btn-primary {
    background: #00a86b !important;
    color: #fff !important;
    border-color: #00a86b !important;
    box-shadow: 0 10px 22px rgba(0, 168, 107, .24);
}

body.mp2 .mk-search-submit:hover,
body.mp2 .mk-search-btn:hover,
body.mp2 .mk-hero-cta-primary:hover,
body.mp2 .mk-product-action:hover,
body.mp2 .mk-mini-atc:hover,
body.mp2 .mk-checkout-btn:hover,
body.mp2 .mk-atc-btn:hover,
body.mp2 .btn.btn-primary:hover {
    background: #008f5b !important;
}

body.mp2 .mk-hero,
body.mp2 .mk-hero-slide {
    background-color: #00a86b;
}

body.mp2 .mk-hero-slide:not([style*="background-image"]) {
    background:
        linear-gradient(135deg, rgba(0, 168, 107, .96) 0%, rgba(14, 165, 233, .9) 55%, rgba(255, 183, 3, .92) 100%) !important;
}

body.mp2 .mk-hero-overlay {
    background: rgba(0, 61, 43, .22);
}

body.mp2 .mk-hero-badge {
    background: #fffbeb;
    color: #b45309;
    border-color: rgba(255, 183, 3, .5);
}

body.mp2 .mk-hero-cta-outline,
body.mp2 .mk-view-all,
body.mp2 .mk-section-link,
body.mp2 .btn.btn-outline {
    background: #ffffff;
    color: #007a52;
    border-color: rgba(0, 168, 107, .24);
}

body.mp2 .mk-view-all:hover,
body.mp2 .mk-section-link:hover,
body.mp2 .btn.btn-outline:hover {
    background: #d9fff0;
    color: #006b49;
}

body.mp2 .mk-section,
body.mp2 .mk-account-panel,
body.mp2 .mk-cart-group,
body.mp2 .mk-cart-summary,
body.mp2 .mk-order-break-card,
body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-category-card,
body.mp2 .mk-confidence-panel,
body.mp2 .mk-aisle-card {
    background: #ffffff;
    border-color: rgba(14, 165, 233, .14);
    box-shadow: 0 10px 28px rgba(14, 165, 233, .08);
}

body.mp2 .mk-section:nth-of-type(4n + 1),
body.mp2 .mk-account-panel:nth-of-type(4n + 1) {
    border-top: 3px solid #00a86b;
}

body.mp2 .mk-section:nth-of-type(4n + 2) {
    border-top: 3px solid #0ea5e9;
}

body.mp2 .mk-section:nth-of-type(4n + 3) {
    border-top: 3px solid #ffb703;
}

body.mp2 .mk-section:nth-of-type(4n) {
    border-top: 3px solid #f43f5e;
}

body.mp2 .mk-section-title,
body.mp2 .mk-page-heading,
body.mp2 .mk-product-name,
body.mp2 .mk-pcard-name {
    color: #0f172a;
}

body.mp2 .mk-section-title i,
body.mp2 .mk-panel-head i,
body.mp2 .mk-confidence-icon,
body.mp2 .mk-assurance-item i {
    color: #00a86b;
    background: #d9fff0;
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img,
body.mp2 .mk-gallery-main,
body.mp2 .mk-cart-thumb {
    background: #e0f2fe;
}

body.mp2 .mk-pcard-price,
body.mp2 .mk-mini-price,
body.mp2 .mk-cart-line-total,
body.mp2 .mk-order-line-total,
body.mp2 .mk-kv-total .val {
    color: #00a86b !important;
}

body.mp2 .mk-pcard-badge.featured,
body.mp2 .mk-stock-line.in,
body.mp2 .mk-stock-chip.in,
body.mp2 .mk-badge.green,
body.mp2 .mp-pill {
    background: #d9fff0;
    color: #007a52;
    border-color: rgba(0, 168, 107, .22);
}

body.mp2 .mk-pcard-stars,
body.mp2 .mk-product-rating i,
body.mp2 .mk-rate-product-btn i,
body.mp2 .mk-view-ratings-btn i {
    color: #ffb703 !important;
}

body.mp2 .mk-category-chip,
body.mp2 .mk-aisle-link,
body.mp2 .mk-store-cats button {
    background: #f0f9ff;
    color: #0369a1;
    border-color: rgba(14, 165, 233, .2);
}

body.mp2 .mk-category-chip:hover,
body.mp2 .mk-aisle-link:hover,
body.mp2 .mk-store-cats button:hover {
    background: #e0f2fe;
    color: #075985;
}

body.mp2 .mk-wish-action.mk-wish-floating {
    color: #f43f5e;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(244, 63, 94, .16);
}

body.mp2 .mk-wish-action.mk-wish-floating.wished,
body.mp2 .mk-gallery-wish.wished {
    background: #ffe4e9;
    color: #e11d48;
}

body.mp2 .mk-coupon-ticket {
    box-shadow: 0 18px 42px rgba(0, 168, 107, .12);
}

body.mp2 .mk-coupon-code {
    --mk-coupon-accent: #00a86b;
}

body.mp2 .mk-order-detail-hero {
    background: #00a86b;
}

@media (max-width: 640px) {
    body.mp2 {
        background: linear-gradient(180deg, #effcff 0%, #fffdf2 48%, #f7fbff 100%) !important;
    }
}

/* Marketplace refinement pass: clean hero, aligned rails, premium store pages */
body.mp2 .mk-hero-overlay {
    display: none !important;
    background: transparent !important;
}

body.mp2 .mk-hero,
body.mp2 .mk-hero-slide {
    min-height: 354px;
}

body.mp2 .mk-hero-slide {
    isolation: isolate;
}

body.mp2 .mk-hero-slide::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.3));
    pointer-events: none;
    z-index: 0;
}

body.mp2 .mk-hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(15, 23, 42, .32);
}

body.mp2 .mk-home-hero-row {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(230px, 270px);
    align-items: stretch;
    gap: 14px;
}

body.mp2 .mk-aisle-card,
body.mp2 .mk-confidence-panel,
body.mp2 .mk-hero {
    height: 100%;
}

body.mp2 .mk-product-rail,
body.mp2 .mk-stores-scroll,
body.mp2 .mk-cat-band-products {
    scroll-behavior: smooth;
    align-items: stretch;
}

body.mp2 .mk-product-rail {
    grid-auto-columns: minmax(178px, 206px);
}

body.mp2 .mk-stores-scroll {
    grid-auto-columns: minmax(216px, 246px);
}

body.mp2 .mk-product-rail > *,
body.mp2 .mk-stores-scroll > *,
body.mp2 .mk-cat-band-products > * {
    height: 100%;
}

body.mp2 .mk-cat-band {
    grid-template-columns: minmax(280px, 345px) minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

body.mp2 .mk-cat-band-banner {
    min-height: 286px;
}

body.mp2 .mk-cat-band-products {
    grid-auto-columns: minmax(190px, 214px);
}

body.mp2 .mk-pcard,
body.mp2 .mk-mini-card,
body.mp2 .mk-store-card,
body.mp2 .mk-store-tile {
    border: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 38px rgba(14, 165, 233, .1) !important;
}

body.mp2 .mk-pcard-img-wrap,
body.mp2 .mk-mini-img,
body.mp2 .mk-store-banner,
body.mp2 .mk-store-tile-banner {
    border-radius: 16px !important;
}

body.mp2 .mk-stores-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 26px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 168, 107, .11);
}

body.mp2 .mk-stores-hero .mk-page-heading {
    font-size: clamp(1.45rem, 2vw, 2.25rem);
}

body.mp2 .mk-stores-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.mp2 .mk-stores-directory-section {
    margin-top: 18px;
}

body.mp2 .mk-store-directory {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

body.mp2 .mk-store-tile {
    min-height: 312px;
    background: #ffffff;
}

body.mp2 .mk-store-tile-banner {
    height: 148px !important;
    position: relative;
    background:
        linear-gradient(135deg, #00a86b, #0ea5e9);
    background-size: cover;
    background-position: center;
}

body.mp2 .mk-store-tile-1 .mk-store-tile-banner { background-color: #0ea5e9; }
body.mp2 .mk-store-tile-2 .mk-store-tile-banner { background-color: #ffb703; }
body.mp2 .mk-store-tile-3 .mk-store-tile-banner { background-color: #f43f5e; }
body.mp2 .mk-store-tile-4 .mk-store-tile-banner { background-color: #8b5cf6; }
body.mp2 .mk-store-tile-5 .mk-store-tile-banner { background-color: #14b8a6; }

body.mp2 .mk-store-tile-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    font-size: .76rem;
    font-weight: 700;
}

body.mp2 .mk-store-tile-body {
    padding: 0 16px 16px !important;
}

body.mp2 .mk-store-tile-logo {
    width: 76px !important;
    height: 76px !important;
    margin-top: -38px !important;
    border-radius: 50% !important;
    border: 5px solid #ffffff !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
}

body.mp2 .mk-store-tile-name {
    margin-top: 10px;
    font-size: 1rem !important;
    font-weight: 720;
    color: #0f172a;
}

body.mp2 .mk-store-tile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

body.mp2 .mk-store-tile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: .78rem;
    font-weight: 700;
}

body.mp2 .mk-store-tile-foot {
    min-height: 40px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(14, 165, 233, .12);
    color: #00a86b;
    font-size: .82rem;
}

body.mp2 .mk-storefront {
    margin-top: 16px;
    overflow: hidden;
    border: 0 !important;
    border-radius: 28px !important;
    background: var(--store-theme, #00a86b) !important;
    box-shadow: 0 24px 55px rgba(0, 168, 107, .18) !important;
}

body.mp2 .mk-storefront-banner {
    min-height: 320px !important;
    border-radius: 28px 28px 0 0 !important;
    background-color: var(--store-theme, #00a86b) !important;
    background-size: cover !important;
    background-position: center !important;
}

body.mp2 .mk-storefront-banner::after {
    display: none !important;
}

body.mp2 .mk-storefront-body {
    position: relative;
    z-index: 2;
    padding: 0 34px 34px !important;
    background: var(--store-theme, #00a86b) !important;
    color: #ffffff !important;
}

body.mp2 .mk-storefront-top {
    display: grid !important;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    align-items: start !important;
    margin-top: 0 !important;
}

body.mp2 .mk-storefront-logo {
    width: 180px !important;
    height: 180px !important;
    margin-top: -96px;
    border-radius: 50% !important;
    border: 8px solid #ffffff !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

body.mp2 .mk-storefront-main {
    padding-top: 26px;
    min-width: 0;
}

body.mp2 .mk-storefront-name {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3vw, 2.85rem) !important;
    line-height: 1.08;
    font-weight: 760 !important;
    text-shadow: none !important;
}

body.mp2 .mk-storefront-name i {
    color: #ffffff !important;
}

body.mp2 .mk-storefront-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: rgba(255,255,255,.92);
    font-size: 1.02rem;
    font-weight: 720;
}

body.mp2 .mk-store-stars {
    display: inline-flex;
    gap: 4px;
    color: #ffe66d;
    font-size: 1.22rem;
}

body.mp2 .mk-store-rating-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,.42);
}

body.mp2 .mk-storefront-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: rgba(255,255,255,.92);
    font-size: 1rem;
    line-height: 1.45;
}

body.mp2 .mk-storefront-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.14);
}

body.mp2 .mk-storefront-stats div {
    min-width: 0;
}

body.mp2 .mk-storefront-stats strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 2.1rem);
    line-height: 1;
    font-weight: 780;
}

body.mp2 .mk-storefront-stats span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.84);
    font-size: .94rem;
    font-weight: 600;
}

body.mp2 .mk-storefront-tags,
body.mp2 .mk-store-cats {
    margin-top: 24px;
}

body.mp2 .mk-store-tag,
body.mp2 .mk-store-cats button {
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    color: #ffffff !important;
}

body.mp2 .mk-store-tag i,
body.mp2 .mk-store-cats button i {
    color: #ffe66d !important;
}

body.mp2 .mk-store-coupons {
    margin-top: 26px;
}

@media (max-width: 1024px) {
    body.mp2 .mk-home-hero-row {
        grid-template-columns: 1fr;
    }

    body.mp2 .mk-aisle-card,
    body.mp2 .mk-confidence-panel {
        display: none;
    }

    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 300px;
    }
}

@media (max-width: 760px) {
    body.mp2 .mk-stores-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 20px;
    }

    body.mp2 .mk-stores-hero-actions {
        justify-content: flex-start;
    }

    body.mp2 .mk-store-directory {
        grid-template-columns: 1fr;
    }

    body.mp2 .mk-storefront {
        border-radius: 22px !important;
    }

    body.mp2 .mk-storefront-banner {
        min-height: 190px !important;
        border-radius: 22px 22px 0 0 !important;
    }

    body.mp2 .mk-storefront-body {
        padding: 0 18px 24px !important;
    }

    body.mp2 .mk-storefront-top {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    body.mp2 .mk-storefront-logo {
        width: 132px !important;
        height: 132px !important;
        margin: -72px auto 0;
        border-width: 7px !important;
    }

    body.mp2 .mk-storefront-main {
        padding-top: 0;
    }

    body.mp2 .mk-storefront-name,
    body.mp2 .mk-storefront-rating,
    body.mp2 .mk-storefront-address {
        justify-content: center;
    }

    body.mp2 .mk-storefront-address {
        font-size: .9rem;
    }

    body.mp2 .mk-storefront-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 24px;
        padding-top: 20px;
        text-align: center;
    }

    body.mp2 .mk-storefront-stats strong {
        font-size: 1.16rem;
    }

    body.mp2 .mk-storefront-stats span {
        font-size: .74rem;
    }

    body.mp2 .mk-storefront-tags,
    body.mp2 .mk-store-cats {
        justify-content: center;
    }

    body.mp2 .mk-product-rail,
    body.mp2 .mk-cat-band-products {
        grid-auto-columns: minmax(152px, 46%);
    }
}

/* Tight store and hero proportions */
body.mp2 .mk-hero,
body.mp2 .mk-hero-slide {
    min-height: 300px !important;
    height: 300px !important;
}

body.mp2 .mk-hero-content {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

body.mp2 .mk-storefront {
    border-radius: 22px !important;
}

body.mp2 .mk-storefront-banner {
    min-height: 230px !important;
    border-radius: 22px 22px 0 0 !important;
}

body.mp2 .mk-storefront-body {
    padding: 0 26px 24px !important;
}

body.mp2 .mk-storefront-top {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
}

body.mp2 .mk-storefront-logo {
    width: 124px !important;
    height: 124px !important;
    margin-top: -62px;
    border-width: 6px !important;
}

body.mp2 .mk-storefront-main {
    padding-top: 18px;
}

body.mp2 .mk-storefront-name {
    font-size: clamp(1.35rem, 2.2vw, 2rem) !important;
}

body.mp2 .mk-storefront-rating {
    margin-top: 8px;
    font-size: .92rem;
}

body.mp2 .mk-store-stars {
    font-size: 1.02rem;
}

body.mp2 .mk-storefront-address {
    margin-top: 12px;
    font-size: .9rem;
}

body.mp2 .mk-storefront-stats {
    margin-top: 22px;
    padding-top: 18px;
    gap: 12px;
}

body.mp2 .mk-storefront-stats strong {
    font-size: clamp(1.1rem, 1.45vw, 1.55rem);
}

body.mp2 .mk-storefront-stats span {
    margin-top: 5px;
    font-size: .82rem;
}

body.mp2 .mk-currency-btn {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: var(--mk-surface);
    color: var(--mk-text);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

body.mp2 .mk-currency-btn:hover {
    border-color: var(--mk-green);
    color: var(--mk-green);
}

body.mp2 .mk-currency-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.mp2 .mk-currency-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.mp2 .mk-currency-option {
    border: 1px solid var(--mk-border);
    border-radius: 8px;
    background: var(--mk-surface);
    padding: 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body.mp2 .mk-currency-option strong {
    color: var(--mk-text);
    font-size: .9rem;
}

body.mp2 .mk-currency-option span {
    color: var(--mk-text-3);
    font-size: .76rem;
}

body.mp2 .mk-currency-option.active {
    border-color: var(--mk-green);
    background: rgba(11, 122, 87, .08);
}

body.mp2 .mk-currency-foot {
    color: var(--mk-text-3);
    font-size: .72rem;
    text-align: center;
}

body.mp2 .mk-currency-foot a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.mp2 .mk-storefront-tags,
body.mp2 .mk-store-cats,
body.mp2 .mk-store-coupons {
    margin-top: 16px;
}

@media (max-width: 1024px) {
    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 250px !important;
        height: 250px !important;
    }
}

@media (max-width: 760px) {
    body.mp2 .mk-hero,
    body.mp2 .mk-hero-slide {
        min-height: 210px !important;
        height: 210px !important;
    }

    body.mp2 .mk-storefront-banner {
        min-height: 150px !important;
    }

    body.mp2 .mk-storefront-body {
        padding: 0 14px 18px !important;
    }

    body.mp2 .mk-storefront-logo {
        width: 96px !important;
        height: 96px !important;
        margin-top: -50px;
        border-width: 5px !important;
    }

    body.mp2 .mk-storefront-name {
        font-size: 1.24rem !important;
    }

    body.mp2 .mk-storefront-stats {
        margin-top: 16px;
        padding-top: 14px;
    }

    body.mp2 .mk-currency-btn {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    body.mp2 .mk-currency-btn span {
        display: none;
    }

    body.mp2 .mk-currency-grid {
        grid-template-columns: 1fr;
    }
}

/* Currency picker and brighter marketplace headings */
body.mp2 .mk-currency-search {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(15, 23, 42, .06);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.mp2 .mk-currency-search i {
    color: #0f766e;
    font-size: .98rem;
}

body.mp2 .mk-currency-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: .88rem;
    font-weight: 750;
}

body.mp2 .mk-currency-search input::placeholder {
    color: #64748b;
    font-weight: 700;
}

body.mp2 .mk-currency-grid {
    max-height: min(52vh, 430px);
    overflow: auto;
    padding-right: 4px;
}

body.mp2 .mk-currency-option {
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

body.mp2 .mk-currency-option:hover {
    border-color: #0f766e;
    background: #ecfdf5;
    transform: translateY(-1px);
}

body.mp2 .mk-currency-empty {
    padding: 14px;
    border: 1px dashed rgba(15, 118, 110, .22);
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
    font-size: .82rem;
    font-weight: 800;
}

body.mp2 .mk-page-head {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(236, 253, 245, .98) 48%, rgba(239, 246, 255, .97) 100%) !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 118, 110, .14) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .1), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}

body.mp2 .mk-page-head .mk-page-eyebrow {
    color: #0f9f6e !important;
}

body.mp2 .mk-page-head .mk-page-heading {
    color: #020617 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

body.mp2 .mk-page-head .mk-page-copy {
    color: #334155 !important;
}

body.mp2 .mk-page-head .mk-view-all {
    background: #0f766e !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(15, 118, 110, .22) !important;
}

body.mp2 .mk-promo-title {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

body.mp2 .mk-promo-kicker,
body.mp2 .mk-promo-copy,
body.mp2 .mk-flyer-card span {
    color: rgba(255, 255, 255, .94) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .28);
}

/* ══════════════════════════════════════════════
   SALE PRICE BADGES & CROSSED-OUT PRICE
   ══════════════════════════════════════════════ */
body.mp2 .mk-pcard-badge.sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-weight: 900;
    letter-spacing: -.02em;
    box-shadow: 0 2px 8px rgba(239,68,68,.35);
}

body.mp2 .mk-pcard-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

body.mp2 .mk-pcard-sale-price {
    font-size: .96rem;
    font-weight: 900;
    color: #ef4444;
}

body.mp2 .mk-pcard-orig-price {
    font-size: .78rem;
    font-weight: 600;
    color: var(--mk-text-3, #94a3b8);
    text-decoration: line-through;
}

/* Product page sale price block */
body.mp2 .mk-product-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.mp2 .mk-product-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .04em;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(239,68,68,.3);
    margin-bottom: 2px;
}

body.mp2 .mk-product-orig-price {
    font-size: .84rem;
    font-weight: 600;
    color: var(--mk-text-3, #94a3b8);
    text-decoration: line-through;
}

/* ══════════════════════════════════════════════
   OFFERS PAGE
   ══════════════════════════════════════════════ */
body.mp2 .mk-offers-page {
    padding-bottom: 80px;
}

/* Hero Banner */
body.mp2 .mk-offers-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4f46e5 80%, #7c3aed 100%);
    padding: 48px 20px 40px;
    text-align: center;
    color: #fff;
}

body.mp2 .mk-offers-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
}

body.mp2 .mk-offers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    color: #fbbf24;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

body.mp2 .mk-offers-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.03em;
    margin: 0 0 10px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 30%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.mp2 .mk-offers-hero-sub {
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* Decorative shapes */
body.mp2 .mk-offers-hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

body.mp2 .mk-offers-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
}

body.mp2 .mk-offers-shape-1 {
    width: 280px;
    height: 280px;
    background: #818cf8;
    top: -80px;
    right: -60px;
}

body.mp2 .mk-offers-shape-2 {
    width: 180px;
    height: 180px;
    background: #f59e0b;
    bottom: -60px;
    left: -40px;
    opacity: .18;
}

body.mp2 .mk-offers-shape-3 {
    width: 100px;
    height: 100px;
    background: #ec4899;
    top: 20px;
    left: 30%;
    opacity: .15;
}

/* Section layout */
body.mp2 .mk-offers-section {
    padding: 28px 16px 0;
    max-width: 1200px;
    margin: 0 auto;
}

body.mp2 .mk-offers-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

body.mp2 .mk-offers-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

body.mp2 .mk-offers-section-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--mk-text, #0f172a);
    letter-spacing: -.02em;
}

body.mp2 .mk-offers-section-sub {
    font-size: .78rem;
    color: var(--mk-text-3, #94a3b8);
    font-weight: 600;
    margin-top: 1px;
}

body.mp2 .mk-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 480px) {
    body.mp2 .mk-offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    body.mp2 .mk-offers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    body.mp2 .mk-offers-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

body.mp2 .mk-offers-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--mk-text-3, #94a3b8);
}

body.mp2 .mk-offers-empty i {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 10px;
    opacity: .5;
}

body.mp2 .mk-offers-empty p {
    font-size: .88rem;
    font-weight: 600;
    margin: 0;
}

/* Offers nav item flame accent */
body.mp2 .mk-bnav-offers i {
    color: #f97316;
}
body.mp2 .mk-bnav-offers.active i,
body.mp2 .mk-bnav-offers.active span {
    color: #ef4444;
}

/* 6-item bottom nav: tighten icon + label so all fit on narrow screens */
body.mp2 .mk-bottom-nav .mk-bnav-item {
    font-size: .56rem;
    padding: 5px 0;
    gap: 2px;
}
body.mp2 .mk-bottom-nav .mk-bnav-item i {
    font-size: 1.05rem;
}

/* Offers button in desktop utility bar */
.mk-utility-offers i {
    color: #f97316;
}
.mk-utility-offers:hover i {
    color: #fdba74;
}

/* ── Carousel prev/next controls ── */
.mk-crl-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mk-crl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--mk-border);
    background: var(--mk-surface);
    color: var(--mk-text-2);
    cursor: pointer;
    font-size: .85rem;
    transition: background .15s, border-color .15s, color .15s;
    padding: 0;
}
.mk-crl-btn:hover {
    background: var(--mk-green);
    border-color: var(--mk-green);
    color: #fff;
}
/* Ensure mk-pcard-img-wrap keeps relative positioning for badge overlay */
body.mp2 .mk-pcard-img-wrap {
    position: relative;
    overflow: hidden;
}

/* ── Payment Method Buttons ─────────────────────────────── */
.mp2-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.mp2-pay-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
    border: 2px solid var(--mk-border, #e2e8f0);
    background: var(--mk-surface, #fff);
    cursor: pointer;
    text-align: left;
    transition: border-color .18s, background .18s, box-shadow .18s;
    position: relative;
}
.mp2-pay-btn:hover {
    border-color: var(--mk-green, #10b981);
    background: rgba(16,185,129,.04);
}
.mp2-pay-btn.active {
    border-color: var(--mk-green, #10b981);
    background: rgba(16,185,129,.06);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.mp2-pay-img {
    height: 40px;
    width: auto;
    min-width: 64px;
    max-width: 110px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.mp2-pay-info {
    flex: 1;
    min-width: 0;
}
.mp2-pay-label {
    font-weight: 700;
    font-size: .9rem;
    color: var(--mk-text, #111827);
    line-height: 1.2;
}
.mp2-pay-desc {
    font-size: .76rem;
    color: var(--mk-text-2, #64748b);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp2-pay-check {
    font-size: 1.1rem;
    color: var(--mk-green, #10b981);
    opacity: 0;
    transition: opacity .15s;
    flex-shrink: 0;
}
.mp2-pay-btn.active .mp2-pay-check {
    opacity: 1;
}

/* Delivery personnel workspace */
body.mp2 .mk-delivery-page{width:min(1120px,calc(100% - 24px));margin:0 auto 96px;padding:16px 0 24px}
body.mp2 .mk-delivery-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:16px;padding:22px;border:1px solid rgba(18,121,88,.16);border-radius:8px;background:linear-gradient(135deg,#fff 0%,#eefaf4 62%,#edf4ff 100%);box-shadow:0 16px 42px rgba(15,23,42,.08)}
body.mp2 .mk-delivery-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:#17634b;font-size:.78rem;font-weight:900;text-transform:uppercase}
body.mp2 .mk-delivery-hero h1{margin:0;color:var(--mk-text);font-size:clamp(1.45rem,2vw,2rem);line-height:1.1}
body.mp2 .mk-delivery-hero p{max-width:650px;margin:8px 0 0;color:var(--mk-text-3);font-weight:700;line-height:1.55}
body.mp2 .mk-delivery-hero-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:8px;color:#0b5b43;background:#dff7ea;font-size:1.8rem}
body.mp2 .mk-delivery-access-grid,body.mp2 .mk-delivery-dashboard-head{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:14px;align-items:start}
body.mp2 .mk-delivery-card-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
body.mp2 .mk-delivery-card-head>i{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;color:#0d6f54;background:#e4f8ee;flex:0 0 auto}
body.mp2 .mk-delivery-card-head b{display:block;color:var(--mk-text);font-size:1rem;font-weight:900}
body.mp2 .mk-delivery-card-head span{display:block;margin-top:3px;color:var(--mk-text-3);font-size:.82rem;line-height:1.35}
body.mp2 .mk-delivery-form-grid,body.mp2 .mk-delivery-otp-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
body.mp2 .mk-delivery-otp-row{grid-template-columns:minmax(0,1fr) auto}
body.mp2 .mk-delivery-city-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;max-height:245px;overflow:auto;padding:2px}
body.mp2 .mk-delivery-actions,body.mp2 .mk-delivery-map-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.mp2 .mk-delivery-profile-card,body.mp2 .mk-delivery-notices,body.mp2 .mk-delivery-order-card{border:1px solid var(--mk-border);border-radius:8px;background:#fff;box-shadow:0 12px 32px rgba(15,23,42,.07)}
body.mp2 .mk-delivery-profile-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px}
body.mp2 .mk-delivery-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#17634b,#2563eb);font-weight:900}
body.mp2 .mk-delivery-profile-name{font-size:1.05rem;font-weight:900;color:var(--mk-text)}
body.mp2 .mk-delivery-profile-meta{margin-top:2px;color:var(--mk-text-3);font-size:.84rem;font-weight:800}
body.mp2 .mk-delivery-badge-row,body.mp2 .mk-delivery-profile-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
body.mp2 .mk-delivery-badge-row{margin-top:8px}
body.mp2 .mk-delivery-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.mp2 .mk-delivery-stat{min-height:96px;padding:14px;border:1px solid var(--mk-border);border-radius:8px;background:#fff}
body.mp2 .mk-delivery-stat span{display:block;color:#0d6f54;font-size:1.55rem;font-weight:900}
body.mp2 .mk-delivery-stat b{color:var(--mk-text-3);font-size:.78rem;text-transform:uppercase}
body.mp2 .mk-delivery-section-title{margin:18px 0 10px;color:var(--mk-text);font-size:1rem;font-weight:900}
body.mp2 .mk-delivery-section-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}
body.mp2 .mk-delivery-section-row .mk-delivery-section-title{margin:0}
body.mp2 .mk-delivery-cash-note{display:flex;align-items:flex-start;gap:9px;margin:14px 0 0;padding:11px 12px;border:1px solid rgba(245,158,11,.22);border-radius:8px;background:rgba(245,158,11,.08);color:#92400e;font-weight:800;font-size:.84rem;line-height:1.4}
body.mp2 .mk-delivery-notices{margin-top:14px;padding:14px}
body.mp2 .mk-delivery-notices article{display:grid;gap:3px;padding:10px 0;border-top:1px solid var(--mk-border)}
body.mp2 .mk-delivery-notices article:first-of-type{border-top:0;padding-top:0}
body.mp2 .mk-delivery-notices span{color:var(--mk-text-3);font-size:.84rem}
body.mp2 .mk-delivery-order-grid{display:grid;gap:12px}
body.mp2 .mk-delivery-order-card{padding:14px}
body.mp2 .mk-delivery-history{margin-top:8px}
body.mp2 .mk-delivery-history-card{background:#fbfdfc;box-shadow:0 8px 22px rgba(15,23,42,.045)}
body.mp2 .mk-delivery-order-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
body.mp2 .mk-delivery-order-ref{font-weight:900;color:var(--mk-text)}
body.mp2 .mk-delivery-order-store{margin-top:3px;color:var(--mk-text-3);font-size:.83rem;font-weight:800}
body.mp2 .mk-delivery-order-history-meta{margin-top:4px;color:var(--mk-green);font-size:.78rem;font-weight:850}
body.mp2 .mk-delivery-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
body.mp2 .mk-delivery-info-grid>div{min-width:0;padding:10px;border:1px solid var(--mk-border);border-radius:8px;background:#f8fbf9}
body.mp2 .mk-delivery-info-grid span,body.mp2 .mk-delivery-info-grid small{display:block;color:var(--mk-text-3);font-size:.72rem;font-weight:800}
body.mp2 .mk-delivery-info-grid b{display:block;margin:3px 0;color:var(--mk-text);font-size:.85rem;overflow-wrap:anywhere}
body.mp2 .mk-delivery-map-actions{margin-top:10px}
body.mp2 .mk-delivery-items{margin-top:10px;padding-top:8px;border-top:1px solid var(--mk-border)}
body.mp2 .mk-delivery-items>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:.83rem}
body.mp2 .mk-delivery-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}
body.mp2 .mk-delivery-code-row input{min-width:0}
body.mp2 .mk-delivery-profile-modal{display:grid;gap:12px}
body.mp2 .mk-delivery-location-note{color:var(--mk-text-3);font-size:.82rem;font-weight:800}
@media (max-width:860px){body.mp2 .mk-delivery-hero,body.mp2 .mk-delivery-access-grid,body.mp2 .mk-delivery-dashboard-head,body.mp2 .mk-delivery-profile-card{grid-template-columns:1fr}body.mp2 .mk-delivery-hero-icon{display:none}body.mp2 .mk-delivery-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.mp2 .mk-delivery-profile-actions .btn,body.mp2 .mk-delivery-actions .btn{flex:1 1 140px}}
@media (max-width:560px){body.mp2 .mk-delivery-page{width:calc(100% - 16px);padding-top:8px}body.mp2 .mk-delivery-hero{padding:16px}body.mp2 .mk-delivery-form-grid,body.mp2 .mk-delivery-otp-row,body.mp2 .mk-delivery-info-grid,body.mp2 .mk-delivery-code-row,body.mp2 .mk-delivery-stat-grid{grid-template-columns:1fr}}

/* Marketplace performance guardrails for lower-powered touch devices */
body.mp2 .mk-pcard,
body.mp2 .mk-store-card,
body.mp2 .mk-delivery-order-card{
    content-visibility:auto;
    contain-intrinsic-size:260px;
}
@media (pointer:coarse){
    body.mp2 .mk-stores-scroll,
    body.mp2 .mk-chip-row,
    body.mp2 .mk-category-strip-inner,
    body.mp2 .mk-cat-band-products,
    body.mp2 .mk-hscroll,
    body.mp2 .mk-product-rail{
        scroll-behavior:auto!important;
        scroll-snap-type:x proximity;
    }
    body.mp2 .mk-pcard:hover,
    body.mp2 .mk-store-card:hover,
    body.mp2 .mk-offer-tile:hover{
        transform:none!important;
    }
}
