/* =========================================================
   CULSYSTEM — Marketplace Page
   Inherits the same colour tokens, container and typography
   as the landing page (assets/landing.css). Adds marketplace-
   specific classes prefixed with `mp-`.

   Sections (in render order):
     • Marketplace hero (navy band)
     • Flash deals strip (gradient band)
     • Body grid (sidebar + main feed)
     • Product card (mp-card)
     • Trust row, sell banner
     • Checkout modal
   ========================================================= */

/* Override the landing's `Inter`-only font for marketplace —
   keep Montserrat from app.css so cards match the landing. */
body { font-family: var(--font-sans, 'Montserrat', system-ui, sans-serif); }

/* Marketplace container reuses landing's padding/max-width
   but with the same `.container` width so it stays aligned
   with the rest of the page. */
.mp-hero .container,
.mp-flash .container,
.mp-body,
.mp-section,
.mp-alert {
    width: 100%;
    box-sizing: border-box;
}

/* ═══ HEADER — add a compact search input in the middle ═══ */
.lp-header-search {
    display: flex;
    align-items: stretch;
    flex: 1;
    max-width: 360px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 12px;
}
.lp-header-search input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 14px;
    font-size: .85rem;
    font-family: inherit;
    color: var(--brand-primary);
    background: transparent;
    min-width: 0;
}
.lp-header-search input::placeholder { color: #9AA3B2; }
.lp-header-search-btn {
    background: var(--lp-orange);
    color: #fff;
    border: 0;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.lp-header-search-btn:hover { background: var(--lp-orange-2); }
.lp-header-search-btn svg { width: 18px; height: 18px; }

/* ═══ ALERTS ═══ */
.mp-alert {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}
.mp-alert-success {
    background: #DCFCE7;
    color: #14532D;
    border: 1px solid #86EFAC;
}
.mp-alert-danger {
    background: #FEE2E2;
    color: #7F1D1D;
    border: 1px solid #FCA5A5;
}

/* ═══ MARKETPLACE HERO (navy) ═══ */
.mp-hero {
    background: var(--lp-navy);
    color: #fff;
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}
.mp-hero::before {
    content: '';
    position: absolute;
    right: -120px; top: -80px;
    width: 320px; height: 320px;
    border: 1.5px solid rgba(242,107,31,.25);
    border-radius: 50%;
    pointer-events: none;
}
.mp-hero::after {
    content: '';
    position: absolute;
    left: -80px; bottom: -100px;
    width: 220px; height: 220px;
    border: 1.5px solid rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}
.mp-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.mp-hero-eyebrow {
    color: var(--lp-orange);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.mp-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 14px;
    letter-spacing: -.01em;
    color: #fff;
}
.mp-hero-sub {
    color: rgba(255,255,255,.78);
    font-size: .95rem;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 0 22px;
}
.mp-hero-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mp-hero-pill {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.mp-hero-pill:hover,
.mp-hero-pill.is-active {
    background: var(--lp-orange);
    border-color: var(--lp-orange);
    color: #fff;
}
.mp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mp-hero-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mp-hero-stat .num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--lp-gold);
    line-height: 1;
}
.mp-hero-stat .lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 6px;
}

/* ═══ FLASH DEALS STRIP (gradient band) ═══ */
.mp-flash {
    background: var(--lp-grad-band);
    color: #fff;
    padding: 40px 0 36px;
    position: relative;
    overflow: hidden;
}
.mp-flash::before {
    content: '';
    position: absolute;
    left: -60px; top: -60px;
    width: 200px; height: 200px;
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: 50%;
    pointer-events: none;
}
.mp-flash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.mp-flash-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.mp-flash-icon {
    font-size: 1.4rem;
    background: rgba(255,255,255,.18);
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.mp-flash-title h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -.01em;
}
.mp-flash-badge {
    background: rgba(0,0,0,.25);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 3px;
}
.mp-flash-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}
.mp-flash-time {
    background: var(--lp-navy);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    min-width: 28px;
    text-align: center;
}
.mp-flash-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    position: relative;
    z-index: 2;
}
.mp-flash-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    color: var(--brand-primary);
}
.mp-flash-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.mp-flash-img {
    aspect-ratio: 1;
    background: var(--bg-soft, #F5F2EC);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}
.mp-flash-img img { width: 100%; height: 100%; object-fit: cover; }
.mp-flash-off {
    background: #DC2626;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 4px;
}
.mp-flash-name {
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.mp-flash-price {
    font-size: .92rem;
    font-weight: 900;
    color: var(--lp-orange);
}

/* ═══ MAIN BODY (sidebar + main) ═══ */
.mp-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
    align-items: start;
}
.mp-body .container { padding: 0; }

/* ═══ SIDEBAR ═══ */
.mp-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mp-side-widget {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mp-side-widget h4 {
    font-size: .82rem;
    font-weight: 800;
    color: #fff;
    background: var(--lp-navy);
    padding: 11px 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0;
}
.mp-side-list {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}
.mp-side-list li button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: .85rem;
    color: var(--brand-primary);
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    width: 100%;
    font-weight: 500;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.mp-side-list li button .ic { width: 22px; text-align: center; font-size: 1rem; }
.mp-side-list li button:hover,
.mp-side-list li.is-active button {
    background: var(--lp-orange-soft);
    color: var(--lp-orange);
    font-weight: 700;
}

/* Price filter */
.mp-price-filter { padding: 14px; }
.mp-price-filter label {
    font-size: .78rem;
    color: var(--text-soft, #4B5A75);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}
.mp-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}
.mp-price-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .82rem;
    font-family: inherit;
    background: #fff;
    color: var(--brand-primary);
    box-sizing: border-box;
}
.mp-price-row input:focus { outline: 0; border-color: var(--lp-orange); }
.mp-btn-apply {
    background: var(--lp-orange);
    color: #fff;
    border: 0;
    padding: 9px 0;
    width: 100%;
    border-radius: 6px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}
.mp-btn-apply:hover { background: var(--lp-orange-2); }

/* Sidebar CTA */
.mp-side-cta {
    background: var(--lp-navy);
    color: #fff;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.mp-side-cta-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.mp-side-cta h5 {
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    margin: 0 0 6px;
}
.mp-side-cta p {
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
    margin: 0 0 12px;
}
.mp-btn-orange-block {
    display: block;
    background: var(--lp-orange);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none;
    transition: background .15s;
}
.mp-btn-orange-block:hover { background: var(--lp-orange-2); color: #fff; }

/* ═══ MAIN COLUMN ═══ */
.mp-main { min-width: 0; }

/* Trust row */
.mp-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.mp-trust-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.mp-trust-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.08); }
.mp-trust-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}
.mp-trust-card h5 {
    color: var(--lp-navy);
    font-size: .82rem;
    font-weight: 800;
    margin: 0 0 4px;
}
.mp-trust-card p {
    color: var(--text-soft, #4B5A75);
    font-size: .72rem;
    line-height: 1.45;
    margin: 0;
}

/* Section header */
.mp-section { margin-bottom: 28px; }
.mp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mp-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--lp-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mp-section-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--lp-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.mp-section-sub { color: var(--text-soft, #4B5A75); font-weight: 500; font-size: .9rem; }
.mp-view-all {
    color: var(--lp-orange);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    transition: color .15s;
}
.mp-view-all:hover { color: var(--lp-orange-2); }

/* ═══ PRODUCT GRID + CARDS ═══ */
.mp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}
.mp-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: pointer;
    position: relative;
}
.mp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
    border-color: var(--lp-orange);
}
.mp-card-media {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-soft, #F5F2EC);
    overflow: hidden;
}
.mp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.mp-card:hover .mp-card-media img { transform: scale(1.05); }
.mp-card-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--lp-orange-soft) 0%, #fff 100%);
}
.mp-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    background: var(--lp-orange);
}
.mp-badge-license  { background: var(--lp-navy); }
.mp-badge-rental   { background: var(--lp-green); }
.mp-badge-sale     { background: var(--lp-orange); }
.mp-badge-book     { background: #7C3AED; }
.mp-badge-featured { background: var(--lp-gold); color: var(--lp-navy); }
.mp-card-wish {
    position: absolute;
    top: 8px; right: 8px;
    background: #fff;
    border: 0;
    border-radius: 50%;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, transform .2s, color .2s, background .2s;
    z-index: 2;
    color: var(--lp-navy);
}
.mp-card:hover .mp-card-wish { opacity: 1; }
.mp-card-wish:hover {
    color: #DC2626;
    background: #fff;
    transform: scale(1.1);
}
.mp-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.mp-card-seller {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: .72rem;
    color: var(--text-soft, #4B5A75);
    font-weight: 600;
}
.mp-seller-avatar {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--lp-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .62rem;
    font-weight: 800;
    flex-shrink: 0;
}
.mp-seller-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.mp-seller-verified {
    color: var(--lp-green);
    font-size: .75rem;
    font-weight: 800;
}
.mp-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--lp-navy);
    line-height: 1.35;
    margin: 0 0 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.mp-card-tagline {
    color: var(--text-soft, #4B5A75);
    font-weight: 500;
}
.mp-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.mp-stars { color: var(--lp-gold); font-size: .8rem; letter-spacing: -1px; }
.mp-rev { font-size: .7rem; color: var(--text-soft, #4B5A75); }
.mp-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.mp-card-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--lp-navy);
}
.mp-card-unit {
    font-size: .7rem;
    color: var(--text-soft, #4B5A75);
    font-weight: 600;
}
.mp-card-off {
    font-size: .68rem;
    font-weight: 800;
    color: #DC2626;
    margin-left: auto;
}
.mp-card-actions {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6px;
    margin-top: auto;
}
.mp-btn-buy,
.mp-btn-cart {
    border: 0;
    padding: 8px 6px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .78rem;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-btn-buy {
    background: var(--lp-orange);
    color: #fff;
}
.mp-btn-buy:hover { background: var(--lp-orange-2); transform: translateY(-1px); }
.mp-btn-cart {
    background: transparent;
    color: var(--lp-orange);
    border: 1.5px solid var(--lp-orange);
}
.mp-btn-cart:hover { background: var(--lp-orange-soft); }
.mp-btn-cart.is-added { background: var(--lp-green); color: #fff; border-color: var(--lp-green); }

.mp-btn-orange-sm {
    background: var(--lp-orange);
    color: #fff;
    border: 0;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .85rem;
    cursor: pointer;
    font-family: inherit;
}
.mp-btn-orange-sm:hover { background: var(--lp-orange-2); }

/* Empty state */
.mp-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px dashed var(--border);
}
.mp-empty-icon { font-size: 3rem; margin-bottom: 10px; }
.mp-empty h3 { color: var(--lp-navy); margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; }
.mp-empty p { color: var(--text-soft, #4B5A75); margin: 0 0 12px; }
.mp-empty a { color: var(--lp-orange); font-weight: 800; }

/* ═══ SELL BANNER (gradient) ═══ */
.mp-sell {
    background: var(--lp-grad-band);
    color: #fff;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.mp-sell::before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 220px; height: 220px;
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 50%;
    pointer-events: none;
}
.mp-sell h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0 6px;
}
.mp-sell p {
    color: rgba(255,255,255,.92);
    font-size: .9rem;
    line-height: 1.5;
    margin: 0;
    max-width: 560px;
}
.mp-sell-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.mp-btn-white {
    background: #fff;
    color: var(--lp-orange);
    border: 0;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .88rem;
    text-decoration: none;
    text-align: center;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}
.mp-btn-white:hover { background: var(--lp-orange-soft); color: var(--lp-orange); transform: translateY(-1px); }
.mp-btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.55);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .85rem;
    text-decoration: none;
    text-align: center;
    transition: background .15s, border-color .15s, transform .15s;
    white-space: nowrap;
}
.mp-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; transform: translateY(-1px); }

/* ═══ CHECKOUT MODAL ═══ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 27, 45, .7);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.modal-backdrop.open { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    overflow: hidden;
    animation: modalIn .3s ease;
    font-family: var(--font-sans);
}
@keyframes modalIn {
    from { transform: scale(.96) translateY(10px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-head {
    background: var(--lp-navy);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-head h3 { font-size: 1.05rem; font-weight: 800; margin: 0; color: #fff; }
.modal-close-btn {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    font-family: inherit;
}
.modal-body { padding: 20px; }
.modal-product-preview {
    background: var(--bg-soft, #F5F2EC);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 12px;
    align-items: center;
}
.modal-product-preview .mp-img {
    width: 56px; height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-product-preview .mp-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-product-preview .mp-name {
    font-size: .9rem;
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 2px;
}
.modal-product-preview .mp-price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--lp-orange);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-field { margin-bottom: 12px; }
.form-field label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--lp-navy);
    margin-bottom: 5px;
}
.form-field input,
.form-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .88rem;
    font-family: inherit;
    outline: none;
    color: var(--lp-navy);
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus { border-color: var(--lp-orange); }
.form-field input[readonly] {
    background: var(--bg-soft, #F5F2EC);
    font-weight: 800;
    color: var(--lp-navy);
}
.modal-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-soft, #F5F2EC);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 14px 0 16px;
}
.modal-total-row .lbl {
    font-size: .85rem;
    font-weight: 700;
    color: var(--lp-navy);
}
.modal-total-row .amount {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--lp-navy);
}
.btn-confirm {
    width: 100%;
    background: var(--lp-orange);
    color: #fff;
    border: 0;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, transform .15s;
}
.btn-confirm:hover { background: var(--lp-orange-2); transform: translateY(-1px); }

/* Compact ad-slider (a bit shorter than the landing's) */
.lp-ad-slider--compact { height: 280px; }
.lp-ad-slider--compact .lp-ad-slide-inner { padding: 24px 60px; }
.lp-ad-slider--compact .lp-ad-desc { display: none; }
@media (max-width: 1100px) {
    .lp-ad-slider--compact { height: 240px; }
    .lp-ad-slider--compact .lp-ad-slide-inner { padding: 22px 40px; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
    .lp-header-search { max-width: 260px; margin: 0 8px; }
    .lp-nav { gap: 12px; }
    .lp-nav a { font-size: .8rem; }
    .mp-flash-items { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
    .mp-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .mp-hero-stats { grid-template-columns: repeat(3, 1fr); }
    .mp-body { grid-template-columns: 1fr; }
    .mp-sidebar { position: static; }
    .mp-trust { grid-template-columns: repeat(2, 1fr); }
    .mp-flash-items { grid-template-columns: repeat(3, 1fr); }
    .mp-sell { grid-template-columns: 1fr; text-align: center; }
    .mp-sell p { margin: 0 auto; }
    .mp-sell-btns { flex-direction: row; justify-content: center; }
    .lp-header-search { display: none; }
}
@media (max-width: 768px) {
    .mp-flash-items { grid-template-columns: repeat(2, 1fr); }
    .mp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mp-card-title { font-size: .82rem; }
    .mp-card-price { font-size: .95rem; }
    .mp-card-actions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .mp-hero { padding: 30px 0 24px; }
    .mp-hero-title { font-size: 1.6rem; }
    .mp-flash { padding: 24px 0 20px; }
    .mp-sell { padding: 22px 18px; }
    .mp-sell-btns { flex-direction: column; }
    .mp-flash-items { grid-template-columns: repeat(2, 1fr); }
    .mp-trust { grid-template-columns: 1fr 1fr; }
    .mp-section-head { padding: 10px 12px; }
    .mp-section-title { font-size: .9rem; }
    .mp-section-sub { display: none; }
    .modal-product-preview { grid-template-columns: 48px 1fr; }
    .modal-product-preview .mp-img { width: 48px; height: 48px; }
    .form-row { grid-template-columns: 1fr; }
}
