:root {
  --navy: #0B2E2A;
  --navy-2: #0A1B2B;
  --blue: #22C55E;
  --blue-dark: #16A34A;
  --brand: #22C55E;
  --brand-dark: #16A34A;
  --teal: #34D399;
  --teal-dark: #10B981;
  --cream: #F7F8FB;
  --card: #FFFFFF;
  --ink: #0B1220;
  --slate: #4C5A6E;
  --line: #E6E9F0;
  --danger: #E5484D;
  --amber: #C77B12;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,.05);
  --shadow-md: 0 10px 24px rgba(10,37,64,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0B1220; --card: #121B2B; --ink: #EDF1F7; --slate: #93A2B8;
    --line: #223049; --navy: #060E1A; --navy-2: #0A1729;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Inter', -apple-system, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-sm); border: none; font-size: 14.5px; font-weight: 600; transition: transform .12s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-teal { background: var(--teal); color: #032b25; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-danger-ghost { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

header.site { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header-row { display: flex; align-items: center; gap: 20px; padding: 14px 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; flex-shrink: 0; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--teal)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.logo .accent { color: var(--teal); }
nav.main-nav { display: flex; gap: 4px; flex-shrink: 0; }
nav.main-nav a { padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--slate); }
nav.main-nav a:hover { background: var(--cream); color: var(--ink); }
.header-search { flex: 1; position: relative; max-width: 360px; }
.header-search input { width: 100%; padding: 9px 14px 9px 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 14px; outline: none; }
.header-search input:focus { border-color: var(--blue); }
.header-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .5; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.user-chip .avatar { width: 26px; height: 26px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }

.hero { background: radial-gradient(120% 140% at 15% -10%, #123a63 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; padding: 52px 0 40px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #A9BBD4; margin-bottom: 26px; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }
.hero h1 { font-size: 42px; max-width: 640px; color: #fff; }
.hero .sub { color: #B7C5DA; font-size: 16px; max-width: 560px; margin-top: 14px; }
.hero-search { margin-top: 28px; display: flex; gap: 10px; max-width: 560px; }
.hero-search input { flex: 1; padding: 15px 18px; border-radius: var(--radius-sm); border: 1px solid #26385A; background: #0E1F38; color: #fff; font-size: 15px; outline: none; }
.hero-search input::placeholder { color: #6E85A6; }
.chip-rail { display: flex; gap: 10px; margin-top: 28px; overflow-x: auto; padding-bottom: 6px; }
.chip { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #0E1F38; border: 1px solid #223a5c; color: #D6E0F0; font-size: 13.5px; font-weight: 500; }
.chip:hover { border-color: var(--teal); background: #10233f; }

.escrow { padding: 56px 0; }
.escrow-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.escrow-head h2 { font-size: 26px; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--teal-dark); background: rgba(0,194,168,.12); padding: 6px 12px; border-radius: 999px; }
.badge-live .pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--teal); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.step-num { width: 34px; height: 34px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.step-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--slate); margin: 0; }

.showcase-band { padding: 54px 0; border-top: 1px solid var(--line); }
.showcase-band.alt { background: var(--card); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.showcase-tile { aspect-ratio: 16/10; border-radius: var(--radius-lg); display: flex; align-items: flex-end; padding: 22px; color: #fff; position: relative; overflow: hidden; }
.showcase-tile .em-big { position: absolute; right: 14px; top: 14px; font-size: 64px; opacity: .28; }
.showcase-tile .label { font-size: 13px; font-weight: 600; background: rgba(0,0,0,.28); padding: 6px 12px; border-radius: 999px; }
.showcase-copy .kicker { font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.showcase-copy h2 { font-size: 27px; margin-bottom: 12px; }
.showcase-copy p { color: var(--slate); font-size: 14.5px; margin-bottom: 20px; max-width: 440px; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; background: var(--cream); }
.pill:hover { border-color: var(--blue); }

.stats { padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-num { font-family: 'Space Grotesk'; font-size: 34px; font-weight: 700; color: var(--blue); }
.stat-label { font-size: 13.5px; color: var(--slate); margin-top: 4px; }

footer.site { background: var(--navy); color: #B7C5DA; padding: 54px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; font-size: 13.5px; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: #90A3C0; margin-bottom: 9px; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid #1C2E4A; margin-top: 40px; padding-top: 22px; font-size: 12.5px; color: #7188A9; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a { width: 34px; height: 34px; border-radius: 999px; background: #10233f; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.social-row a:hover { background: var(--blue); }
.whatsapp-fab { position: fixed; bottom: 22px; right: 22px; width: 54px; height: 54px; border-radius: 999px; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 50; color: #fff; }

.page { padding: 36px 0 70px; min-height: 60vh; }
.breadcrumb { font-size: 13px; color: var(--slate); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue); }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 26px; }
.count-pill { font-size: 13px; color: var(--slate); }

.browse-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.filter-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px; position: sticky; top: 84px; }
.filter-box h4 { font-size: 12.5px; color: var(--slate); margin-bottom: 10px; font-weight: 600; }
.filter-box .fgroup { margin-bottom: 20px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; cursor: pointer; }
.filter-option input { accent-color: var(--blue); }
.range-row { display: flex; gap: 8px; }
.range-row input { width: 100%; padding: 8px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 13px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-thumb { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; }
.product-thumb .stock-tag { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.35); color: #fff; padding: 4px 9px; border-radius: 999px; }
.product-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 11.5px; color: var(--slate); font-weight: 500; }
.product-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.product-seller { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 5px; }
.product-seller .v { color: var(--teal); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.product-price { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16.5px; }
.rating { font-size: 12px; color: var(--amber); font-weight: 600; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--slate); }
.empty-state .em { font-size: 44px; margin-bottom: 14px; }

.product-detail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.pd-thumb { aspect-ratio: 1/1; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 96px; }
.pd-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.pd-panel h1 { font-size: 22px; margin-bottom: 10px; }
.pd-meta { display: flex; gap: 14px; font-size: 13px; color: var(--slate); margin-bottom: 18px; flex-wrap: wrap; }
.pd-price { font-family: 'Space Grotesk'; font-size: 30px; font-weight: 700; }
.pd-divider { height: 1px; background: var(--line); margin: 18px 0; }
.seller-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.seller-row .avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.seller-row .name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.seller-row .sub { font-size: 12.5px; color: var(--slate); }
.verified-badge { color: var(--teal); font-size: 13px; }
.stock-line { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--teal-dark); font-weight: 600; margin-bottom: 18px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.trust-badge { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(0,194,168,.1); color: var(--teal-dark); border: 1px solid rgba(0,194,168,.25); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--cream); color: var(--slate); }
.pay-dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.delivery-box { background: var(--cream); border: 1px dashed var(--teal); border-radius: var(--radius-sm); padding: 14px; margin: 16px 0; }
.delivery-box-label { font-size: 12px; font-weight: 700; color: var(--teal-dark); margin-bottom: 8px; }
.delivery-content { white-space: pre-wrap; word-break: break-word; font-family: 'Courier New', monospace; font-size: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px; margin: 0 0 10px; }
.desc-block h3 { font-size: 15px; margin-bottom: 8px; }
.desc-block p { font-size: 14px; color: var(--slate); line-height: 1.65; }

.tracker { display: flex; margin: 30px 0 36px; }
.tstep { flex: 1; text-align: center; position: relative; }
.tstep .tdot { width: 40px; height: 40px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 16px; font-weight: 700; color: var(--slate); position: relative; z-index: 2; }
.tstep.done .tdot { background: var(--teal); border-color: var(--teal); color: #fff; }
.tstep.active .tdot { background: var(--blue); border-color: var(--blue); color: #fff; }
.tstep::before { content: ''; position: absolute; top: 20px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 1; }
.tstep:first-child::before { display: none; }
.tstep.done::before, .tstep.active::before { background: var(--teal); }
.tstep .tlabel { font-size: 13px; font-weight: 600; }
.tstep .tsub { font-size: 12px; color: var(--slate); margin-top: 2px; }
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; max-width: 640px; margin: 0 auto; }
.order-line { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.order-line:last-of-type { border-bottom: none; }
.escrow-note { display: flex; gap: 10px; background: rgba(0,194,168,.08); border: 1px solid rgba(0,194,168,.3); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 13px; color: var(--teal-dark); margin: 20px 0; }
.simulate-box { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px; margin-top: 22px; font-size: 12.5px; color: var(--slate); }
.simulate-box .stitle { font-weight: 700; color: var(--ink); margin-bottom: 4px; display: block; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab-btn { padding: 11px 6px; background: none; border: none; font-size: 14px; font-weight: 600; color: var(--slate); border-bottom: 2px solid transparent; margin-right: 18px; }
.tab-btn.active { color: var(--blue); border-color: var(--blue); }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.dash-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; }
.dash-stat .n { font-family: 'Space Grotesk'; font-size: 22px; font-weight: 700; }
.dash-stat .l { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.listing-row, .order-row, .payout-row { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; }
.listing-row .lthumb, .order-row .lthumb, .payout-row .lthumb { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.listing-row .linfo, .order-row .linfo, .payout-row .linfo { flex: 1; min-width: 0; }
.listing-row .lt { font-size: 14px; font-weight: 600; }
.listing-row .ls { font-size: 12.5px; color: var(--slate); }
.status-tag { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.status-paid, .status-pending-delivery { background: rgba(21,94,239,.12); color: var(--blue); }
.status-holding { background: rgba(199,123,18,.12); color: var(--amber); }
.status-delivered, .status-available { background: rgba(0,194,168,.12); color: var(--teal-dark); }
.status-withdrawn { background: rgba(0,194,168,.2); color: var(--teal-dark); }
.status-disputed, .status-refunded, .status-rejected { background: rgba(229,72,77,.12); color: var(--danger); }
.status-requested { background: rgba(21,94,239,.12); color: var(--blue); }
.status-approved { background: rgba(0,194,168,.12); color: var(--teal-dark); }
.status-pending { background: rgba(199,123,18,.12); color: var(--amber); }

/* ---- Cart icon ---- */
.cart-btn { position: relative; font-size: 19px; }
.cart-badge { position: absolute; top: -2px; right: -4px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* ---- Profile dropdown ---- */
.profile-wrap { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 30px rgba(0,0,0,.12); min-width: 200px; padding: 6px; z-index: 60; }
.dropdown-item { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.dropdown-item:hover { background: var(--cream); }
.dropdown-item.danger { color: var(--danger); }
.dropdown-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---- Category blocks (home) ---- */
.category-blocks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-block { border-radius: var(--radius-lg); padding: 22px; color: #fff; position: relative; overflow: hidden; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; }
.category-block .cb-em { position: absolute; right: 12px; top: 10px; font-size: 46px; opacity: .3; }
.category-block .cb-title { font-family: 'Space Grotesk'; font-weight: 700; font-size: 17px; }
.category-block .cb-sub { font-size: 12px; opacity: .85; margin-top: 3px; }
.category-block:hover { transform: translateY(-2px); transition: transform .15s; }

/* ---- Offer list (on a catalog product page) ---- */
.offer-row { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 10px; flex-wrap: wrap; }
.offer-row .oseller { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 180px; }
.offer-row .oseller .avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; flex-shrink: 0; }
.offer-row .oname { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.offer-row .ometa { font-size: 12px; color: var(--slate); }
.offer-row .oprice { font-family: 'Space Grotesk'; font-weight: 700; font-size: 17px; min-width: 80px; text-align: right; }

/* ---- Legal pages ---- */
.legal-page h2 { font-size: 19px; margin: 28px 0 10px; }
.legal-page p, .legal-page li { font-size: 14px; color: var(--slate); line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
.legal-page .updated { font-size: 12.5px; color: var(--slate); margin-bottom: 26px; }

/* ---- Promo banner + newsletter (home) ---- */
.promo-banner { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(14,165,233,.10)); border: 1px solid rgba(34,197,94,.3); border-radius: var(--radius-lg); padding: 22px 26px; flex-wrap: wrap; }
.promo-em { font-size: 34px; flex-shrink: 0; }
.promo-title { font-family: 'Space Grotesk'; font-weight: 700; font-size: 18px; }
.promo-sub { font-size: 13.5px; color: var(--slate); margin-top: 3px; }
.promo-banner .btn { margin-left: auto; flex-shrink: 0; }
.newsletter-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; flex-wrap: wrap; }
.newsletter-title { font-family: 'Space Grotesk'; font-weight: 700; font-size: 18px; }
.newsletter-sub { font-size: 13.5px; color: var(--slate); margin-top: 3px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input { padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 14px; min-width: 220px; }

/* ---- Real product photos (uploaded by admin) ---- */
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb, .pd-thumb, .lthumb { overflow: hidden; }
.field input[type="file"] { padding: 9px 10px; border-radius: var(--radius-sm); border: 1px dashed var(--line); background: var(--cream); color: var(--ink); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--cream); color: var(--ink); font-size: 14px; font-family: inherit; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { resize: vertical; min-height: 80px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; max-width: 620px; }
.payout-summary { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 22px; }
.payout-summary .p-num { font-family: 'Space Grotesk'; font-size: 22px; font-weight: 700; }
.payout-summary .p-label { font-size: 12.5px; color: var(--slate); }

.auth-shell { max-width: 400px; margin: 40px auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.auth-shell h1 { font-size: 22px; margin-bottom: 6px; }
.auth-shell .sub { font-size: 13.5px; color: var(--slate); margin-bottom: 22px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--slate); margin-top: 16px; }
.auth-switch a { color: var(--blue); font-weight: 600; }
.demo-note { font-size: 12px; color: var(--slate); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 16px; text-align: left; }
.error-note { font-size: 13px; color: var(--danger); background: rgba(229,72,77,.08); border: 1px solid rgba(229,72,77,.3); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 12px; }

.toast-host { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--ink); color: var(--cream); padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.spinner-row { text-align: center; padding: 60px 20px; color: var(--slate); }

@media (max-width: 880px) {
  nav.main-nav, .header-search { display: none; }
  .showcase-grid { grid-template-columns: 1fr; }
  .browse-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .payout-summary { grid-template-columns: 1fr; }
  .category-blocks { grid-template-columns: 1fr 1fr; }
}
