/* ==========================================================================
   Voyzo Marketplace — listing, product tiles and product page.
   Used by the public catalogue (/shop, welcome layout) and the signed-in
   store (/customer/store, customer layout), so it carries its own tokens
   and does not depend on either layout's CSS.
   ========================================================================== */

.mp {
    --mp-ink: #0f172a;
    --mp-ink-2: #334155;
    --mp-muted: #64748b;
    --mp-faint: #94a3b8;
    --mp-line: rgba(15, 23, 42, .09);
    --mp-line-2: rgba(15, 23, 42, .14);
    --mp-bg: #f5f7fb;
    --mp-card: #fff;
    --mp-brand: #1e5aa8;
    --mp-brand-2: #22b8a6;
    --mp-grad: linear-gradient(135deg, #1e5aa8 0%, #2b8fc0 55%, #22b8a6 100%);
    --mp-green: #047857;
    --mp-green-bg: rgba(16, 185, 129, .12);
    --mp-amber: #b45309;
    --mp-amber-bg: rgba(245, 158, 11, .14);
    --mp-red: #e11d48;
    --mp-star: #f59e0b;
    --mp-r: 18px;
    --mp-r-sm: 12px;
    --mp-sh: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --mp-sh-lg: 0 24px 48px -24px rgba(15, 23, 42, .35);
    color: var(--mp-ink);
    background: var(--mp-bg);
    padding-bottom: 56px;
}
.mp *, .mp *::before, .mp *::after { box-sizing: border-box; }
.mp a { color: inherit; text-decoration: none; }
.mp img { max-width: 100%; }
.mp button { font: inherit; }
.mp-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 575px) { .mp-wrap { padding: 0 14px; } }
.mp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.mp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
    font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s;
}
.mp-btn:active { transform: scale(.98); }
.mp-btn--primary { background: var(--mp-grad); color: #fff !important; box-shadow: 0 12px 24px -14px rgba(30, 90, 168, .9); }
.mp-btn--primary:hover { box-shadow: 0 16px 28px -14px rgba(30, 90, 168, .95); transform: translateY(-1px); }
.mp-btn--buy { background: #0f172a; color: #fff !important; }
.mp-btn--buy:hover { background: #1e293b; }
.mp-btn--ghost { background: #fff; color: var(--mp-brand) !important; border: 1.5px solid rgba(30, 90, 168, .28); }
.mp-btn--ghost:hover { border-color: var(--mp-brand); background: rgba(30, 90, 168, .04); }
.mp-btn--block { width: 100%; }
.mp-btn[disabled] { opacity: .6; cursor: progress; }
.mp-icon-btn {
    width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center;
    background: #fff; border: 1px solid var(--mp-line-2); color: var(--mp-ink-2); cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.mp-icon-btn:hover { color: var(--mp-brand); border-color: rgba(30, 90, 168, .4); }
.mp-icon-btn.is-on { color: var(--mp-red); border-color: rgba(225, 29, 72, .35); background: rgba(225, 29, 72, .06); }

/* ---------- Hero (listing) ---------- */
.mp-hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(900px 420px at 88% -20%, rgba(34, 184, 166, .55), transparent 60%),
                radial-gradient(700px 380px at 0% 120%, rgba(43, 143, 192, .45), transparent 60%),
                linear-gradient(135deg, #0b2a55 0%, #12407a 55%, #0f5f7a 100%);
    padding: clamp(28px, 4vw, 52px) 0 clamp(64px, 7vw, 92px);
}
.mp-hero::after {
    content: ""; position: absolute; inset: auto -10% -60% auto; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .08), transparent); pointer-events: none;
}
.mp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: center; }
@media (max-width: 991px) { .mp-hero-grid { grid-template-columns: 1fr; } .mp-hero-trust { display: none !important; } }
.mp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.mp-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.85rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 10px; }
.mp-hero h1 span { color: #7ff0e2; }
.mp-hero p { color: rgba(255, 255, 255, .82); font-size: clamp(.95rem, .9rem + .3vw, 1.08rem); max-width: 560px; margin: 0 0 22px; }
.mp-search {
    display: flex; align-items: center; gap: 0; background: #fff; border-radius: 999px; padding: 6px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); max-width: 680px;
}
.mp-search i.fa-magnifying-glass { color: var(--mp-faint); margin: 0 6px 0 14px; }
.mp-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--mp-ink);
    font-size: 1rem; padding: 10px 6px; height: 46px;
}
.mp-search select {
    border: 0; border-left: 1px solid var(--mp-line-2); background: transparent; color: var(--mp-ink-2);
    font-size: .9rem; padding: 0 10px; height: 34px; max-width: 170px; outline: 0; cursor: pointer;
}
@media (max-width: 575px) { .mp-search select { display: none; } }
.mp-search .mp-btn { min-height: 46px; padding: 0 24px; }
.mp-popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.mp-popular a { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff !important; font-weight: 600; }
.mp-popular a:hover { background: rgba(255, 255, 255, .2); }
.mp-hero-trust { list-style: none; margin: 0; padding: 18px; display: grid; gap: 14px; border-radius: var(--mp-r);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.mp-hero-trust li { display: flex; gap: 12px; align-items: flex-start; }
.mp-hero-trust i { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #7ff0e2; }
.mp-hero-trust b { display: block; font-size: .92rem; }
.mp-hero-trust small { color: rgba(255, 255, 255, .7); font-size: .8rem; }

/* Signed-in store: a slimmer header with the customer's shortcuts. */
.mp-hero--slim { padding: 26px 0 70px; }
.mp-hero--slim h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin: 10px 0 14px; }
.mp-quick { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-quick a {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; font-weight: 700; font-size: .88rem;
}
.mp-quick a:hover { background: rgba(255, 255, 255, .22); }
.mp-count-badge {
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--mp-brand);
    font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center;
}

/* ---------- Category tiles ---------- */
.mp-cats {
    position: relative; z-index: 2; margin-top: -46px; display: flex; gap: 12px; overflow-x: auto;
    padding: 6px 2px 14px; scrollbar-width: none; scroll-snap-type: x proximity;
}
.mp-cats::-webkit-scrollbar { display: none; }
.mp-cat {
    flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; min-width: 150px;
    padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--mp-line);
    box-shadow: var(--mp-sh); font-weight: 700; font-size: .9rem; color: var(--mp-ink-2) !important;
    transition: transform .15s ease, border-color .15s ease;
}
.mp-cat:hover { transform: translateY(-2px); border-color: rgba(30, 90, 168, .35); }
.mp-cat i, .mp-cat img { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; object-fit: cover;
    background: linear-gradient(135deg, rgba(30, 90, 168, .1), rgba(34, 184, 166, .14)); color: var(--mp-brand); font-size: 1rem; }
.mp-cat.is-on { background: var(--mp-grad); color: #fff !important; border-color: transparent; }
.mp-cat.is-on i { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Layout: filters + results ---------- */
.mp-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 991px) { .mp-layout { grid-template-columns: 1fr; } }

.mp-filters { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r); padding: 6px 18px 18px; position: sticky; top: 90px; box-shadow: var(--mp-sh); }
.mp-filters-head { display: none; }
.mp-fgroup { padding: 16px 0; border-bottom: 1px solid var(--mp-line); }
.mp-fgroup:last-of-type { border-bottom: 0; }
.mp-fgroup h3 { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-muted); margin: 0 0 12px; }
.mp-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .92rem; color: var(--mp-ink-2); cursor: pointer; }
.mp-opt input { width: 18px; height: 18px; accent-color: var(--mp-brand); flex: 0 0 18px; margin: 0; }
.mp-opt .mp-stars { font-size: .82rem; }
.mp-price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.mp-price-inputs input {
    width: 100%; height: 42px; border: 1px solid var(--mp-line-2); border-radius: 10px; padding: 0 10px; font-size: .9rem; color: var(--mp-ink);
}
.mp-price-inputs span { color: var(--mp-faint); }
.mp-price-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mp-price-quick button { border: 1px solid var(--mp-line-2); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 600; color: var(--mp-ink-2); cursor: pointer; }
.mp-price-quick button:hover { border-color: var(--mp-brand); color: var(--mp-brand); }
.mp-filters-foot { display: grid; gap: 8px; padding-top: 16px; }
.mp-link { color: var(--mp-brand) !important; font-weight: 700; font-size: .88rem; text-align: center; }
.mp-near { font-size: .82rem; color: var(--mp-muted); margin-top: 6px; }

@media (max-width: 991px) {
    .mp-filters {
        position: fixed; inset: auto 0 0 0; top: auto; z-index: 1060; max-height: 86vh; overflow-y: auto;
        border-radius: 22px 22px 0 0; padding: 0 18px 18px; transform: translateY(105%); transition: transform .28s ease, visibility 0s linear .28s;
        visibility: hidden;   /* closed: off-screen and out of the keyboard order */
        box-shadow: 0 -20px 50px -10px rgba(15, 23, 42, .35);
    }
    .mp-filters.is-open { transform: translateY(0); visibility: visible; transition-delay: 0s; }
    .mp-filters-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 16px 0 10px; z-index: 1; border-bottom: 1px solid var(--mp-line); }
    .mp-filters-head b { font-size: 1.05rem; }
    .mp-filters-foot { position: sticky; bottom: -18px; background: #fff; padding-bottom: 6px; grid-template-columns: 1fr 1fr; align-items: center; }
}
.mp-scrim { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1055; opacity: 0; pointer-events: none; transition: opacity .2s; }
.mp-scrim.is-on { opacity: 1; pointer-events: auto; }

.mp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.mp-count { font-size: .95rem; color: var(--mp-muted); margin: 0; }
.mp-count b { color: var(--mp-ink); }
.mp-toolbar-actions { display: flex; gap: 8px; align-items: center; }
.mp-sort { height: 44px; border: 1px solid var(--mp-line-2); border-radius: 999px; padding: 0 38px 0 16px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--mp-ink); cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; }
.mp-filter-btn { display: none; }
@media (max-width: 991px) { .mp-filter-btn { display: inline-flex; min-height: 44px; } }
.mp-applied { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mp-applied a {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    background: rgba(30, 90, 168, .08); color: var(--mp-brand) !important; font-size: .84rem; font-weight: 700;
}
.mp-applied a:hover { background: rgba(30, 90, 168, .14); }
.mp-applied a.mp-clear { background: transparent; color: var(--mp-muted) !important; text-decoration: underline; }

/* ---------- Product grid + tile ---------- */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
@media (max-width: 575px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.mp-card {
    position: relative; display: flex; flex-direction: column; background: var(--mp-card); border-radius: var(--mp-r);
    border: 1px solid var(--mp-line); overflow: hidden; box-shadow: var(--mp-sh);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mp-card:hover { transform: translateY(-3px); box-shadow: var(--mp-sh-lg); border-color: rgba(30, 90, 168, .22); }
.mp-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f8fafc, #eef2f7); overflow: hidden; }
.mp-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity .25s ease, transform .35s ease; mix-blend-mode: multiply; }
.mp-card:hover .mp-card-media img.mp-img-main { transform: scale(1.04); }
.mp-card-media img.mp-img-alt { opacity: 0; }
.mp-card:hover .mp-card-media.has-alt img.mp-img-alt { opacity: 1; }
.mp-card:hover .mp-card-media.has-alt img.mp-img-main { opacity: 0; }
.mp-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #cbd5e1; }
.mp-noimg i { font-size: 2.6rem; }
.mp-tags { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mp-tag { padding: 4px 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.mp-tag--off { background: #e11d48; color: #fff; }
.mp-tag--new { background: #0f172a; color: #fff; }
.mp-tag--low { background: var(--mp-amber-bg); color: var(--mp-amber); }
.mp-tag--free { background: var(--mp-green-bg); color: var(--mp-green); }
.mp-heart {
    position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 0;
    background: rgba(255, 255, 255, .92); color: var(--mp-ink-2); display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .4); transition: transform .15s ease, color .15s;
}
.mp-heart:hover { transform: scale(1.08); color: var(--mp-red); }
.mp-heart.is-on { color: var(--mp-red); }
.mp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.mp-card-cat { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--mp-muted); }
.mp-card-title { font-size: .96rem; font-weight: 700; line-height: 1.35; margin: 0; color: var(--mp-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mp-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mp-card-rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--mp-muted); }
.mp-rate-pill { display: inline-flex; align-items: center; gap: 4px; background: #15803d; color: #fff; border-radius: 6px; padding: 2px 7px; font-size: .74rem; font-weight: 800; }
.mp-rate-pill.is-mid { background: #ca8a04; }
.mp-rate-pill.is-low { background: #dc2626; }
.mp-card-new { font-size: .78rem; color: var(--mp-muted); }
.mp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.mp-price b { font-size: 1.18rem; font-weight: 800; color: var(--mp-ink); letter-spacing: -.01em; }
.mp-price s { color: var(--mp-faint); font-size: .85rem; }
.mp-price em { font-style: normal; color: var(--mp-green); font-weight: 800; font-size: .82rem; }
.mp-ship { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--mp-ink-2); }
.mp-ship i { color: var(--mp-brand-2); }
.mp-ship.is-green { color: var(--mp-green); font-weight: 700; }
.mp-ship.is-green i { color: var(--mp-green); }
.mp-ship.is-amber { color: var(--mp-amber); }
.mp-ship.is-amber i { color: var(--mp-amber); }
.mp-seller { font-size: .76rem; color: var(--mp-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-seller i { color: var(--mp-brand-2); }
.mp-card-cta { position: relative; z-index: 2; margin-top: auto; padding-top: 8px; }
.mp-card-cta .mp-btn { min-height: 40px; width: 100%; font-size: .88rem; }
@media (max-width: 575px) {
    .mp-card-body { padding: 10px 10px 12px; gap: 5px; }
    .mp-card-title { font-size: .86rem; }
    .mp-price b { font-size: 1.02rem; }
    .mp-seller { display: none; }
    .mp-heart { width: 34px; height: 34px; }
}

/* Quantity stepper (cart) */
.mp-stepper { display: inline-flex; align-items: center; justify-content: space-between; gap: 4px; height: 40px; border-radius: 999px;
    background: #fff; border: 1.5px solid rgba(30, 90, 168, .35); padding: 0 4px; width: 100%; }
.mp-stepper button { width: 32px; height: 32px; border-radius: 999px; border: 0; background: rgba(30, 90, 168, .08); color: var(--mp-brand); font-weight: 800; cursor: pointer; }
.mp-stepper button:hover { background: var(--mp-brand); color: #fff; }
.mp-stepper span { min-width: 28px; text-align: center; font-weight: 800; }
.mp-stepper--lg { height: 50px; width: 140px; }
.mp-stepper--lg button { width: 40px; height: 40px; }

/* Empty + pagination */
.mp-empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; background: #fff; border: 1px dashed var(--mp-line-2); border-radius: var(--mp-r); }
.mp-empty i { font-size: 2.4rem; color: var(--mp-brand-2); }
.mp-empty h3 { font-size: 1.2rem; font-weight: 800; margin: 14px 0 6px; }
.mp-empty p { color: var(--mp-muted); margin: 0 0 16px; }
.mp-pages { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.mp-pages a, .mp-pages span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center;
    background: #fff; border: 1px solid var(--mp-line-2); font-weight: 700; font-size: .9rem; color: var(--mp-ink-2); }
.mp-pages a:hover { border-color: var(--mp-brand); color: var(--mp-brand); }
.mp-pages .is-on { background: var(--mp-grad); color: #fff; border-color: transparent; }
.mp-pages .is-off { opacity: .45; }

/* Horizontal product rails (similar, from this seller, recently viewed) */
.mp-rail-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 40px 0 14px; }
.mp-rail-head h2 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.mp-rail-nav { display: flex; gap: 8px; }
.mp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 230px); gap: 16px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.mp-rail > * { scroll-snap-align: start; }
@media (max-width: 575px) { .mp-rail { grid-auto-columns: 46%; gap: 10px; } }

/* ---------- Product page ---------- */
.mp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .84rem; color: var(--mp-muted); padding: 20px 0 16px; }
.mp-crumbs a:hover { color: var(--mp-brand); }
.mp-crumbs i { font-size: .6rem; opacity: .6; }
.mp-crumbs span { color: var(--mp-ink-2); }
.mp-pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (max-width: 991px) { .mp-pdp { grid-template-columns: 1fr; } }

.mp-gallery { position: sticky; top: 90px; display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
.mp-gallery.is-single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 991px) { .mp-gallery { position: static; } }
@media (max-width: 767px) { .mp-gallery { grid-template-columns: minmax(0, 1fr); } }
.mp-thumbs { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 767px) { .mp-thumbs { display: none; } }
.mp-thumb { width: 74px; height: 74px; border-radius: 12px; border: 2px solid transparent; background: #fff; padding: 4px; cursor: pointer; box-shadow: var(--mp-sh); }
.mp-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.mp-thumb.is-on { border-color: var(--mp-brand); }
.mp-stage {
    position: relative; aspect-ratio: 1 / 1; border-radius: 22px; background: #fff; border: 1px solid var(--mp-line);
    box-shadow: var(--mp-sh); overflow: hidden;
}
.mp-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.mp-slides::-webkit-scrollbar { display: none; }
.mp-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; cursor: zoom-in; position: relative; overflow: hidden; }
.mp-slide img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .2s ease; }
@media (hover: hover) and (min-width: 992px) {
    .mp-slide.is-zoom img { transform: scale(2); }
}
.mp-stage .mp-tags { top: 16px; left: 16px; }
.mp-stage .mp-tag { font-size: .8rem; padding: 6px 11px; }
.mp-stage-btns { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.mp-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.mp-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(15, 23, 42, .2); transition: width .2s, background .2s; }
.mp-dots span.is-on { width: 20px; background: var(--mp-brand); }
.mp-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 999px; border: 0;
    background: rgba(255, 255, 255, .95); box-shadow: var(--mp-sh); color: var(--mp-ink); cursor: pointer; display: grid; place-items: center; }
.mp-arrow--prev { left: 12px; } .mp-arrow--next { right: 12px; }
@media (max-width: 767px) { .mp-arrow { display: none; } }

.mp-info { min-width: 0; }
.mp-pdp-cat { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-brand) !important; }
.mp-pdp-title { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; margin: 8px 0 10px; }
.mp-pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--mp-muted); }
.mp-pdp-meta a:hover { color: var(--mp-brand); }
.mp-stars { color: var(--mp-star); letter-spacing: 1px; white-space: nowrap; }
.mp-pricebox { margin: 18px 0; padding: 18px 20px; border-radius: var(--mp-r); background: #fff; border: 1px solid var(--mp-line); box-shadow: var(--mp-sh); }
.mp-pricebox .mp-price b { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.mp-pricebox .mp-price s { font-size: 1rem; }
.mp-pricebox .mp-price em { font-size: 1rem; background: var(--mp-green-bg); padding: 3px 10px; border-radius: 999px; }
.mp-tax { font-size: .8rem; color: var(--mp-muted); margin-top: 4px; }
.mp-savings { margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--mp-green); }
.mp-highlights { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.mp-highlights li { display: flex; gap: 10px; font-size: .93rem; color: var(--mp-ink-2); }
.mp-highlights li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; border-radius: 999px; background: var(--mp-brand-2); flex: 0 0 7px; }
.mp-highlights b { color: var(--mp-ink); font-weight: 700; }

.mp-panel { background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r); padding: 16px 18px; box-shadow: var(--mp-sh); margin-bottom: 14px; }
.mp-panel h3 { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 800; margin: 0 0 12px; }
.mp-panel h3 i { color: var(--mp-brand-2); }
.mp-pin { display: flex; gap: 8px; }
.mp-pin input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--mp-line-2); border-radius: 12px; padding: 0 14px; font-size: 1rem; letter-spacing: .08em; font-weight: 700; color: var(--mp-ink); }
.mp-pin input:focus { outline: 0; border-color: var(--mp-brand); box-shadow: 0 0 0 3px rgba(30, 90, 168, .12); }
.mp-pin .mp-btn { min-height: 46px; padding: 0 18px; }
.mp-pin-result { margin-top: 10px; font-size: .9rem; color: var(--mp-ink-2); min-height: 1.2em; }
.mp-pin-result b { color: var(--mp-ink); }
.mp-pin-result .is-ok { color: var(--mp-green); }
.mp-pin-result .is-bad { color: var(--mp-red); }
.mp-facts { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; }
.mp-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--mp-ink-2); }
.mp-facts i { width: 18px; text-align: center; margin-top: 3px; color: var(--mp-brand-2); }

.mp-buy { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: center; margin: 4px 0 14px; }
.mp-buy--public { grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .mp-buy { grid-template-columns: 1fr 1fr; } .mp-buy .mp-stepper--lg { grid-column: 1 / -1; width: 100%; } }
.mp-buy .mp-btn { min-height: 52px; font-size: 1rem; }
.mp-actions { display: flex; gap: 8px; margin-bottom: 16px; }
.mp-actions .mp-icon-btn { width: auto; padding: 0 16px; gap: 8px; display: inline-flex; font-weight: 700; font-size: .86rem; }

.mp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0 14px; }
@media (max-width: 575px) { .mp-trust { grid-template-columns: repeat(2, 1fr); } }
.mp-trust div { text-align: center; padding: 12px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--mp-line); font-size: .76rem; font-weight: 700; color: var(--mp-ink-2); line-height: 1.3; }
.mp-trust i { display: block; font-size: 1.15rem; margin-bottom: 6px; color: var(--mp-brand); }

.mp-seller-card { display: flex; align-items: center; gap: 12px; }
.mp-seller-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mp-grad); color: #fff; font-weight: 800; font-size: 1.1rem; }
.mp-seller-card b { display: block; font-size: .95rem; }
.mp-seller-card small { color: var(--mp-muted); font-size: .8rem; }
.mp-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--mp-green); font-weight: 700; font-size: .78rem; }

/* Section tabs + sections */
.mp-tabs { position: sticky; top: 72px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; margin: 36px 0 0; padding: 8px; border-radius: 16px;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--mp-line); box-shadow: var(--mp-sh); scrollbar-width: none; }
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tabs a { flex: 0 0 auto; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: .9rem; color: var(--mp-muted) !important; }
.mp-tabs a:hover, .mp-tabs a.is-on { background: rgba(30, 90, 168, .08); color: var(--mp-brand) !important; }
.mp-section { scroll-margin-top: 150px; background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-r); padding: clamp(18px, 2.4vw, 28px); margin-top: 16px; box-shadow: var(--mp-sh); }
.mp-section h2 { font-size: 1.2rem; font-weight: 800; margin: 0 0 14px; }
.mp-prose { color: var(--mp-ink-2); line-height: 1.8; font-size: .97rem; white-space: pre-line; }
.mp-prose.is-clamped { max-height: 12.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.mp-more { margin-top: 10px; background: none; border: 0; color: var(--mp-brand); font-weight: 700; cursor: pointer; padding: 0; }
.mp-specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--mp-line); border-radius: 14px; overflow: hidden; }
.mp-specs th, .mp-specs td { padding: 12px 16px; font-size: .92rem; text-align: left; border-bottom: 1px solid var(--mp-line); vertical-align: top; }
.mp-specs tr:last-child th, .mp-specs tr:last-child td { border-bottom: 0; }
.mp-specs th { width: 36%; background: #f8fafc; color: var(--mp-muted); font-weight: 700; }
.mp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 767px) { .mp-two { grid-template-columns: 1fr; } }
.mp-note { padding: 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--mp-line); }
.mp-note b { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.mp-note b i { color: var(--mp-brand-2); }
.mp-note p { margin: 0; color: var(--mp-ink-2); font-size: .9rem; line-height: 1.65; }

/* Reviews */
.mp-reviews-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 18px; }
@media (max-width: 575px) { .mp-reviews-top { grid-template-columns: 1fr; } }
.mp-score { text-align: center; padding: 18px; border-radius: 16px; background: #f8fafc; }
.mp-score b { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.mp-score small { color: var(--mp-muted); }
.mp-bars { display: grid; gap: 7px; }
.mp-bar { display: grid; grid-template-columns: 34px minmax(0, 1fr) 36px; gap: 10px; align-items: center; font-size: .84rem; color: var(--mp-muted); }
.mp-bar i { height: 8px; border-radius: 999px; background: #eef2f7; overflow: hidden; display: block; }
.mp-bar i span { display: block; height: 100%; border-radius: 999px; background: var(--mp-star); }
.mp-review { padding: 16px 0; border-top: 1px solid var(--mp-line); }
.mp-review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.mp-review-head b { font-size: .95rem; }
.mp-review-head small { color: var(--mp-faint); font-size: .8rem; margin-left: auto; }
.mp-review p { margin: 0; color: var(--mp-ink-2); line-height: 1.7; font-size: .93rem; }
.mp-review-by { font-size: .8rem; color: var(--mp-muted); margin-top: 6px; }
.mp-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--mp-brand-2); background: #f8fafc; border-radius: 0 10px 10px 0; font-size: .88rem; color: var(--mp-ink-2); }

/* Sticky buy bar (phones) */
.mp-buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: none; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--mp-line); box-shadow: 0 -12px 30px -18px rgba(15, 23, 42, .45); transform: translateY(110%); transition: transform .25s ease, visibility 0s linear .25s;
    visibility: hidden;
}
.mp-buybar.is-on { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.mp-buybar .mp-price b { font-size: 1.15rem; }
.mp-buybar .mp-btn { flex: 1; min-height: 48px; }
@media (max-width: 991px) { .mp-buybar { display: flex; } }

/* Lightbox */
.mp-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 12, 24, .94); display: none; flex-direction: column; }
.mp-lightbox.is-on { display: flex; }
.mp-lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: #fff; }
.mp-lightbox-top button { width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 1.2rem; }
.mp-lightbox-stage { flex: 1; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.mp-lightbox-stage img { max-width: 92vw; max-height: 82vh; object-fit: contain; transition: transform .2s ease; cursor: zoom-in; background: #fff; border-radius: 12px; }
.mp-lightbox-stage img.is-zoom { transform: scale(2); cursor: zoom-out; }
.mp-lightbox .mp-arrow { display: grid; }

/* Toast */
.mp-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 30px); opacity: 0; z-index: 2100; background: #0f172a; color: #fff;
    padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: var(--mp-sh-lg); transition: opacity .2s, transform .2s; pointer-events: none; }
.mp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.mp-toast a { color: #7ff0e2 !important; margin-left: 10px; font-weight: 800; }

/* "Fits your car" */
.mp-fit { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: var(--mp-green); }
.mp-carbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(30, 90, 168, .07), rgba(34, 184, 166, .1)); border: 1px solid rgba(30, 90, 168, .16); }
.mp-carbar--add { color: var(--mp-ink-2) !important; font-size: .92rem; }
.mp-carbar--add:hover { border-color: var(--mp-brand); }
.mp-carbar-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mp-grad); color: #fff; flex: 0 0 40px; }
.mp-carbar-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mp-carbar-text small { font-size: .74rem; color: var(--mp-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.mp-carbar-text b { font-size: 1rem; }
.mp-carbar-text select { border: 0; background: transparent; font-weight: 800; font-size: 1rem; color: var(--mp-ink); padding: 0; max-width: 100%; cursor: pointer; }
.mp-switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--mp-ink-2); cursor: pointer; }
.mp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-switch span { width: 44px; height: 26px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s; flex: 0 0 44px; }
.mp-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.mp-switch input:checked + span { background: var(--mp-brand); }
.mp-switch input:checked + span::after { transform: translateX(18px); }
.mp-switch input:focus-visible + span { outline: 2px solid var(--mp-brand); outline-offset: 2px; }
.mp-fitpanel p { margin: 0 0 8px; font-size: .92rem; color: var(--mp-ink-2); line-height: 1.5; }
.mp-fitline { display: flex; gap: 10px; align-items: flex-start; }
.mp-fitline i { margin-top: 3px; }
.mp-fitpanel.is-fits .mp-fitline i, .mp-fitpanel.is-universal .mp-fitline i { color: var(--mp-green); }
.mp-fitpanel.is-not_listed .mp-fitline i { color: var(--mp-amber); }
.mp-fitpanel.is-unknown .mp-fitline i { color: var(--mp-faint); }
.mp-fitmodels { font-size: .86rem !important; color: var(--mp-muted) !important; }

@media (prefers-reduced-motion: reduce) {
    .mp *, .mp *::before, .mp *::after { transition: none !important; scroll-behavior: auto !important; }
}
