/* ============================================================
   MAGSAYSAY MARKETPLACE — Design Foundation
   Borrows the Unioil visual system (orange #FF6700, Saira
   Condensed display, warm-gray neutrals). Adds role accents:
   teal (seller) and purple (admin). Buyer = orange.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@500;600;700;800;900&family=Saira:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* ---- Brand orange (buyer / platform) ---- */
  --unioil-orange:       #FF6700;
  --unioil-orange-press: #E25500;
  --unioil-orange-hover: #FF7B1F;
  --unioil-orange-dark:  #C24800;
  --unioil-orange-tint:  #FFE6D3;
  --unioil-orange-tint2: #FFF3E8;

  /* ---- Role accents ---- */
  --seller:        #0D9488;
  --seller-hover:  #0F766E;
  --seller-tint:   #E0F2F1;
  --seller-tint2:  #F0FAF9;
  --admin:         #7C3AED;
  --admin-hover:   #6D28D9;
  --admin-tint:    #EDE7FB;
  --admin-tint2:   #F6F2FE;

  --accent:        var(--unioil-orange);
  --accent-hover:  var(--unioil-orange-hover);
  --accent-press:  var(--unioil-orange-press);
  --accent-tint:   var(--unioil-orange-tint);
  --accent-tint2:  var(--unioil-orange-tint2);
  --accent-ring:   rgba(255,103,0,.32);

  /* ---- Neutrals ---- */
  --ink-900: #14171C; --ink-800: #1F242C; --ink-700: #353B45;
  --ink-600: #555C68; --ink-500: #7A828F; --ink-400: #A8AEB8;
  --ink-300: #CFD3DA; --ink-200: #E5E8EC; --ink-100: #F1F3F5;
  --ink-050: #F8F9FA; --ink-000: #FFFFFF;

  --fuel-91: #2E7D32; --fuel-95: #B8362C; --fuel-97: #1565C0; --fuel-diesel: #F5B100;

  --success: #1F8A4C; --success-tint: #E2F5EA;
  --warning: #E29900; --warning-tint: #FFF4D9;
  --danger:  #C8362A; --danger-tint:  #FBE5E2;
  --info:    #1565C0; --info-tint:    #E1ECFA;

  --bg-app: var(--ink-050); --bg-surface: #fff; --bg-inset: var(--ink-100);
  --fg-1: var(--ink-900); --fg-2: var(--ink-600); --fg-3: var(--ink-500); --fg-4: var(--ink-400);
  --border-1: var(--ink-200); --border-2: var(--ink-300);

  --font-display: 'Saira Condensed', 'Oswald', Impact, sans-serif;
  --font-sans: 'Saira', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius-xs: 4px; --radius-sm: 6px; --radius-md: 10px;
  --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(20,23,28,.06), 0 1px 1px rgba(20,23,28,.04);
  --shadow-2: 0 4px 14px rgba(20,23,28,.08), 0 1px 2px rgba(20,23,28,.05);
  --shadow-3: 0 12px 30px rgba(20,23,28,.12), 0 2px 6px rgba(20,23,28,.06);
  --shadow-4: 0 24px 60px rgba(20,23,28,.18), 0 6px 14px rgba(20,23,28,.08);
  --shadow-accent: 0 8px 22px var(--accent-ring);

  --ease-out: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 320ms;
}

[data-role="seller"] {
  --accent: var(--seller); --accent-hover: var(--seller-hover); --accent-press: var(--seller-hover);
  --accent-tint: var(--seller-tint); --accent-tint2: var(--seller-tint2); --accent-ring: rgba(13,148,136,.30);
}
[data-role="admin"] {
  --accent: var(--admin); --accent-hover: var(--admin-hover); --accent-press: var(--admin-hover);
  --accent-tint: var(--admin-tint); --accent-tint2: var(--admin-tint2); --accent-ring: rgba(124,58,237,.30);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.45; color: var(--fg-1); background: var(--bg-app); }
button { font-family: inherit; }
::selection { background: var(--accent-tint); }

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--ink-400); background-clip: content-box; }

.display { font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; text-transform: uppercase; margin: 0; }
.h-dpl { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; line-height: 1.05; text-transform: uppercase; margin: 0; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.muted { color: var(--fg-2); }
.muted-3 { color: var(--fg-3); }

.btn { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 11px 20px; border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  transition: background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--ink-100); color: var(--ink-900); }
.btn-secondary:hover { background: var(--ink-200); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-tint2); }
.btn-outline { background: #fff; color: var(--ink-800); border-color: var(--border-2); }
.btn-outline:hover { background: var(--ink-050); border-color: var(--ink-400); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-ghost { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn-lg { padding: 14px 26px; font-size: 14px; }
.btn-sm { padding: 8px 14px; font-size: 11.5px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 600; font-family: var(--font-sans); border: 1.5px solid var(--border-1); background: #fff; color: var(--fg-2);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out); white-space: nowrap; }
.chip:hover { border-color: var(--ink-400); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.is-active.chip-soft { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); }
.chip-dismiss { background: var(--accent-tint); border-color: transparent; color: var(--accent-press); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; font-family: var(--font-sans); letter-spacing: .03em; text-transform: uppercase; }
.badge-orange { background: var(--unioil-orange-tint); color: var(--unioil-orange-dark); }
.badge-green  { background: var(--success-tint); color: var(--success); }
.badge-blue   { background: var(--info-tint); color: var(--info); }
.badge-amber  { background: var(--warning-tint); color: #9a6a00; }
.badge-red    { background: var(--danger-tint); color: var(--danger); }
.badge-teal   { background: var(--seller-tint); color: var(--seller-hover); }
.badge-purple { background: var(--admin-tint); color: var(--admin-hover); }
.badge-gray   { background: var(--ink-100); color: var(--fg-2); }
.badge-solid-orange { background: var(--unioil-orange); color: #fff; }
.badge-solid-red { background: var(--danger); color: #fff; }

.card { background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.card-pad { padding: 22px; }
.card-hover { transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base); }
.card-hover:hover { box-shadow: var(--shadow-3); border-color: var(--border-2); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 13px; font-weight: 600; font-family: var(--font-sans); color: var(--ink-700); }
.input, .select, .textarea { width: 100%; font-family: var(--font-body); font-size: 14.5px; color: var(--ink-900);
  background: #fff; border: 1.5px solid var(--border-2); border-radius: var(--radius-md); padding: 12px 14px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base); outline: none; }
.input::placeholder, .textarea::placeholder { color: var(--fg-4); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input.has-icon { padding-left: 42px; }
.input-wrap { position: relative; }
.input-wrap > .input-ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.input-wrap > .input-trail { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--fg-3); cursor: pointer; background: none; border: none; }
.input.is-error { border-color: var(--danger); }
.input.is-error:focus { box-shadow: 0 0 0 3px rgba(200,54,42,.18); }
.field-error { font-size: 12.5px; color: var(--danger); display: flex; align-items: center; gap: 5px; }
.textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237A828F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }

.toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--ink-300); border: none; position: relative; cursor: pointer; transition: background var(--dur-base) var(--ease-out); flex: none; padding: 0; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--dur-base) var(--ease-out); }
.toggle.is-on { background: var(--accent); }
.toggle.is-on::after { transform: translateX(18px); }
.toggle.is-locked { background: var(--ink-200); cursor: not-allowed; }
.toggle.is-locked.is-on { background: var(--ink-400); }

.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-family: var(--font-sans); font-weight: 700; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--fg-3); padding: 12px 14px; border-bottom: 1px solid var(--border-1); white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--border-1); vertical-align: middle; }
.tbl tbody tr { transition: background var(--dur-fast); }
.tbl tbody tr:hover { background: var(--accent-tint2); }
.tbl tbody tr:last-child td { border-bottom: none; }

.avatar { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-sans);
  font-weight: 700; color: #fff; flex: none; overflow: hidden; }

.roofline { height: 6px; background: var(--unioil-orange); width: 100%; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border-1); }
.tab { background: none; border: none; padding: 12px 16px; font-family: var(--font-sans); font-weight: 700; font-size: 13.5px;
  color: var(--fg-3); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; transition: color var(--dur-fast); white-space: nowrap; }
.tab:hover { color: var(--fg-1); }
.tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.skel { background: linear-gradient(100deg, var(--ink-200) 30%, var(--ink-100) 50%, var(--ink-200) 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; border-radius: var(--radius-sm); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.imgph { background: var(--ink-100); display: flex; align-items: center; justify-content: center; color: var(--ink-400); position: relative; overflow: hidden; }
.imgph[data-tint="1"] { background: linear-gradient(135deg, #FFE6D3, #FFD2B0); color: #C24800; }
.imgph[data-tint="2"] { background: linear-gradient(135deg, #E0F2F1, #B8E0DC); color: #0F766E; }
.imgph[data-tint="3"] { background: linear-gradient(135deg, #E1ECFA, #C3DAF2); color: #1565C0; }
.imgph[data-tint="4"] { background: linear-gradient(135deg, #EDE7FB, #D8C9F5); color: #6D28D9; }
.imgph[data-tint="5"] { background: linear-gradient(135deg, #F1F3F5, #DFE3E8); color: #7A828F; }
.imgph[data-tint="6"] { background: linear-gradient(135deg, #FFF4D9, #FBE3A8); color: #9a6a00; }

.divider { height: 1px; background: var(--border-1); border: none; margin: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 var(--accent-ring); } 70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 10%,90%{transform:translateX(-1px);} 20%,80%{transform:translateX(2px);} 30%,50%,70%{transform:translateX(-4px);} 40%,60%{transform:translateX(4px);} }
.fade-up { animation: fadeUp var(--dur-slow) var(--ease-out) both; }
.fade-in { animation: fadeIn var(--dur-base) var(--ease-out) both; }
.shake { animation: shake .5s; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.spinner-accent { border-color: var(--accent-tint); border-top-color: var(--accent); }

.overlay { position: fixed; inset: 0; background: rgba(20,23,28,.52); display: flex; align-items: center; justify-content: center; z-index: 200; animation: fadeIn var(--dur-base) var(--ease-out); }
.modal { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-4); animation: scaleIn var(--dur-base) var(--ease-out); max-height: 92vh; overflow: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 92vw; background: #fff; box-shadow: var(--shadow-4); z-index: 200; overflow: auto; animation: drawerIn var(--dur-slow) var(--ease-out); }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.stars { display: inline-flex; gap: 1px; color: var(--unioil-orange); }

.prog { height: 8px; border-radius: 999px; background: var(--ink-200); overflow: hidden; }
.prog > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width var(--dur-slow) var(--ease-out); }

.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }
.grow { flex: 1; }
.wrap { flex-wrap: wrap; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.click { cursor: pointer; }
.nowrap { white-space: nowrap; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   MARKETPLACE WEBCLIENT — Page-specific styles
   ============================================================ */

/* ---- Buyer Header ---- */
.mkt-cat-btn { background: none; border: none; color: var(--fg-2); padding: 10px 14px; font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: color var(--dur-fast); border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px; }
.mkt-cat-btn:hover { color: var(--unioil-orange); }
.mkt-cat-btn.is-active { color: var(--unioil-orange); border-bottom-color: var(--unioil-orange); }

/* ---- Hero Carousel ---- */
.hero { position: relative; height: 420px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease-out); display: flex; align-items: center; padding: 0 64px; }
.hero-slide.is-active { opacity: 1; }
.hero-slide-1 { background: linear-gradient(135deg, #1a0a00 0%, #3a1400 50%, #FF6700 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #001a2c 0%, #00325a 50%, #1565C0 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #001a18 0%, #003530 50%, #0D9488 100%); }
.hero-content { color: #fff; max-width: 500px; }
.hero-eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.hero-title { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 12px; }
.hero-sub { font-size: 15px; opacity: .8; margin: 0 0 28px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background var(--dur-fast), transform var(--dur-fast); padding: 0; }
.hero-dot.is-active { background: #fff; transform: scale(1.25); }
.hero-image-area { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 280px; height: 280px; border-radius: var(--radius-xl); }

/* ---- Flash Sale Banner ---- */
.flash-bar { background: linear-gradient(90deg, #FF6700, #FF3B00); color: #fff; padding: 14px 24px; display: flex; align-items: center; gap: 20px; }
.flash-countdown { display: flex; gap: 8px; }
.flash-unit { background: rgba(0,0,0,.25); border-radius: var(--radius-sm); padding: 4px 10px; font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: 1; min-width: 48px; text-align: center; }
.flash-unit span { display: block; font-family: var(--font-body); font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-top: 2px; }

/* ---- Section ---- */
.section { padding: 40px 24px; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-title { font-family: var(--font-display); font-weight: 900; font-size: 28px; text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.section-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; margin-left: auto; }
.section-link:hover { text-decoration: underline; }

/* ---- Category Strip ---- */
.cat-strip { display: flex; gap: 12px; overflow-x: auto; padding: 0 24px 8px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-card { flex: none; width: 100px; text-align: center; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 20px 12px 14px; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.cat-card:hover { box-shadow: var(--shadow-2); border-color: var(--accent); transform: translateY(-2px); }
.cat-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--accent); }
.cat-name { font-family: var(--font-sans); font-weight: 700; font-size: 12px; color: var(--ink-700); }

/* ---- Product Grid ---- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.prod-grid-4 { grid-template-columns: repeat(4, 1fr); }
.prod-grid-6 { grid-template-columns: repeat(6, 1fr); }
.prod-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--dur-base) var(--ease-out); }
.prod-card:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); border-color: var(--border-2); }
.prod-img { width: 100%; aspect-ratio: 1; position: relative; }
.prod-badge-wrap { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.prod-info { padding: 14px; }
.prod-name { font-size: 13.5px; font-weight: 600; color: var(--ink-800); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; line-height: 1.35; }
.prod-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--accent); letter-spacing: -.01em; }
.prod-was { font-size: 12px; color: var(--fg-3); text-decoration: line-through; margin-left: 6px; }
.prod-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--fg-3); }
.prod-sold { background: var(--ink-100); border-radius: var(--radius-pill); padding: 3px 8px; font-size: 11.5px; font-weight: 600; }
.prod-cod { background: var(--success-tint); color: var(--success); border-radius: var(--radius-pill); padding: 3px 8px; font-size: 11px; font-weight: 600; }
.prod-ship { color: var(--info); font-size: 11.5px; font-weight: 600; }

/* ---- Search page ---- */
.search-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px; align-items: start; }
.filter-sidebar { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 80px; }
.filter-section { margin-bottom: 22px; }
.filter-title { font-family: var(--font-sans); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 13.5px; }
.filter-option input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-input { width: 90px; padding: 8px 12px; border: 1.5px solid var(--border-2); border-radius: var(--radius-md); font-size: 13px; outline: none; font-family: var(--font-body); }
.price-input:focus { border-color: var(--accent); }
.ai-band { background: linear-gradient(135deg, var(--ink-900), var(--ink-800)); color: #fff; border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; }
.ai-chip { background: var(--accent); color: #fff; border-radius: var(--radius-pill); padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sort-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sort-select { padding: 8px 12px; border: 1.5px solid var(--border-2); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 13.5px; outline: none; cursor: pointer; }
.sort-select:focus { border-color: var(--accent); }
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 28px; justify-content: center; }
.page-btn { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1.5px solid var(--border-1); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; color: var(--fg-2); transition: all var(--dur-fast); }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---- PDP ---- */
.pdp-layout { display: grid; grid-template-columns: 1fr 440px; gap: 32px; padding: 32px 24px; max-width: 1200px; margin: 0 auto; }
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; }
.pdp-main-img { width: 100%; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink-050); }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumb { width: 72px; height: 72px; border-radius: var(--radius-md); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--dur-fast); }
.pdp-thumb.is-active { border-color: var(--accent); }
.pdp-price-block { margin-bottom: 20px; }
.pdp-price { font-family: var(--font-display); font-weight: 900; font-size: 42px; color: var(--accent); line-height: 1; letter-spacing: -.02em; }
.pdp-was { font-size: 16px; color: var(--fg-3); text-decoration: line-through; margin-left: 10px; }
.pdp-disc { background: var(--danger); color: #fff; border-radius: var(--radius-pill); padding: 3px 10px; font-size: 12px; font-weight: 700; margin-left: 10px; }
.pdp-qty { display: flex; align-items: center; gap: 0; border: 1.5px solid var(--border-2); border-radius: var(--radius-md); overflow: hidden; width: fit-content; }
.pdp-qty-btn { width: 36px; height: 36px; border: none; background: var(--ink-050); cursor: pointer; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.pdp-qty-btn:hover { background: var(--ink-100); }
.pdp-qty-val { width: 48px; text-align: center; border: none; border-left: 1px solid var(--border-1); border-right: 1px solid var(--border-1); padding: 8px 0; font-family: var(--font-mono); font-size: 15px; font-weight: 600; outline: none; }
.pdp-variant-btn { padding: 8px 16px; border: 2px solid var(--border-2); border-radius: var(--radius-md); background: #fff; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 13px; transition: all var(--dur-fast); }
.pdp-variant-btn.is-active { border-color: var(--accent); background: var(--accent-tint2); color: var(--accent); }
.pdp-variant-btn:disabled { opacity: .4; cursor: not-allowed; }
.pdp-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pdp-seller-card { background: var(--ink-050); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 16px; margin-top: 20px; }
.pdp-tabs-panel { padding: 24px 0; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; padding: 24px; max-width: 1100px; margin: 0 auto; }
.cart-group { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); margin-bottom: 16px; overflow: hidden; }
.cart-group-header { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border-1); background: var(--ink-050); }
.cart-item-row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--border-1); }
.cart-item-row:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; flex: none; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--ink-800); }
.cart-item-variant { font-size: 12.5px; color: var(--fg-3); }
.cart-item-price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--accent); }
.order-summary { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 80px; }
.order-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: var(--fg-2); }
.order-row.total { color: var(--ink-900); font-weight: 700; font-size: 16px; border-top: 1px solid var(--border-1); margin-top: 8px; padding-top: 14px; }
.voucher-input { display: flex; gap: 8px; margin-top: 14px; }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; padding: 24px; max-width: 1100px; margin: 0 auto; }
.checkout-section { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.checkout-section-title { font-family: var(--font-sans); font-weight: 700; font-size: 15px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.delivery-option { border: 2px solid var(--border-1); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all var(--dur-fast); margin-bottom: 10px; }
.delivery-option.is-active { border-color: var(--accent); background: var(--accent-tint2); }
.payment-option { border: 2px solid var(--border-1); border-radius: var(--radius-md); padding: 14px 16px; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all var(--dur-fast); margin-bottom: 10px; }
.payment-option.is-active { border-color: var(--accent); background: var(--accent-tint2); }

/* ---- Payment Screen ---- */
.pay-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink-050); padding: 24px; }
.pay-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-4); width: 100%; max-width: 440px; overflow: hidden; }
.pay-state { display: none; }
.pay-state.is-active { display: block; }
.pay-header { background: var(--ink-900); color: #fff; padding: 24px; text-align: center; }
.gcash-logo { background: #0074D4; color: #fff; padding: 20px; text-align: center; }
.gcash-amount { font-family: var(--font-display); font-size: 52px; font-weight: 900; }
.pay-processing { padding: 48px 32px; text-align: center; }
.pay-success { padding: 48px 32px; text-align: center; }
.pay-success-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--success-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--success); }
.pay-failed { padding: 48px 32px; text-align: center; }
.pay-failed-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--danger-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--danger); }

/* ---- Tracking ---- */
.tracking-layout { max-width: 760px; margin: 32px auto; padding: 0 24px; }
.track-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2); }
.track-header { background: var(--ink-900); color: #fff; padding: 24px 28px; }
.milestone-list { padding: 24px 28px; }
.milestone { display: flex; gap: 16px; position: relative; }
.milestone:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 38px; width: 2px; bottom: -10px; background: var(--border-1); }
.milestone-dot { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; border: 2.5px solid var(--border-1); background: #fff; color: var(--fg-3); }
.milestone-dot.done { background: var(--success); border-color: var(--success); color: #fff; }
.milestone-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; animation: pulseRing 2s infinite; }
.milestone-body { padding-bottom: 24px; }
.milestone-label { font-weight: 700; font-size: 14.5px; margin-bottom: 4px; }
.milestone-time { font-size: 12.5px; color: var(--fg-3); }
.map-placeholder { height: 220px; background: linear-gradient(135deg, #e8f4fd, #c3daf2); display: flex; align-items: center; justify-content: center; color: var(--info); }

/* ---- Auth ---- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand { background: var(--ink-900); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; color: #fff; position: relative; overflow: hidden; }
.auth-brand::before { content: ''; position: absolute; inset: -60px; background: radial-gradient(circle at 30% 40%, rgba(255,103,0,.18), transparent 60%); }
.auth-form-panel { background: #fff; display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-form-wrap { width: 100%; max-width: 440px; }
.auth-title { font-family: var(--font-display); font-weight: 900; font-size: 34px; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 6px; }
.auth-sub { font-size: 14px; color: var(--fg-2); margin: 0 0 32px; }
.strength-bar { height: 4px; border-radius: 999px; background: var(--ink-200); overflow: hidden; margin-top: 6px; }
.strength-fill { height: 100%; border-radius: 999px; transition: width .3s, background .3s; }
.role-selector { display: flex; gap: 10px; flex-wrap: wrap; }
.role-chip { flex: 1; min-width: 100px; padding: 12px 16px; border: 2px solid var(--border-2); border-radius: var(--radius-lg); background: #fff; cursor: pointer; text-align: center; transition: all var(--dur-fast); }
.role-chip.is-active { border-color: var(--accent); background: var(--accent-tint2); }
.role-chip-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; color: var(--accent); }
.otp-inputs { display: flex; gap: 12px; justify-content: center; }
.otp-input { width: 52px; height: 60px; border: 2px solid var(--border-2); border-radius: var(--radius-md); text-align: center; font-size: 24px; font-weight: 700; font-family: var(--font-mono); outline: none; transition: border-color var(--dur-fast); }
.otp-input:focus { border-color: var(--accent); }

/* ---- Notification Center ---- */
.notif-layout { max-width: 820px; margin: 32px auto; padding: 0 24px; }
.notif-channel-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--border-1); }
.notif-channel-row:last-child { border-bottom: none; }
.notif-matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.notif-matrix th { text-align: center; padding: 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--border-1); }
.notif-matrix th:first-child { text-align: left; }
.notif-matrix td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--border-1); }
.notif-matrix td:first-child { text-align: left; font-weight: 500; }
.notif-matrix tr:last-child td { border-bottom: none; }

/* ---- Seller Sidebar ---- */
.seller-shell { display: flex; min-height: 100vh; }
.seller-sidebar { width: 224px; flex: none; background: var(--ink-900); position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; display: flex; flex-direction: column; }
.seller-sidebar-logo { padding: 20px 20px 16px; border-bottom: 1px solid var(--ink-800); }
.seller-sidebar-logo a { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--accent); text-decoration: none; letter-spacing: -.01em; }
.seller-sidebar-logo .seller-id { font-size: 11.5px; color: var(--ink-400); margin-top: 3px; }
.seller-nav { padding: 12px 10px; flex: 1; }
.seller-nav-label { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-600); padding: 12px 10px 6px; }
.seller-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--ink-400); text-decoration: none; font-family: var(--font-sans); font-weight: 600; font-size: 13.5px; transition: all var(--dur-fast); margin-bottom: 2px; }
.seller-nav-link:hover { background: var(--ink-800); color: var(--ink-200); }
.seller-nav-link.is-active { background: var(--accent); color: #fff; }
.seller-nav-link .nav-badge { margin-left: auto; background: var(--danger); color: #fff; border-radius: var(--radius-pill); padding: 2px 7px; font-size: 10px; font-weight: 700; }
.seller-main { margin-left: 224px; flex: 1; min-width: 0; }
.seller-topbar { display: flex; align-items: center; gap: 16px; padding: 0 28px; height: 60px; background: #fff; border-bottom: 1px solid var(--border-1); position: sticky; top: 0; z-index: 50; }
.seller-topbar-title { font-family: var(--font-sans); font-weight: 700; font-size: 17px; }
.seller-content { padding: 28px; }

/* ---- KPI Cards ---- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 20px; }
.kpi-label { font-size: 12px; font-weight: 600; font-family: var(--font-sans); color: var(--fg-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.kpi-value { font-family: var(--font-display); font-weight: 900; font-size: 34px; color: var(--ink-900); line-height: 1; letter-spacing: -.01em; }
.kpi-sub { font-size: 12.5px; color: var(--fg-3); margin-top: 6px; }
.kpi-delta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; }
.kpi-delta.up { color: var(--success); }
.kpi-delta.dn { color: var(--danger); }
.spark-wrap { height: 40px; margin-top: 10px; }

/* ---- Tier Card ---- */
.tier-card { background: linear-gradient(135deg, var(--ink-900), var(--ink-800)); color: #fff; border-radius: var(--radius-xl); padding: 24px; position: relative; overflow: hidden; }
.tier-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.04); }
.tier-badge-large { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border-radius: var(--radius-pill); padding: 8px 18px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.tier-progress { height: 10px; background: rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.tier-progress-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width .6s var(--ease-out); }

/* ---- Seller Products table actions ---- */
.bulk-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--accent-tint2); border: 1px solid var(--accent); border-radius: var(--radius-md); margin-bottom: 16px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.status-dot.active { background: var(--success); }
.status-dot.inactive { background: var(--fg-4); }
.status-dot.draft { background: var(--warning); }
.status-dot.outofstock { background: var(--danger); }

/* ---- Analytics ---- */
.chart-area { height: 220px; background: var(--ink-050); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.chart-area canvas { display: block; }
.donut-wrap { position: relative; display: flex; align-items: center; justify-content: center; height: 200px; }
.funnel-bar { display: flex; flex-direction: column; gap: 8px; }
.funnel-row { display: flex; align-items: center; gap: 12px; }
.funnel-label { font-size: 13px; width: 100px; color: var(--fg-2); flex: none; }
.funnel-track { flex: 1; height: 22px; background: var(--ink-100); border-radius: var(--radius-pill); overflow: hidden; }
.funnel-fill { height: 100%; background: var(--accent); border-radius: var(--radius-pill); transition: width .5s var(--ease-out); }
.funnel-num { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-3); width: 60px; text-align: right; }

/* ---- Payouts ---- */
.payout-hero { background: linear-gradient(135deg, var(--ink-900), var(--ink-800)); color: #fff; border-radius: var(--radius-xl); padding: 28px; margin-bottom: 20px; position: relative; overflow: hidden; }
.payout-amt { font-family: var(--font-display); font-weight: 900; font-size: 52px; letter-spacing: -.02em; line-height: 1; }
.payout-countdown { display: flex; gap: 12px; margin-top: 20px; }
.payout-unit { text-align: center; background: rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 10px 18px; }
.payout-unit-val { font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1; }
.payout-unit-lbl { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-top: 3px; }

/* ---- Seller Settings ---- */
.settings-panel { display: none; }
.settings-panel.is-active { display: block; }

/* ---- Fulfillment ---- */
.fulfill-stage-bar { display: flex; align-items: center; margin-bottom: 28px; }
.fulfill-stage { flex: 1; text-align: center; position: relative; }
.fulfill-stage-dot { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--border-2); background: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; color: var(--fg-3); font-family: var(--font-sans); font-weight: 700; font-size: 13px; transition: all var(--dur-base); }
.fulfill-stage.done .fulfill-stage-dot { background: var(--success); border-color: var(--success); color: #fff; }
.fulfill-stage.active .fulfill-stage-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-ring); }
.fulfill-stage-name { font-size: 11.5px; font-weight: 600; color: var(--fg-3); }
.fulfill-stage.active .fulfill-stage-name { color: var(--accent); }
.fulfill-stage.done .fulfill-stage-name { color: var(--success); }
.fulfill-connector { height: 2px; background: var(--border-1); flex: 1; margin: 0 -1px; position: relative; top: -18px; }
.fulfill-connector.done { background: var(--success); }
.order-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 18px; margin-bottom: 12px; transition: all var(--dur-fast); }
.order-card:hover { box-shadow: var(--shadow-2); }
.order-card.is-selected { border-color: var(--accent); background: var(--accent-tint2); }

/* ---- Add Product ---- */
.product-form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.quality-ring-wrap { display: flex; flex-direction: column; align-items: center; padding: 28px 20px; background: var(--ink-050); border-radius: var(--radius-xl); }
.quality-ring { position: relative; width: 120px; height: 120px; }
.quality-ring svg { transform: rotate(-90deg); }
.quality-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.quality-score { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: var(--ink-900); line-height: 1; }
.quality-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-3); }
.preview-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; }
.preview-img { height: 200px; width: 100%; }
.preview-info { padding: 14px; }

/* ---- Promotions ---- */
.promo-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 16px; transition: all var(--dur-fast); }
.promo-card:hover { box-shadow: var(--shadow-2); }
.promo-icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.create-drawer-wrap { padding: 24px; }
.drawer-step { display: none; }
.drawer-step.is-active { display: block; }
.step-indicator { display: flex; gap: 8px; align-items: center; margin-bottom: 24px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-2); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--fg-3); }
.step-dot.done { background: var(--success); border-color: var(--success); color: #fff; }
.step-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border-1); }
.step-line.done { background: var(--success); }

/* ---- AI Assistant ---- */
.ai-shell { max-width: 840px; margin: 0 auto; }
.ai-hero { background: linear-gradient(135deg, var(--ink-900) 0%, #1a1040 100%); border-radius: var(--radius-xl); padding: 36px; color: #fff; margin-bottom: 24px; position: relative; overflow: hidden; }
.ai-hero::before { content: ''; position: absolute; top: -40px; right: -40px; width: 220px; height: 220px; border-radius: 50%; background: rgba(124,58,237,.2); }
.ai-upload-zone { border: 2px dashed var(--border-2); border-radius: var(--radius-lg); padding: 40px; text-align: center; cursor: pointer; transition: all var(--dur-fast); }
.ai-upload-zone:hover { border-color: var(--accent); background: var(--accent-tint2); }
.ai-state { display: none; }
.ai-state.is-active { display: block; }
.ai-loading-bar { height: 4px; background: var(--ink-200); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.ai-loading-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--admin)); width: 0%; transition: width .4s; animation: aiLoad 2s ease-in-out infinite; }
@keyframes aiLoad { 0% { width: 0%; } 50% { width: 75%; } 100% { width: 95%; } }
.ai-output { background: var(--ink-050); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 22px; }

/* ---- Seller Application Wizard ---- */
.apply-shell { max-width: 680px; margin: 0 auto; padding: 32px 24px; }
.wizard-progress { display: flex; gap: 0; margin-bottom: 36px; }
.wizard-step { flex: 1; text-align: center; position: relative; }
.wizard-step-num { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--border-2); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: var(--fg-3); margin: 0 auto 8px; transition: all var(--dur-base); }
.wizard-step.done .wizard-step-num { background: var(--success); border-color: var(--success); color: #fff; }
.wizard-step.active .wizard-step-num { background: var(--accent); border-color: var(--accent); color: #fff; }
.wizard-step-label { font-size: 11px; color: var(--fg-3); font-weight: 600; }
.wizard-step.active .wizard-step-label { color: var(--accent); }
.wizard-connector { position: absolute; top: 18px; left: 50%; right: -50%; height: 2px; background: var(--border-1); z-index: 0; }
.wizard-connector.done { background: var(--success); }
.wizard-panel { display: none; }
.wizard-panel.is-active { display: block; animation: fadeUp .3s var(--ease-out) both; }

/* ---- Inventory ---- */
.stock-alert { background: var(--danger-tint); border: 1px solid var(--danger); border-radius: var(--radius-md); padding: 12px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--danger); font-size: 13.5px; font-weight: 600; }
.receive-drawer { padding: 24px; }

/* ---- Footer ---- */
.mkt-footer { background: var(--ink-900); color: var(--ink-400); padding: 48px 24px 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--accent); }
.footer-tagline { font-size: 13px; margin-top: 8px; color: var(--ink-500); line-height: 1.5; }
.footer-heading { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--ink-400); text-decoration: none; font-size: 13.5px; transition: color var(--dur-fast); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink-800); padding-top: 20px; font-size: 12.5px; }
.footer-payments { display: flex; gap: 8px; }
.footer-pay-chip { background: var(--ink-800); border: 1px solid var(--ink-700); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 11px; font-weight: 600; color: var(--ink-400); }

/* ---- Seller Dashboard Orders + Inventory ---- */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.dash-grid-3 { grid-template-columns: 2fr 1fr; }
.inv-alert-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-1); }
.inv-alert-item:last-child { border-bottom: none; }

/* ============================================================
   PIXEL-PERFECT OVERRIDES & ADDITIONS
   ============================================================ */

/* ---- Hero Card (orange gradient card, not dark carousel) ---- */
.hero-card { background: linear-gradient(115deg, var(--unioil-orange), #FF8A3D); border-radius: var(--radius-xl); padding: 36px; min-height: 230px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; margin-bottom: 28px; }
.hero-card-blur { position: absolute; right: 220px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); filter: blur(60px); pointer-events: none; }
.hero-card-content { position: relative; z-index: 1; max-width: 420px; }
.hero-card-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); letter-spacing: .1em; text-transform: uppercase; }
.hero-card-badge { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.hero-card-title { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: #fff; margin: 0 0 10px; line-height: 1.1; text-transform: uppercase; }
.hero-card-sub { color: rgba(255,255,255,.85); font-size: 14.5px; margin: 0 0 20px; line-height: 1.5; }
.hero-card-cta { background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(4px); border-radius: var(--radius-md); padding: 10px 20px; font-weight: 700; font-size: 14px; font-family: var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background var(--dur-base); }
.hero-card-cta:hover { background: rgba(255,255,255,.25); }
.hero-card-image { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-card-img-wrap { background: rgba(255,255,255,.18); border-radius: var(--radius-xl); padding: 16px; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.hero-card-img-label { font-size: 13.5px; font-weight: 700; color: #fff; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.hero-card-img-price { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); text-align: center; margin-top: 2px; }
.hero-card-dots { display: flex; gap: 8px; }
.hero-card-dot { height: 6px; border-radius: 99px; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: all .25s; padding: 0; }
.hero-card-dot.is-active { background: #fff; width: 22px !important; }

/* ---- Flash Sale Card (card with dark header) ---- */
.flash-card-header { background: var(--ink-900); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.flash-card-title { display: flex; align-items: center; gap: 12px; }
.flash-card-countdown { display: flex; align-items: center; gap: 8px; }
.flash-pill { background: var(--unioil-orange); color: #fff; padding: 3px 7px; border-radius: 6px; font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.flash-products { display: flex; gap: 16px; padding: 18px; overflow-x: auto; }
.flash-item { width: 150px; flex: none; cursor: pointer; }
.flash-item-name { font-size: 12.5px; font-weight: 600; color: var(--fg-1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flash-item-price { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--unioil-orange); margin-top: 8px; }
.flash-item-bar { height: 6px; border-radius: 99px; background: var(--ink-100); overflow: hidden; margin-top: 6px; }
.flash-item-fill { height: 100%; background: linear-gradient(90deg, var(--unioil-orange), #FFB07A); border-radius: 99px; }
.micro { font-size: 11px; color: var(--fg-3); margin-top: 4px; }

/* ---- Category Strip (plain flex buttons) ---- */
.cat-strip-btn { flex: 1; min-width: 80px; padding: 14px 8px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform var(--dur-fast); }
.cat-strip-btn:hover { transform: translateY(-2px); }
.cat-circle { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-700); }
.cat-strip-label { font-size: 12.5px; font-weight: 600; color: var(--fg-1); }

/* ---- ProductCard (card+hover variant) ---- */
.pc { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base); position: relative; }
.pc:hover { box-shadow: var(--shadow-3); border-color: var(--border-2); transform: translateY(-2px); }
.pc-heart { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 99px; background: rgba(255,255,255,.92); border: none; display: grid; place-items: center; cursor: pointer; z-index: 1; box-shadow: var(--shadow-1); }
.pc-info { padding: 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-name { font-size: 13.5px; font-weight: 600; color: var(--ink-800); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; min-height: 36px; }
.pc-price { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--unioil-orange); margin-top: auto; }
.pc-was { font-size: 12.5px; color: var(--fg-3); text-decoration: line-through; font-family: var(--font-mono); }

/* ---- Section Head (with eyebrow) ---- */
.shead { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.shead-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; margin: 0; line-height: 1; }
.shead-cta { background: none; border: none; color: var(--accent); font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: var(--font-sans); display: flex; align-items: center; gap: 4px; }

/* ---- Horizontal scroll section ---- */
.hscroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }
.hscroll::-webkit-scrollbar { display: none; }

/* ---- PDP overrides (1fr 1fr, sticky gallery) ---- */
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 24px 24px; max-width: 1240px; margin: 0 auto; }
.pdp-gallery-sticky { position: sticky; top: 80px; align-self: flex-start; }
.pdp-thumbs-row { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.pdp-thumb-btn { border: 2px solid transparent; border-radius: 10px; padding: 2px; background: none; flex: none; cursor: pointer; transition: border-color var(--dur-fast); }
.pdp-thumb-btn.is-active { border-color: var(--unioil-orange); }
.pdp-price-card { background: var(--unioil-orange-tint2); border: 1px solid var(--unioil-orange-tint); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 18px; }
.pdp-price-val { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--unioil-orange); }
.pdp-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pdp-highlight { padding: 12px; background: var(--bg-inset); border-radius: var(--radius-md); display: flex; align-items: center; gap: 8px; }
.pdp-color-tile { border: 2.5px solid transparent; border-radius: 12px; padding: 2px; background: none; cursor: pointer; transition: border-color var(--dur-fast); }
.pdp-color-tile.is-active { border-color: var(--unioil-orange); }

/* ---- Search overrides (260px sidebar, filter groups) ---- */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 20px 24px 40px; max-width: 1240px; margin: 0 auto; align-items: start; }
.filter-group { border-bottom: 1px solid var(--border-1); padding: 14px 0; }
.filter-group-header { display: flex; align-items: center; justify-content: space-between; cursor: pointer; margin-bottom: 0; font-family: var(--font-sans); font-weight: 700; font-size: 13px; color: var(--fg-2); }
.filter-group-header svg { transition: transform var(--dur-fast); }
.filter-group-header.is-open svg { transform: rotate(180deg); }
.filter-group-body { margin-top: 12px; display: none; }
.filter-group-body.is-open { display: block; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 13.5px; }
.fcheck-box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--border-2); background: #fff; display: grid; place-items: center; flex: none; transition: all var(--dur-fast); }
.fcheck-box.is-checked { background: var(--accent); border-color: var(--accent); }

/* ---- Seller shell white sidebar (from JSX) ---- */
.seller-shell-new { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; background: var(--bg-app); }
.seller-sidebar-new { background: #fff; border-right: 1px solid var(--border-1); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.seller-sidebar-head { padding: 18px 18px 14px; border-bottom: 1px solid var(--border-1); }
.seller-sidebar-nav { padding: 10px; flex: 1; overflow-y: auto; }
.seller-nav-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; margin-bottom: 2px; border-radius: var(--radius-md); border: none; background: transparent; border-left: 3px solid transparent; color: var(--fg-2); font-size: 13.5px; font-weight: 500; font-family: var(--font-sans); cursor: pointer; transition: all var(--dur-fast); }
.seller-nav-btn:hover { background: var(--ink-050); }
.seller-nav-btn.is-active { background: var(--seller-tint); border-left-color: var(--seller); color: var(--seller-hover); font-weight: 700; }
.seller-sidebar-foot { padding: 14px; border-top: 1px solid var(--border-1); }
.seller-main-new { min-width: 0; }
.seller-topbar-new { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; background: #fff; border-bottom: 1px solid var(--border-1); position: sticky; top: 0; z-index: 20; }
.seller-body { padding: 28px; }
