/* =============================================
   style.css – Otovia Global Styles
============================================= */

/* TOKENS */
:root {
  --ink:       #0a0f1e;
  --ink-mid:   #1a2540;
  --ink-soft:  #2d3a55;
  --blue:      #2563eb;
  --blue-h:    #1d4ed8;
  --blue-lt:   #eff6ff;
  --cyan:      #06b6d4;
  --white:     #ffffff;
  --bg:        #f8fafc;
  --bg2:       #f1f5f9;
  --border:    #e2e8f0;
  --border-mid:#cbd5e1;
  --text:      #0a0f1e;
  --sub:       #475569;
  --muted:     #94a3b8;
  --green:     #059669;
  --green-lt:  #ecfdf5;
  --amber:     #d97706;
  --amber-lt:  #fffbeb;
  --red:       #dc2626;
  --red-lt:    #fef2f2;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 2px rgba(10,15,30,.06);
  --shadow-sm: 0 2px 8px rgba(10,15,30,.08);
  --shadow:    0 4px 24px rgba(10,15,30,.1);
  --shadow-lg: 0 12px 48px rgba(10,15,30,.14);
  --shadow-xl: 0 24px 80px rgba(10,15,30,.18);
  --t:         .22s ease;
  --t-slow:    .4s cubic-bezier(.16,1,.3,1);
}

/* BASE */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* FLASH BAR */
.flash-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center;
  padding: 12px 24px; font-size: .88rem; font-weight: 600;
  gap: 10px;
}
.flash-bar .container { display: flex; align-items: center; gap: 10px; width: 100%; }
.flash-bar--success { background: var(--green); color: #fff; }
.flash-bar--error   { background: var(--red); color: #fff; }
.flash-bar--info    { background: var(--blue); color: #fff; }
.flash-close { margin-left: auto; background: none; border: none; color: inherit; cursor: pointer; font-size: 1rem; opacity: .8; }
.flash-close:hover { opacity: 1; }
body:has(.flash-bar) { padding-top: 44px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-weight: 600; font-size: .875rem;
  padding: 11px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--t); white-space: nowrap;
  letter-spacing: -.01em;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-h); box-shadow: 0 4px 20px rgba(37,99,235,.35); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border-mid); }
.btn--outline:hover { border-color: var(--ink); background: var(--bg); }
.btn--ghost { background: transparent; color: var(--sub); border-color: transparent; }
.btn--ghost:hover { color: var(--text); background: var(--bg); }
.btn--seller { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--seller:hover { background: var(--ink-mid); box-shadow: 0 4px 20px rgba(10,15,30,.28); transform: translateY(-1px); }
.btn--danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn--danger:hover { opacity: .9; }
.btn--sm { font-size: .8rem; padding: 8px 16px; }
.btn--lg { font-size: 1rem; padding: 14px 28px; }
.btn--full { width: 100%; justify-content: center; }

/* FORM */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--bg); outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-input.error { border-color: var(--red); }
.form-textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form-hint { font-size: .75rem; color: var(--muted); margin-top: 5px; }
.form-error { font-size: .78rem; color: var(--red); margin-top: 5px; font-weight: 600; }
.form-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox] { margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); width: 16px; height: 16px; }
.form-check-label { font-size: .85rem; color: var(--sub); }
.input-group { position: relative; }
.input-group .form-input { padding-right: 44px; }
.input-group-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; cursor: pointer; }
.input-group-icon:hover { color: var(--ink); }

/* NAVBAR - ROW 1 */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(10,15,30,.09); }
.navbar__row1 { display: flex; align-items: center; height: 56px; gap: 0; border-bottom: 1px solid var(--border); }
.navbar__logo { display: flex; align-items: center; gap: 10px; padding: 0 20px 0 0; flex-shrink: 0; margin-right: 4px; }
.navbar__logo-mark { width: 34px; height: 34px; background: var(--ink); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.navbar__logo-mark svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1; }
.navbar__logo-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.03em; }
.navbar__logo-name span { color: var(--blue); }
.navbar__logo-tag { font-size: .6rem; color: var(--muted); font-weight: 500; letter-spacing: .03em; margin-top: 1px; }
.navbar__row1-sep { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; margin: 0 16px; }
.navbar__quicklinks { display: flex; align-items: center; gap: 2px; flex: 1; }
.navbar__ql { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-xs); font-size: .8rem; font-weight: 600; color: var(--sub); border: none; background: none; font-family: inherit; cursor: pointer; transition: all var(--t); white-space: nowrap; position: relative; }
.navbar__ql:hover { color: var(--ink); background: var(--bg); }
.navbar__ql i { font-size: .72rem; }
.navbar__ql--caret::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; margin-left: 2px; opacity: .6; }
.navbar__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.navbar__icon-btn { position: relative; width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--sub); font-size: .88rem; transition: all var(--t); text-decoration: none; }
.navbar__icon-btn:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.navbar__icon-btn .nb-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; background: var(--blue); border-radius: 100px; border: 2px solid var(--white); display: flex; align-items: center; justify-content: center; font-size: .56rem; font-weight: 800; color: #fff; padding: 0 3px; }
.navbar__actions-sep { width: 1px; height: 26px; background: var(--border); margin: 0 2px; }
.nb-signin { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm); background: none; font-family: inherit; font-size: .8rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: all var(--t); white-space: nowrap; }
.nb-signin:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.nb-seller { display: flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; border: 1.5px solid var(--ink); font-family: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all var(--t); white-space: nowrap; }
.nb-seller:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 4px 16px rgba(37,99,235,.3); }
.navbar__ham { display: none; background: none; border: 1.5px solid var(--border); color: var(--ink); cursor: pointer; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 1rem; align-items: center; justify-content: center; gap: 8px; transition: all var(--t); }
.navbar__ham:hover { background: var(--bg); }

/* NAVBAR ROW 2 */
.navbar__row2 { display: flex; align-items: center; height: 50px; gap: 12px; padding: 0 24px; }
.navbar__search { flex: 1; max-width: 540px; position: relative; }
.navbar__search-shell { display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); transition: border-color var(--t), box-shadow var(--t), background var(--t); overflow: hidden; }
.navbar__search-shell:focus-within { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.navbar__search-shell .si { padding: 0 10px; color: var(--muted); font-size: .82rem; flex-shrink: 0; }
.navbar__search-shell input { flex: 1; height: 36px; border: none; background: transparent; outline: none; font-family: inherit; font-size: .88rem; color: var(--text); }
.navbar__search-shell input::placeholder { color: var(--muted); }
.navbar__search-shell .s-sep { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }
.navbar__search-shell .s-filter { display: flex; align-items: center; gap: 5px; padding: 0 10px; font-size: .74rem; font-weight: 600; color: var(--sub); border: none; background: none; font-family: inherit; cursor: pointer; transition: color var(--t); white-space: nowrap; }
.navbar__search-shell .s-filter:hover { color: var(--ink); }
.navbar__search-shell .s-btn { height: 36px; padding: 0 16px; background: var(--blue); border: none; color: #fff; font-family: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; transition: background var(--t); flex-shrink: 0; }
.navbar__search-shell .s-btn:hover { background: var(--blue-h); }
.navbar__dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1.5px solid var(--border-mid); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1100; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity var(--t), transform var(--t); }
.navbar__dropdown.open { opacity: 1; pointer-events: all; transform: none; }
.navbar__cattabs { display: flex; align-items: center; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.navbar__cattabs::-webkit-scrollbar { display: none; }
.navbar__ctab { display: flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: var(--radius-xs); font-size: .78rem; font-weight: 600; color: var(--sub); border: none; background: none; font-family: inherit; cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: all var(--t); position: relative; text-decoration: none; }
.navbar__ctab::after { content: ''; position: absolute; bottom: -7px; left: 12px; right: 12px; height: 2px; background: var(--blue); border-radius: 1px; transform: scaleX(0); transition: transform var(--t); }
.navbar__ctab:hover { color: var(--ink); }
.navbar__ctab.active { color: var(--blue); }
.navbar__ctab.active::after { transform: scaleX(1); }

/* MEGA MENU */
.mega-overlay { position: fixed; inset: 0; z-index: 850; pointer-events: none; }
.mega-overlay.open { pointer-events: all; }
.mega-menu { position: absolute; left: 0; right: 0; top: 0; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 20px 60px rgba(10,15,30,.14); opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.mega-overlay.open .mega-menu { opacity: 1; transform: none; pointer-events: all; }
.mega-inner { max-width: 1240px; margin: 0 auto; padding: 28px 24px 32px; display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
.mega-cats { display: flex; flex-direction: column; gap: 2px; }
.mega-cat-btn { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; color: var(--sub); border: none; background: none; font-family: inherit; cursor: pointer; transition: all var(--t); text-align: left; width: 100%; }
.mega-cat-btn:hover, .mega-cat-btn.active { background: var(--blue-lt); color: var(--blue); }
.mega-cat-btn i { width: 16px; text-align: center; font-size: .8rem; }
.mega-cat-btn .mc-count { margin-left: auto; font-size: .7rem; color: var(--muted); font-weight: 500; }
.mega-panels { position: relative; }
.mega-panel { display: none; }
.mega-panel.active { display: block; }
.mega-panel-title { font-family: 'Space Grotesk', sans-serif; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mega-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); font-size: .8rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: all var(--t); text-decoration: none; }
.mega-item:hover { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }
.mega-item i { font-size: .82rem; color: var(--muted); flex-shrink: 0; width: 14px; text-align: center; }
.mega-item:hover i { color: var(--blue); }
.mega-item-count { margin-left: auto; font-size: .68rem; color: var(--muted); font-weight: 500; }
.mega-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.mega-promo { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega-promo-text { font-size: .82rem; color: rgba(255,255,255,.7); }
.mega-promo-text strong { color: #fff; display: block; font-size: .9rem; margin-bottom: 2px; }
.mega-promo-btn { padding: 7px 14px; background: var(--blue); border: none; color: #fff; border-radius: var(--radius-xs); font-family: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background var(--t); text-decoration: none; }
.mega-promo-btn:hover { background: var(--blue-h); }

/* MOBILE MENU */
.mob-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--white); flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.mob-overlay.open { transform: none; }
@media (max-width: 768px) { .mob-overlay { display: flex; } }
.mob-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mob-head-logo { display: flex; align-items: center; gap: 8px; }
.mob-head-logo .navbar__logo-mark { width: 30px; height: 30px; border-radius: 7px; }
.mob-head-logo span { font-family: 'Space Grotesk',sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.03em; }
.mob-head-logo em { font-style: normal; color: var(--blue); }
.mob-close { width: 36px; height: 36px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--sub); font-size: 1rem; transition: all var(--t); }
.mob-close:hover { background: var(--bg); color: var(--ink); }
.mob-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.mob-search-wrap { padding: 14px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mob-search-box { display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--border-mid); border-radius: var(--radius-sm); overflow: hidden; }
.mob-search-box i { padding: 0 12px; color: var(--muted); font-size: .85rem; flex-shrink: 0; }
.mob-search-box input { flex: 1; height: 46px; border: none; background: transparent; outline: none; font-family: inherit; font-size: .95rem; color: var(--text); }
.mob-search-box button { height: 46px; padding: 0 18px; background: var(--blue); border: none; color: #fff; font-family: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.mob-user { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mob-user .btn { flex: 1; justify-content: center; font-size: .82rem; }
.mob-cats-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 16px 8px; }
.mob-cat-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--t); text-decoration: none; color: inherit; }
.mob-cat-row:hover { background: var(--bg); }
.mob-cat-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--ink-soft); flex-shrink: 0; transition: all var(--t); }
.mob-cat-row:hover .mob-cat-icon { background: var(--blue-lt); color: var(--blue); }
.mob-cat-info { flex: 1; }
.mob-cat-name { font-size: .88rem; font-weight: 700; color: var(--ink); }
.mob-cat-count { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.mob-cat-arrow { color: var(--muted); font-size: .75rem; }
.mob-link { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: background var(--t); text-decoration: none; }
.mob-link:hover { background: var(--bg); color: var(--ink); }
.mob-link i { width: 18px; text-align: center; color: var(--muted); font-size: .85rem; }
.mob-foot { padding: 16px; border-top: 1px solid var(--border); flex-shrink: 0; }

/* FILTER MODAL */
.filter-modal-overlay { position: fixed; inset: 0; background: rgba(10,15,30,.5); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t); backdrop-filter: blur(4px); }
.filter-modal-overlay.open { opacity: 1; pointer-events: all; }
.filter-modal { background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-xl); transform: scale(.96) translateY(10px); transition: transform var(--t); }
.filter-modal-overlay.open .filter-modal { transform: none; }
.filter-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--white); z-index: 1; }
.filter-modal__head h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.filter-modal__close { width: 32px; height: 32px; background: var(--bg); border: none; border-radius: 7px; cursor: pointer; font-size: .9rem; color: var(--sub); display: flex; align-items: center; justify-content: center; transition: all var(--t); }
.filter-modal__close:hover { background: var(--bg2); color: var(--ink); }
.filter-modal__body { padding: 20px 24px; display: flex; flex-direction: column; gap: 24px; }
.filter-group__label { font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.f-chip { padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: all var(--t); }
.f-chip:hover { border-color: var(--blue); color: var(--blue); }
.f-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-range { display: flex; align-items: center; gap: 10px; }
.filter-range input[type=number] { flex: 1; height: 38px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0 12px; font-family: inherit; font-size: .85rem; color: var(--text); outline: none; transition: border-color var(--t); }
.filter-range input[type=number]:focus { border-color: var(--blue); }
.filter-range-sep { color: var(--muted); font-size: .8rem; }
.filter-modal__footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--white); }
.filter-modal__footer .btn { flex: 1; justify-content: center; }

/* HERO */
.hero { background: var(--white); padding: 80px 0 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(ellipse at 50% 30%, rgba(37,99,235,.07) 0%, transparent 65%); pointer-events: none; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-lt); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 28px; border: 1px solid rgba(37,99,235,.15); }
.hero__eyebrow i { font-size: .6rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero__title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; color: var(--ink); margin-bottom: 18px; }
.hero__title span { color: var(--blue); }
.hero__title em { font-style: normal; color: var(--muted); }
.hero__sub { font-size: 1.05rem; color: var(--sub); max-width: 500px; margin: 0 auto 48px; line-height: 1.7; }
.hero__search { max-width: 740px; margin: 0 auto 16px; }
.hero__search-main { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); display: flex; align-items: center; box-shadow: 0 8px 40px rgba(10,15,30,.12); overflow: hidden; position: relative; }
.hero__search-icon { padding: 0 18px; color: var(--muted); font-size: 1rem; flex-shrink: 0; }
.hero__search-main input { flex: 1; height: 60px; border: none; background: transparent; outline: none; font-family: inherit; font-size: 1rem; color: var(--text); }
.hero__search-main input::placeholder { color: var(--muted); }
.hero__search-sep { width: 1px; height: 30px; background: var(--border); flex-shrink: 0; }
.hero__search-filter { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-size: .82rem; font-weight: 600; color: var(--sub); cursor: pointer; flex-shrink: 0; transition: color var(--t); white-space: nowrap; border: none; background: none; font-family: inherit; }
.hero__search-filter:hover { color: var(--ink); }
.hero__search-btn { height: 60px; padding: 0 28px; background: var(--ink); border: none; color: #fff; font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; flex-shrink: 0; transition: background var(--t); display: flex; align-items: center; gap: 8px; }
.hero__search-btn:hover { background: var(--blue); }
.hero__filters { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chip { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg); font-size: .78rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: all var(--t); text-decoration: none; }
.filter-chip:hover, .filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-chip i { font-size: .7rem; }
.hero__tags { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero__tags-label { font-size: .77rem; color: var(--muted); font-weight: 500; }
.hero__tag { font-size: .77rem; font-weight: 600; color: var(--sub); background: var(--bg); border: 1px solid var(--border); padding: 5px 14px; border-radius: 100px; cursor: pointer; transition: all var(--t); text-decoration: none; }
.hero__tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero__trust { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--sub); }
.hero__trust-item i { color: var(--blue); }
.hero__trust-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* STATS */
.stats { background: var(--ink); }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 4px; }
.stats__item:last-child { border-right: none; }
.stats__n { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stats__n span { color: var(--cyan); }
.stats__l { font-size: .74rem; font-weight: 500; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }

/* SECTIONS */
.section { padding: 88px 0; }
.section--grey { background: var(--bg); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.section__title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.section__sub { font-size: .9rem; color: var(--sub); margin-top: 6px; }

/* CATEGORIES */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 26px 12px 22px; text-align: center; cursor: pointer; color: inherit; transition: all var(--t-slow); display: flex; flex-direction: column; align-items: center; gap: 11px; position: relative; overflow: hidden; text-decoration: none; }
.cat-card::after { content: ''; position: absolute; inset: 0; background: var(--blue); opacity: 0; transition: opacity var(--t); }
.cat-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-card:hover::after { opacity: .04; }
.cat-card:hover .cat-icon { background: var(--blue); }
.cat-card:hover .cat-icon i { color: #fff; }
.cat-icon { width: 50px; height: 50px; background: var(--bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background var(--t); position: relative; z-index: 1; }
.cat-icon i { font-size: 1.2rem; color: var(--ink-soft); transition: color var(--t); }
.cat-name { font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.3; position: relative; z-index: 1; }
.cat-count { font-size: .7rem; color: var(--muted); position: relative; z-index: 1; }

/* PRODUCT GRID */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--t-slow); display: flex; flex-direction: column; }
.p-card:hover { border-color: transparent; box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.p-card__thumb { height: 176px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; border-bottom: 1px solid var(--border); flex-shrink: 0; overflow: hidden; }
.p-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-card__thumb .thumb-placeholder { font-size: 3rem; }
.p-card__chip { position: absolute; top: 10px; left: 10px; font-size: .63rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.p-card__chip--new { background: var(--blue); color: #fff; }
.p-card__chip--oem { background: var(--green-lt); color: var(--green); }
.p-card__chip--used { background: var(--amber-lt); color: var(--amber); }
.p-card__chip--refurbished { background: #f3e8ff; color: #7c3aed; }
.p-card__body { padding: 14px 16px; flex: 1; }
.p-card__name { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.4; }
.p-card__rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.p-card__stars { color: #f59e0b; font-size: .72rem; }
.p-card__rating-n { font-size: .75rem; font-weight: 600; color: var(--sub); }
.p-card__rating-count { font-size: .72rem; color: var(--muted); }
.p-card__seller { display: flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--muted); margin-bottom: 12px; }
.p-card__seller i { font-size: .68rem; }
.p-card__verified { color: var(--green); font-size: .65rem; }
.p-card__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
.p-card__price { font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.p-card__city { font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.p-card__cta { padding: 0 16px 14px; display: flex; gap: 8px; }
.p-card__cta .btn { flex: 1; justify-content: center; font-size: .8rem; }

/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: start; }
.how-step { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all var(--t); position: relative; overflow: hidden; }
.how-step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform var(--t); transform-origin: left; }
.how-step:hover::before { transform: scaleX(1); }
.how-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.how-step__num { width: 40px; height: 40px; background: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 18px; font-family: 'Space Grotesk', sans-serif; }
.how-step__title { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.how-step__desc { font-size: .84rem; color: var(--sub); line-height: 1.65; }
.how-arrow { display: flex; align-items: center; justify-content: center; padding-top: 50px; color: var(--muted); font-size: .9rem; }

/* TRUST PILLARS */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.trust-pill { background: var(--white); padding: 40px 36px; display: flex; gap: 20px; align-items: flex-start; transition: background var(--t); }
.trust-pill:hover { background: var(--bg); }
.trust-pill__icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--blue-lt); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--blue); }
.trust-pill__title { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.trust-pill__desc { font-size: .83rem; color: var(--sub); line-height: 1.65; }

/* CTA BANNER */
.cta-banner { background: var(--ink); border-radius: var(--radius-lg); padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -80px; right: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(37,99,235,.35) 0%, transparent 70%); pointer-events: none; }
.cta-banner__title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 700; color: #fff; letter-spacing: -.03em; margin-bottom: 10px; }
.cta-banner__sub { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.65; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .btn--wh { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.18); }
.cta-banner .btn--wh:hover { background: rgba(255,255,255,.18); }

/* FOOTER */
.footer { background: var(--ink); padding: 64px 0 0; color: rgba(255,255,255,.45); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer__logo-icon { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.footer__logo-icon svg { width: 17px; height: 17px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__logo-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.footer__logo-name span { color: #93c5fd; }
.footer__desc { font-size: .83rem; line-height: 1.75; max-width: 220px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 36px; height: 36px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-size: .82rem; transition: all var(--t); }
.footer__social a:hover { background: rgba(255,255,255,.13); color: #fff; }
.footer__col-title { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.42); transition: color var(--t); }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: .77rem; }
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: rgba(255,255,255,.22); transition: color var(--t); }
.footer__bottom-links a:hover { color: rgba(255,255,255,.6); }

/* AUTH PAGES */
.auth-wrap { min-height: 100vh; display: flex; align-items: stretch; }
.auth-left { flex: 0 0 500px; background: var(--ink); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-left::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(37,99,235,.3) 0%, transparent 70%); }
.auth-left::after { content: ''; position: absolute; bottom: -100px; left: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%); }
.auth-brand { position: relative; z-index: 1; margin-bottom: 48px; }
.auth-brand a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.auth-brand-icon { width: 42px; height: 42px; background: rgba(255,255,255,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.auth-brand-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-brand-name { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.auth-brand-name span { color: #60a5fa; }
.auth-pitch { position: relative; z-index: 1; }
.auth-pitch h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1.2; margin-bottom: 16px; }
.auth-pitch p { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.auth-features { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.auth-feature { display: flex; align-items: center; gap: 12px; }
.auth-feature-icon { width: 32px; height: 32px; background: rgba(37,99,235,.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #93c5fd; font-size: .8rem; flex-shrink: 0; }
.auth-feature-text { font-size: .84rem; color: rgba(255,255,255,.55); }
.auth-right { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.auth-form-wrap { max-width: 420px; width: 100%; margin: 0 auto; }
.auth-form-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -.04em; margin-bottom: 6px; }
.auth-form-sub { font-size: .87rem; color: var(--sub); margin-bottom: 32px; }
.auth-form-sub a { color: var(--blue); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider span { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-link { font-size: .84rem; color: var(--sub); text-align: center; margin-top: 20px; }
.auth-link a { color: var(--blue); font-weight: 600; }

/* OTP INPUT */
.otp-wrap { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.otp-input { width: 52px; height: 60px; border: 2px solid var(--border); border-radius: var(--radius-sm); text-align: center; font-size: 1.5rem; font-weight: 700; font-family: 'Space Grotesk', monospace; color: var(--ink); background: var(--bg); outline: none; transition: all var(--t); }
.otp-input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.otp-timer { font-size: .82rem; color: var(--muted); text-align: center; margin-bottom: 12px; }
.otp-timer strong { color: var(--red); }
.otp-resend { font-size: .82rem; text-align: center; }
.otp-resend button { color: var(--blue); font-weight: 600; background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; }
.otp-resend button:disabled { color: var(--muted); cursor: not-allowed; }

/* PASSWORD STRENGTH */
.pw-strength { height: 4px; background: var(--border); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.pw-strength-bar { height: 100%; border-radius: 2px; transition: width .3s, background .3s; }
.pw-hint { font-size: .74rem; color: var(--muted); margin-top: 5px; }

/* PROFILE PAGE */
.profile-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 40px 0 80px; }
.profile-sidebar { }
.profile-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.profile-avatar-wrap { padding: 32px 24px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.profile-avatar { width: 80px; height: 80px; background: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin: 0 auto 12px; }
.profile-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.profile-name { font-size: 1rem; font-weight: 700; color: var(--ink); }
.profile-email { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.profile-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; margin-top: 10px; }
.profile-badge--seller { background: var(--blue-lt); color: var(--blue); }
.profile-badge--verified { background: var(--green-lt); color: var(--green); }
.profile-nav { padding: 8px 0; }
.profile-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 20px; font-size: .88rem; font-weight: 600; color: var(--sub); cursor: pointer; transition: all var(--t); text-decoration: none; }
.profile-nav-item:hover { color: var(--ink); background: var(--bg); }
.profile-nav-item.active { color: var(--blue); background: var(--blue-lt); border-right: 2px solid var(--blue); }
.profile-nav-item i { width: 16px; text-align: center; font-size: .82rem; }
.profile-content { }
.profile-section { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; display: none; }
.profile-section.active { display: block; }
.profile-section__title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.profile-section__title i { color: var(--blue); }

/* PRODUCTS PAGE */
.products-page-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 40px 0 80px; }
.products-sidebar { }
.filter-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.filter-card__title { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .07em; }
.products-main { }
.products-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.products-count { font-size: .87rem; color: var(--sub); }
.products-count strong { color: var(--ink); font-weight: 700; }
.sort-select { height: 36px; padding: 0 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: .82rem; color: var(--text); background: var(--bg); outline: none; }
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; color: var(--sub); transition: all var(--t); text-decoration: none; }
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* PRODUCT DETAIL */
.product-detail { padding: 40px 0 80px; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.product-images { }
.product-images__main { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 380px; display: flex; align-items: center; justify-content: center; font-size: 6rem; margin-bottom: 12px; }
.product-images__main img { width: 100%; height: 100%; object-fit: cover; }
.product-images__thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-images__thumb { width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; cursor: pointer; transition: border-color var(--t); }
.product-images__thumb.active { border-color: var(--blue); }
.product-images__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { }
.product-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.product-breadcrumb a { color: var(--sub); transition: color var(--t); }
.product-breadcrumb a:hover { color: var(--blue); }
.product-breadcrumb i { font-size: .6rem; }
.product-badges { display: flex; gap: 6px; margin-bottom: 12px; }
.product-badge { font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .05em; }
.product-badge--new { background: var(--blue); color: #fff; }
.product-badge--oem { background: var(--green-lt); color: var(--green); }
.product-badge--used { background: var(--amber-lt); color: var(--amber); }
.product-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.25; margin-bottom: 12px; }
.product-price-wrap { margin: 20px 0; }
.product-price { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--ink); }
.product-negotiable { font-size: .78rem; color: var(--green); font-weight: 600; margin-top: 4px; }
.seller-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.seller-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.seller-card__avatar { width: 44px; height: 44px; background: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.seller-card__name { font-weight: 700; color: var(--ink); font-size: .9rem; }
.seller-card__meta { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.seller-card__verified { color: var(--green); font-size: .75rem; font-weight: 600; }
.seller-card__stats { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.seller-stat { text-align: center; }
.seller-stat-n { font-weight: 700; color: var(--ink); font-size: .95rem; font-family: 'Space Grotesk', sans-serif; }
.seller-stat-l { font-size: .68rem; color: var(--muted); margin-top: 2px; }
.product-actions { display: flex; flex-direction: column; gap: 10px; }
.product-meta-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.product-meta-row { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.product-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.product-meta-label { color: var(--muted); }
.product-meta-value { font-weight: 600; color: var(--ink); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state__icon { font-size: 3rem; color: var(--muted); margin-bottom: 16px; }
.empty-state__title { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.empty-state__desc { font-size: .87rem; color: var(--sub); }

/* FADE ANIMATION */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.fade.in { opacity: 1; transform: none; }

/* PILLS */
.pill { font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.pill--green { background: var(--green-lt); color: var(--green); }
.pill--amber { background: var(--amber-lt); color: var(--amber); }
.pill--blue  { background: var(--blue-lt);  color: var(--blue); }
.pill--red   { background: var(--red-lt);   color: var(--red); }

/* DROPDOWN ITEMS */
.dd-section { padding: 8px 0; border-bottom: 1px solid var(--border); }
.dd-section:last-child { border-bottom: none; }
.dd-label { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 16px 8px; }
.dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 16px; cursor: pointer; transition: background var(--t); text-decoration: none; color: inherit; }
.dd-item:hover { background: var(--bg); }
.dd-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--bg2); display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; color: var(--ink-soft); overflow: hidden; }
.dd-icon img { width: 100%; height: 100%; object-fit: cover; }
.dd-name { font-size: .87rem; font-weight: 600; color: var(--ink); }
.dd-name mark { background: none; color: var(--blue); }
.dd-meta { font-size: .74rem; color: var(--muted); margin-top: 1px; }
.dd-right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.dd-price { font-size: .85rem; font-weight: 700; color: var(--ink); }
.dd-footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; font-size: .8rem; }
.dd-footer-link { color: var(--blue); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 5px; text-decoration: none; }
.dd-footer-link:hover { color: var(--blue-h); }
.dd-footer-hint { color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .navbar__quicklinks { display: none; }
  .navbar__row1-sep { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; gap: 14px; }
  .how-arrow { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 24px; }
  .profile-wrap { grid-template-columns: 1fr; }
  .products-page-wrap { grid-template-columns: 1fr; }
  .products-sidebar { display: none; }
  .product-detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar__row2 { display: none; }
  .nb-signin, .nb-seller, .navbar__actions-sep { display: none; }
  .navbar__ham { display: flex; }
  .navbar__row1 { padding: 0 16px; height: 58px; }
  .hero { padding: 52px 0 64px; }
  .hero__search-filter, .hero__search-sep { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .otp-input { width: 42px; height: 52px; font-size: 1.2rem; }
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/* =============================================
   DARK THEME – Otovia
   Çerezden okunan data-theme="dark" ile aktif
============================================= */

/* ── DARK TOKEN OVERRIDES ── */
[data-theme="dark"] {
  --ink:        #f0f4ff;
  --ink-mid:    #c8d4f0;
  --ink-soft:   #9aadcc;
  --blue:       #60a5fa;
  --blue-h:     #93c5fd;
  --blue-lt:    rgba(96,165,250,.12);
  --cyan:       #22d3ee;
  --white:      #0d1117;
  --bg:         #0d1117;
  --bg2:        #161b27;
  --border:     #1e2a3d;
  --border-mid: #2a3a54;
  --text:       #e8edf8;
  --sub:        #8899b8;
  --muted:      #4a5a78;
  --green:      #34d399;
  --green-lt:   rgba(52,211,153,.1);
  --amber:      #fbbf24;
  --amber-lt:   rgba(251,191,36,.1);
  --red:        #f87171;
  --red-lt:     rgba(248,113,113,.1);
  --shadow-xs:  0 1px 2px rgba(0,0,0,.3);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.35);
  --shadow:     0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.5);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.6);
}

/* ── BODY & BASE ── */
[data-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

/* ── NAVBAR ── */
[data-theme="dark"] .navbar {
  background: rgba(13,17,23,.97);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
[data-theme="dark"] .nb-signin {
  border-color: var(--border-mid);
  color: var(--sub);
}
[data-theme="dark"] .nb-signin:hover {
  background: var(--bg2);
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .nb-seller {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
[data-theme="dark"] .navbar__icon-btn {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--sub);
}
[data-theme="dark"] .navbar__icon-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .navbar__search-shell {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .navbar__search-shell:focus-within {
  background: #161b27;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(96,165,250,.12);
}
[data-theme="dark"] .navbar__search-shell input {
  color: var(--text);
}
[data-theme="dark"] .navbar__search-shell .s-btn {
  background: var(--blue);
}
[data-theme="dark"] .navbar__ql {
  color: var(--sub);
}
[data-theme="dark"] .navbar__ql:hover {
  background: var(--bg2);
  color: var(--ink);
}
[data-theme="dark"] .navbar__ctab { color: var(--sub); }
[data-theme="dark"] .navbar__ctab.active { color: var(--blue); }
[data-theme="dark"] .navbar__ham {
  border-color: var(--border);
  color: var(--ink);
}

/* ── MEGA MENU ── */
[data-theme="dark"] .mega-menu {
  background: #111927;
  border-bottom-color: var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
[data-theme="dark"] .mega-cat-btn { color: var(--sub); }
[data-theme="dark"] .mega-cat-btn:hover,
[data-theme="dark"] .mega-cat-btn.active {
  background: var(--blue-lt);
  color: var(--blue);
}
[data-theme="dark"] .mega-item {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--sub);
}
[data-theme="dark"] .mega-item:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  color: var(--blue);
}
[data-theme="dark"] .mega-footer { border-top-color: var(--border); }

/* ── MOBILE MENU ── */
[data-theme="dark"] .mob-overlay {
  background: #0a0e18;
}
[data-theme="dark"] .mob-head,
[data-theme="dark"] .mob-search-wrap,
[data-theme="dark"] .mob-user,
[data-theme="dark"] .mob-cat-row,
[data-theme="dark"] .mob-link {
  border-color: var(--border);
}
[data-theme="dark"] .mob-cat-row:hover,
[data-theme="dark"] .mob-link:hover {
  background: var(--bg2);
}
[data-theme="dark"] .mob-search-box {
  background: var(--bg2);
  border-color: var(--border-mid);
}
[data-theme="dark"] .mob-search-box input { color: var(--text); }
[data-theme="dark"] .mob-close {
  border-color: var(--border);
  color: var(--sub);
}
[data-theme="dark"] .mob-foot { border-top-color: var(--border); }

/* ── FLASH BAR ── */
[data-theme="dark"] .flash-bar--success { background: #065f46; }
[data-theme="dark"] .flash-bar--error   { background: #7f1d1d; }
[data-theme="dark"] .flash-bar--info    { background: #1e40af; }

/* ── HERO ── */
[data-theme="dark"] .hero {
  background: var(--bg);
}
[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at 50% 30%, rgba(96,165,250,.1) 0%, transparent 65%);
}
[data-theme="dark"] .hero__search-main {
  background: var(--bg2);
  border-color: var(--border-mid);
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
[data-theme="dark"] .hero__search-main:focus-within {
  border-color: var(--blue);
}
[data-theme="dark"] .hero__search-main input { color: var(--text); }
[data-theme="dark"] .hero__search-btn {
  background: var(--blue);
  color: #fff;
}
[data-theme="dark"] .hero__search-btn:hover { background: var(--blue-h); color: var(--bg); }
[data-theme="dark"] .filter-chip {
  background: var(--bg2);
  border-color: var(--border-mid);
  color: var(--sub);
}
[data-theme="dark"] .filter-chip:hover,
[data-theme="dark"] .filter-chip.active {
  background: var(--blue-lt);
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .hero__tag {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--sub);
}
[data-theme="dark"] .hero__tag:hover {
  background: var(--blue-lt);
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .hero__eyebrow {
  background: var(--blue-lt);
  border-color: rgba(96,165,250,.2);
}
[data-theme="dark"] .hero__trust-sep { background: var(--border); }

/* ── STATS ── */
[data-theme="dark"] .stats { background: #0a0e18; }

/* ── SECTIONS ── */
[data-theme="dark"] .section--grey { background: #0d1117; }
[data-theme="dark"] .section__kicker { color: var(--blue); }

/* ── CATEGORIES ── */
[data-theme="dark"] .cat-card {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .cat-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
[data-theme="dark"] .cat-icon { background: var(--bg); }

/* ── PRODUCT CARDS ── */
[data-theme="dark"] .p-card {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .p-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 60px rgba(0,0,0,.5);
}
[data-theme="dark"] .p-card__thumb {
  background: var(--bg);
  border-bottom-color: var(--border);
}
[data-theme="dark"] .p-card__meta { border-top-color: var(--border); }
[data-theme="dark"] .p-card__chip--oem { background: rgba(52,211,153,.15); color: var(--green); }
[data-theme="dark"] .p-card__chip--used { background: rgba(251,191,36,.15); color: var(--amber); }
[data-theme="dark"] .p-card__chip--refurbished { background: rgba(167,139,250,.15); color: #a78bfa; }
[data-theme="dark"] .p-card__ai { background: rgba(96,165,250,.06); border-radius: 6px; padding: 6px 8px; }

/* ── HOW IT WORKS ── */
[data-theme="dark"] .how-step {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .how-step:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
[data-theme="dark"] .how-step__num { background: var(--blue); }

/* ── TRUST ── */
[data-theme="dark"] .trust-grid {
  background: var(--border);
  border-color: var(--border);
}
[data-theme="dark"] .trust-pill { background: var(--bg2); }
[data-theme="dark"] .trust-pill:hover { background: #1a2235; }
[data-theme="dark"] .trust-pill__icon { background: var(--blue-lt); }

/* ── CTA BANNER ── */
[data-theme="dark"] .cta-banner { background: #0a0e18; }

/* ── FOOTER ── */
[data-theme="dark"] .footer { background: #080c14; }
[data-theme="dark"] .footer__grid { border-bottom-color: rgba(255,255,255,.05); }
[data-theme="dark"] .footer__bottom-links a { color: rgba(255,255,255,.18); }

/* ── BUTTONS ── */
[data-theme="dark"] .btn--outline {
  background: transparent;
  border-color: var(--border-mid);
  color: var(--sub);
}
[data-theme="dark"] .btn--outline:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  color: var(--blue);
}
[data-theme="dark"] .btn--seller {
  background: var(--bg2);
  border-color: var(--border-mid);
  color: var(--ink);
}
[data-theme="dark"] .btn--seller:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* ── FORMS ── */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea {
  background: var(--bg2);
  border-color: var(--border-mid);
  color: var(--text);
}
[data-theme="dark"] .form-input:focus,
[data-theme="dark"] .form-select:focus,
[data-theme="dark"] .form-textarea:focus {
  background: #1a2235;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(96,165,250,.12);
}
[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: var(--muted);
}
[data-theme="dark"] .sort-select {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--text);
}

/* ── FILTER MODAL ── */
[data-theme="dark"] .filter-modal {
  background: #111927;
  border: 1px solid var(--border);
}
[data-theme="dark"] .filter-modal__head {
  background: #111927;
  border-bottom-color: var(--border);
}
[data-theme="dark"] .filter-modal__close {
  background: var(--bg2);
  color: var(--sub);
}
[data-theme="dark"] .filter-modal__footer {
  background: #111927;
  border-top-color: var(--border);
}
[data-theme="dark"] .f-chip {
  background: var(--bg2);
  border-color: var(--border-mid);
  color: var(--sub);
}
[data-theme="dark"] .f-chip:hover { border-color: var(--blue); color: var(--blue); }
[data-theme="dark"] .f-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
[data-theme="dark"] .filter-range input[type=number] {
  background: var(--bg2);
  border-color: var(--border-mid);
  color: var(--text);
}
[data-theme="dark"] .filter-range input[type=number]:focus { border-color: var(--blue); }

/* ── PROFILE ── */
[data-theme="dark"] .profile-card {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .profile-avatar-wrap { border-bottom-color: var(--border); }
[data-theme="dark"] .profile-nav-item { color: var(--sub); }
[data-theme="dark"] .profile-nav-item:hover { background: var(--bg); color: var(--ink); }
[data-theme="dark"] .profile-nav-item.active {
  background: var(--blue-lt);
  color: var(--blue);
  border-right-color: var(--blue);
}
[data-theme="dark"] .profile-section {
  background: var(--bg2);
  border-color: var(--border);
}

/* ── PRODUCTS PAGE ── */
[data-theme="dark"] .filter-card {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .pagination a,
[data-theme="dark"] .pagination span {
  border-color: var(--border);
  color: var(--sub);
  background: var(--bg2);
}
[data-theme="dark"] .pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .pagination .active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── PRODUCT DETAIL ── */
[data-theme="dark"] .product-images__main {
  background: var(--bg2);
  border-color: var(--border);
}
[data-theme="dark"] .product-images__thumb {
  border-color: var(--border);
}
[data-theme="dark"] .product-images__thumb.active { border-color: var(--blue); }
[data-theme="dark"] .seller-card {
  background: var(--bg);
  border-color: var(--border);
}
[data-theme="dark"] .product-meta-row { border-bottom-color: var(--border); }
[data-theme="dark"] .product-breadcrumb a { color: var(--sub); }

/* ── DROPDOWN ── */
[data-theme="dark"] .navbar__dropdown {
  background: #111927;
  border-color: var(--border-mid);
}
[data-theme="dark"] .dd-section { border-bottom-color: var(--border); }
[data-theme="dark"] .dd-item:hover { background: var(--bg2); }
[data-theme="dark"] .dd-icon { background: var(--bg); }
[data-theme="dark"] .dd-footer { border-top-color: var(--border); }

/* ── AUTH ── */
[data-theme="dark"] .auth-right { background: var(--bg); }
[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after { background: var(--border); }

/* ── EMPTY STATE ── */
[data-theme="dark"] .empty-state__icon { color: var(--border-mid); }

/* ── CROPPER MODAL ── */
[data-theme="dark"] .cropper-modal-overlay { background: rgba(0,0,0,.85); }
[data-theme="dark"] .cropper-modal {
  background: #111927;
  border: 1px solid var(--border);
}

/* ──────────────────────────────────────────────
   THEME TOGGLE BUTTON
────────────────────────────────────────────── */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}
.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.theme-toggle__track {
  position: absolute;
  inset: 0;
  background: var(--border-mid);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--t);
  display: flex;
  align-items: center;
  padding: 0 3px;
  justify-content: flex-start;
}
.theme-toggle input:checked + .theme-toggle__track {
  background: var(--blue);
  justify-content: flex-end;
}
.theme-toggle__thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  pointer-events: none;
}

/* ── NAV TOGGLE INTEGRATION ── */
.navbar__theme-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
}
.navbar__theme-label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

/* ──────────────────────────────────────────────
   CROPPER MODAL (Avatar kırpma)
────────────────────────────────────────────── */
.cropper-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  backdrop-filter: blur(8px);
}
.cropper-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cropper-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(.96);
  transition: transform .22s ease;
  display: flex;
  flex-direction: column;
}
.cropper-modal-overlay.open .cropper-modal { transform: none; }
.cropper-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cropper-modal__title {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cropper-modal__title i { color: var(--blue); }
.cropper-modal__close {
  width: 30px;
  height: 30px;
  background: var(--bg2);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  color: var(--sub);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.cropper-modal__close:hover { background: var(--red-lt); color: var(--red); }
.cropper-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cropper-canvas-wrap {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  position: relative;
  cursor: crosshair;
  user-select: none;
  border: 2px solid var(--border);
}
.cropper-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.cropper-preview-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cropper-preview-label {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}
.cropper-preview-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
}
.cropper-preview-circle img,
.cropper-preview-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cropper-preview-square {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
}
.cropper-hint {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
}
.cropper-controls {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 440px;
  align-items: center;
}
.cropper-zoom-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.cropper-zoom-range {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--border-mid);
  outline: none;
  cursor: pointer;
}
.cropper-zoom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.cropper-modal__footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cropper-modal__footer .btn { flex: 1; justify-content: center; }

/* ──────────────────────────────────────────────
   PROFILE PAGE – ENHANCED
────────────────────────────────────────────── */

/* Stat mini cards on profile */
.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.profile-stat-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  background: var(--white);
  transition: all var(--t);
}
[data-theme="dark"] .profile-stat-card { background: var(--bg2); }
.profile-stat-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.profile-stat-card__n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.profile-stat-card__l {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

/* Listing item row */
.listing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all var(--t);
}
[data-theme="dark"] .listing-row { background: var(--bg); }
.listing-row:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-xs);
}
.listing-row__thumb {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid var(--border);
}
.listing-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-row__info { flex: 1; min-width: 0; }
.listing-row__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 3px;
}
.listing-row__meta {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.listing-row__price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: .9rem;
  flex-shrink: 0;
}
.listing-row__status {
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.listing-row__status--active { background: var(--green-lt); color: var(--green); }
.listing-row__status--passive { background: var(--bg2); color: var(--muted); }
.listing-row__status--pending { background: var(--amber-lt); color: var(--amber); }
.listing-row__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

/* New listing form card */
.new-listing-card {
  background: linear-gradient(135deg, var(--blue-lt) 0%, rgba(6,182,212,.08) 100%);
  border: 1.5px dashed rgba(37,99,235,.25);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  margin-bottom: 20px;
}
.new-listing-card:hover {
  border-color: var(--blue);
  background: var(--blue-lt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
[data-theme="dark"] .new-listing-card {
  background: rgba(96,165,250,.06);
  border-color: rgba(96,165,250,.2);
}
[data-theme="dark"] .new-listing-card:hover {
  background: var(--blue-lt);
  border-color: var(--blue);
}

/* Listing form */
.listing-form-wrap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  margin-bottom: 20px;
}
[data-theme="dark"] .listing-form-wrap { background: var(--bg2); }
.listing-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
[data-theme="dark"] .listing-form-head { background: var(--bg); }
.listing-form-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Image upload zone */
.img-upload-zone {
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  background: var(--bg);
  position: relative;
}
.img-upload-zone:hover,
.img-upload-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-lt);
}
[data-theme="dark"] .img-upload-zone { background: var(--bg); }
.img-upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.img-preview-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  position: relative;
  background: var(--bg2);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  background: rgba(0,0,0,.65);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: .6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
}
.img-preview-item:hover .img-preview-item__remove { opacity: 1; }

/* Store hours / info grid */
.store-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Message thread */
.msg-thread-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background var(--t);
}
.msg-thread-item:last-child { border-bottom: none; }
.msg-thread-item:hover { background: var(--bg); }
[data-theme="dark"] .msg-thread-item:hover { background: var(--bg2); }
.msg-thread-item.unread { background: var(--blue-lt); }
[data-theme="dark"] .msg-thread-item.unread { background: rgba(96,165,250,.06); }
.msg-thread-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem;
  flex-shrink: 0;
}
.msg-thread-body { flex: 1; min-width: 0; }
.msg-thread-name {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.msg-thread-preview {
  font-size: .76rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg-thread-meta { text-align: right; flex-shrink: 0; }
.msg-thread-time {
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.msg-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-left: auto;
}

/* Tab bar inside section */
.section-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-tabs::-webkit-scrollbar { display: none; }
.section-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  transition: all var(--t);
  white-space: nowrap;
}
.section-tab-btn:hover { color: var(--ink); }
.section-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.section-tab-btn .tab-count {
  background: var(--blue);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}
.section-tab-content { display: none; }
.section-tab-content.active { display: block; }

/* Store cover uploader */
.store-cover-wrap {
  position: relative;
  height: 120px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #1e3a5f 100%);
  cursor: pointer;
}
.store-cover-wrap:hover .store-cover-overlay { opacity: 1; }
.store-cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.store-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  gap: 7px;
  opacity: 0;
  transition: opacity var(--t);
}

/* Verified badge strip */
.verified-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-lt);
  border: 1px solid rgba(5,150,105,.2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
}
[data-theme="dark"] .verified-strip {
  background: rgba(52,211,153,.08);
  border-color: rgba(52,211,153,.2);
}

/* Danger zone */
.danger-zone {
  border: 1.5px solid rgba(220,38,38,.25);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--red-lt);
}
[data-theme="dark"] .danger-zone {
  background: rgba(248,113,113,.05);
  border-color: rgba(248,113,113,.2);
}