/* ══════════════════════════════════════════════════
   Marketplace Browse Page — marketplace.css
══════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────── */
.mp-hero {
    background: #0B0D0F;
    margin-top: 30px;
    padding: 130px 0 0;
}
.mp-hero-content {
    max-width: 560px;
    padding-bottom: 28px;
}
.mp-hero h1 {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #fff;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
}
.mp-hero-accent {
    background: linear-gradient(135deg, #FFBA12 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mp-hero-desc {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,.5);
    margin: 0 0 16px !important;
}

/* ── Hero search ──────────────────────────────── */
.mp-search-wrap { position: relative; max-width: 480px; }
.mp-search-input {
    width: 100%;
    padding: 10px 16px 10px 38px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    font-size: 13px;
    color: #fff;
    background: rgba(255,255,255,.06);
    outline: none;
    transition: border-color .15s, background .15s;
}
.mp-search-input::placeholder { color: rgba(255,255,255,.35); }
.mp-search-input:focus { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.1); }
.mp-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.35);
    pointer-events: none;
}

/* ── Nudge bar ────────────────────────────────── */
.mp-nudge-bar {
    background: #f9fafb;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}
.mp-nudge-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    flex-wrap: wrap;
    text-align: center;
}

/* ── Catalog layout (sidebar + grid) ─────────── */
.mp-catalog { padding: 48px 0 80px; }
.mp-catalog-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
@media (max-width: 1024px) { .mp-catalog-grid { grid-template-columns: 220px 1fr; gap: 24px; } }
@media (max-width: 767px) { .mp-catalog-grid { grid-template-columns: 1fr; } .mp-sidebar-wrap { display: none; } }

/* ── Sidebar ──────────────────────────────────── */
.mp-sidebar { position: sticky; top: 100px; padding-right: 8px; }
.mp-sidebar::-webkit-scrollbar { width: 4px; }
.mp-sidebar::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 4px; }
.mp-sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    margin: 0 0 8px;
    padding: 0 12px;
}
.mp-sidebar-section { border-top: 1px solid #f3f4f6; padding-top: 12px; margin-top: 16px; }
.mp-all-link {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background .15s;
}
.mp-all-link:hover { background: #f3f4f6; color: #111; text-decoration: none; }
.mp-all-link.active { background: #0B0D0F; color: #fff; }
.mp-cat-link {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s;
}
.mp-cat-link:hover { background: #f9fafb; color: #111; text-decoration: none; }
.mp-cat-link.active { background: #0B0D0F; color: #fff; font-weight: 600; }

/* ── Filter labels (price/rating) ────────────── */
.mp-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
    transition: background .15s;
}
.mp-filter-label:hover { background: #f9fafb; }
.mp-filter-label input[type="radio"] {
    accent-color: #0B0D0F;
    margin: 0;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.mp-filter-stars {
    color: #FFBA12;
    letter-spacing: 1px;
    font-size: 13px;
}

/* ── Sort bar ─────────────────────────────────── */
.mp-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}
.mp-results-count {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}
.mp-sort-select {
    padding: 7px 14px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    outline: none;
    transition: border-color .15s;
    cursor: pointer;
}
.mp-sort-select:focus { border-color: #0B0D0F; }

/* ── Card grid ────────────────────────────────── */
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .mp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mp-grid { grid-template-columns: 1fr; } }

/* card styles — see "Unified listing card" section near the end of this file */

/* ── Pagination ───────────────────────────────── */
.mp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    padding-bottom: 8px;
}
.mp-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s;
}
.mp-page-btn:hover { background: #f9fafb; border-color: #d1d5db; color: #111; text-decoration: none; }
.mp-page-btn.disabled { opacity: .4; pointer-events: none; }
.mp-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s;
}
.mp-page-num:hover { background: #f9fafb; border-color: #d1d5db; color: #111; text-decoration: none; }
.mp-page-num.active { background: #0B0D0F; color: #fff; border-color: #0B0D0F; pointer-events: none; }
.mp-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: #9ca3af;
}

/* ── Empty state ──────────────────────────────── */
.mp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}
.mp-empty h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 8px;
}
.mp-empty p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* ── Mobile filter trigger ────────────────────── */
.mp-filter-trigger {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 16px;
}
@media (max-width: 767px) { .mp-filter-trigger { display: inline-flex; } }

/* ── Mobile drawer ────────────────────────────── */
.mp-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; }
.mp-drawer-overlay.open { display: block; }
.mp-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 85vw; max-width: 320px;
    background: #fff; z-index: 1001;
    transform: translateX(-100%); transition: transform .25s ease;
    overflow-y: auto;
}
.mp-drawer.open { transform: translateX(0); }
.mp-drawer-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}
.mp-drawer-header h3 { font-size: 16px; font-weight: 700; margin: 0; }
.mp-drawer-close {
    background: none; border: none; font-size: 24px;
    color: #9ca3af; cursor: pointer; padding: 4px; line-height: 1;
}
.mp-drawer-body { padding: 12px 8px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 767px) {
    .mp-hero { padding: 140px 0 0; }
    .mp-hero h1 { font-size: 24px !important; }
    .mp-search-wrap { width: 100%; max-width: 100%; }
    .mp-search-input { border-radius: 12px; }
}
@media (max-width: 575px) {
    .mp-page-btn { padding: 6px 10px; font-size: 12px; }
    .mp-page-num { width: 32px; height: 32px; font-size: 12px; }
}


/* ══════════════════════════════════════════════════
   Storefront Page — /marketplace/{slug}
══════════════════════════════════════════════════ */

/* ── Seller header ───────────────────────────── */
.mp-storefront-header {
    background: #0B0D0F;
    margin-top: 30px;
    padding: 64px 0 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mp-storefront-header::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,186,18,.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Breadcrumb ─────────────────────────────── */
.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}
.mp-breadcrumb a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .15s;
}
.mp-breadcrumb a:hover { color: #FFBA12; }
.mp-breadcrumb-sep { color: rgba(255,255,255,.2); }
.mp-breadcrumb span:last-child { color: rgba(255,255,255,.7); }

/* ── Profile layout (horizontal) ────────────── */
.mp-sf-profile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    text-align: left;
}
.mp-sf-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

/* ── Avatar ──────────────────────────────────── */
.mp-sf-avatar-wrap {
    flex-shrink: 0;
    position: relative;
}
.mp-sf-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255,186,18,.2);
    pointer-events: none;
}
.mp-sf-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,186,18,.35);
    background: rgba(255,255,255,.06);
    display: block;
}
.mp-sf-avatar-placeholder {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid rgba(255,186,18,.35);
    background: linear-gradient(135deg, rgba(255,186,18,.15), rgba(255,186,18,.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFBA12;
}

/* ── Name + badge ────────────────────────────── */
.mp-sf-name-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.mp-sf-name-row h1 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}
.mp-seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,186,18,.15);
    color: #FFBA12;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── Tagline ─────────────────────────────────── */
.mp-sf-tagline {
    font-size: 1.05rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ── Bio ─────────────────────────────────────── */
.mp-sf-bio {
    font-size: 0.92rem;
    color: rgba(255,255,255,.4);
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 4px;
}

/* ── Stats pills ─────────────────────────────── */
.mp-sf-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.mp-sf-stat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
    padding: 8px 18px;
    transition: border-color .15s;
}
.mp-sf-stat-pill:hover {
    border-color: rgba(255,186,18,.25);
}
.mp-sf-stat-pill svg {
    color: rgba(255,255,255,.35);
    flex-shrink: 0;
}
.mp-sf-stat-num {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.mp-sf-stat-lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Social links ────────────────────────────── */
.mp-sf-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.mp-sf-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.55);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
}
.mp-sf-social-link:hover {
    border-color: rgba(255,186,18,.3);
    color: #FFBA12;
    background: rgba(255,186,18,.06);
    text-decoration: none;
}
.mp-sf-social-link svg {
    flex-shrink: 0;
}

/* ── Storefront listings body ────────────────── */
.mp-storefront-body {
    padding: 50px 0 80px;
}
.mp-storefront-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #0B0D0F;
}

/* ── Sort bar (title + count) ───────────────── */
.mp-sort-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}
.mp-sort-bar .mp-storefront-title {
    margin-bottom: 0;
}
.mp-results-count {
    font-size: 0.88rem;
    color: #9ca3af;
}

/* ── Storefront grid ─────────────────────────── */
.mp-sf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mp-sf-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: box-shadow .2s, transform .15s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.mp-sf-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.mp-sf-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f3f4f6;
}
.mp-sf-card-body { padding: 18px; }
.mp-sf-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0B0D0F;
    margin-bottom: 8px;
}
.mp-sf-card-desc {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mp-sf-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mp-sf-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0B0D0F;
}
.mp-sf-card-rating {
    font-size: 0.85rem;
    color: #FFBA12;
    font-weight: 600;
}
.mp-sf-card-rating span {
    color: #9ca3af;
    margin-left: 4px;
    font-weight: 400;
}

/* ── Storefront card preview (browser mockup) ─ */
.mp-sf-card-preview {
    height: 180px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.mp-sf-card-preview .mp-card-browser {
    width: 80%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    border-bottom: none;
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
    position: absolute;
    bottom: 0;
}
.mp-sf-card-preview .mp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,13,15,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}
.mp-sf-card:hover .mp-card-overlay { opacity: 1; }

/* ── Empty state hero ─────────────────────────── */
.mp-sf-empty-hero {
    text-align: center;
    padding: 60px 20px 0;
    position: relative;
}

/* Decorative form mockups */
.mp-sf-empty-mockups {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    perspective: 800px;
}
.mp-sf-mock {
    width: 140px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    opacity: .5;
    transform: scale(.92);
}
.mp-sf-mock-2 {
    opacity: .8;
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.mp-sf-mock-bar {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}
.mp-sf-mock-bar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
}
.mp-sf-mock-bar span:first-child { background: #fca5a5; }
.mp-sf-mock-bar span:nth-child(2) { background: #fcd34d; }
.mp-sf-mock-bar span:last-child { background: #86efac; }
.mp-sf-mock-line {
    height: 6px;
    border-radius: 3px;
    background: #f3f4f6;
    margin-bottom: 6px;
}
.mp-sf-mock-line.w90 { width: 90%; }
.mp-sf-mock-line.w80 { width: 80%; }
.mp-sf-mock-line.w70 { width: 70%; }
.mp-sf-mock-line.w60 { width: 60%; }
.mp-sf-mock-line.w50 { width: 50%; }
.mp-sf-mock-block {
    height: 18px;
    border-radius: 4px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    margin-bottom: 6px;
}
.mp-sf-mock-btn {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(135deg, #FFBA12, #FF9500);
    margin-top: 4px;
    width: 60%;
}

/* Empty content */
.mp-sf-empty-content {
    max-width: 480px;
    margin: 0 auto;
}
.mp-sf-empty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,186,18,.08);
    border: 1px solid rgba(255,186,18,.2);
    color: #b8860b;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.mp-sf-empty-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 10px;
}
.mp-sf-empty-content p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ── Trust strip ─────────────────────────────── */
.mp-sf-trust-strip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 780px;
    margin: 48px auto 40px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    padding: 0;
    overflow: hidden;
}
.mp-sf-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 28px;
    flex: 1;
}
.mp-sf-trust-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.mp-sf-trust-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mp-sf-trust-item strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0B0D0F;
}
.mp-sf-trust-item span {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.45;
}
.mp-sf-trust-divider {
    width: 1px;
    background: #e5e7eb;
    align-self: stretch;
    margin: 16px 0;
}

/* ── Empty actions ───────────────────────────── */
.mp-sf-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 80px;
}
.mp-sf-empty-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    background: #0B0D0F;
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background .15s, transform .1s;
}
.mp-sf-empty-btn-primary:hover {
    background: #1f2328;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.mp-sf-empty-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: border-color .15s, color .15s;
}
.mp-sf-empty-btn-ghost:hover {
    border-color: #9ca3af;
    color: #0B0D0F;
    text-decoration: none;
}

@media (max-width: 992px) {
    .mp-sf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .mp-sf-grid { grid-template-columns: 1fr; }
    .mp-sf-name-row h1 { font-size: 1.5rem; }
    .mp-sf-stat-pill { padding: 6px 14px; }
    .mp-breadcrumb { justify-content: center; }
    .mp-sf-profile { flex-direction: column; align-items: center; text-align: center; }
    .mp-sf-info { align-items: center; }
    .mp-sf-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-left: 0;
        margin-top: 16px;
    }
    .mp-sf-name-row,
    .mp-sf-stats,
    .mp-sf-social { justify-content: center; }
}


/* ══════════════════════════════════════════════════
   Listing Detail Page — /marketplace/{slug}/{id}
══════════════════════════════════════════════════ */

/* ── Listing hero ────────────────────────────── */
.mp-listing-hero {
    background: #0B0D0F;
    padding: 120px 0 50px;
    color: #fff;
}

/* breadcrumb */
.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.mp-breadcrumb a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
}
.mp-breadcrumb a:hover { color: #FFBA12; }
.mp-breadcrumb-sep { color: rgba(255,255,255,.2); }

/* layout */
.mp-listing-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.mp-listing-main { flex: 1; min-width: 0; }
.mp-listing-sidebar { flex: 0 0 320px; }

/* cover image */
.mp-listing-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 24px;
    background: rgba(255,255,255,.06);
}
.mp-listing-cover-placeholder {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.2);
    margin-bottom: 24px;
}

/* Form preview mockup (listing detail) */
.mp-listing-preview {
    width: 100%;
    border-radius: 14px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 280px;
}
.mp-listing-browser {
    background: #fff;
    border-radius: 10px;
    width: 320px;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.mp-listing-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
}
.mp-listing-dots {
    display: flex;
    gap: 5px;
}
.mp-listing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mp-listing-url {
    font-size: 0.7rem;
    color: #999;
    background: #fff;
    border-radius: 4px;
    padding: 2px 10px;
    flex: 1;
}
.mp-listing-form-mock {
    padding: 20px;
}
.mp-listing-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.mp-listing-form-input {
    height: 32px;
    background: #f3f4f6;
    border-radius: 6px;
    margin-bottom: 10px;
}
.mp-listing-form-input.short {
    width: 65%;
}
.mp-listing-form-btn {
    background: #667eea;
    color: #fff;
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Tags */
.mp-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.mp-listing-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255,186,18,.15);
    color: #FFBA12;
    font-size: 0.8rem;
    font-weight: 600;
}

/* What's Included */
.mp-listing-includes {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mp-listing-includes h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.mp-listing-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-listing-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,.7);
}

/* Seller mini link */
.mp-seller-mini-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFBA12;
    text-decoration: none;
    background: rgba(255,186,18,.06);
    transition: background .15s;
}
.mp-seller-mini-link:hover {
    background: rgba(255,186,18,.12);
    color: #FFBA12;
}

/* Seller tagline */
.mp-seller-mini-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 2px;
}

/* title & description */
.mp-listing-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}
.mp-listing-category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255,186,18,.15);
    color: #FFBA12;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.mp-listing-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.6);
    margin-bottom: 30px;
}
.mp-listing-desc p { margin-bottom: 14px; }

/* ── Purchase card (sidebar) ─────────────────── */
.mp-purchase-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 28px;
    position: sticky;
    top: 100px;
}
.mp-purchase-price {
    font-size: 2rem;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 6px;
}
.mp-purchase-rating {
    font-size: 0.95rem;
    color: #FFBA12;
    margin-bottom: 16px;
}
.mp-purchase-rating span {
    color: #9ca3af;
    margin-left: 4px;
}
.mp-buy-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #FFBA12;
    color: #0B0D0F;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.mp-buy-btn:hover {
    background: #e6a710;
    color: #0B0D0F;
    transform: translateY(-1px);
}
.mp-purchase-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}
.mp-purchase-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: #6b7280;
}
.mp-purchase-meta-row strong { color: #0B0D0F; }

/* seller mini card */
.mp-seller-mini {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}
.mp-seller-mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-seller-mini-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
}
.mp-seller-mini-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,186,18,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #FFBA12;
    font-size: 1rem;
}
.mp-seller-mini-name {
    font-weight: 600;
    color: #0B0D0F;
    font-size: 0.95rem;
}
.mp-seller-mini-name a { color: inherit; text-decoration: none; transition: color .15s; }
.mp-seller-mini-name a:hover { color: #FFBA12; }
.mp-seller-mini-badge {
    font-size: 0.75rem;
    color: #FFBA12;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Reviews section ─────────────────────────── */
.mp-reviews-section {
    padding: 50px 0 80px;
}
.mp-reviews-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0B0D0F;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}
.mp-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mp-review-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 22px 24px;
}
.mp-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.mp-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #6b7280;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.mp-review-author {
    font-weight: 600;
    color: #0B0D0F;
    font-size: 0.95rem;
    display: block;
}
.mp-review-rating {
    color: #FFBA12;
    font-size: 0.95rem;
    margin-left: auto;
    flex-shrink: 0;
}
.mp-review-date {
    font-size: 0.78rem;
    color: #9ca3af;
}
.mp-review-text {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Empty reviews */
.mp-no-reviews {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
}
.mp-no-reviews-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d1d5db;
}
.mp-no-reviews h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 6px;
}
.mp-no-reviews p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

/* listing responsive */
@media (max-width: 992px) {
    .mp-listing-layout { flex-direction: column; }
    .mp-listing-sidebar { flex: none; width: 100%; }
    .mp-purchase-card { position: static; }
}
@media (max-width: 576px) {
    .mp-listing-title { font-size: 1.4rem; }
    .mp-purchase-price { font-size: 1.6rem; }
}

/* ── Purchase success card ─────────── */
.mp-psc {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    margin-bottom: 28px;
    padding: 16px 20px;
}
.mp-psc-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mp-psc-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-psc-text {
    flex: 1;
    min-width: 0;
}
.mp-psc-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #14532d;
    line-height: 1.3;
}
.mp-psc-text span {
    font-size: 0.82rem;
    color: #15803d;
}
.mp-psc-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #15803d;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}
.mp-psc-btn:hover {
    background: #166534;
    color: #fff;
}
.mp-psc-note {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #dcfce7;
    font-size: 0.78rem;
    color: #16a34a;
    opacity: 0.8;
}
@media (max-width: 640px) {
    .mp-psc-row { flex-wrap: wrap; }
    .mp-psc-btn { width: 100%; justify-content: center; margin-top: 6px; }
}

/* ── Checkout modal ─────────────────── */
.mp-co-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
}
.mp-co-modal.active {
    visibility: visible;
    opacity: 1;
}
.mp-co-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
}
.mp-co-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 440px;
    max-width: 92vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,.2);
}
.mp-co-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.mp-co-close:hover { color: #374151; }

.mp-co-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}
.mp-co-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0B0D0F;
    margin: 0 0 6px;
}
.mp-co-item-name {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0 0 8px;
}
.mp-co-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0B0D0F;
}

.mp-co-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.mp-co-field {
    margin-bottom: 16px;
}
.mp-co-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.mp-co-field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #0B0D0F;
    transition: border-color .15s;
    outline: none;
    box-sizing: border-box;
}
.mp-co-field input:focus {
    border-color: #FFBA12;
    box-shadow: 0 0 0 3px rgba(255,186,18,.15);
}

.mp-co-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #FFBA12;
    color: #0B0D0F;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background .15s, transform .1s;
    margin-top: 8px;
}
.mp-co-btn:hover:not(:disabled) {
    background: #e6a710;
    transform: translateY(-1px);
}
.mp-co-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.mp-co-btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

#mp-payment-element {
    min-height: 100px;
}

.mp-co-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 12px;
}

@media (max-width: 480px) {
    .mp-co-dialog { padding: 24px 20px; }
    .mp-co-price { font-size: 1.3rem; }
}

/* ────────────────────────────────────────────────
   Unified listing card — used on /marketplace + /marketplace/{slug}
   ──────────────────────────────────────────────── */
.mp-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.mp-card {
    --tint: #FFF4D6;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .25s cubic-bezier(.4,0,.2,1),
                box-shadow .25s cubic-bezier(.4,0,.2,1),
                border-color .25s cubic-bezier(.4,0,.2,1);
}
.mp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,186,18,.5);
    box-shadow: 0 14px 36px -10px rgba(11,13,15,.14);
    color: inherit;
    text-decoration: none;
}

.mp-card-cover {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--tint);
}
.mp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.mp-card:hover .mp-card-img { transform: scale(1.05); }

.mp-card-cover-ph {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--tint);
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.55), transparent 55%),
        radial-gradient(circle at 20% 90%, rgba(11,13,15,.05), transparent 55%);
}
.mp-card-cover-icon {
    width: 56px;
    height: 56px;
    color: rgba(11,13,15,.4);
    transition: transform .35s cubic-bezier(.4,0,.2,1), color .2s;
}
.mp-card:hover .mp-card-cover-icon {
    transform: scale(1.08);
    color: rgba(11,13,15,.55);
}

/* Deterministic tints for placeholders */
.mp-card-tint-0 { --tint: #FFF4D6; }
.mp-card-tint-1 { --tint: #E0F2FE; }
.mp-card-tint-2 { --tint: #DCFCE7; }
.mp-card-tint-3 { --tint: #FCE7F3; }
.mp-card-tint-4 { --tint: #EDE9FE; }

/* Top-left category pill (on cover) */
.mp-card-cat {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #0B0D0F;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 6px rgba(11,13,15,.08);
    backdrop-filter: blur(4px);
}

/* Top-right status badge (on cover) */
.mp-card-badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(11,13,15,.18);
}
.mp-card-badge--best    { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.mp-card-badge--popular { background: linear-gradient(135deg,#FFBA12,#f97316); }
.mp-card-badge--new     { background: linear-gradient(135deg,#22c55e,#10b981); }

/* Body */
.mp-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 14px;
    gap: 6px;
}
.mp-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0B0D0F;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    transition: color .2s;
}
.mp-card:hover .mp-card-title { color: #f59e0b; }

.mp-card-desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.mp-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}
.mp-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0B0D0F;
    line-height: 1;
}
.mp-card-rating svg { flex-shrink: 0; }
.mp-card-rating em {
    font-style: normal;
    color: #9ca3af;
    font-weight: 500;
}
.mp-card-rating.is-empty {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.78rem;
}

.mp-card-price {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #0B0D0F;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 8px;
    background: #FFF4D6;
    transition: background .2s, color .2s;
    line-height: 1.2;
}
.mp-card:hover .mp-card-price {
    background: #FFBA12;
    color: #0B0D0F;
}

@media (max-width: 768px) {
    .mp-card-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
    .mp-card-body { padding: 14px; }
    .mp-card-title { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .mp-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mp-card-title { font-size: 0.88rem; min-height: 2.6em; }
    .mp-card-desc { display: none; }
    .mp-card-cat, .mp-card-badge { top: 8px; padding: 3px 8px; font-size: 0.62rem; }
    .mp-card-cat { inset-inline-start: 8px; }
    .mp-card-badge { inset-inline-end: 8px; }
    .mp-card-foot { padding-top: 10px; }
    .mp-card-price { font-size: 0.92rem; padding: 4px 10px; }
}

/* ── Cover wrap with badges ─────────────────────── */
.mp-listing-cover-wrap {
    position: relative;
    margin-bottom: 20px;
}
.mp-cover-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}
[dir="rtl"] .mp-cover-badges {
    left: auto;
    right: 14px;
}
.mp-cover-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.mp-cover-badge--bestseller { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.mp-cover-badge--popular    { background: linear-gradient(135deg,#FFBA12,#f97316); }
.mp-cover-badge--new        { background: linear-gradient(135deg,#22c55e,#10b981); }

/* Override existing .mp-listing-cover margin-bottom since wrap handles it */
.mp-listing-cover-wrap .mp-listing-cover,
.mp-listing-cover-wrap .mp-listing-preview {
    margin-bottom: 0;
}

/* ── Quick-facts pills under title ──────────────── */
.mp-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}
.mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1;
}
.mp-pill svg {
    color: #FFBA12;
    flex-shrink: 0;
}

/* ── Why take this assessment — benefits ────────── */
.mp-benefits {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mp-benefits-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.mp-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.mp-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    transition: border-color .15s, background .15s;
}
.mp-benefit:hover {
    border-color: rgba(255,186,18,.25);
    background: rgba(255,186,18,.04);
}
.mp-benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,186,18,.12);
    color: #FFBA12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mp-benefit-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.mp-benefit-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255,255,255,.6);
}

/* ── Sidebar: social proof ──────────────────────── */
.mp-social-proof {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    margin: 0 0 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 0.82rem;
    font-weight: 600;
}
.mp-social-proof svg { flex-shrink: 0; color: #16a34a; }

/* ── Sidebar: trust line below Buy ─────────────── */
.mp-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 0.78rem;
    color: #6b7280;
}
.mp-trust-line-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.mp-trust-line-item svg { color: #9ca3af; flex-shrink: 0; }
.mp-trust-line-sep { color: #d1d5db; }

/* ── Sidebar: at-a-glance facts block ──────────── */
.mp-glance {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e9ecef;
}
.mp-glance-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7280;
    margin-bottom: 12px;
}
.mp-glance-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 14px;
    row-gap: 8px;
    margin: 0;
}
.mp-glance-grid dt {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}
.mp-glance-grid dd {
    font-size: 0.85rem;
    color: #111827;
    margin: 0;
    font-weight: 600;
    text-align: right;
}
[dir="rtl"] .mp-glance-grid dd { text-align: left; }

@media (max-width: 768px) {
    .mp-quick-pills { gap: 6px; }
    .mp-pill { padding: 5px 10px; font-size: 0.78rem; }
    .mp-benefits-list { gap: 10px; }
    .mp-benefit { padding: 12px 14px; gap: 12px; }
}

/* ── How it works strip ─────────────────────────── */
.mp-how {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.mp-how-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.mp-how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mp-how-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    transition: border-color .15s, background .15s;
}
.mp-how-step:hover {
    border-color: rgba(255,186,18,.25);
    background: rgba(255,186,18,.04);
}
.mp-how-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,186,18,.15);
    color: #FFBA12;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.mp-how-step-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.mp-how-step-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255,255,255,.6);
}

@media (max-width: 768px) {
    .mp-how-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mp-how-step { padding: 12px 14px; }
}

/* RTL adjustments */
[dir="rtl"] .mp-how-step {
    text-align: right;
}
