/* ============================================================
   TrendUp — Design system
   Palette relevée sur la capture : orange #FF6A00, encre #0F172A,
   crème #FFF4EB, slate #64748B, lignes #E7EAF0.
   ============================================================ */

:root {
  --orange: #ff6a00;
  --orange-600: #e95e00;
  --orange-700: #c94f00;
  --orange-50: #fff4eb;
  --orange-100: #ffe7d6;
  --orange-200: #ffd2b3;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --slate: #64748b;
  --muted: #94a3b8;
  --line: #e7eaf0;
  --line-soft: #f1f4f8;
  --bg: #ffffff;
  --soft: #f8fafc;
  --cream: #fffbf5;
  --green: #12a150;
  --red: #e5484d;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, .10);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, .16);
  --shadow-orange: 0 12px 26px rgba(255, 106, 0, .26);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;

  --ease: cubic-bezier(.22, .8, .28, 1);
  --nav-h: 78px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 12% -8%, #fff2e7 0%, rgba(255, 242, 231, 0) 62%),
    radial-gradient(800px 520px at 92% 4%, #f4f7ff 0%, rgba(244, 247, 255, 0) 58%),
    #f5f6f9;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--orange-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(255, 106, 0, .32);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============================================================
   APP SHELL
   ============================================================ */
.app-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .04), 0 30px 80px rgba(15, 23, 42, .10);
}

.app-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}

.rail { display: none; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

.topbar.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #ff8a2b, var(--orange));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(255, 106, 0, .28);
  flex: 0 0 auto;
}
.logo-mark svg { width: 24px; height: 24px; stroke-width: 2.6; }

.brand__wordmark,
.rail__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.6px;
  color: var(--ink);
}
.brand__wordmark span,
.rail__wordmark span,
.auth__brand-name span,
.auth__mobile-brand > span > span { color: var(--orange); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  --btn-bg: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 20px;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s, background .18s, color .18s;
  box-shadow: var(--shadow-orange);
  white-space: nowrap;
}
.btn:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn__icon { width: 18px; height: 18px; stroke-width: 2.1; }

.btn--sm { padding: 10px 15px; font-size: 13.5px; border-radius: 12px; }
.btn--sm .btn__icon { width: 16px; height: 16px; }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { background: var(--soft); border-color: #d8dee9; }

.btn--danger {
  --btn-bg: #EF4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, .35);
}
.btn--danger:hover { background: #dc2626; }

.btn--block { width: 100%; padding: 15px 20px; font-size: 15px; border-radius: 14px; }

.topbar__sell { display: inline-flex; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  transition: background .18s, border-color .18s, transform .18s;
}
.icon-btn:hover { background: var(--soft); border-color: #dbe1ea; }
.icon-btn:active { transform: scale(.96); }
.icon-btn svg { width: 20px; height: 20px; }

.dot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  line-height: 1;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .3px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  user-select: none;
}
.avatar--sm { width: 32px; height: 32px; font-size: 11px; }
.avatar--lg { width: 64px; height: 64px; font-size: 20px; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.avatar--xl { width: 92px; height: 92px; font-size: 30px; background: linear-gradient(145deg, #fff4eb, #ffe7d6); color: var(--orange); border: 1px solid var(--orange-100); }
.avatar--google { width: 42px; height: 42px; background: var(--av, var(--orange)); font-size: 13px; }

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 13px;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px 7px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--slate);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .18s, background .18s;
  min-width: 0;
  white-space: nowrap;
}
.location-pill:hover { border-color: var(--orange-200); background: var(--orange-50); }
.location-pill__pin { width: 15px; height: 15px; color: var(--orange); stroke-width: 2; }
.location-pill__sep { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.location-pill__currency { color: var(--ink); font-weight: 700; }
.location-pill__chevron { width: 14px; height: 14px; color: var(--muted); }

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #0f8a48;
  background: #ecfdf3;
  border: 1px solid #c9f2d9;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.trust-pill svg { width: 13px; height: 13px; stroke-width: 2.1; }

/* Currency dropdown (replaces location-pill__currency dropdown) */
#currencyBtn { position: relative; }
.currency-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 50;
  display: grid;
  gap: 2px;
}
.currency-dropdown[hidden] { display: none !important; }
.currency-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.currency-dropdown__item:hover { background: var(--soft); color: var(--orange); }
.currency-dropdown__item.is-active { background: var(--orange-50); color: var(--orange); }
.currency-dropdown__item.is-active::after {
  content: "";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 10-10'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   CONTENT
   ============================================================ */
.content {
  flex: 1;
  padding: 16px 20px 30px;
}

.view { animation: viewIn .35s var(--ease); }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Search ---------- */
.search-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.search:focus-within {
  background: #fff;
  border-color: var(--orange-200);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .10);
}
.search__icon { width: 19px; height: 19px; color: var(--muted); flex: 0 0 auto; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 13px 10px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear {
  width: 26px; height: 26px;
  border: 0; background: #e8edf4; border-radius: 50%;
  display: grid; place-items: center; color: var(--slate);
}
.search__clear svg { width: 14px; height: 14px; stroke-width: 2.2; }

.filter-btn {
  position: relative;
  width: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--orange-100);
  background: var(--orange-50);
  color: var(--orange);
  display: grid;
  place-items: center;
  transition: background .18s, transform .18s;
}
.filter-btn:hover { background: var(--orange-100); }
.filter-btn:active { transform: scale(.96); }
.filter-btn__dot {
  position: absolute; top: 9px; right: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); border: 1.5px solid #fff;
}

/* ---------- Recent ---------- */
.recent { margin-top: 16px; }
.recent__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.recent__head > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.recent__head svg { width: 14px; height: 14px; }
.recent__head button {
  border: 0; background: none; padding: 0;
  font-size: 11.5px; font-weight: 600; color: var(--slate);
  text-decoration: underline; text-underline-offset: 2px;
}
.recent__head button:hover { color: var(--orange); }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 500;
  transition: all .18s;
}
.chip svg { width: 13px; height: 13px; color: var(--muted); }
.chip:hover { border-color: var(--orange-200); color: var(--orange); background: var(--orange-50); }
.chip:hover svg { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(140% 140% at 90% 8%, #ffe9d8 0%, rgba(255, 233, 216, 0) 52%),
    linear-gradient(170deg, #ffffff 0%, #fffdfb 45%, var(--orange-50) 100%);
  border: 1px solid #ffe8d6;
  padding: 28px 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 106, 0, .08) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(130deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(130deg, transparent 30%, #000 100%);
  z-index: -1;
  opacity: .6;
}

.hero__content { position: relative; z-index: 2; max-width: 540px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-700);
  background: #fff;
  border: 1px solid #ffe8d6;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  box-shadow: 0 4px 14px rgba(255, 106, 0, .10);
  backdrop-filter: blur(4px);
}
.eyebrow svg { width: 13px; height: 13px; stroke-width: 2; }
.eyebrow--plain {
  background: var(--orange-50);
  border-color: var(--orange-100);
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  font-weight: 800;
  margin: 16px 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 .hl {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 7px;
  border-radius: 6px;
  background: rgba(255, 106, 0, .16);
  z-index: -1;
}

.hero__text {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.65;
  max-width: 44ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero__cta .btn { font-size: 14px; padding: 14px 20px; font-weight: 700; }

.hero__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid #ffe8d6;
  padding-top: 14px;
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero__proof svg { width: 14px; height: 14px; color: var(--orange); stroke-width: 2; }

.hero__art { display: none; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.45px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}
.link-btn svg { width: 14px; height: 14px; stroke-width: 2.2; }
.link-btn:hover { color: var(--orange-700); }
.link-btn--sm { font-size: 11.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--slate); }
.link-btn--sm:hover { color: var(--orange); }

/* ---------- Categories ---------- */
.categories { margin-top: 26px; }

.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.cat-scroll::-webkit-scrollbar { display: none; }

.cat {
  flex: 0 0 auto;
  width: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  padding: 0;
  scroll-snap-align: start;
}
.cat__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--slate);
  transition: all .22s var(--ease);
}
.cat__icon svg { width: 25px; height: 25px; }
.cat__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  transition: color .2s;
  width: 82px;
  text-align: center;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat:hover .cat__icon { border-color: var(--orange-200); background: var(--orange-50); color: var(--orange); transform: translateY(-2px); }
.cat.is-active .cat__icon {
  background: linear-gradient(150deg, #ff8a2b, var(--orange));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 0, .26);
}
.cat.is-active .cat__label { color: var(--orange-700); font-weight: 700; }

/* ---------- Discovery ---------- */
.discovery { margin-top: 28px; }
.section-head--discovery { margin-bottom: 14px; }
.section-head__left { display: flex; align-items: center; gap: 9px; }
.count-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange-700);
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius-pill);
  padding: 4px 9px;
}
.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--slate);
  transition: border-color .18s, background .18s;
}
.sort-btn:hover { border-color: var(--orange-200); background: var(--orange-50); color: var(--orange-700); }
.sort-btn svg { width: 14px; height: 14px; }
.sort-btn__chevron { width: 13px; height: 13px; }

/* ---------- Listing Grid ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.listing-grid:empty { display: none; }

.listing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
  animation: cardIn .5s var(--ease) both;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-200);
}
.listing-card__media {
  position: relative;
  aspect-ratio: 1 / .86;
  background: linear-gradient(150deg, var(--orange-50), #f3f6fb);
  display: grid;
  place-items: center;
  color: var(--orange);
}
.listing-card__media svg { width: 48px; height: 48px; opacity: .8; transition: transform .2s var(--ease); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.listing-card:hover .listing-card__media img { transform: scale(1.03); }
.listing-card__fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .95);
  color: var(--slate);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.listing-card__fav svg { width: 17px; height: 17px; }
.listing-card__fav:hover { background: #fff; color: var(--orange); transform: scale(1.05); }
.listing-card__fav.is-fav { color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(255, 106, 0, .15); }
.listing-card__fav.is-fav svg { fill: var(--orange); }
.listing-card__body { padding: 12px 13px 14px; }
.listing-card__cat { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.listing-card__title { font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 1.35; margin: 5px 0 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card__price { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.listing-card__price--promo { color: var(--green, #12a150); }
.listing-card__price--orig { color: var(--muted, #64748b); text-decoration: line-through; font-size: 11px; font-weight: 600; margin-right: 5px; }
.listing-card__price small { font-size: 11px; font-weight: 600; color: var(--slate); margin-left: 4px; }
.listing-card__meta { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10px; color: var(--muted); }
.listing-card__meta svg { width: 11px; height: 11px; color: var(--green); }

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  border: 1px dashed var(--line-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
  border-radius: var(--radius-xl);
  padding: 32px 24px 36px;
  margin-top: 8px;
}
.empty__art { width: 200px; max-width: 80%; margin: 0 auto 12px; opacity: .85; }
.empty__art svg { width: 100%; height: auto; stroke: none; }
.empty h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.4px;
  margin-bottom: 6px;
  color: var(--ink);
}
.empty p { color: var(--slate); font-size: 13px; line-height: 1.65; max-width: 38ch; margin: 0 auto 18px; }
.empty .btn { font-size: 14px; padding: 14px 22px; font-weight: 700; }

/* ---------- Video Feed (vertical 9:16) ---------- */
.video-feed {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}
.video-feed::-webkit-scrollbar { display: none; }

#view-videos {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#view-videos .page-head { flex: 0 0 auto; }
#view-videos .video-feed { flex: 1; }

.video-card {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0F172A;
  height: 100dvh;
  width: 100%;
  flex: 0 0 auto;
  scroll-snap-align: start;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}
.video-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.42) 0%, rgba(15,23,42,0) 34%, rgba(15,23,42,.15) 55%, rgba(15,23,42,.88) 100%);
}


.video-card__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.video-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.video-card__tag i {
  width: 5px; height: 5px; border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .25);
}
.video-card__time {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(15, 23, 42, .62);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.video-card__body {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  color: #fff;
  z-index: 2;
}
.video-card__seller {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
}
.video-card__seller .avatar {
  width: 26px; height: 26px;
  font-size: 10px;
  background: rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}
.video-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.2px;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.video-card__price span { color: var(--orange); }
.video-card__views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}
.video-card__views svg { width: 12px; height: 12px; }

.video-card__actions {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.video-card__action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.video-card__action svg { width: 20px; height: 20px; }
.video-card__action span { font-weight: 700; }
.video-card__action:hover { background: rgba(255, 255, 255, .15); transform: translateY(-1px); }
.video-card__action.is-on { background: var(--orange); border-color: var(--orange); }

.video-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--slate);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.video-empty h3 { font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.video-empty p { font-size: 13.5px; }

/* ---------- Generic page head ---------- */
.page-head { margin: 6px 0 22px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.page-head p { color: var(--slate); font-size: 13.5px; line-height: 1.6; max-width: 46ch; }

.placeholder-card {
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, #fff, var(--cream));
  border-radius: var(--radius-lg);
  padding: 40px 24px;
}
.placeholder-card__icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--orange-50); color: var(--orange);
  display: grid; place-items: center; margin: 0 auto 16px;
  border: 1px solid var(--orange-100);
}
.placeholder-card__icon svg { width: 28px; height: 28px; }
.placeholder-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.placeholder-card p { color: var(--slate); font-size: 13px; line-height: 1.6; max-width: 40ch; margin: 0 auto 18px; }

/* ---------- Profile ---------- */
.profile-guest {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  background: linear-gradient(180deg, #fff, var(--cream));
}
.profile-guest__art { position: relative; width: fit-content; margin: 0 auto 16px; }
.profile-guest__badge {
  position: absolute; right: -2px; bottom: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; border: 3px solid #fff;
}
.profile-guest__badge svg { width: 14px; height: 14px; }
.profile-guest h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.benefits {
  list-style: none; padding: 0; margin: 0 auto 20px;
  display: grid; gap: 9px; max-width: 330px; text-align: left;
}
.benefits li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate); }
.benefits svg { width: 17px; height: 17px; color: var(--green); stroke-width: 2.4; flex: 0 0 auto; }
.profile-guest__actions { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.profile-guest__actions .btn { font-size: 13px; padding: 12px 18px; }

.google-inline {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color .18s, box-shadow .18s;
}
.google-inline:hover { border-color: #cfd8e3; box-shadow: var(--shadow-sm); }
.google-inline__icon { width: 18px; height: 18px; }

.profile-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 20px;
  color: #fff;
  background: linear-gradient(140deg, #1b2437 0%, #0f172a 60%, #201a17 100%);
  isolation: isolate;
}
.profile-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(300px 180px at 88% 0%, rgba(255, 106, 0, .38), transparent 70%);
}
.profile-hero__top { display: flex; align-items: flex-start; justify-content: space-between; }
.icon-btn--light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; }
.icon-btn--light:hover { background: rgba(255, 255, 255, .18); }
.profile-hero h2 { font-family: var(--font-display); font-size: 21px; font-weight: 800; margin-top: 14px; letter-spacing: -.4px; }
.profile-hero p { color: #a9b4c6; font-size: 12.5px; margin-top: 3px; }
.verified-pill {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px; padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 10.5px; font-weight: 600;
}
.verified-pill svg { width: 13px; height: 13px; color: #7ee2a8; }
.profile-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-pills .verified-pill { margin-top: 12px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 12px 0;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 8px;
  text-align: center;
  background: #fff;
}
.stat strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 10.5px; color: var(--muted); font-weight: 500; }

.profile-menu { display: grid; gap: 8px; }
.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 13px;
  transition: border-color .18s, background .18s, transform .18s;
}
.menu-row:hover { border-color: var(--orange-200); background: var(--cream); }
.menu-row:active { transform: scale(.995); }
.menu-row__icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--orange-50); color: var(--orange);
  display: grid; place-items: center; flex: 0 0 auto;
}
.menu-row__icon svg { width: 18px; height: 18px; }
.menu-row > span:nth-child(2) { flex: 1; min-width: 0; }
.menu-row strong { display: block; font-size: 13px; font-weight: 600; }
.menu-row small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.menu-row__chevron { width: 17px; height: 17px; color: var(--muted); }

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, .05);
}

.tab {
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  border-radius: 12px;
  transition: color .18s;
}
.tab svg { width: 21px; height: 21px; stroke-width: 1.9; }
.tab:hover { color: var(--slate); }
.tab.is-active { color: var(--orange); }
.tab.is-active svg { stroke-width: 2.2; }
.tab__icon-wrap { position: relative; display: grid; place-items: center; }
.dot-badge--nav { top: -6px; right: -10px; }

.tab--publish { color: var(--slate); }
.tab__fab {
  width: 50px;
  height: 50px;
  margin-top: -24px;
  border-radius: 17px;
  background: linear-gradient(150deg, #ff8a2b, var(--orange));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(255, 106, 0, .34), 0 0 0 5px #fff;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.tab__fab svg { width: 24px; height: 24px; stroke-width: 2.4; }
.tab--publish:hover .tab__fab { transform: translateY(-2px) rotate(90deg); }
.tab--publish span:last-child { margin-top: 2px; }

/* ============================================================
   AUTH
   ============================================================ */
.auth {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  overflow-y: auto;
  animation: authIn .4s var(--ease);
}
@keyframes authIn { from { opacity: 0; } to { opacity: 1; } }

.auth__brand { display: none; }

.auth__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 70px 20px 36px;
  min-height: 100%;
  background:
    radial-gradient(600px 320px at 100% 0%, #fff3e8 0%, rgba(255, 243, 232, 0) 60%),
    #fff;
}

.auth__back {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 12px 8px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  transition: all .18s;
}
.auth__back svg { width: 16px; height: 16px; }
.auth__back:hover { border-color: var(--orange-200); color: var(--orange); background: var(--orange-50); }

.auth__card {
  width: 100%;
  max-width: 420px;
  margin: auto 0;
  animation: cardUp .45s var(--ease);
}
@keyframes cardUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.auth__mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.5px;
  margin-bottom: 22px;
}
.auth__mobile-brand .logo-mark { width: 34px; height: 34px; border-radius: 10px; }

.auth__header h1 {
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
}
.auth__header p { color: var(--slate); font-size: 13.5px; margin-top: 7px; }

/* Google button */
.google-wrap { margin-top: 24px; }
.google-slot:empty { display: none; }
.google-slot > div { width: 100% !important; }
.google-slot iframe { width: 100% !important; }

.google-btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid #dde3ec;
  background: #fff;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: border-color .18s, box-shadow .18s, background .18s, transform .18s;
}
.google-btn:hover { border-color: #c6d0dd; box-shadow: var(--shadow-sm); background: #fcfdff; }
.google-btn:active { transform: scale(.995); }
.google-btn__icon { width: 19px; height: 19px; flex: 0 0 auto; }
.google-btn__spinner {
  position: absolute;
  right: 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  border-top-color: var(--orange);
  opacity: 0;
  transition: opacity .2s;
}
.google-btn.is-loading .google-btn__spinner { opacity: 1; animation: spin .7s linear infinite; }
.google-btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }

/* Form */
.auth-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > label, .field__label-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field__label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.field__control {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 13px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field__control:focus-within {
  background: #fff;
  border-color: var(--orange-200);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, .10);
}
.field__control.has-error { border-color: #f2b8b5; background: #fff7f7; }
.field__icon { width: 18px; height: 18px; color: var(--muted); margin-left: 13px; flex: 0 0 auto; }
.field__control input,
.field__control textarea,
.field__control select {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 13px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.field__control input::placeholder, .field__control textarea::placeholder { color: var(--muted); }
.field__control--area textarea { resize: vertical; min-height: 84px; padding-top: 12px; }
.field__control--select select { appearance: none; cursor: pointer; padding-right: 34px; }
.field__optional { color: var(--muted); font-weight: 500; }
.field__control--select { position: relative; }
.field__chevron { position: absolute; right: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }

.field__toggle {
  width: 38px; height: 38px;
  margin-right: 4px;
  border: 0; background: none;
  color: var(--muted);
  display: grid; place-items: center;
  border-radius: 10px;
}
.field__toggle:hover { color: var(--slate); background: #eef2f7; }
.field__toggle svg { width: 18px; height: 18px; }

.field__error { font-size: 11px; color: var(--red); min-height: 0; display: none; }
.field__error.is-visible { display: block; }
.field__hint { font-size: 10.5px; color: var(--muted); }

.strength { display: flex; gap: 4px; margin-top: 2px; }
.strength span { height: 4px; flex: 1; border-radius: 3px; background: #e8edf4; transition: background .25s; }
.strength.s1 span:nth-child(1) { background: #ef4444; }
.strength.s2 span:nth-child(-n+2) { background: #f59e0b; }
.strength.s3 span:nth-child(-n+3) { background: #84cc16; }
.strength.s4 span { background: #12a150; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--slate);
  cursor: pointer;
  user-select: none;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cfd8e3;
  background: #fff;
  display: grid; place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  transition: all .18s;
}
.check__box svg { width: 12px; height: 12px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.6); transition: all .18s; }
.check input:checked + .check__box { background: var(--orange); border-color: var(--orange); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid rgba(255, 106, 0, .3); outline-offset: 2px; }
.check a { color: var(--orange-700); font-weight: 600; text-decoration: none; }
.check a:hover { text-decoration: underline; }

.auth-submit { margin-top: 4px; position: relative; }
.auth-submit__spinner {
  position: absolute;
  right: 18px;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  opacity: 0;
  transition: opacity .2s;
}
.auth-submit.is-loading { pointer-events: none; }
.auth-submit.is-loading .auth-submit__spinner { opacity: 1; animation: spin .7s linear infinite; }
.auth-submit.is-loading .auth-submit__label { opacity: .75; }

.auth__switch {
  text-align: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--slate);
}
.auth__switch button {
  border: 0; background: none; padding: 0 0 0 4px;
  color: var(--orange);
  font-weight: 700;
  font-size: 12.5px;
}
.auth__switch button:hover { text-decoration: underline; text-underline-offset: 2px; }

.auth__legal {
  text-align: center;
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}
.auth__legal a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 470px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  animation: modalUp .35s var(--ease);
}
@keyframes modalUp { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__panel--sm { max-width: 410px; }

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.modal__head h2 { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.modal__head .eyebrow { margin-bottom: 8px; }
.modal__lead { font-size: 12.5px; color: var(--slate); line-height: 1.6; margin-bottom: 16px; }

.publish-form { display: grid; gap: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.upload-zone {
  border: 1.5px dashed #dbe2ec;
  border-radius: var(--radius-md);
  background: var(--soft);
  padding: 20px 16px;
  text-align: center;
  display: grid;
  gap: 3px;
  justify-items: center;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.upload-zone:hover, .upload-zone:focus-visible { border-color: var(--orange-200); background: var(--orange-50); }
.upload-zone__icon {
  width: 42px; height: 42px; border-radius: 13px;
  background: #fff; color: var(--orange);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-bottom: 5px;
}
.upload-zone strong { font-size: 12.5px; }
.upload-zone small { font-size: 10.5px; color: var(--muted); }

.thumb-row { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb-row:empty { display: none; }
.thumb {
  width: 58px; height: 58px;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 2px; right: 2px;
  width: 17px; height: 17px; border-radius: 50%;
  border: 0; background: rgba(15, 23, 42, .7); color: #fff;
  display: grid; place-items: center;
}
.thumb button svg { width: 10px; height: 10px; stroke-width: 2.6; }

.modal__actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 6px; }
.modal__actions .btn { font-size: 13px; padding: 12px 18px; }

/* Google modal */
.modal__panel--google { max-width: 420px; padding: 20px; }
.google-modal__head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.google-modal__logo { width: 24px; height: 24px; }
.demo-badge {
  font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-700); background: var(--orange-50); border: 1px solid var(--orange-100);
  padding: 3px 7px; border-radius: var(--radius-pill);
}
.google-modal__head .icon-btn { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; }
.modal__panel--google h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.google-modal__sub { font-size: 12.5px; color: var(--slate); margin: 4px 0 16px; }
.google-accounts { display: grid; gap: 2px; border-top: 1px solid var(--line-soft); }
.google-account {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
  padding: 11px 8px;
  text-align: left;
  transition: background .16s;
}
.google-account:hover { background: var(--soft); }
.google-account > span:nth-child(2) { flex: 1; min-width: 0; }
.google-account strong { display: block; font-size: 13px; font-weight: 600; }
.google-account small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.google-account > svg { width: 16px; height: 16px; color: var(--muted); }
.google-other {
  display: flex; align-items: center; gap: 9px;
  width: 100%; border: 0; background: none;
  padding: 13px 8px; font-size: 12.5px; font-weight: 600; color: var(--slate);
  border-bottom: 1px solid var(--line-soft);
}
.google-other:hover { color: var(--orange); }
.google-other svg { width: 17px; height: 17px; }
.google-modal__note { font-size: 10px; color: var(--muted); line-height: 1.5; margin-top: 13px; }

/* ============================================================
   SETTINGS MODAL
   ============================================================ */
.settings-sections { display: grid; gap: 20px; }
.settings-section { border-top: 1px solid var(--line); padding-top: 16px; }
.settings-section:first-child { border-top: none; padding-top: 0; }
.settings-section h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.settings-section h3 svg { width: 16px; height: 16px; color: var(--orange); }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.settings-row:last-child { border-bottom: none; }
.settings-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.settings-row strong { font-size: 13px; color: var(--ink); }
.settings-row small { font-size: 11px; color: var(--muted); }
.settings-row small a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.settings-row .btn { flex-shrink: 0; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 18px);
  transform: translate(-50%, 20px);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 15px 11px 11px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast__icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
}
.toast__icon svg { width: 14px; height: 14px; stroke-width: 2.6; }
.toast.is-error .toast__icon { background: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 479px) {
  .trust-pill { display: none; }
}

@media (max-width: 359px) {
  .topbar__sell span { display: none; }
  .topbar__sell { padding: 10px; }
  .hero h1 { font-size: 25px; letter-spacing: -1px; }
  .hero { padding: 20px 18px; }
}

@media (min-width: 480px) {
  .hero { padding: 26px 24px; }
  .hero h1 { font-size: 34px; }
  .listing-grid { gap: 14px; }
}

@media (min-width: 720px) {
  .app-shell { max-width: 760px; }
  .content { padding: 20px 30px 40px; }
  .topbar__row { padding: 16px 30px 8px; }
  .topbar__meta { padding: 0 30px 14px; }
  .bottom-nav { max-width: 760px; }
  .hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 18px; padding: 30px; }
  .hero__art { display: block; position: relative; height: 250px; }
  .hero h1 { font-size: 36px; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .auth__panel { padding: 40px; }
}

@media (min-width: 1024px) {
  .app-shell {
    max-width: 1180px;
    display: grid;
    grid-template-columns: 232px 1fr;
    background: transparent;
    box-shadow: none;
    min-height: 100vh;
  }

  .rail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 26px 18px 22px;
    background: #fff;
    border-right: 1px solid var(--line);
    z-index: 50;
  }
  .rail__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 0 8px 22px;
  }
  .rail__brand .logo-mark { width: 38px; height: 38px; }
  .rail__wordmark { font-size: 22px; }

  .rail__nav { display: grid; gap: 4px; }
  .rail__link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    border: 0;
    background: none;
    border-radius: 12px;
    padding: 11px 12px;
    color: var(--slate);
    font-size: 13.5px;
    font-weight: 600;
    text-align: left;
    transition: background .16s, color .16s;
  }
  .rail__link svg { width: 20px; height: 20px; stroke-width: 1.9; }
  .rail__link:hover { background: var(--soft); color: var(--ink); }
  .rail__link.is-active { background: var(--orange-50); color: var(--orange); }
  .rail__link.is-active svg { stroke-width: 2.2; }
  .rail__badge {
    margin-left: auto;
    min-width: 20px; height: 20px;
    border-radius: var(--radius-pill);
    background: var(--orange-50);
    color: var(--orange);
    font-size: 10px;
    display: grid; place-items: center;
    padding: 0 5px;
  }
  .rail__link.is-active .rail__badge { background: #fff; }

  .rail__promo {
    margin-top: auto;
    border-radius: var(--radius-md);
    background: linear-gradient(160deg, var(--cream), var(--orange-50));
    border: 1px solid var(--orange-100);
    padding: 15px;
  }
  .rail__promo-icon {
    width: 34px; height: 34px; border-radius: 11px;
    background: #fff; color: var(--orange);
    display: grid; place-items: center;
    border: 1px solid var(--orange-100);
    margin-bottom: 9px;
  }
  .rail__promo-icon svg { width: 17px; height: 17px; }
  .rail__promo p { font-size: 10.5px; line-height: 1.5; color: var(--slate); margin-bottom: 11px; }
  .rail__promo p strong { display: block; font-size: 12px; color: var(--ink); margin-bottom: 2px; }
  .rail__promo .btn { width: 100%; font-size: 11.5px; padding: 9px 10px; }

  .app-main {
    background: #fff;
    min-height: 100vh;
    padding-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .bottom-nav { display: none; }
  .topbar { padding-top: 4px; }
  .topbar__row { padding: 18px 34px 8px; }
  .topbar__meta { padding: 0 34px 16px; }
  .content { padding: 22px 34px 44px; max-width: 900px; width: 100%; margin: 0 auto; }

  .hero { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px; align-items: center; }
  .hero h1 { font-size: 42px; }
  .hero__text { font-size: 15px; max-width: 480px; }
  .hero__cta .btn { font-size: 15px; padding: 15px 24px; }
  .hero__art { height: 300px; display: block; position: relative; }

  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .toast { bottom: 26px; }

  /* Auth split */
  .auth { grid-template-columns: 1.02fr 1fr; overflow: hidden; }
  .auth__brand {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding: 40px 46px;
    color: #fff;
    background:
      radial-gradient(500px 380px at 85% 8%, rgba(255, 255, 255, .16), transparent 65%),
      linear-gradient(155deg, #ff8a2b 0%, var(--orange) 48%, #e25500 100%);
    isolation: isolate;
  }
  .auth__brand-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
  .logo-mark--light {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    box-shadow: none;
    backdrop-filter: blur(6px);
  }
  .auth__brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.6px;
  }
  .auth__brand-name span { color: #fff; opacity: .82; }

  .auth__brand-copy { position: relative; z-index: 2; margin-top: auto; margin-bottom: auto; padding: 40px 0 26px; }
  .auth__brand-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: var(--radius-pill);
    padding: 6px 11px;
    margin-bottom: 18px;
  }
  .auth__brand-eyebrow svg { width: 13px; height: 13px; }
  .auth__brand-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    font-weight: 800;
    margin-bottom: 16px;
  }
  .auth__brand-copy h2 em { font-style: normal; color: #fff4eb; }
  .auth__brand-copy p { font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 36ch; }

  .auth__brand-stats {
    position: relative; z-index: 2;
    display: flex; gap: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .24);
  }
  .auth__brand-stats strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
  .auth__brand-stats span { font-size: 10.5px; color: rgba(255, 255, 255, .78); }

  .auth__brand-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .auth__orb { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
  .auth__orb--1 { width: 460px; height: 460px; right: -190px; top: -140px; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14), transparent 60%); }
  .auth__orb--2 { width: 260px; height: 260px; right: -70px; bottom: 60px; background: rgba(255, 255, 255, .05); }
  .auth__orb--3 { width: 120px; height: 120px; left: -40px; bottom: 140px; background: rgba(255, 255, 255, .06); }

  .auth__panel {
    padding: 34px 40px;
    justify-content: center;
    overflow-y: auto;
    background: #fff;
  }
  .auth__back { top: 24px; left: 26px; }
  .auth__mobile-brand { display: none; }
  .auth__card { max-width: 390px; margin: 0; }
  .auth__header h1 { font-size: 33px; }
}

@media (min-width: 1280px) {
  .app-shell { grid-template-columns: 250px 1fr; }
  .content { padding: 26px 40px 50px; max-width: 980px; }
  .topbar__row, .topbar__meta { padding-left: 40px; padding-right: 40px; }
}

/* ============================================================
   HERO ART (desktop)
   ============================================================ */
.hero__glow {
  position: absolute;
  width: 230px; height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 43, .35), rgba(255, 138, 43, 0) 68%);
  right: 0; top: -20px;
  filter: blur(6px);
}
.hero__ring {
  position: absolute;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 106, 0, .28);
  right: 18px; top: 22px;
  animation: slowSpin 26s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

.hero__card {
  position: absolute;
  right: 24px;
  top: 36px;
  width: 178px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(255, 106, 0, .12);
  transform: rotate(2deg);
  border: 1px solid #ffe8d6;
  transition: transform .3s var(--ease);
}
.hero__card:hover { transform: rotate(0deg) scale(1.02); }
.hero__card-img {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #fff4eb, #ffe3cd);
  height: 116px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero__sneaker { width: 104px; height: 104px; stroke: none; }
.hero__tag {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, .35);
}
.hero__card-body { padding: 10px 6px 4px; }
.hero__card-kicker { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.hero__card-body strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 800; margin: 2px 0 5px; color: var(--ink); }
.hero__price { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--ink); }
.hero__price small { font-size: 10px; color: var(--slate); }

.hero__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-soft);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  border: 1px solid #fff;
}
.hero__float svg { width: 13px; height: 13px; color: var(--green); stroke-width: 2.2; }
.hero__float--top { right: auto; left: 14px; top: 18px; animation: floatY 5s ease-in-out infinite; }
.hero__float--bottom { right: 14px; bottom: 18px; animation: floatY 6s ease-in-out infinite reverse; }
.hero__float .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(18, 161, 80, .5);
  animation: pulse 2s infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .5); }
  70% { box-shadow: 0 0 0 8px rgba(18, 161, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); }
}

@media (max-width: 719px) {
  .hero__art { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   VIDÉOS — feed vertical & lecteur
   ============================================================ */
.page-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.page-head--row .btn { flex: 0 0 auto; }

.btn--sm {
  padding: 10px 15px;
  font-size: 12.5px;
  border-radius: 12px;
  gap: 7px;
}
.btn--sm svg { width: 15px; height: 15px; }

/* ---- Lecteur plein écran ---- */
.modal--video .modal__backdrop { background: rgba(8, 12, 22, .82); backdrop-filter: blur(6px); }
.modal--video { align-items: center; justify-content: center; }

.video-player {
  position: relative;
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  animation: vpIn .32s var(--ease);
}
@keyframes vpIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.video-player__stage { position: relative; aspect-ratio: 9 / 15.4; background: #000; }
.video-player__stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.video-player__close:hover { background: rgba(239, 68, 68, .85); }
.video-player__close svg { width: 16px; height: 16px; }

.video-player__mute {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-player__mute svg { width: 16px; height: 16px; }

.video-player__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .2);
  z-index: 3;
}
.video-player__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width .12s linear;
}

.video-player__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 16px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.92) 100%);
  color: #fff;
  z-index: 2;
}
.video-player__seller {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.video-player__seller .avatar {
  width: 34px; height: 34px;
  font-size: 12px;
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.video-player__seller strong { display: block; font-size: 12.5px; font-weight: 800; }
.video-player__seller span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .68); }

.video-player__meta h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.3;
  margin: 0 0 6px;
}
.video-player__meta p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .74);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-player__actions { display: flex; align-items: center; gap: 9px; }
.video-player__actions .btn { flex: 1; justify-content: center; }

.video-player__like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.video-player__like svg { width: 15px; height: 15px; }
.video-player__like.is-on { background: rgba(255, 106, 0, .9); border-color: var(--orange); }
.video-player__like.is-on svg { fill: currentColor; }

.video-player__fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.video-player__fullscreen:hover { background: rgba(255, 255, 255, .15); }
.video-player__fullscreen svg { width: 16px; height: 16px; stroke-width: 2; }

.video-player__live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #EF4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite;
}
.video-player__live-badge svg { width: 12px; height: 12px; }

/* Plein écran : le player couvre toute la fenêtre */
.video-player--fullscreen {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  margin: 0;
  z-index: 200;
  box-shadow: 0 0 0 100vw #000;
}
.video-player--fullscreen .video-player__stage,
.video-player--fullscreen .video-player__stage video {
  height: 100%;
  aspect-ratio: auto;
}
.video-player--fullscreen .video-player__meta {
  padding: 80px 20px 20px;
}
.video-player--fullscreen .video-player__close,
.video-player--fullscreen .video-player__mute,
.video-player--fullscreen .video-player__fullscreen {
  z-index: 6;
}
.video-player--fullscreen .video-player__fullscreen svg {
  transform: rotate(90deg);
}

/* Quand le navigateur est en plein écran natif, masquer la barre de progression du player */
:fullscreen .video-player__progress,
:-webkit-full-screen .video-player__progress { display: none; }

/* ============================================================
   BANDEAU DE CONFIANCE
   ============================================================ */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 18px 0 6px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.trust-strip__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--orange-soft, #FFF4EB);
  color: var(--orange);
}
.trust-strip__icon svg { width: 17px; height: 17px; }
.trust-strip__item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.1px;
}
.trust-strip__item span {
  display: block;
  font-size: 10.5px;
  color: var(--slate);
  margin-top: 1px;
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-foot {
  margin-top: 48px;
  padding: 40px 0 34px;
  border-top: 1px solid var(--line);
  gap: 26px;
  grid-template-columns: 1.4fr 2fr;
}
.site-foot__logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.7px;
  color: var(--ink);
  display: inline-block;
  margin-bottom: 8px;
}
.site-foot__logo::after { content: ""; }
.site-foot__brand p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 280px;
}
.site-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.site-foot__cols h4 {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--ink);
  margin-bottom: 9px;
}
.site-foot__cols button {
  display: block;
  border: 0;
  background: none;
  padding: 0;
  margin-bottom: 7px;
  font-size: 12px;
  font-family: inherit;
  color: var(--slate);
  cursor: pointer;
  text-align: left;
  transition: color .18s var(--ease);
}
.site-foot__cols button:hover { color: var(--orange); }
.site-foot__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--slate);
}
.site-foot__pays { font-weight: 600; }

@media (min-width: 720px) {
  .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-foot { display: grid; }
}

/* ============================================================
   Publication de vidéos · Notation boutique · Photo de profil
   ============================================================ */

/* ---- Avatar : photo réelle ---- */
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.avatar-edit {
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  line-height: 0;
  transition: transform .25s var(--ease);
}
.avatar-edit:hover { transform: translateY(-1px); }
.avatar-edit:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.avatar-edit__badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .25);
}
.avatar-edit__badge svg { width: 13px; height: 13px; }

/* ---- Zone d'upload vidéo ---- */
.upload-zone--video { padding: 22px 16px; }
.upload-zone--video.is-drag { border-color: var(--orange); background: var(--orange-50); }

.video-preview {
  border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
  border: 1px solid var(--line);
}
.video-preview video {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #0F172A;
}
.video-preview__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate);
}
.video-preview__change {
  border: 0;
  background: none;
  color: var(--orange);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
}
.video-preview__change:hover { background: var(--orange-50); }

/* ---- Live Camera Preview ---- */
.live-camera-preview {
  border-radius: 16px;
  overflow: hidden;
  background: #0F172A;
  border: 1px solid var(--line);
  position: relative;
}
.live-camera-preview video {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  background: #0F172A;
}
.live-camera-controls {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, .9);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.live-camera-controls .btn {
  flex: 1;
  justify-content: center;
}

/* ---- Bouton boutique dans le lecteur ---- */
.video-player__seller {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  padding: 8px 10px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background .22s var(--ease);
}
.video-player__seller:hover { background: rgba(255, 255, 255, .18); }
.video-player__seller:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.video-player__seller > div { min-width: 0; }
.video-player__seller strong { display: block; font-size: 13px; }
.video-player__seller span { font-size: 10.5px; color: rgba(255, 255, 255, .7); }
.vp-shop-chevron {
  width: 16px;
  height: 16px;
  margin-left: auto;
  transform: rotate(-90deg);
  opacity: .65;
  flex: 0 0 auto;
}
.vp-rating {
  display: flex !important;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: #FBBF24 !important;
  font-weight: 800;
}
.vp-rating svg { width: 11px; height: 11px; }
.vp-rating b { color: #fff; font-size: 10.5px; }
.vp-rating small { color: rgba(255, 255, 255, .6); font-size: 10px; font-weight: 600; }

/* ---- Étoiles ---- */
.stars {
  display: inline-flex;
  gap: 2px;
  color: #E2E8F0;
}
.stars svg { width: 14px; height: 14px; }
.stars .is-full { color: #F59E0B; }
.stars .is-half { color: #F59E0B; opacity: .55; }

/* ---- Modal boutique ---- */
.shop-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 16px;
}
.shop-head strong { font-family: var(--font-display); font-size: 16px; display: block; }
.shop-head p { font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.shop-score { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.shop-score b { font-family: var(--font-display); font-size: 15px; }
.shop-score small { font-size: 11px; color: var(--muted); font-weight: 600; }

.shop-subscribe {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.shop-subscribe .btn--sm { font-size: 12px; padding: 8px 12px; }
.shop-subscribe .btn--sm.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.shop-subscribe span { font-size: 11px; font-weight: 700; color: var(--muted); }

.rate-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #FCFCFD;
  margin-bottom: 16px;
}
.rate-block__label { font-size: 12px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.rate-picker { display: flex; gap: 6px; }
.rate-picker button {
  border: 0;
  background: none;
  padding: 2px;
  cursor: pointer;
  color: #D8DEE8;
  transition: transform .16s var(--ease), color .16s var(--ease);
  line-height: 0;
}
.rate-picker button svg { width: 32px; height: 32px; }
.rate-picker button:hover { transform: scale(1.12); }
.rate-picker button.is-on { color: #F59E0B; }
.rate-picker button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.rate-block__hint { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* Étoiles pleines */
.stars .is-full svg,
.stars .is-half svg,
.rate-picker button.is-on svg,
.vp-rating svg { fill: currentColor; }

/* La fiche boutique doit passer au-dessus du lecteur vidéo */
#shopModal { z-index: 150; }

/* ---------- Phase 3 : boutique & mes produits ---------- */
.field__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.shop-banner {
  position: relative;
  height: 130px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, .16), rgba(255, 106, 0, .04));
  background-size: cover;
  background-position: center;
  border: 1px dashed rgba(255, 106, 0, .35);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shop-banner.has-image { border-style: solid; }
.shop-banner__pick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, .4);
  background: rgba(255, 255, 255, .92);
  color: #FF6A00;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.shop-banner__pick svg { width: 16px; height: 16px; }

.shop-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 4px;
}
.shop-logo {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: none;
}
.shop-logo > span:first-child {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 106, 0, .12);
  color: #FF6A00;
  font-weight: 700;
  font-size: 20px;
}
.shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-logo-hint { font-size: 12px; color: var(--muted); margin: 0; }

.mp-list { display: grid; gap: 10px; max-height: 52vh; overflow-y: auto; }
.mp-empty { color: var(--muted); font-size: 14px; text-align: center; padding: 24px 0; margin: 0; }
.mp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}
.mp-row__media {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .05);
  color: var(--muted);
}
.mp-row__media img { width: 100%; height: 100%; object-fit: cover; }
.mp-row__media svg { width: 22px; height: 22px; }
.mp-row__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mp-row__body strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-row__body small { font-size: 12px; color: var(--muted); }
.mp-row__actions { display: flex; gap: 4px; flex: none; }

.mp-stock-input {
  width: 56px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  flex: none;
}
.mp-stock-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .15);
}

/* ===================== PHASE 4 : PANIER & COMMANDES ===================== */
.modal__sub { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

.cart-list { display: grid; gap: 10px; max-height: 46vh; overflow-y: auto; }
.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}
.cart-row__media {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none;
  display: grid; place-items: center; background: rgba(15, 23, 42, .05); color: var(--muted);
}
.cart-row__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__media svg { width: 22px; height: 22px; }
.cart-row__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cart-row__body strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-row__body small { font-size: 12px; color: var(--muted); }
.cart-row__price { font-size: 13px; font-weight: 700; color: var(--brand, #FF6A00); }
.cart-row__price--promo { color: var(--green-700); }
.cart-row__price--promo s { color: var(--slate); font-weight: 600; }
.cart-row__qty {
  display: flex; align-items: center; gap: 2px; flex: none;
  border: 1px solid rgba(15, 23, 42, .12); border-radius: 999px; padding: 2px;
}
.cart-row__qty button {
  width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent;
  font-size: 15px; font-weight: 700; color: #0F172A; cursor: pointer; line-height: 1;
}
.cart-row__qty button:hover { background: rgba(255, 106, 0, .12); color: #FF6A00; }
.cart-row__qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 700; }

.cart-foot { margin-top: 14px; border-top: 1px solid rgba(15, 23, 42, .08); padding-top: 12px; }
.cart-foot__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); margin-bottom: 10px;
}
.cart-foot__row strong { font-size: 18px; color: #0F172A; font-family: var(--font-display); }

.co-summary {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
  background: rgba(255, 106, 0, .03);
}
.co-summary__shop {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px;
}
.co-summary__shop svg { width: 14px; height: 14px; }
.co-summary__total {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed rgba(15, 23, 42, .14); margin-top: 8px; padding-top: 8px;
  font-size: 13px; color: var(--muted);
}
.co-summary__total strong { font-size: 17px; color: #0F172A; font-family: var(--font-display); }

.order-list { display: grid; gap: 12px; max-height: 58vh; overflow-y: auto; padding-right: 2px; }
.order-card {
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 8px;
}
.order-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.order-card__ref { font-size: 12px; letter-spacing: .02em; font-family: var(--font-display); }
.order-card__date { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px;
  background: rgba(15, 23, 42, .06); color: #0F172A; white-space: nowrap;
}
.status-pill svg { width: 10px; height: 10px; }
.status-pill--pending   { background: rgba(245, 158, 11, .14); color: #B45309; }
.status-pill--accepted  { background: rgba(59, 130, 246, .14); color: #1D4ED8; }
.status-pill--preparing { background: rgba(139, 92, 246, .14); color: #6D28D9; }
.status-pill--shipped   { background: rgba(14, 165, 233, .14); color: #0369A1; }
.status-pill--delivered { background: rgba(16, 185, 129, .16); color: #047857; }
.status-pill--cancelled { background: rgba(239, 68, 68, .13); color: #B91C1C; }

.order-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.order-line { display: flex; align-items: center; gap: 10px; }
.order-line__media {
  width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex: none;
  display: grid; place-items: center; background: rgba(15, 23, 42, .05); color: var(--muted);
}
.order-line__media img { width: 100%; height: 100%; object-fit: cover; }
.order-line__media svg { width: 16px; height: 16px; }
.order-line__body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.order-line__body strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-line__body small { font-size: 11px; color: var(--muted); }
.order-line__total { font-size: 12px; font-weight: 700; flex: none; }

.order-card__steps { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.order-card__steps::-webkit-scrollbar { display: none; }
.order-step { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.order-step__marker { width: 16px; height: 16px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; flex: none; }
.order-step__marker svg { width: 8px; height: 8px; }
.order-step__label { font-size: 11px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.order-step--done .order-step__marker { background: var(--green); border-color: var(--green); color: #fff; }
.order-step--done .order-step__marker svg { stroke: #fff; }
.order-step--active .order-step__marker { background: var(--orange); border-color: var(--orange); color: #fff; }
.order-step--active .order-step__marker svg { stroke: #fff; }
.order-step__line { width: 1px; height: 10px; background: var(--line); margin: 0 2px; }

.order-card__meta {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: 11px; color: var(--muted);
  border-top: 1px dashed rgba(15, 23, 42, .1); padding-top: 8px;
}
.order-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.order-card__meta svg { width: 12px; height: 12px; }

.order-card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(15, 23, 42, .08); padding-top: 10px;
}
.order-card__total { display: grid; gap: 1px; }
.order-card__total small { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.order-card__total strong { font-size: 14px; font-family: var(--font-display); }
.order-card__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.order-card__actions .btn { font-size: 11px; padding: 7px 10px; }

.icon-btn--sm { width: 30px; height: 30px; }
.icon-btn--sm svg { width: 15px; height: 15px; }

.listing-card { cursor: pointer; }
.listing-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--brand, #FF6A00);
}
.listing-card__cta svg { width: 13px; height: 13px; }

/* Détail produit */
.pd-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pd-media {
  border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(15, 23, 42, .05); display: grid; place-items: center; color: var(--muted);
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media svg { width: 44px; height: 44px; }
.pd-thumbs { display: flex; gap: 7px; margin-top: 10px; }
.pd-thumbs button {
  width: 56px; height: 56px; border-radius: 12px; overflow: hidden; padding: 0;
  border: 2px solid transparent; background: rgba(15, 23, 42, .06); cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pd-thumbs button:hover { border-color: var(--orange-200); transform: translateY(-2px); }
.pd-thumbs button.is-active { border-color: #FF6A00; box-shadow: 0 0 0 3px rgba(255, 106, 0, .15); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 6px; color: var(--ink); }
.pd-shop { font-size: 12px; color: var(--slate); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pd-shop svg { width: 13px; height: 13px; color: var(--orange); }
.pd-price { font-size: 28px; font-weight: 800; font-family: var(--font-display); color: #0F172A; margin: 8px 0 4px; }
.pd-price small { font-size: 13px; font-weight: 700; color: var(--slate); margin-left: 5px; }
.pd-price.pd-price--promo { color: var(--green-700); }

.pd-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  border: 1px solid #bbf7d0;
}
.pd-promo-badge svg { width: 12px; height: 12px; stroke-width: 2; }
.pd-promo-badge strong { color: var(--green-700); }

.pd-price--orig {
  text-decoration: line-through;
  font-size: 18px;
  color: var(--slate);
  font-weight: 800;
  margin-right: 8px;
}

.pd-desc { font-size: 14px; line-height: 1.7; color: #475569; margin: 10px 0 0; }
.pd-stock { font-size: 12px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.pd-stock svg { width: 13px; height: 13px; }
.pd-stock.is-low { color: #B45309; font-weight: 700; }
.pd-stock.is-out { color: #B91C1C; font-weight: 800; }
.pd-qty {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 14px;
  border: 1px solid rgba(15, 23, 42, .12); border-radius: 999px; padding: 4px;
}
.pd-qty button {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent;
  font-size: 17px; font-weight: 800; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.pd-qty button:hover { background: rgba(255, 106, 0, .15); color: #FF6A00; }
.pd-qty span { min-width: 32px; text-align: center; font-weight: 800; font-size: 15px; color: var(--ink); }
.pd-actions { display: flex; gap: 10px; margin-top: 18px; }
.pd-actions .btn { flex: 1; padding: 14px 16px; font-size: 15px; font-weight: 800; }
@media (min-width: 560px) {
  .pd-grid { grid-template-columns: 220px 1fr; gap: 20px; }
}

/* ============================================================
   MESSAGERIE PRIVÉE
   ============================================================ */
.page-head--tight { margin-bottom: 14px; }

.msg-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  box-shadow: var(--shadow-sm);
}

.msg-list {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--soft);
  min-width: 0;
}
.msg-list__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.msg-list__head h2 { font-size: 14px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.msg-list__count {
  font-size: 11px; font-weight: 800; color: var(--orange-700);
  background: var(--orange-50); border: 1px solid var(--orange-200);
  padding: 2px 8px; border-radius: var(--radius-pill);
}
.msg-list__items { flex: 1; overflow-y: auto; max-height: 520px; }

.msg-item {
  display: flex; gap: 10px; width: 100%; text-align: left;
  padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line-soft);
  background: transparent; cursor: pointer; align-items: center;
  transition: background .16s var(--ease);
}
.msg-item:hover { background: var(--orange-50); }
.msg-item.is-active { background: var(--bg); box-shadow: inset 3px 0 0 var(--orange); }
.msg-item__avatar { flex: 0 0 auto; }
.msg-item__main { flex: 1; min-width: 0; }
.msg-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.msg-item__name {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msg-item__time { font-size: 10.5px; color: var(--muted); flex: 0 0 auto; font-weight: 600; }
.msg-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.msg-item__preview {
  font-size: 12px; color: var(--slate); margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msg-item__preview.is-unread { color: var(--ink); font-weight: 650; }
.msg-item__badge {
  flex: 0 0 auto; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-orange);
}
.msg-item__shop {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; color: var(--muted); font-weight: 600;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.msg-item__shop svg { width: 10px; height: 10px; }

.msg-list__empty {
  padding: 34px 20px; text-align: center; color: var(--slate);
}
.msg-list__empty svg { width: 34px; height: 34px; stroke: var(--orange); stroke-width: 1.6; margin-bottom: 10px; }
.msg-list__empty h3 { font-size: 13.5px; font-weight: 800; margin: 0 0 4px; color: var(--ink); }
.msg-list__empty p { font-size: 12px; line-height: 1.5; margin: 0; }

.msg-thread { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }

.msg-thread__placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center; color: var(--slate);
}
.msg-thread__placeholder svg {
  width: 46px; height: 46px; stroke: var(--orange); stroke-width: 1.4;
  margin-bottom: 12px; opacity: .85;
}
.msg-thread__placeholder h3 { font-size: 14.5px; font-weight: 800; color: var(--ink); margin: 0 0 5px; }
.msg-thread__placeholder p { font-size: 12.5px; line-height: 1.55; margin: 0; max-width: 300px; }

.msg-thread__head {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: var(--bg); position: sticky; top: 0; z-index: 2;
}
.msg-thread__back { display: none; }
.msg-thread__id { min-width: 0; }
.msg-thread__id strong {
  display: block; font-size: 13.5px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.msg-thread__id small {
  display: block; font-size: 11px; color: var(--muted); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.msg-thread__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.msg-thread__messages {
  flex: 1; overflow-y: auto; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 430px; min-height: 260px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,106,0,.05), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(255,106,0,.04), transparent 46%),
    var(--bg);
}

.msg-bubble {
  max-width: 78%; padding: 9px 12px; border-radius: 16px;
  font-size: 13px; line-height: 1.5; word-wrap: break-word; overflow-wrap: anywhere;
  position: relative; animation: msgIn .18s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.msg-bubble--in {
  align-self: flex-start; background: var(--soft);
  border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink);
}
.msg-bubble--out {
  align-self: flex-end; background: linear-gradient(145deg, #ff8a2b, var(--orange));
  color: #fff; border-bottom-right-radius: 5px; box-shadow: var(--shadow-orange);
}
.msg-bubble--pending { opacity: .62; }
.msg-bubble--failed { background: #fee2e2 !important; color: #991b1b !important; box-shadow: none; }

.msg-bubble__img {
  display: block; max-width: 100%; border-radius: 11px; margin-bottom: 5px;
  cursor: zoom-in;
}
.msg-bubble__meta {
  display: flex; align-items: center; gap: 4px; justify-content: flex-end;
  font-size: 10px; margin-top: 3px; opacity: .78; font-weight: 600;
}
.msg-bubble--in .msg-bubble__meta { color: var(--slate); }
.msg-bubble--out .msg-bubble__meta { color: rgba(255,255,255,.92); }
.msg-bubble__meta svg { width: 11px; height: 11px; }
.msg-bubble__tick--read { color: #fff; }

.msg-day {
  align-self: center; font-size: 10.5px; font-weight: 700;
  color: var(--slate); background: var(--line-soft);
  padding: 3px 10px; border-radius: var(--radius-pill); margin: 6px 0;
}

.msg-composer {
  display: flex; align-items: flex-end; gap: 7px;
  padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg);
}
.msg-composer__img {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--soft);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .16s var(--ease);
}
.msg-composer__img:hover { border-color: var(--orange-200); background: var(--orange-50); color: var(--orange); }
.msg-composer__img svg { width: 17px; height: 17px; }
.msg-composer textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: 18px;
  padding: 9px 13px; font-size: 13px; font-family: inherit; line-height: 1.45;
  max-height: 108px; min-height: 36px; background: var(--soft); color: var(--ink);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.msg-composer textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,106,0,.11);
}
.msg-composer__send {
  flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.msg-composer__send svg { width: 16px; height: 16px; }
.msg-composer__send:disabled { opacity: .45; cursor: not-allowed; }
.msg-composer__hint {
  margin: 0; padding: 0 14px 9px; font-size: 10.5px; color: var(--muted);
  min-height: 0; line-height: 1.4;
}
.msg-composer__hint:empty { display: none; }

/* Mobile : liste OU fil, pas les deux */
@media (max-width: 719px) {
  .msg-shell { grid-template-columns: 1fr; min-height: 420px; }
  .msg-list { border-right: 0; }
  .msg-shell.is-thread-open .msg-list { display: none; }
  .msg-shell:not(.is-thread-open) .msg-thread { display: none; }
  .msg-thread__back { display: inline-flex; }
  .msg-thread__messages { max-height: none; min-height: 300px; }
  .msg-bubble { max-width: 86%; }
}

@media (min-width: 720px) {
  .msg-shell { grid-template-columns: 288px 1fr; min-height: 540px; }
  .msg-list__items { max-height: 480px; }
  .msg-thread__messages { max-height: 400px; }
}

.pd-contact { width: 100%; margin-top: 8px; }
.pd-restock-alert { width: 100%; margin-top: 10px; border-color: var(--orange-200); color: var(--orange); }
.pd-restock-alert[aria-pressed="true"] { background: var(--orange-50); border-color: var(--orange-300); }

/* ============================================================
   DESKTOP TOP NAVIGATION — single line of options
   ============================================================ */
.topnav { display: none; }

@media (min-width: 1024px) {
  /* Full-width single-column shell: no more vertical side rail */
  .app-shell {
    display: block;
    max-width: 1180px;
    background: transparent;
    box-shadow: none;
    min-height: 100vh;
  }
  .app-main {
    border-right: 0;
    background: #fff;
  }

  .topbar__row {
    justify-content: space-between;
    gap: 16px;
  }

  .topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }
  .topnav__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: none;
    border-radius: var(--radius-pill);
    padding: 9px 13px;
    color: var(--slate);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .16s, color .16s;
  }
  .topnav__link svg { width: 18px; height: 18px; stroke-width: 1.9; }
  .topnav__link:hover { background: var(--soft); color: var(--ink); }
  .topnav__link.is-active { background: var(--orange-50); color: var(--orange); }
  .topnav__link.is-active svg { stroke-width: 2.2; }
  .topnav__badge {
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-pill);
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    padding: 0 5px;
  }
}

@media (min-width: 1024px) and (max-width: 1140px) {
  .topnav__link { padding: 8px 9px; font-size: 12.5px; gap: 5px; }
  .topnav__link svg { width: 17px; height: 17px; }
}

/* ============================================================
   UTILISATEUR CONNECTÉ — le bloc marketing d'accueil est masqué
   ============================================================ */
body.is-authed .hero,
body.is-authed .trust-strip { display: none; }

/* ============================================================
   PHASE 6 — AVIS & ÉVALUATIONS (produits + boutiques)
   ============================================================ */
.pd-shop {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.pd-shop:hover { color: var(--orange); }

.rv-section {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.rv-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rv-summary__score {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rv-summary__score b {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.rv-summary__score .stars { display: inline-flex; gap: 2px; }
.rv-summary__score .stars svg { width: 16px; height: 16px; }
.rv-summary__score small { font-size: 12px; color: var(--muted); font-weight: 600; }
.rv-summary__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.rv-form {
  background: var(--soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.rv-form__label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
}
.rv-form .field__control { background: #fff; }
.rv-form__foot { display: flex; justify-content: flex-end; }

.rv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.rv-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
}
.rv-item:last-child { border-bottom: 0; }
.rv-item__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rv-item__id { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rv-item__id strong { font-size: 13px; color: var(--ink); }
.rv-item__id small { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rv-item__stars { display: inline-flex; gap: 2px; flex: none; }
.rv-item__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.rv-item__actions { display: flex; gap: 14px; }
.rv-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}
.rv-link:hover { text-decoration: underline; }
.rv-link--danger { color: var(--red); }

.rv-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--green);
  font-weight: 700;
}
.rv-verified svg { width: 11px; height: 11px; }

.rv-empty,
.rv-locked {
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rv-locked svg,
.rv-empty svg { width: 15px; height: 15px; }

.order-line__review { flex: none; }

/* ============================================================
   MESSAGERIE PLEIN ÉCRAN
   ============================================================ */
#view-messages .page-head--tight { margin-bottom: 12px; }

@media (min-width: 720px) {
  .msg-shell {
    grid-template-columns: 320px 1fr;
    height: calc(100vh - 214px);
    height: calc(100dvh - 214px);
    min-height: 520px;
    max-height: none;
  }
  .msg-list__items { max-height: none; }
  .msg-thread__messages { max-height: none; min-height: 0; }
  .msg-thread { min-height: 0; }
  .msg-thread__body { min-height: 0; }
}

@media (max-width: 719px) {
  .msg-shell {
    height: calc(100vh - 196px);
    height: calc(100dvh - 196px);
    min-height: 420px;
  }
  .msg-thread__messages { max-height: none; min-height: 0; }
}

/* Plein écran : on élargit la coque de l'application uniquement sur la vue Messages */
@media (min-width: 900px) {
  body.is-msgview .app-shell { max-width: 1560px; }
  body.is-msgview .content { max-width: none; padding-left: 24px; padding-right: 24px; }
  body.is-msgview .msg-shell { grid-template-columns: 360px 1fr; }
}

/* ============================================================
   PAGE BOUTIQUE / VENDEUR
   ============================================================ */
.shop-page__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 6px 0;
  margin-bottom: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.shop-page__back:hover { color: var(--orange); transform: translateX(-2px); }
.shop-page__back svg { width: 17px; height: 17px; }

.shop-page__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 56px 0;
  font-size: 13px;
  color: var(--slate);
}
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--orange);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.shop-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.shop-hero__banner {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: var(--orange-50);
}
.shop-hero__banner--plain {
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,106,0,.22), transparent 55%),
    radial-gradient(circle at 82% 70%, rgba(255,106,0,.14), transparent 55%),
    linear-gradient(120deg, #fff7f1, #ffe9d9);
}
.shop-hero__body {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px 18px;
  margin-top: -36px;
  flex-wrap: wrap;
}
.shop-hero__logo {
  width: 88px; height: 88px;
  border-radius: 26px;
  border: 5px solid var(--bg);
  background: var(--orange-50);
  color: var(--orange-700);
  font-size: 28px;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.shop-hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero__id { flex: 1; min-width: 200px; padding-top: 42px; }
.shop-hero__id h1 {
  margin: 2px 0 5px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -.03em;
  color: var(--ink);
}
.shop-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.shop-hero__meta span { display: inline-flex; align-items: center; gap: 5px; }
.shop-hero__meta svg { width: 13px; height: 13px; }
.shop-hero__score { display: flex; align-items: center; gap: 9px; margin-top: 4px; }
.shop-hero__score b { font-size: 18px; color: var(--ink); }
.shop-hero__score small { font-size: 12px; color: var(--muted); font-weight: 700; }
.shop-hero__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.shop-hero__desc {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 72ch;
}

.shop-products { margin-bottom: 28px; }
.shop-products__count {
  font-size: 12px;
  font-weight: 800;
  color: var(--slate);
  background: var(--soft);
  border: 1px solid var(--line-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.listing-card__shop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
  margin: 3px 0 5px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-700);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.listing-card__shop:hover { color: var(--orange); text-decoration: underline; }
.listing-card__shop svg { width: 13px; height: 13px; flex: none; }

@media (max-width: 599px) {
  .shop-hero__banner { height: 112px; }
  .shop-hero__logo { width: 76px; height: 76px; font-size: 24px; }
  .shop-hero__id h1 { font-size: 21px; }
  .shop-hero__actions { flex-direction: column; width: 100%; }
  .shop-hero__actions .btn { width: 100%; }
}

/* Seller Dashboard Analytics */
.sd-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.sd-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.sd-stat strong { font-size: 20px; font-family: var(--font-display); color: var(--ink); }
.sd-stat small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

.sd-chart, .sd-table { margin-bottom: 24px; }
.sd-chart h3, .sd-table h3 {
  font-size: 15px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.chart-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--soft);
  border-radius: 8px 8px 0 0;
  position: relative;
  min-height: 40px;
}
.chart-bar span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  white-space: nowrap;
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.sd-tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sd-tableau th {
  text-align: left;
  padding: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  border-bottom: 2px solid var(--line);
}
.sd-tableau td {
  padding: 10px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.sd-tableau tr:hover { background: var(--soft); }

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-badge.status-pending { background: var(--orange-50); color: var(--orange-700); }
.status-badge.status-accepted { background: var(--blue-50); color: var(--blue-700); }
.status-badge.status-preparing { background: var(--blue-50); color: var(--blue-700); }
.status-badge.status-shipped { background: var(--indigo-50); color: var(--indigo-700); }
.status-badge.status-delivered { background: var(--green-50); color: var(--green-700); }
.status-badge.status-cancelled { background: var(--red-50); color: var(--red-700); }

.sd-top-products {
  margin-bottom: 24px;
}

@media (min-width: 720px) { .sd-stats { grid-template-columns: repeat(7, 1fr); } }

/* ============================================================
   TRENDUP — LUXURY MODERN DESIGN SYSTEM (2026)
   Ultra-polished, tier-1 e-commerce marketplace experience.
   Preserves 100% of existing HTML IDs, attributes, and JS logic.
   ============================================================ */

:root {
  /* Brand palette */
  --orange: #ff6a00;
  --orange-50: #fff6ee;
  --orange-100: #ffeedf;
  --orange-200: #ffd7bc;
  --orange-500: #ff6a00;
  --orange-600: #ee5d00;
  --orange-700: #cc4e00;
  --orange-glow: rgba(255, 106, 0, 0.22);
  --orange-glow-sm: rgba(255, 106, 0, 0.12);

  /* Deep luxury neutrals */
  --ink: #0b0f19;
  --ink-secondary: #475467;
  --ink-muted: #94a3b8;
  --surface-bg: #f3f5f8;
  --surface-card: #ffffff;
  --surface-soft: #f8fafc;
  --surface-warm: #fffbf7;

  /* Line & borders */
  --line-subtle: rgba(226, 232, 240, 0.8);
  --line-card: rgba(226, 232, 240, 0.95);
  --line-focus: rgba(255, 106, 0, 0.45);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #ff7e1d 0%, #ff5500 100%);
  --grad-brand-glow: linear-gradient(135deg, #ff943e 0%, #ff6a00 100%);
  --grad-dark: linear-gradient(135deg, #181d27 0%, #0b0f19 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  --grad-hero: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.45) 0%, transparent 45%), linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #ffd8b5 75%, #ff8c37 100%);

  /* Modern multi-layer shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 2px 4px rgba(15, 23, 42, 0.02), 0 10px 24px -4px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 8px 12px -2px rgba(15, 23, 42, 0.04), 0 24px 38px -6px rgba(15, 23, 42, 0.12), 0 0 0 1.5px rgba(255, 106, 0, 0.25);
  --shadow-floating: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-modal: 0 30px 80px -15px rgba(15, 23, 42, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.85);
  --shadow-brand: 0 10px 24px -2px rgba(255, 106, 0, 0.34);

  /* Curves */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Body & App Shell */
body {
  background:
    radial-gradient(1100px 550px at 8% -5%, rgba(255, 232, 214, 0.85) 0%, transparent 65%),
    radial-gradient(950px 550px at 92% 2%, rgba(235, 243, 255, 0.85) 0%, transparent 62%),
    var(--surface-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.app-shell {
  max-width: 1220px;
  background: #ffffff;
  border-inline: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 24px 90px -10px rgba(15, 23, 42, 0.12);
}

.app-main {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 500px, #fbfcfe 100%);
}

/* TOPBAR */
.topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1px solid var(--line-subtle);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03), 0 8px 24px -4px rgba(15, 23, 42, 0.03);
}

.topbar__row {
  padding: 16px 28px 10px;
}

.brand {
  gap: 11px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--grad-brand);
  box-shadow: inset 0 1.5px 1.5px rgba(255, 255, 255, 0.4), 0 8px 20px -2px rgba(255, 106, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.brand:hover .logo-mark {
  transform: translateY(-1px) scale(1.03);
  box-shadow: inset 0 1.5px 1.5px rgba(255, 255, 255, 0.5), 0 12px 26px -2px rgba(255, 106, 0, 0.45);
}

.brand__wordmark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.topbar__actions {
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-card);
  background: #ffffff;
  color: #334155;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}
.icon-btn:hover {
  background: var(--orange-50);
  border-color: var(--orange-200);
  color: var(--orange);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
}
.icon-btn:active {
  transform: translateY(0) scale(0.96);
}

.dot-badge {
  background: var(--grad-brand);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(255, 106, 0, 0.4);
  font-weight: 700;
}

/* Currency & Meta */
.topbar__meta {
  padding: 0 28px 14px;
  gap: 12px;
}

.topbar__meta #currencyBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}
.topbar__meta #currencyBtn:hover {
  background: #ffffff;
  border-color: var(--orange-200);
  color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.currency-dropdown {
  border-radius: 16px;
  border: 1px solid var(--line-subtle);
  box-shadow: var(--shadow-floating);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 8px;
}
.currency-dropdown__item {
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.currency-dropdown__item:hover {
  background: var(--orange-50);
  color: var(--orange);
}
.currency-dropdown__item.is-active {
  background: var(--orange-100);
  color: var(--orange-700);
  font-weight: 700;
}

.trust-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}
.trust-pill svg {
  color: #10b981;
}

/* TOPNAV (DESKTOP) */
@media (min-width: 1024px) {
  .topnav {
    gap: 4px;
  }
  .topnav__link {
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    color: #475569;
    transition: all 0.2s var(--ease);
  }
  .topnav__link:hover {
    background: #f8fafc;
    color: var(--ink);
    transform: translateY(-1px);
  }
  .topnav__link.is-active {
    background: var(--orange-50);
    color: var(--orange);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 106, 0, 0.12);
  }
}

/* SEARCH & FILTERS */
.content {
  padding: 24px 28px 48px;
}

.search-row {
  max-width: 900px;
  gap: 12px;
}

.search {
  min-height: 56px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
  padding: 0 16px;
  transition: all 0.24s var(--ease);
}
.search:focus-within {
  background: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glow), 0 12px 28px -4px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.search input {
  font-size: 15px;
  font-weight: 500;
  padding: 14px 12px;
}
.search__icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  transition: color 0.2s;
}
.search:focus-within .search__icon {
  color: var(--orange);
}

.filter-btn {
  width: 56px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  color: var(--orange);
  transition: all 0.2s var(--ease);
}
.filter-btn:hover {
  background: #ffedd5;
  border-color: var(--orange);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.2);
}
.filter-btn:active {
  transform: scale(0.96);
}

/* RECENT SEARCH CHIPS */
.recent__head > span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.chip {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-card);
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}
.chip:hover {
  border-color: var(--orange-200);
  color: var(--orange);
  background: var(--orange-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* HERO SECTION */
.hero {
  border-radius: 30px;
  background: var(--grad-hero);
  border: 1px solid #ffd6b3;
  box-shadow: 0 20px 50px -10px rgba(255, 106, 0, 0.2);
  padding: 40px 36px;
  margin-top: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
}
.hero h1 .hl {
  color: #ea580c;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 106, 0, 0.15) 100%);
  border-radius: 8px;
  padding: 0 6px;
}
.hero__text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 500px;
}
.hero__cta .btn--primary,
.hero__cta .btn:not(.btn--ghost) {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
  transition: all 0.2s var(--ease);
}
.hero__cta .btn--primary:hover,
.hero__cta .btn:not(.btn--ghost):hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.32);
}
.hero__cta .btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid #cbd5e1;
  color: var(--ink);
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  transition: all 0.2s var(--ease);
}
.hero__cta .btn--ghost:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* TRUST STRIP */
.trust-strip {
  border-radius: 24px;
  background: #0b0f19;
  border: 1px solid #1e293b;
  box-shadow: 0 18px 40px rgba(11, 15, 25, 0.22);
  padding: 22px 28px;
  margin-top: 22px;
}
.trust-strip__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255, 106, 0, 0.16);
  color: #ff8522;
  display: grid;
  place-items: center;
}
.trust-strip__item strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}
.trust-strip__item span {
  font-size: 12.5px;
  color: #94a3b8;
}

/* CATEGORIES */
.categories {
  margin-top: 36px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.cat-scroll {
  gap: 14px;
  padding: 4px 2px 12px;
}
.cat {
  min-width: 100px;
  min-height: 96px;
  padding: 14px 10px;
  border-radius: 22px;
  background: #ffffff;
  border: 1.5px solid #edf2f7;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s var(--ease);
}
.cat:hover {
  transform: translateY(-3px);
  border-color: var(--orange-200);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}
.cat__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  color: #475569;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.cat.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}
.cat.is-active .cat__icon {
  background: rgba(255, 255, 255, 0.22);
  border-color: transparent;
  color: #ffffff;
}
.cat.is-active .cat__label {
  color: #ffffff;
  font-weight: 700;
}
.cat__label {
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  margin-top: 3px;
}

/* LISTING GRID & PRODUCT CARDS */
.discovery {
  margin-top: 38px;
}
.listing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.listing-card {
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s;
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.3);
  box-shadow: var(--shadow-card-hover);
}
.listing-card__media {
  aspect-ratio: 1 / 1.06;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}
.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.listing-card:hover .listing-card__media img {
  transform: scale(1.05);
}
.listing-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #64748b;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s var(--ease);
  z-index: 2;
}
.listing-card__fav:hover {
  transform: scale(1.12);
  color: var(--orange);
}
.listing-card__fav.is-fav {
  color: #ef4444;
  background: #ffffff;
}
.listing-card__fav.is-fav svg {
  fill: #ef4444;
}
.listing-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.listing-card__cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.listing-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin: 2px 0 6px;
}
.listing-card__price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.listing-card__price small {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-left: 2px;
}

.listing-card__price--promo {
  color: var(--green-700);
}
.listing-card__price--orig {
  text-decoration: line-through;
  font-size: 14px;
  color: var(--slate);
  font-weight: 700;
}
.listing-card__promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  border: 1px solid #bbf7d0;
}
.listing-card__promo-badge svg { width: 10px; height: 10px; stroke-width: 2; }
.listing-card__promo-badge strong { color: var(--green-700); }

.listing-card__stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef2e5;
  color: #b45309;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  border: 1px solid #fdba74;
}
.listing-card__stock-badge svg { width: 10px; height: 10px; stroke-width: 2; }
.listing-card__stock-badge strong { color: #b45309; }

.listing-card__shop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  width: fit-content;
  max-width: 100%;
  transition: all 0.15s;
}
.listing-card__shop:hover {
  color: var(--orange);
  border-color: var(--orange-200);
  background: #fffaf5;
}
.listing-card__meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.listing-card__meta svg {
  color: #10b981;
}

/* MODALS */
.modal__backdrop {
  background: rgba(11, 15, 25, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.modal__panel {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-modal);
  background: #ffffff;
}
.modal__head {
  border-bottom: 1px solid #f1f4f8;
  padding: 20px 24px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 0;
  color: #475569;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.modal__close:hover {
  background: #e2e8f0;
  color: var(--ink);
  transform: rotate(90deg);
}
.field__label {
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.field__control, .field__select, .field__textarea {
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  padding: 12px 14px;
  transition: all 0.2s;
}
.field__control:focus, .field__select:focus, .field__textarea:focus {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--orange-glow);
  outline: none;
}

/* BUTTONS */
.btn {
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all 0.2s var(--ease);
}
.btn--primary, .btn:not(.btn--ghost):not(#currencyBtn):not(.link-btn) {
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover, .btn:not(.btn--ghost):not(#currencyBtn):not(.link-btn):hover {
  background: var(--grad-brand-glow);
  box-shadow: 0 14px 28px rgba(255, 106, 0, 0.45);
  transform: translateY(-1.5px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

/* MOBILE BOTTOM NAV */
.bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--line-subtle);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.tab {
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.18s;
}
.tab.is-active {
  color: var(--orange);
}
.tab.is-active svg {
  stroke-width: 2.3;
  transform: scale(1.06);
}
.tab__fab {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--grad-brand);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.38), 0 0 0 4px #ffffff;
}
.tab__fab:hover {
  transform: translateY(-2px) rotate(90deg);
}

/* TOAST */
.toast {
  border-radius: var(--radius-pill);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 13.5px;
}

/* RESPONSIVE */
@media (max-width: 719px) {
  body { background: #ffffff; overflow-x: hidden; }
  .app-shell { max-width: 100%; border: 0; box-shadow: none; overflow-x: hidden; }
  .topbar__row { padding: 12px 14px 8px; }
  .topbar__meta { padding: 0 14px 8px; }
  .topbar__meta #currencyBtn { padding: 0 10px; height: 34px; font-size: 12px; gap: 4px; }
  .topbar__meta #currencyBtn svg { width: 14px; height: 14px; }
  .topbar__meta #currencyBtn .location-pill__chevron { width: 12px; height: 12px; }
  .content { padding: 18px 16px 40px; }
  .brand__wordmark { font-size: 20px; }
  .logo-mark { width: 38px; height: 38px; }
  .icon-btn { width: 40px; height: 40px; border-radius: 12px; }
  .icon-btn svg { width: 18px; height: 18px; }
  .topbar__actions { gap: 6px; }
  .search { min-height: 52px; padding: 0 14px; }
  .search input { font-size: 14px; padding: 12px 10px; }
  .search__icon { width: 18px; height: 18px; }
  .filter-btn { width: 52px; height: 52px; }
  .filter-btn svg { width: 20px; height: 20px; }
  .hero { border-radius: 26px; padding: 28px 22px; min-height: 0; }
  .hero h1 { font-size: 34px; }
  .hero__text { font-size: 14px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .trust-strip { border-radius: 20px; padding: 16px; gap: 10px; }
  .trust-strip__item { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 14px; }
  .trust-strip__item strong { font-size: 13px; }
  .trust-strip__item span { font-size: 10px; }
  .cat { min-width: 88px; min-height: 84px; border-radius: 18px; }
  .cat__icon { width: 44px; height: 44px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .listing-card { border-radius: 18px; }
  .listing-card__body { padding: 11px 12px 14px; }
  .listing-card__title { font-size: 13px; }
  .listing-card__price { font-size: 15.5px; }
  .modal__panel { border-radius: 28px 28px 0 0; }
  .site-foot { grid-template-columns: 1fr; gap: 30px; padding: 40px 18px 34px; }
  .site-foot__cols { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 389px) {
  .brand__wordmark { display: none; }
  .topbar__row { padding: 12px 12px 8px; }
  .topbar__meta { padding: 0 12px 8px; }
  .topbar__meta #currencyBtn { padding: 0 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .topbar__actions { gap: 4px; }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px; }
}

@media (min-width: 720px) {
  .hero__card {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 200px;
    transform: rotate(1deg);
  }
  .hero__card-img { height: 130px; }
  .hero__sneaker { width: 116px; height: 116px; }
  .hero__float--top { left: auto; right: 260px; top: 30px; }
  .hero__float--bottom { right: 30px; bottom: 30px; }
}

/* ---------- Page transitions ---------- */
.view {
  animation: pageFadeIn .45s var(--ease) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Button active states */
button:active {
  transform: scale(.97);
}
.btn:active { transform: scale(.985); }

/* Chip active states */
.chip:active, .cat:active {
  transform: scale(.94);
}

/* Link hover underline animation */
.link-btn, .listing-card__shop, .shop-page__back {
  position: relative;
  text-decoration: none;
}
.link-btn::after, .listing-card__shop::after, .shop-page__back::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .25s var(--ease);
  border-radius: 2px;
}
.link-btn:hover::after, .listing-card__shop:hover::after, .shop-page__back:hover::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Video reliability: one vertical 9:16 item per snap position. */
.video-feed { align-items: center; gap: 16px; padding: 4px 12px 28px; background: var(--bg); }
.video-card { width: min(100%, 420px); height: auto; min-height: 0; aspect-ratio: 9 / 16; max-height: calc(100dvh - 150px); border-radius: 22px; }
.video-card:focus-visible { outline-offset: 5px; }
.video-card__action { position: relative; z-index: 4; }
.video-player__stage { width: min(92vw, 430px); aspect-ratio: 9 / 16; max-height: 88dvh; margin: 0 auto; overflow: hidden; border-radius: 22px; }
.video-player__stage > video { width: 100%; height: 100%; object-fit: cover; }
.video-player__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 719px) {
  #view-videos .video-feed { padding: 0 0 16px; gap: 12px; }
  #view-videos .video-card { width: min(100%, 420px); border-radius: 18px; }
  .video-player__stage { width: min(94vw, 420px); max-height: 82dvh; border-radius: 18px; }
}

/* Persisted dark theme. */
body.dark-mode {
  --bg: #0b1220; --surface: #111b2e; --soft: #172338; --cream: #111b2e;
  --ink: #f8fafc; --ink-soft: #e2e8f0; --slate: #a8b4c7; --muted: #94a3b8;
  --line: #263650; --line-soft: #20304a; --line-card: #2a3b57;
  --orange-50: #35200f; --orange-100: #5a3217;
  --shadow-xs: 0 2px 8px rgba(0,0,0,.24); --shadow-sm: 0 8px 24px rgba(0,0,0,.22);
  --shadow-card: 0 12px 30px rgba(0,0,0,.24); --shadow-modal: 0 24px 80px rgba(0,0,0,.48);
  background: var(--bg); color: var(--ink);
}
body.dark-mode .app-shell, body.dark-mode .app-main, body.dark-mode .topbar, body.dark-mode .content { background: var(--bg); color: var(--ink); }
body.dark-mode .topbar, body.dark-mode .rail, body.dark-mode .bottom-nav { border-color: var(--line); background: rgba(17,27,46,.96); }
body.dark-mode .listing-card, body.dark-mode .modal__panel, body.dark-mode .placeholder-card, body.dark-mode .shop-hero, body.dark-mode .sd-stat, body.dark-mode .settings-section, body.dark-mode .msg-shell, body.dark-mode .msg-thread, body.dark-mode .msg-list { background: var(--surface); border-color: var(--line); color: var(--ink); }
body.dark-mode .cat, body.dark-mode .chip, body.dark-mode .field__control, body.dark-mode .field__select, body.dark-mode .field__textarea, body.dark-mode input, body.dark-mode textarea, body.dark-mode select { background: var(--soft); color: var(--ink); border-color: var(--line); }
body.dark-mode .cat__icon { background: #1b2a41; border-color: var(--line); color: var(--slate); }
body.dark-mode .cat__label, body.dark-mode .section-head h2, body.dark-mode .listing-card__title, body.dark-mode .listing-card__price, body.dark-mode .modal__title, body.dark-mode .field__label, body.dark-mode .settings-row strong, body.dark-mode .sd-stat strong, body.dark-mode .sd-chart h3, body.dark-mode .sd-table h3 { color: var(--ink); }
body.dark-mode .hero { border-color: #6b3b1c; }
body.dark-mode .hero__text, body.dark-mode .page-head p, body.dark-mode .listing-card__meta, body.dark-mode .listing-card__price small, body.dark-mode .field__hint, body.dark-mode .settings-row small { color: var(--slate); }
body.dark-mode .listing-card__shop { color: #ff9a4a; }
body.dark-mode .modal__head { border-color: var(--line); }
body.dark-mode .modal__close, body.dark-mode .icon-btn { background: var(--soft); color: var(--ink-soft); }
body.dark-mode .hero__cta .btn--ghost { background: rgba(17,27,46,.86); color: var(--ink); border-color: var(--line); }
body.dark-mode .video-feed { background: var(--bg); }
body.dark-mode .video-empty h3 { color: var(--ink); }
body.dark-mode .search-box, body.dark-mode .search-input { background: var(--surface); color: var(--ink); border-color: var(--line); }
body.dark-mode a { color: #ff9a4a; }

/* Refined dark theme: only active when the Settings toggle adds .dark-mode. */
body.dark-mode {
  --bg: #0a0e14;
  --surface: #111720;
  --soft: #18212d;
  --cream: #111720;
  --ink: #f8fafc;
  --ink-soft: #e5ebf3;
  --slate: #a6b1c2;
  --muted: #8b98aa;
  --line: #263343;
  --line-soft: #1f2a38;
  --line-card: #2d3c50;
  --orange-50: #2d1a0e;
  --orange-100: #573018;
  --orange-glow: rgba(255, 106, 0, .18);
  --shadow-xs: 0 2px 8px rgba(0,0,0,.32);
  --shadow-sm: 0 10px 28px rgba(0,0,0,.28);
  --shadow-card: 0 16px 36px rgba(0,0,0,.3);
}
body.dark-mode .app-shell { box-shadow: 0 24px 80px rgba(0,0,0,.36); }
body.dark-mode .topbar { background: rgba(17,23,32,.9); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
body.dark-mode .topbar.is-stuck { border-bottom-color: var(--line); }
body.dark-mode .rail__brand-name,
body.dark-mode .topbar__brand-name,
body.dark-mode .topbar__title,
body.dark-mode .page-head h1,
body.dark-mode .section-head h2 { color: var(--ink); }
body.dark-mode .rail__nav-link { color: var(--slate); }
body.dark-mode .rail__nav-link:hover,
body.dark-mode .rail__nav-link.is-active { background: #1b2736; color: #ff9a4a; }
body.dark-mode .search-box { background: var(--surface); border-color: var(--line); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
body.dark-mode .search-box:focus-within { border-color: #ff7a21; box-shadow: 0 0 0 4px rgba(255,106,0,.14); }
body.dark-mode .hero { background: linear-gradient(135deg, #27170d 0%, #151d29 52%, #101722 100%); border-color: #633516; box-shadow: 0 22px 54px rgba(0,0,0,.28); }
body.dark-mode .hero h1 { color: var(--ink); }
body.dark-mode .hero__cta .btn--primary { background: #f97316; color: #fff; }
body.dark-mode .hero__cta .btn--primary:hover { background: #fb923c; }
body.dark-mode .trust-strip { background: #0f141c; border-color: #263343; }
body.dark-mode .cat { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-xs); }
body.dark-mode .cat:hover { background: #1a2635; }
body.dark-mode .chip { background: var(--surface); border-color: var(--line); color: var(--slate); }
body.dark-mode .chip:hover,
body.dark-mode .chip.is-active { background: #2d1a0e; border-color: #b45309; color: #ffad68; }
body.dark-mode .listing-card { box-shadow: var(--shadow-card); }
body.dark-mode .listing-card__media { background: #18212d; }
body.dark-mode .listing-card__fav { background: rgba(24,33,45,.92); border-color: #3a4a60; color: #b9c5d5; }
body.dark-mode .listing-card__fav.is-fav { background: #2d1718; }
body.dark-mode .listing-card__shop:hover { background: #2d1a0e; }
body.dark-mode .modal__backdrop { background: rgba(0,0,0,.78); }
body.dark-mode .modal__panel { box-shadow: 0 28px 90px rgba(0,0,0,.54); }
body.dark-mode .field__control:focus,
body.dark-mode .field__select:focus,
body.dark-mode .field__textarea:focus,
body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus { background: #202c3b; border-color: #ff7a21; box-shadow: 0 0 0 4px rgba(255,106,0,.14); }
body.dark-mode .check__box { background: var(--soft); border-color: #3b4c62; }
body.dark-mode .check input:checked + .check__box { background: #f97316; border-color: #f97316; }
body.dark-mode .btn--ghost { background: #18212d; border-color: #34445a; color: var(--ink-soft); }
body.dark-mode .btn--ghost:hover { background: #223044; border-color: #ff7a21; color: #fff; }
body.dark-mode .settings-section { box-shadow: 0 8px 24px rgba(0,0,0,.16); }
body.dark-mode .settings-row + .settings-row { border-top-color: var(--line-soft); }
body.dark-mode .msg-thread__placeholder,
body.dark-mode .msg-list__empty { color: var(--slate); }
body.dark-mode .msg-bubble--mine { background: #9a450e; color: #fff; }
body.dark-mode .msg-bubble--theirs { background: #202b3a; color: var(--ink-soft); }
body.dark-mode .sd-table table,
body.dark-mode .sd-table th,
body.dark-mode .sd-table td { border-color: var(--line); }
body.dark-mode .sd-table th { color: var(--slate); background: #17212e; }
body.dark-mode .toast { box-shadow: 0 16px 42px rgba(0,0,0,.42); }

/* Compact mode is an explicit Settings preference, never an automatic default. */
body.compact-mode .listing-grid { gap: 10px; }
body.compact-mode .listing-card__body { padding: 10px; }
body.compact-mode .listing-card__title { font-size: 13px; }
body.compact-mode .listing-card__meta { margin-top: 4px; }

/* Saved videos in Favorites. */
.fav-videos-section { margin-top: 28px; }
.video-favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.video-favorites-grid .video-card { width: 100%; aspect-ratio: 9 / 16; height: auto; min-height: 0; border-radius: 18px; }
@media (max-width: 719px) {
  body.videos-focus-mode .topbar { display: none; }
  body.videos-focus-mode .content { padding: 0; }
  body.videos-focus-mode #view-videos { height: calc(100dvh - 64px); }
  body.videos-focus-mode #view-videos .page-head,
  body.videos-focus-mode #view-videos .chips { display: none; }
  body.videos-focus-mode #view-videos .video-feed { padding: 0; gap: 0; }
  body.videos-focus-mode #view-videos .video-card {
    width: min(100vw, calc((100dvh - 64px) * .5625));
    height: auto;
    max-height: calc(100dvh - 64px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 0;
  }
  .video-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .video-favorites-grid .video-card { border-radius: 14px; }
}

/* Video player: actions and comments are always visible. */
.video-player__actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.video-player__actions > .btn { min-width: 0; justify-content: center; }
.video-player__subscribe {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.video-player__subscribe.is-on { background: var(--orange); border-color: var(--orange); }
.video-player__subscribe-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--orange); color: #fff; font-size: 10px; font-weight: 900;
  border: 2px solid #fff;
}
.video-player__subscribe-avatar img { width: 100%; height: 100%; object-fit: cover; }
.video-player__subscribe-plus { font-size: 19px; line-height: 1; font-weight: 500; }
.video-player__actions .video-player__like {
  width: 100%; min-width: 0; justify-content: center;
  padding: 9px 7px;
}
.video-player__actions .video-player__like span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-player__comments {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(0,0,0,.28);
}
.video-player__comments h4 { margin: 0 0 8px; font-size: 12px; }
.video-player__comments-list { max-height: 112px; overflow-y: auto; scrollbar-width: thin; }
.video-comment { display: flex; gap: 7px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.video-comment:last-child { border-bottom: 0; }
.video-comment .avatar { flex: 0 0 auto; width: 25px; height: 25px; font-size: 9px; }
.video-comment strong { display: block; font-size: 10px; }
.video-comment p { margin: 2px 0; font-size: 11px; line-height: 1.35; color: rgba(255,255,255,.86); }
.video-comment small { font-size: 9px; color: rgba(255,255,255,.55); }
.video-comments-empty { margin: 0 0 8px; font-size: 10px; color: rgba(255,255,255,.65); }
.video-player__comment-form { display: flex; gap: 6px; margin-top: 8px; }
.video-player__comment-form input { flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 11px; background: rgba(255,255,255,.12); color: #fff; outline: none; }
.video-player__comment-form input::placeholder { color: rgba(255,255,255,.55); }
.video-player__comment-form button { width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; cursor: pointer; }
.video-player__comment-form button svg { width: 15px; height: 15px; }
@media (max-width: 430px) {
  .video-player__actions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .video-player__actions .video-player__like { font-size: 10px; }
  .video-player__actions .video-player__like svg { width: 14px; height: 14px; }
  .video-player__actions > .btn { grid-column: span 2; font-size: 11px; padding-inline: 7px; }
}
.video-player__meta { max-height: 86%; overflow-y: auto; scrollbar-width: thin; }
.video-player--fullscreen .video-player__meta { max-height: 72%; }

/* TikTok-like direct actions on each video. */
.video-card__actions { top: auto; bottom: 104px; transform: none; gap: 12px; }
.video-card__subscribe { position: relative; overflow: visible; }
.video-card__subscribe-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--orange); border: 2px solid #fff; color: #fff; font-size: 9px; font-weight: 900; }
.video-card__subscribe-avatar img { width: 100%; height: 100%; object-fit: cover; }
.video-card__subscribe-plus { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); border: 1px solid #fff; color: #fff; font-size: 13px; line-height: 1; }
.video-card__subscribe.is-on .video-card__subscribe-plus { content: '✓'; font-size: 10px; }
.video-card__top { justify-content: flex-end; }
.video-card__time { opacity: .9; }
@media (max-width: 719px) {
  #view-videos .video-card__actions { right: 10px; bottom: 112px; }
}

/* Direct commerce actions on the video itself. */
.video-card__top-actions { display: inline-flex; align-items: center; gap: 6px; }
.video-card__top-action { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(15,23,42,.58); color: #fff; cursor: pointer; }
.video-card__top-action svg { width: 15px; height: 15px; }
.video-card__top-action.is-on { background: var(--orange); border-color: var(--orange); }
.video-card__direct-actions { display: flex; gap: 7px; margin-top: 10px; }
.video-card__direct-actions button { border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 8px 11px; background: rgba(15,23,42,.55); color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; backdrop-filter: blur(6px); }
.video-card__direct-actions button:first-child { background: var(--orange); border-color: var(--orange); }
.video-card__direct-actions button:hover, .video-card__top-action:hover { background: rgba(255,255,255,.22); }
@media (max-width: 430px) {
  .video-card__direct-actions button { padding: 7px 8px; font-size: 9px; }
}

/* Inline comments: visible on the video card, never hidden in the player menu. */
.video-card__body { right: 72px; max-height: 58%; overflow-y: auto; scrollbar-width: thin; }
.video-card__direct-actions button { background: var(--orange); border-color: var(--orange); }
.video-card__comments { margin-top: 10px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: rgba(0,0,0,.35); color: #fff; }
.video-card__comments > strong { display: block; font-size: 11px; margin-bottom: 6px; }
.video-card__comments-list { max-height: 78px; overflow-y: auto; scrollbar-width: thin; }
.video-card__comment { display: flex; gap: 6px; align-items: flex-start; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.video-card__comment:last-child { border-bottom: 0; }
.video-card__comment .avatar { width: 22px; height: 22px; flex: 0 0 auto; font-size: 8px; background: rgba(255,255,255,.22); color: #fff; }
.video-card__comment strong { display: block; font-size: 9px; }
.video-card__comment small { display: block; max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: rgba(255,255,255,.82); }
.video-card__comments-empty { margin: 0 0 6px; font-size: 9px; color: rgba(255,255,255,.68); }
.video-card__comments form { display: flex; gap: 5px; margin-top: 6px; }
.video-card__comments input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 7px 9px; background: rgba(255,255,255,.13); color: #fff; font-size: 10px; outline: none; }
.video-card__comments input::placeholder { color: rgba(255,255,255,.62); }
.video-card__comments form button { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--orange); color: #fff; cursor: pointer; }
.video-card__comments form button svg { width: 13px; height: 13px; }
@media (max-width: 719px) {
  #view-videos .video-card__body { right: 68px; bottom: 14px; max-height: 60%; }
  #view-videos .video-card__comments { padding: 8px; }
  #view-videos .video-card__direct-actions button { padding: 7px 9px; }
}

/* Video cards: comments are a real interactive layer, not a hidden player panel. */
.video-card__body { bottom: 148px; right: 72px; max-height: 32%; overflow: visible; }
.video-card__comments { position: absolute; left: 16px; right: 72px; bottom: 16px; z-index: 4; max-height: 29%; overflow: hidden; pointer-events: auto; }
.video-card__comments-list { max-height: 76px; overflow-y: auto; }
.video-card__comments form,
.video-card__comments input,
.video-card__comments button { pointer-events: auto; }
@media (max-width: 719px) {
  #view-videos .video-card__body { bottom: 148px; right: 68px; max-height: 32%; }
  #view-videos .video-card__comments { left: 12px; right: 68px; bottom: 12px; max-height: 31%; }
}

/* Phase 3 — contrôles catalogue vendeur mobile */
.mp-toolbar { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:8px; margin:12px 0; }
.mp-toolbar input, .mp-toolbar select { min-width:0; width:100%; border:1px solid var(--line); border-radius:10px; padding:10px; background:var(--bg); color:var(--ink); }
@media (max-width:560px) { .mp-toolbar { grid-template-columns:1fr; } }

/* Phase 7 — livraison & confirmation */
.order-card__delivery { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.order-card__delivery small { color: var(--muted); font-size: 11px; }
.order-card__delivery strong { color: var(--ink); font-size: 12px; }
.co-summary__delivery { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; color: var(--muted); font-size: 13px; }
.co-summary__delivery strong { color: var(--ink); }

.delivery-code-section, .delivery-confirm-section { margin-top: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.delivery-code-section[hidden], .delivery-confirm-section[hidden] { display: none; }
.delivery-code-section h4, .delivery-confirm-section h4 { margin: 0 0 8px; font-size: 13px; color: var(--ink); }
.delivery-code-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--orange); border-radius: 10px; background: var(--orange-50); }
.delivery-code-display { font-size: 22px; font-weight: 900; letter-spacing: 4px; color: var(--orange); font-variant-numeric: tabular-nums; }
.delivery-confirm-card { display: flex; flex-direction: column; gap: 8px; }
.delivery-confirm-card label { font-size: 12px; color: var(--muted); }
.delivery-confirm-card input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); color: var(--ink); font-size: 16px; letter-spacing: 3px; text-align: center; font-variant-numeric: tabular-nums; }
.delivery-confirm-card .btn { margin-top: 2px; }
.delivery-confirm-note { font-size: 11px; color: var(--muted); margin-top: 6px; }

@media (max-width: 560px) {
  .order-card { padding: 10px; gap: 8px; }
  .order-card__head { gap: 6px; }
  .order-card__ref { font-size: 12px; }
  .order-card__date { font-size: 10px; }
  .status-pill { font-size: 10px; padding: 3px 7px; }
  .status-pill svg { width: 10px; height: 10px; }
  .order-lines { gap: 6px; }
  .order-line__media { width: 32px; height: 32px; }
  .order-line__media svg { width: 16px; height: 16px; }
  .order-line__body strong { font-size: 12px; }
  .order-line__body small { font-size: 10px; }
  .order-line__total { font-size: 11px; }
  .order-card__steps { overflow-x: auto; padding-bottom: 4px; }
  .order-card__steps::-webkit-scrollbar { display: none; }
  .order-step { gap: 4px; }
  .order-step__marker { width: 14px; height: 14px; }
  .order-step__marker svg { width: 7px; height: 7px; }
  .order-step__label { font-size: 10px; }
  .order-step__line { height: 8px; margin: 0 1px; }
  .order-card__meta { font-size: 10px; gap: 3px 8px; padding-top: 6px; }
  .order-card__total small { font-size: 9px; }
  .order-card__total strong { font-size: 14px; }
  .order-card__actions .btn { font-size: 11px; padding: 7px 10px; }
  .icon-btn--sm { width: 30px; height: 30px; }
  .icon-btn--sm svg { width: 15px; height: 15px; }

  .mp-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 8px; border-radius: 12px; }
  .mp-row__media { width: 44px; height: 44px; }
  .mp-row__body strong { font-size: 13px; white-space: normal; display: block; margin-bottom: 4px; }
  .mp-row__body small { font-size: 11px; white-space: normal; }
  .mp-row__actions { grid-column: 1 / -1; justify-self: start; flex-direction: column; gap: 6px; }
  .mp-stock-input { width: 60px; height: 32px; font-size: 12px; }

  .mp-toolbar { grid-template-columns: 1fr; }
  .mp-toolbar input, .mp-toolbar select { padding: 10px; font-size: 13px; }

  .sd-tableau { font-size: 11px; }
  .sd-tableau th, .sd-tableau td { padding: 6px 4px; }
  .sd-tableau__wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: -10px -10px -10px; }
  .sd-tableau thead th { white-space: nowrap; }
  .sd-tableau tbody td { white-space: nowrap; }

  .sd-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sd-stat { padding: 12px; }
  .sd-stat strong { font-size: 18px; }
  .sd-stat small { font-size: 10px; }

  .chart-bars { height: 100px; padding: 8px 0; gap: 6px; }
  .chart-bar { min-height: 30px; }
  .chart-bar span { font-size: 10px; margin-top: 4px; }
  .chart-legend { font-size: 10px; flex-wrap: wrap; }

  .bottom-nav { padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .tab { font-size: 9px; padding: 5px 2px 3px; }
}

@media (max-width: 389px) {
  .order-card { padding: 8px; gap: 6px; }
  .order-card__head { gap: 4px; }
  .order-card__ref { font-size: 11px; }
  .status-pill { font-size: 9px; padding: 2px 5px; }
  .order-step__marker { display: none; }
  .order-step__label { display: none; }
  .order-step__line { display: none; }
  .order-card__meta { gap: 2px; font-size: 9px; }
  .order-card__actions .btn { font-size: 10px; padding: 6px 8px; }
  .mp-row { gap: 6px; padding: 6px; }
  .mp-row__media { width: 36px; height: 36px; }
  .mp-row__body small { font-size: 10px; }
  .mp-row__actions { gap: 4px; }
  .mp-stock-input { width: 52px; }
}

/* ------------------------------------------------------------
   ADMIN PANEL — TrendUp (orange/noir/blanc)
   ------------------------------------------------------------ */
.modal__panel--admin {
  max-width: 1180px;
  width: 96vw;
  height: 88vh;
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.admin-head__left { display: flex; align-items: center; gap: 12px; }
.admin-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #ff652f; color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  padding: 4px 8px; border-radius: 6px;
  white-space: nowrap;
}
.admin-badge svg { width: 12px; height: 12px; }
.admin-badge__btn { white-space: nowrap; padding: 8px 12px; font-size: 12px; cursor: pointer; }
.admin-badge__btn span, .admin-badge__btn .admin-badge__btn-text { display: inline; }
.certified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  color: #3b82f6; font-weight: 800; font-size: 11px;
  border: 1px solid #3b82f6; border-radius: 6px;
  padding: 2px 8px; background: rgba(59, 130, 246, 0.08);
}
.certified-badge svg { width: 12px; height: 12px; color: #3b82f6; }
@media (max-width: 480px) {
  .admin-badge__label { display: none; }
  .admin-badge { padding: 6px 8px; cursor: pointer; }
  .admin-badge__btn { display: none !important; }
}
.admin-layout { display: flex; flex: 1; min-height: 0; }
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: #17181c; color: #e6e6e6;
  padding: 16px 10px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
}
.admin-nav__group { display: flex; flex-direction: column; gap: 4px; }
.admin-nav__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: #6b6f77; padding: 0 12px 4px;
}
.admin-nav__item {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0; color: #c9ccd2;
  font-size: 13px; font-weight: 500; text-align: left;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  transition: background .15s, color .15s;
}
.admin-nav__item svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-nav__item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav__item.is-active { background: #ff652f; color: #fff; font-weight: 700; }
.admin-nav__count {
  margin-left: auto; font-size: 10px; font-weight: 800;
  background: rgba(255,255,255,0.18); border-radius: 10px; padding: 1px 7px;
}
.admin-content { flex: 1; min-width: 0; overflow-y: auto; padding: 22px 24px; background: #f7f7f8; }
.admin-tab { display: none; }
.admin-tab.is-active { display: block; }
.admin-tab__head { margin-bottom: 18px; }
.admin-tab__head h3 { font-size: 20px; font-weight: 800; color: #17181c; margin: 0; }
.admin-tab__sub { font-size: 13px; color: #6b6f77; margin: 2px 0 0; }
.admin-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; margin-bottom: 22px;
}
.admin-stat {
  background: #fff; border: 1px solid #ececee; border-radius: 12px;
  padding: 14px 16px;
}
.admin-stat--skeleton { height: 78px; background: #efeff1; animation: adminSkel 1.2s ease-in-out infinite; }
@keyframes adminSkel { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.admin-stat__value { font-size: 24px; font-weight: 800; color: #17181c; line-height: 1.1; }
.admin-stat__label { font-size: 12px; color: #6b6f77; margin-top: 4px; }
.admin-stat--accent .admin-stat__value { color: #ff652f; }
.admin-recent { background: #fff; border: 1px solid #ececee; border-radius: 12px; padding: 16px; }
.admin-recent h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #17181c; }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; align-items: center; }
.admin-search { position: relative; flex: 1; min-width: 200px; max-width: 380px; }
.admin-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #9a9ea6; }
.admin-search input {
  width: 100%; padding: 9px 12px 9px 34px;
  border: 1px solid #dcdce0; border-radius: 9px; font-size: 13px; background: #fff;
}
.admin-filter {
  padding: 9px 12px; border: 1px solid #dcdce0; border-radius: 9px;
  font-size: 13px; background: #fff; color: #17181c;
}
.admin-table-wrap {
  background: #fff; border: 1px solid #ececee; border-radius: 12px;
  padding: 6px 16px; overflow-x: auto;
}
.admin-table-wrap .admin-table-row:last-child { border-bottom: 0 !important; }
.admin-table-row { font-size: 13px; }
.admin-loading, .admin-empty {
  padding: 28px 16px; text-align: center; font-size: 13px; color: #9a9ea6;
}
.admin-pagination { display: flex; gap: 6px; margin-top: 14px; justify-content: flex-end; }
.admin-pagination button {
  border: 1px solid #dcdce0; background: #fff; border-radius: 8px;
  padding: 6px 11px; font-size: 12px; cursor: pointer;
}
.admin-pagination button.is-active { background: #ff652f; color: #fff; border-color: #ff652f; }
.admin-financial-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-bottom: 22px;
}
.admin-financial-card {
  background: #fff; border: 1px solid #ececee; border-left: 4px solid #ff652f;
  border-radius: 12px; padding: 16px;
}
.admin-financial-card--green { border-left-color: #16a34a; }
.admin-financial-card--orange { border-left-color: #f59e0b; }
.admin-financial-card--blue { border-left-color: #2563eb; }
.admin-financial-card--dark { border-left-color: #17181c; }
.admin-financial-card__label {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .5px; color: #6b6f77; margin-bottom: 6px;
}
.admin-financial-card__value { font-size: 20px; font-weight: 800; color: #17181c; }
.admin-settings-form { max-width: 560px; }
.admin-settings-section {
  background: #fff; border: 1px solid #ececee; border-radius: 12px;
  padding: 18px; margin-bottom: 16px;
}
.admin-settings-section h4 { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #17181c; }
.admin-settings-form .field { margin-bottom: 14px; }
.admin-settings-form label { display: block; font-size: 12px; font-weight: 600; color: #6b6f77; margin-bottom: 5px; }
.admin-settings-form input, .admin-settings-form select {
  width: 100%; padding: 9px 12px; border: 1px solid #dcdce0;
  border-radius: 9px; font-size: 14px;
}
.admin-status-pill {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: .5px;
}
.admin-status-pill--active, .admin-status-pill--approved { background: #e7f7ee; color: #16a34a; }
.admin-status-pill--suspended, .admin-status-pill--flagged { background: #fff4e5; color: #d97706; }
.admin-status-pill--banned, .admin-status-pill--removed { background: #fde8e8; color: #dc2626; }
.admin-status-pill--pending { background: #fff4e5; color: #d97706; }
.admin-status-pill--resolved, .admin-status-pill--paid { background: #e7f7ee; color: #16a34a; }
.admin-status-pill--dismissed { background: #eef0f3; color: #6b6f77; }
.admin-action-btn {
  border: 1px solid #dcdce0; background: #fff; border-radius: 7px;
  padding: 5px 10px; font-size: 11px; font-weight: 600; cursor: pointer;
  color: #17181c; transition: all .15s;
}
.admin-action-btn:hover:not(:disabled) { border-color: #ff652f; color: #ff652f; }
.admin-action-btn:disabled { opacity: .4; cursor: not-allowed; }
.admin-action-btn--danger { color: #dc2626; border-color: #f5c6c6; }
.admin-action-btn--danger:hover:not(:disabled) { background: #fde8e8; border-color: #dc2626; color: #dc2626; }
.admin-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.admin-row__main { flex: 1; min-width: 180px; }
.admin-row__title { font-weight: 700; color: #17181c; font-size: 13px; }
.admin-row__meta { font-size: 11px; color: #9a9ea6; margin-top: 2px; }
.admin-row__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-thumb { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; background: #efeff1; flex-shrink: 0; }
.admin-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #efeff1; flex-shrink: 0; }
@media (max-width: 860px) {
  .modal__panel--admin { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .admin-sidebar {
    width: 100%; flex-direction: row; overflow-x: auto; gap: 6px;
    padding: 10px; position: sticky; top: 0;
  }
  .admin-layout { flex-direction: column; }
  .admin-nav__group { flex-direction: row; }
  .admin-nav__label { display: none; }
  .admin-nav__item { white-space: nowrap; }
  .admin-content { padding: 16px; }
}


/* Seller wallet and withdrawal request */
.sd-wallet-card {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin: 18px 0 22px; padding: 18px 20px; border: 1px solid var(--line, #e7e7eb);
  border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #fff7f1 100%);
}
.sd-wallet-card h3 { margin: 5px 0 6px; font-size: 17px; }
.sd-wallet-card p { margin: 0; max-width: 520px; color: var(--muted, #777); font-size: 13px; line-height: 1.5; }
.sd-wallet-balance {
  display: flex; flex-direction: column; gap: 5px; padding: 16px 18px;
  margin-bottom: 18px; border-radius: 14px; background: #17181c; color: #fff;
}
.sd-wallet-balance small { color: #c9c9ce; font-size: 12px; }
.sd-wallet-balance strong { color: #ff762e; font-size: 25px; letter-spacing: -.5px; }
.sd-withdrawal-quote {
  padding: 13px 14px; margin: 12px 0 18px; border: 1px solid var(--line, #e7e7eb);
  border-radius: 12px; background: var(--soft, #f8f8fa);
}
.sd-withdrawal-quote > div, .sd-withdrawal-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sd-withdrawal-quote > div + div { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line, #e7e7eb); }
.sd-withdrawal-quote span, .sd-withdrawal-row small { color: var(--muted, #777); font-size: 12px; }
.sd-withdrawal-quote strong { font-size: 14px; }
.sd-withdrawal-quote > div:last-child strong { color: #e85d04; font-size: 16px; }
.sd-withdrawal-history { margin-top: 22px; }
.sd-withdrawal-history h3 { margin: 0 0 10px; font-size: 15px; }
.sd-withdrawal-row {
  flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line, #e7e7eb);
}
.sd-withdrawal-row > div { display: flex; flex-direction: column; gap: 3px; }
.sd-withdrawal-row__amount { text-align: right; }
.sd-withdrawal-row > span { font-size: 11px; }
@media (max-width: 560px) {
  .sd-wallet-card { align-items: flex-start; flex-direction: column; }
  .sd-wallet-card .btn { width: 100%; justify-content: center; }
  .sd-withdrawal-row { align-items: flex-start; }
  .sd-withdrawal-row > span { width: 100%; }
}


/* Checkout payment choices */
.co-payment-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.co-payment-field > legend { margin-bottom: 9px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.co-payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.co-payment-option { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 66px; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s; }
.co-payment-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.co-payment-option:has(input:checked) { border-color: var(--orange); background: rgba(255,106,0,.055); box-shadow: 0 0 0 2px rgba(255,106,0,.10); }
.co-payment-option:focus-within { outline: 2px solid var(--orange-200); outline-offset: 2px; }
.co-payment-option__mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 800; }
.co-payment-option__mark svg { width: 18px; height: 18px; }
.co-payment-option__body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.co-payment-option__body strong { font-size: 12px; line-height: 1.25; color: var(--ink); }
.co-payment-option__body small { font-size: 10px; color: var(--muted); }
.co-payment-option__radio { flex: 0 0 16px; width: 16px; height: 16px; border: 1.5px solid var(--line-strong, #cbd0d8); border-radius: 50%; }
.co-payment-option input:checked + .co-payment-option__mark + .co-payment-option__body + .co-payment-option__radio { border: 5px solid var(--orange); }
.co-payment-option--delivery { grid-column: 1 / -1; }
@media (max-width: 380px) { .co-payment-grid { grid-template-columns: 1fr; } .co-payment-option--delivery { grid-column: auto; } }


/* TrendUp Reels — one immersive vertical clip per scroll snap. */
#view-videos .video-feed {
  align-items: center;
  gap: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scroll-padding-block: 0;
  background: #080808;
}
#view-videos .video-card {
  width: min(100%, 480px);
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  flex: 0 0 100%;
  border-radius: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
#view-videos .video-card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#view-videos .video-card__actions { right: 12px; }
@media (max-width: 719px) {
  #view-videos .video-feed { padding: 0; gap: 0; }
  #view-videos .video-card {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}


/* Notifications, demandes de remboursement et litiges */
.tu-notifications-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;color:var(--muted,#64748b);font-size:12px}
.tu-notifications-list{display:grid;gap:9px;max-height:min(62vh,620px);overflow:auto}
.tu-notification{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid var(--line,#e7eaf0);border-radius:14px;background:#fff}
.tu-notification.is-unread{background:#fff8f2;border-color:#ffd8bd}
.tu-notification__dot{width:8px;height:8px;flex:0 0 8px;margin-top:6px;border-radius:50%;background:transparent}
.tu-notification.is-unread .tu-notification__dot{background:#ff6a00}
.tu-notification__body{min-width:0;flex:1}
.tu-notification__body strong{display:block;font-size:13px;color:#0f172a}
.tu-notification__body p{margin:4px 0 6px;color:#475569;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.tu-notification__body small{color:#94a3b8;font-size:10px}
.tu-notification-count{position:absolute;top:-5px;right:-7px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#ff6a00;color:#fff;font-size:9px;font-weight:800;border:2px solid #fff}
.menu-row__icon{position:relative}
.tu-case-section{margin-top:18px}
.tu-case-section h3{margin:0 0 10px;font-size:14px;font-weight:750;color:#0f172a}
.tu-case-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line,#e7eaf0)}
.tu-case-row:last-child{border-bottom:0}
.tu-case-row>div:first-child{min-width:0}
.tu-case-row strong{font-size:13px;color:#0f172a}
.tu-case-row p{margin:4px 0;color:#64748b;font-size:12px}
.tu-case-row small{color:#94a3b8;font-size:10px}
.tu-case-row__end{display:grid;justify-items:end;gap:6px;flex:0 0 auto}
.tu-case-intro{margin:0 0 16px;color:#64748b;font-size:13px;line-height:1.5}
.tu-case-form{display:grid;gap:13px}
.tu-case-form .field{display:grid;gap:6px}
.tu-case-form .field>span{font-size:12px;font-weight:700;color:#334155}
.tu-case-form input,.tu-case-form select,.tu-case-form textarea{width:100%;min-height:44px;padding:11px 12px;border:1px solid #dbe1e8;border-radius:10px;background:#fff;color:#0f172a;font:inherit;font-size:13px}
.tu-case-form textarea{resize:vertical;min-height:100px}
.tu-case-form input:focus,.tu-case-form select:focus,.tu-case-form textarea:focus{outline:2px solid rgba(255,106,0,.2);border-color:#ff6a00}
@media(max-width:560px){.tu-notifications-toolbar{align-items:flex-start;flex-direction:column}.tu-case-row{align-items:flex-start}.tu-case-row__end{justify-items:start}.tu-case-row__end .status-badge{white-space:normal}}


/* Smart Cart — récapitulatif intelligent, économies et disponibilité */
.smart-cart__summary{display:grid;gap:9px;padding:13px 14px;margin:12px 0;border:1px solid var(--line,#e7e7eb);border-radius:14px;background:var(--surface,#fff)}
.smart-cart__summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted,#64748b)}
.smart-cart__summary strong{color:var(--ink,#17181c);font-size:13px;font-weight:750;text-align:right}
.smart-cart__summary .smart-cart__saving strong{color:#16834a}
.smart-cart__summary .smart-cart__total{padding-top:10px;border-top:1px solid var(--line,#e7e7eb);color:var(--ink,#17181c);font-weight:750}
.smart-cart__summary .smart-cart__total strong{color:var(--orange,#ff6a00);font-size:18px}
.smart-cart__summary p{margin:0;color:var(--muted,#64748b);font-size:10px;line-height:1.45}
.cart-row__line-total{font-size:11px;font-weight:700;color:var(--ink,#17181c)}
.cart-row__stock{font-size:10px;color:var(--muted,#64748b)}
.cart-row__stock.is-limit{color:#c15a12;font-weight:700}
.cart-row__qty button:disabled{opacity:.3;cursor:not-allowed}
.cart-row__qty button:disabled:hover{background:transparent;color:inherit}
@media(max-width:560px){.cart-row{gap:7px;padding:8px}.cart-row__media{width:46px;height:46px}.cart-row__body strong{font-size:12px}.cart-row__qty button{width:24px;height:24px}}


/* Smart Cart multi-boutiques */
.smart-cart__shop{display:grid;gap:8px;padding:10px;border:1px solid var(--line,#e7e7eb);border-radius:14px;background:var(--surface,#fff)}
.smart-cart__shop+ .smart-cart__shop{margin-top:10px}
.smart-cart__shop h3{display:flex;align-items:center;gap:7px;margin:0 0 2px;font-size:12px;font-weight:800;color:var(--ink,#17181c)}
.smart-cart__shop h3 svg{width:15px;height:15px;color:var(--orange,#ff6a00)}
.smart-cart__shop h3 small{margin-left:auto;font-size:10px;font-weight:600;color:var(--muted,#64748b)}
.smart-cart__shop .cart-row{padding:7px 0;border:0;border-top:1px solid var(--line,#e7e7eb);border-radius:0;background:transparent}
.smart-cart__shop .cart-row:first-of-type{border-top:0}
.co-summary__group+.co-summary__group{margin-top:12px;padding-top:10px;border-top:1px solid var(--line,#e7e7eb)}
.co-summary__multi-note{margin:8px 0 0;padding:9px 11px;border-radius:10px;background:rgba(255,106,0,.08);color:var(--muted,#64748b);font-size:11px;line-height:1.45}


/* Bundle — packs multi-produits */
.bundle-section{margin:22px 0 28px;padding:0 20px}.bundle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bundle-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--bg);box-shadow:var(--shadow-xs);cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}.bundle-card:active{transform:scale(.985)}
.bundle-card__media{height:125px;position:relative;background:linear-gradient(135deg,#fff0e5,#f8fafc);overflow:hidden}.bundle-card__media img{width:100%;height:100%;object-fit:cover}
.bundle-card__placeholder{height:100%;display:grid;place-items:center;color:var(--orange)}.bundle-card__placeholder svg{width:38px;height:38px}
.bundle-card__badge{position:absolute;top:9px;left:9px;padding:5px 8px;border-radius:999px;background:var(--orange);color:#fff;font-size:11px;font-weight:800}
.bundle-card__body{padding:11px;display:grid;gap:5px}.bundle-card__body>small{font-size:10px;color:var(--slate)}.bundle-card__body h3{font-size:13px;line-height:1.3}.bundle-card__body p{font-size:10px;color:var(--slate)}
.bundle-card__prices{display:flex;align-items:center;gap:7px;margin-top:3px}.bundle-card__prices strong{font-size:14px;color:var(--orange)}.bundle-card__prices del{font-size:10px;color:var(--muted)}
.bundle-detail{display:grid;gap:12px}.bundle-detail__shop{font-size:12px;color:var(--slate)}.bundle-detail h3{font-size:20px}.bundle-detail__items{display:grid;gap:8px}
.bundle-detail__item{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:12px;font-size:12px}
.bundle-detail__item img,.bundle-detail__placeholder{width:48px;height:48px;object-fit:cover;border-radius:9px;background:var(--soft)}.bundle-detail__placeholder{display:grid;place-items:center;color:var(--orange)}
.bundle-detail__item strong{white-space:nowrap}.bundle-detail__price,.bundle-detail__total{display:flex;justify-content:space-between;gap:12px;font-size:13px}.bundle-detail__price{color:var(--slate)}
.bundle-detail__price--saving strong{color:#16834a}.bundle-detail__total{padding-top:12px;border-top:1px solid var(--line);font-weight:800}.bundle-detail__total strong{font-size:20px;color:var(--orange)}
.bundle-detail__hint{font-size:11px;color:var(--slate);line-height:1.5}.bundle-checkout-summary{display:grid;gap:7px;padding:12px;border-radius:14px;background:var(--soft)}
.bundle-checkout-summary>div{display:flex;justify-content:space-between;color:var(--slate);font-size:12px}.bundle-checkout-summary>div b{color:#16834a}
.bundle-seller-list{display:grid;gap:8px;margin:12px 0}.bundle-seller-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}
.bundle-seller-row div{display:grid;gap:4px}.bundle-seller-row small{font-size:11px;color:var(--slate)}.bundle-product-choices{display:grid;gap:7px;max-height:260px;overflow:auto}
.bundle-product-choice{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:11px}.bundle-product-choice input{accent-color:var(--orange);width:18px;height:18px}
.bundle-product-choice span{display:grid;gap:3px;font-size:12px}.bundle-product-choice small{font-size:10px;color:var(--slate)}
@media(max-width:380px){.bundle-grid{gap:8px}.bundle-card__media{height:100px}.bundle-card__body{padding:9px}}
body.dark-mode .bundle-card,body.dark-mode .bundle-seller-row,body.dark-mode .bundle-product-choice,body.dark-mode .bundle-detail__item{background:var(--surface,#17191f);border-color:var(--line,#30333b)}body.dark-mode .bundle-checkout-summary{background:rgba(255,255,255,.05)}


/* Flux personnalisés For You */
.feed-tabs{margin:0 0 14px;padding:0 20px}.feed-tabs .chip,.chips--scroll .chip{white-space:nowrap}

.bundle-seller-row__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bundle-seller-row__actions .btn{white-space:nowrap}


/* Réglage du seuil d'alerte de stock vendeur */
.sd-stock-settings {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin: 14px 0; padding: 14px 16px;
  border: 1px solid var(--border, rgba(128,128,128,.22));
  border-radius: 14px; background: var(--surface-soft, rgba(128,128,128,.06));
}
.sd-stock-settings > div:first-child { display: grid; gap: 4px; min-width: 0; }
.sd-stock-settings strong { font-size: 13px; }
.sd-stock-settings small { color: var(--slate, #777); font-size: 12px; line-height: 1.45; }
.sd-stock-settings > label { font-size: 12px; white-space: nowrap; }
.sd-stock-settings__control { display: flex; align-items: center; gap: 7px; }
.sd-stock-settings__control input {
  width: 76px; min-height: 40px; padding: 8px;
  border: 1px solid var(--border, rgba(128,128,128,.3));
  border-radius: 10px; background: var(--surface, #fff);
  color: inherit; font: inherit;
}
.sd-stock-settings__control span { font-size: 12px; color: var(--slate, #777); }
@media (max-width: 560px) {
  .sd-stock-settings { align-items: flex-start; flex-wrap: wrap; }
  .sd-stock-settings > div:first-child { flex-basis: 100%; }
}


/* Nearby / GPS */
.nearby-tools { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:10px 0 16px; }
.nearby-tools > span, #shopLocationStatus, #checkoutLocationStatus { color:var(--muted); font-size:12px; }
.listing-card__distance { display:inline-flex; align-items:center; gap:4px; margin:3px 0 5px; color:var(--muted); font-size:11px; font-weight:700; }
.listing-card__distance svg { width:13px; height:13px; color:var(--orange); }
.shop-location-field { padding:12px; border:1px solid var(--line-soft); border-radius:var(--radius-md); background:var(--soft); }

.settings-push-status {
  margin: 0;
  color: var(--text-muted, #737373);
  font-size: 0.86rem;
  line-height: 1.45;
}
.settings-push-status[data-state="success"] { color: var(--success, #16834a); }
.settings-push-status[data-state="error"] { color: var(--danger, #c43d3d); }

/* Suivi GPS livreur : carte plein écran et fiche basse */
.delivery-tracking-modal{z-index:1500;padding:0}.delivery-tracking-modal .modal__backdrop{background:#f6f5ed}
.delivery-tracking-screen{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;background:#f3f2ea;color:#171717}
.delivery-tracking-map{position:absolute;inset:0;z-index:1;background:#f3f2ea}.delivery-tracking-map .leaflet-control-attribution{display:none}
.delivery-tracking-back{position:absolute;z-index:500;top:max(22px,env(safe-area-inset-top));left:16px;width:54px;height:54px;border:0;border-radius:50%;background:#fff;color:#171717;box-shadow:0 4px 20px #0002;display:grid;place-items:center}.delivery-tracking-back svg{width:25px;height:25px}
.delivery-tracking-status{position:absolute;z-index:500;top:max(24px,env(safe-area-inset-top));right:14px;max-width:65%;padding:9px 13px;border-radius:999px;background:#fffffff2;color:#4b5563;font-size:11px;font-weight:700;box-shadow:0 3px 14px #0002}
.delivery-tracking-sheet{position:absolute;z-index:600;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));max-height:min(56dvh,490px);overflow-y:auto;padding:12px 18px 18px;border-radius:28px;background:#fffffff7;color:#171717;box-shadow:0 -6px 32px #0002;backdrop-filter:blur(18px)}
.delivery-tracking-grabber{display:block;width:46px;height:5px;margin:0 auto 14px;border:0;border-radius:999px;background:#d7d7d7}
.delivery-tracking-eta{display:flex;width:100%;align-items:center;gap:8px;padding:5px 0 8px;border:0;background:transparent;color:inherit;text-align:left;font:inherit}.delivery-tracking-eta strong{font-size:clamp(20px,5vw,26px);font-weight:800;letter-spacing:-.04em}.delivery-tracking-eta svg{width:22px;height:22px}
.delivery-tracking-subtitle{margin:0 0 17px;color:#858585;font-size:13px;line-height:1.4}.delivery-tracking-driver{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #e5e5e5}
.delivery-tracking-vehicle{width:92px;height:62px;display:grid;place-items:center;border-radius:16px;background:#f4f4f4;font-size:40px}.delivery-tracking-driver-info{min-width:0;flex:1;display:grid;gap:4px}.delivery-tracking-driver-info strong{font-size:15px;font-weight:800}.delivery-tracking-driver-info span{color:#555;font-size:12px}.delivery-tracking-driver-info small{width:fit-content;padding:3px 7px;border:1px solid #333;border-radius:6px;color:#222;font-size:12px;font-weight:700}
.delivery-tracking-avatar{width:54px;height:54px;border-radius:50%;object-fit:cover}.delivery-tracking-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.delivery-tracking-action{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:16px;background:#f0f0f0;color:#171717;text-decoration:none;font:inherit;font-size:12px;font-weight:700}.delivery-tracking-action svg{width:22px;height:22px}.delivery-tracking-action--call{background:#16b85d;color:#fff}.delivery-tracking-action[aria-disabled=true]{opacity:.45;pointer-events:none}
.delivery-tracking-extra{display:grid;gap:10px;margin-top:15px;padding-top:14px;border-top:1px solid #e7e7e7}.delivery-tracking-extra div{display:flex;justify-content:space-between;gap:15px;font-size:12px}.delivery-tracking-extra div span,.delivery-tracking-extra p{color:#777}.delivery-tracking-extra div strong{max-width:62%;text-align:right;overflow-wrap:anywhere}.delivery-tracking-extra p{margin:0;font-size:11px}
.delivery-map-marker{background:transparent;border:0}.delivery-map-marker span{display:grid;place-items:center;width:42px;height:42px;border:3px solid #fff;border-radius:14px;background:#ff553e;box-shadow:0 3px 14px #0004;font-size:23px}.delivery-map-marker--destination span{width:20px;height:20px;border:4px solid #fff;border-radius:50%;background:#168bd5;box-shadow:0 0 0 7px #168bd52e}
.courier-profile-form{display:grid;gap:9px;margin:12px 0 18px;padding:13px;border:1px solid var(--line);border-radius:16px}.courier-profile-form input{min-width:0;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px}.courier-profile-form__row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.courier-orders-list{display:grid;gap:9px}.courier-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px}.courier-order-row>div{min-width:0;display:grid;gap:4px}.courier-order-row small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.courier-privacy-note{margin:14px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
body.dark-mode .delivery-tracking-sheet{background:#181a1ff7;color:#f7f7f7}body.dark-mode .delivery-tracking-eta{color:#f7f7f7}body.dark-mode .delivery-tracking-driver{border-color:#3b3b3b}body.dark-mode .delivery-tracking-driver-info span,body.dark-mode .delivery-tracking-driver-info small{color:#eee}body.dark-mode .delivery-tracking-action:not(.delivery-tracking-action--call){background:#30323a;color:#fff}
@media(min-width:700px){.delivery-tracking-sheet{left:auto;right:24px;bottom:24px;width:430px;max-height:60vh}.delivery-tracking-back{top:24px;left:24px}}


/* Seller delivery assignment and scheduling */
.delivery-plan-form { display:grid; gap:10px; }
.delivery-plan-form label { font-size:13px; font-weight:700; margin-top:5px; }
.delivery-plan-form select, .delivery-plan-form input { width:100%; min-height:44px; border:1px solid var(--line); border-radius:12px; padding:10px 12px; background:var(--surface); color:var(--text); }
.delivery-plan-form .field__hint { color:var(--muted); font-size:12px; margin:0; }


/* Courier delivery lifecycle */
.courier-order-row { display:flex; flex-direction:column; gap:12px; }
.courier-order-row__actions { display:flex; flex-wrap:wrap; gap:8px; }
.courier-status-label { display:inline-flex; width:fit-content; margin-top:6px; padding:4px 9px; border-radius:999px; background:var(--surface-2,rgba(128,128,128,.12)); font-size:12px; font-weight:700; }
.courier-status-note { color:var(--muted); font-size:12px; }


/* Admin event manager */
.admin-event-layout { display:grid; grid-template-columns:minmax(280px,.9fr) minmax(320px,1.1fr); gap:22px; align-items:start; }
.admin-event-form,.admin-event-list { min-width:0; padding:20px; border:1px solid var(--line); border-radius:18px; background:var(--surface); }
.admin-event-form__head,.admin-event-list__head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:18px; }
.admin-event-form__head h4,.admin-event-list__head h4 { margin:0 0 5px; font-size:16px; }
.admin-event-form__hint,.admin-event-list__head p { margin:0; color:var(--muted); font-size:12px; }
.admin-event-form .field { margin-bottom:14px; }
.admin-event-form__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 12px; }
.admin-event-form__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.admin-event-form__status { min-height:18px; margin:12px 0 0; color:var(--muted); font-size:12px; }
.admin-event-meta { display:block; margin-top:4px; color:var(--muted); font-size:11px; }
.admin-event-status { display:inline-flex; padding:4px 9px; border-radius:999px; background:var(--soft); color:var(--ink); font-size:11px; white-space:nowrap; }
.admin-event-status--published { background:rgba(34,197,94,.12); color:#16803d; }
.admin-event-status--cancelled { background:rgba(239,68,68,.10); color:#c24141; }
.admin-event-status--draft { background:rgba(249,115,22,.12); color:#c65d12; }
.admin-event-actions { display:flex; flex-wrap:wrap; gap:6px; }
@media (max-width:900px) { .admin-event-layout { grid-template-columns:1fr; } }
@media (max-width:560px) { .admin-event-form,.admin-event-list { padding:14px; } .admin-event-form__grid { grid-template-columns:1fr; } .admin-event-form__head,.admin-event-list__head { flex-direction:column; } }
body.dark-mode .admin-event-form,body.dark-mode .admin-event-list { background:var(--surface); border-color:var(--line); }

.delivery-team-add { display:grid; gap:8px; padding:12px; border:1px solid var(--line); border-radius:14px; }
.delivery-team-add__row { display:flex; gap:8px; }
.delivery-team-add__row input { min-width:0; flex:1; }
.courier-proof-form { display:grid; gap:7px; width:100%; padding:10px; border:1px solid var(--line); border-radius:12px; }
.courier-proof-form > div { display:flex; gap:8px; }
.courier-proof-form input { min-width:0; width:100%; max-width:150px; border:1px solid var(--line); border-radius:10px; padding:8px 10px; background:var(--surface); color:var(--text); }
.courier-proof-form label { font-size:12px; color:var(--muted); }

.buyer-delivery-code-row { display:grid; gap:5px; padding:12px 0; border-bottom:1px solid var(--line); }
.buyer-delivery-code-row:last-child { border-bottom:0; }
.buyer-delivery-code-row strong { font-size:28px; letter-spacing:.16em; font-variant-numeric:tabular-nums; }
.buyer-delivery-code-row small,.buyer-delivery-code-row span { color:var(--muted); font-size:12px; }


/* Avertissement de confiance produit */
.listing-card--trust-warning { border:1.5px solid #dc2626!important; box-shadow:0 0 0 1px rgba(220,38,38,.10),0 8px 24px rgba(127,29,29,.08); }
.listing-card--trust-warning .listing-card__body { background:linear-gradient(180deg,rgba(254,242,242,.72),#fff 52%); }
.listing-card__trust-warning { display:grid; gap:3px; margin:7px 0 9px; padding:8px 9px; border:1px solid #fecaca; border-left:3px solid #dc2626; border-radius:9px; background:#fef2f2; color:#991b1b; }
.listing-card__trust-warning strong { font-size:10px; line-height:1.35; font-weight:850; }
.listing-card__trust-warning span { font-size:10px; line-height:1.4; }
.listing-card__trust-warning small { font-size:9px; font-weight:750; }
.admin-trust-indicator { display:block; margin-top:4px; color:#b91c1c; font-weight:800; }
.admin-sanctioned-count { margin:0 0 10px; color:var(--muted); font-size:12px; }
.admin-sanctioned-list { display:grid; gap:10px; }
.admin-sanction-row { display:grid; grid-template-columns:minmax(180px,1.2fr) auto minmax(180px,1.3fr) auto; align-items:center; gap:14px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.admin-sanction-row__identity { display:flex; align-items:center; gap:10px; min-width:0; }
.admin-sanction-row__identity img { width:42px; height:42px; border-radius:50%; object-fit:cover; }
.admin-sanction-row__identity div,.admin-sanction-row__reason { display:grid; gap:4px; min-width:0; }
.admin-sanction-row__identity strong,.admin-sanction-row__reason strong { font-size:12px; }
.admin-sanction-row__identity span,.admin-sanction-row__reason span,.admin-sanction-row__reason small { color:var(--muted); font-size:11px; overflow-wrap:anywhere; }
.admin-sanction-status { padding:5px 9px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.admin-sanction-status--banned { background:#fee2e2; color:#991b1b; }
.admin-sanction-status--suspended { background:#ffedd5; color:#9a3412; }
.admin-sanction-row__actions { display:flex; justify-content:flex-end; }
.listing-card--trust-warning .listing-card__title { color:#991b1b; }
@media(max-width:760px) { .admin-sanction-row { grid-template-columns:minmax(0,1fr) auto; } .admin-sanction-row__reason,.admin-sanction-row__actions { grid-column:1/-1; } .admin-sanction-row__actions { justify-content:flex-start; } }
body.dark-mode .listing-card--trust-warning .listing-card__body { background:linear-gradient(180deg,rgba(127,29,29,.18),var(--surface) 60%); }
body.dark-mode .listing-card__trust-warning { background:rgba(127,29,29,.2); border-color:rgba(248,113,113,.4); color:#fecaca; }
body.dark-mode .admin-sanction-row { background:var(--surface); border-color:var(--line); }

.pd-trust-warning{display:grid;gap:5px;margin:12px 0;padding:12px 13px;border:1px solid #fecaca;border-left:4px solid #dc2626;border-radius:12px;background:#fef2f2;color:#991b1b}.pd-trust-warning strong{font-size:11px;font-weight:850}.pd-trust-warning span{font-size:12px;line-height:1.45}.pd-trust-warning small{font-size:10px;font-weight:750}body.dark-mode .pd-trust-warning{background:rgba(127,29,29,.2);border-color:rgba(248,113,113,.4);color:#fecaca}


/* Centre de contrôle qualité */
.admin-quality-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.admin-quality-stat{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
.admin-quality-stat strong{font-size:22px;line-height:1.1;font-weight:850;color:var(--text)}
.admin-quality-stat span{font-size:11px;color:var(--muted)}
.admin-quality-stat--warning{border-color:#fed7aa;background:rgba(255,247,237,.7)}
.admin-quality-stat--warning strong{color:#c2410c}
.admin-quality-toolbar{margin-bottom:18px}
.admin-quality-section{margin:18px 0 24px}
.admin-quality-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.admin-quality-section__head h4{margin:0;font-size:15px;font-weight:800;color:var(--text)}
.admin-quality-section__head p{margin:4px 0 0;font-size:11px;color:var(--muted)}
.admin-quality-section__head>span{font-size:11px;font-weight:750;color:var(--muted)}
.admin-quality-list{display:grid;gap:11px}
.admin-quality-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.admin-quality-card--risk{border-left:3px solid #ea580c}
.admin-quality-card--product{border-left:3px solid #dc2626}
.admin-quality-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.admin-quality-identity{display:flex;align-items:center;gap:11px;min-width:0}
.admin-quality-identity img{width:46px;height:46px;flex:0 0 46px;object-fit:cover;border-radius:11px;background:var(--surface-2)}
.admin-quality-identity div{display:grid;gap:3px;min-width:0}
.admin-quality-identity strong{font-size:13px;color:var(--text);overflow-wrap:anywhere}
.admin-quality-identity span,.admin-quality-identity small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.admin-quality-risk{flex:0 0 auto;padding:5px 8px;border-radius:99px;font-size:10px;font-weight:800}
.admin-quality-risk.is-risk{background:#fff1f2;color:#be123c}
.admin-quality-risk.is-ok{background:#ecfdf5;color:#047857}
.admin-quality-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.admin-quality-metrics>div{display:grid;gap:3px;padding:9px;border-radius:10px;background:var(--surface-2);min-width:0}
.admin-quality-metrics strong{font-size:14px;color:var(--text);overflow-wrap:anywhere}
.admin-quality-metrics span{font-size:9px;line-height:1.35;color:var(--muted)}
.admin-quality-reasons{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0 0 0 17px;color:#b45309;font-size:10px}
.admin-quality-note{margin:0;font-size:10px;color:var(--muted)}
.admin-quality-actions{display:flex;flex-wrap:wrap;gap:7px;padding-top:2px}
.admin-quality-danger{color:#b91c1c!important;border-color:rgba(220,38,38,.25)!important}
@media(max-width:760px){.admin-quality-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-quality-card__top{flex-direction:column}.admin-quality-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-quality-toolbar{align-items:stretch}}
body.dark-mode .admin-quality-stat--warning{background:rgba(124,45,18,.15);border-color:rgba(251,146,60,.3)}
body.dark-mode .admin-quality-risk.is-risk{background:rgba(159,18,57,.2);color:#fda4af}
body.dark-mode .admin-quality-risk.is-ok{background:rgba(4,120,87,.2);color:#6ee7b7}


/* Seller dashboard: analytical controls and visibility metrics */
.sd-analytics-toolbar {
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:14px 16px;margin:18px 0 12px;border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);background:var(--soft);
}
.sd-analytics-toolbar>div{display:flex;flex-direction:column;gap:3px}
.sd-analytics-toolbar strong{font-size:14px;color:var(--ink)}
.sd-analytics-toolbar small{font-size:11px;color:var(--muted)}
.sd-analytics-toolbar label{margin-left:auto;font-size:12px;color:var(--muted)}
.sd-analytics-toolbar select{min-height:38px;padding:0 30px 0 11px;border:1px solid var(--line-soft);border-radius:10px;background:var(--surface,#fff);color:var(--ink);font:inherit}
.sd-stats .sd-stat strong{overflow-wrap:anywhere}
@media(max-width:480px){.sd-analytics-toolbar{align-items:flex-start}.sd-analytics-toolbar label{margin-left:0}.sd-analytics-toolbar select{flex:1;min-width:110px}}

/* ============================================================
   TRENDUP DESKTOP EXPERIENCE — navigation, density & workspace
   Mobile rules remain unchanged; these enhancements start at 1024px.
   ============================================================ */
@media (min-width: 1024px) {
  body { overflow-x: hidden; }
  .app-shell {
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    border: 0;
    box-shadow: 0 18px 70px rgba(15, 23, 42, .07);
  }
  .app-main { width: 100%; min-width: 0; }
  .content {
    width: 100%;
    max-width: none;
    padding: 28px clamp(28px, 3.2vw, 52px) 56px;
  }
  .topbar__row, .topbar__meta {
    padding-left: clamp(28px, 3.2vw, 52px);
    padding-right: clamp(28px, 3.2vw, 52px);
  }
  .topbar__row { min-height: 76px; }
  .topbar__meta { min-height: 48px; }
  .topbar { z-index: 100; }
  .topnav { overflow: visible; flex-wrap: wrap; }
  .topnav__link { min-height: 40px; }
  .topnav__link:focus-visible,
  .icon-btn:focus-visible,
  .btn:focus-visible { outline-offset: 3px; }
  .listing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .cat-scroll {
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 18px;
    column-gap: 14px;
  }
  .cat { width: 92px; }
  .cat__label { width: 92px; }
  .section-head { margin-bottom: 18px; }
  .discovery, .categories { margin-top: 34px; }
  .search-row { max-width: 1040px; }
  .search { min-height: 58px; }
  .listing-card { border-radius: 20px; }
  .listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .11);
  }
  .pd-grid { grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 36px; }
  .shop-hero__banner { height: 190px; }
  .shop-hero__body { padding-inline: 32px; }
  .sd-stats { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .sd-table { overflow-x: auto; }
  .sd-table table { min-width: 760px; }
  .modal__panel { max-width: min(920px, 92vw); }
  .modal__panel--admin { max-width: min(1380px, 94vw); }
  .admin-quality-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .admin-quality-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-sanctioned-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: start; gap: 22px; padding: 8px 0 32px; }
  .video-card { width: 100%; max-height: 760px; }
  .video-favorites-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .topbar__row { flex-wrap: wrap; row-gap: 10px; padding-top: 14px; padding-bottom: 10px; }
  .topbar__row > .brand { flex: 0 0 auto; }
  .topbar__actions { margin-left: auto; }
  .topnav {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    padding-top: 9px;
    border-top: 1px solid var(--line);
    gap: 5px;
  }
  .topnav__link { padding: 8px 11px; font-size: 12px; }
  .topbar__meta { padding-bottom: 10px; }
  .content { padding-top: 24px; }
}

@media (min-width: 1280px) {
  .topbar__row { flex-wrap: nowrap; gap: 18px; }
  .topnav { order: initial; flex: 1 1 auto; justify-content: center; flex-wrap: nowrap; gap: 3px; }
  .topnav__link { padding: 9px 11px; font-size: 12.5px; }
  .topbar__actions { flex: 0 0 auto; margin-left: 0; }
}

@media (min-width: 1440px) {
  .listing-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
  .topnav__link { padding-inline: 13px; font-size: 13px; }
  .content { padding-inline: 56px; }
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .listing-card, .cat__icon, .btn, .icon-btn { transition-duration: .2s; }
}

@media (min-width: 1024px) {
  body.dark-mode .topbar { background: rgba(18, 20, 26, .94); }
  body.dark-mode .topnav__link:hover { background: rgba(255,255,255,.06); }
}


/* Liquid Glass — fenêtre Paramètres */
.settings-glass {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.48) !important;
  background: rgba(255,255,255,.78) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  backdrop-filter: blur(26px) saturate(1.45);
  box-shadow: 0 24px 70px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.8);
  animation: settingsGlassEnter .42s cubic-bezier(.2,.8,.2,1) both;
}
.settings-glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 0%, rgba(255,106,0,.13), transparent 62%),
              linear-gradient(120deg, rgba(255,255,255,.42), transparent 55%);
}
.settings-glass .settings-section {
  border: 1px solid rgba(120,130,145,.13);
  border-radius: 16px;
  padding: 15px;
  background: rgba(255,255,255,.42);
  box-shadow: 0 7px 22px rgba(15,23,42,.035);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.settings-glass .settings-section:hover { transform: translateY(-1px); border-color: rgba(255,106,0,.24); }
.settings-glass .settings-section:first-child { padding-top: 15px; }
.settings-glass .settings-row { border-color: rgba(120,130,145,.15); }
.settings-legal-card {
  overflow: hidden;
  margin: 10px 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.settings-legal-card[open] { border-color: rgba(255,106,0,.5); box-shadow: 0 10px 28px rgba(255,106,0,.08); }
.settings-legal-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  list-style: none;
  cursor: pointer;
}
.settings-legal-card summary::-webkit-details-marker { display: none; }
.settings-legal-card summary > span:nth-child(2) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.settings-legal-card summary strong { font-size: 13px; color: var(--ink); }
.settings-legal-card summary small { font-size: 11px; color: var(--muted); }
.settings-legal-card__icon {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 12px; background: var(--orange-50); color: var(--orange); font-weight: 800; font-size: 20px;
}
.settings-legal-card__icon svg { width: 17px; height: 17px; }
.settings-legal-chevron { width: 16px; height: 16px; color: var(--muted); transition: transform .22s ease; }
.settings-legal-card[open] .settings-legal-chevron { transform: rotate(180deg); color: var(--orange); }
.settings-legal-frame { border-top: 1px solid var(--line); padding: 8px; background: rgba(120,130,145,.055); animation: settingsLegalReveal .28s ease both; }
.settings-legal-frame iframe { display: block; width: 100%; height: min(54vh, 470px); min-height: 300px; border: 0; border-radius: 10px; background: #fafafa; }
@keyframes settingsGlassEnter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes settingsLegalReveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

body.dark-mode .settings-glass {
  border-color: rgba(148,163,184,.2) !important;
  background: rgba(12,18,27,.82) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  backdrop-filter: blur(28px) saturate(1.25);
  box-shadow: 0 28px 90px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.07);
}
body.dark-mode .settings-glass::before {
  background: radial-gradient(ellipse at 12% 0%, rgba(255,106,0,.18), transparent 62%),
              linear-gradient(120deg, rgba(255,255,255,.045), transparent 55%);
}
body.dark-mode .settings-glass .settings-section {
  background: rgba(24,33,45,.58);
  border-color: rgba(148,163,184,.12);
  box-shadow: 0 8px 26px rgba(0,0,0,.16);
}
body.dark-mode .settings-legal-card { background: rgba(24,33,45,.72); border-color: #344255; }
body.dark-mode .settings-legal-card[open] { border-color: rgba(255,145,71,.62); background: rgba(36,29,25,.72); }
body.dark-mode .settings-legal-card summary strong { color: #f4f7fb; }
body.dark-mode .settings-legal-card summary small { color: #aab7c8; }
body.dark-mode .settings-legal-frame { background: rgba(0,0,0,.2); border-color: #344255; }
body.dark-mode .settings-legal-frame iframe { background: #0a0e14; color-scheme: dark; }
body.dark-mode .settings-glass .settings-section h3 { color: #f4f7fb; }
body.dark-mode .settings-glass .settings-row { border-color: rgba(148,163,184,.14); }
body.dark-mode .settings-glass .settings-row label { color: #dce4ef; }

@media (max-width: 600px) {
  .settings-glass { border-radius: 22px; }
  .settings-glass .settings-section { padding: 12px; border-radius: 14px; }
  .settings-legal-card summary { min-height: 64px; padding: 10px; }
  .settings-legal-frame { padding: 6px; }
  .settings-legal-frame iframe { height: 52vh; min-height: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  .settings-glass, .settings-legal-frame { animation: none !important; }
  .settings-glass .settings-section, .settings-legal-card, .settings-legal-chevron { transition: none !important; }
}



/* =========================================================
   TRENDUP — LIQUID GLASS GLOBAL UI
   Appliqué à l'interface du site, pas seulement aux paramètres.
   ========================================================= */
:root {
  --tu-glass-white: rgba(255,255,255,.66);
  --tu-glass-border: rgba(255,255,255,.72);
  --tu-glass-shadow: 0 14px 38px rgba(22,30,44,.075), inset 0 1px 0 rgba(255,255,255,.78);
}
body {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255,106,0,.075), transparent 34%),
    radial-gradient(ellipse at 92% 18%, rgba(255,180,120,.11), transparent 32%),
    #f6f7f9;
}
.app-shell {
  background: linear-gradient(155deg, rgba(255,255,255,.88), rgba(248,249,251,.94));
}
.topbar {
  background: rgba(255,255,255,.64);
  border-bottom: 1px solid rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.55);
  backdrop-filter: blur(24px) saturate(1.55);
  box-shadow: 0 8px 30px rgba(15,23,42,.045);
}
.topbar.is-stuck {
  background: rgba(255,255,255,.76);
  border-bottom-color: rgba(255,255,255,.8);
  box-shadow: 0 12px 32px rgba(15,23,42,.075);
}
.hero {
  background:
    radial-gradient(120% 140% at 92% 0%, rgba(255,164,98,.22), transparent 55%),
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,246,239,.72));
  border: 1px solid rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 22px 54px rgba(15,23,42,.075), inset 0 1px 0 rgba(255,255,255,.92);
}
.listing-card,
.trust-strip__item,
.shop-card,
.video-info-card,
.product-panel,
.profile-hero,
.profile-guest,
.stat,
.menu-row,
.category-card,
.collection-card,
.notification-card,
.message-card {
  background: var(--tu-glass-white);
  border: 1px solid var(--tu-glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--tu-glass-shadow);
}
.listing-card {
  border-color: rgba(255,255,255,.88);
}
.listing-card:hover {
  border-color: rgba(255,106,0,.28);
  box-shadow: 0 20px 46px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.cat__icon,
.cat.active .cat__icon {
  border: 1px solid rgba(255,255,255,.82);
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  backdrop-filter: blur(14px) saturate(1.35);
  box-shadow: 0 8px 22px rgba(15,23,42,.055), inset 0 1px 0 rgba(255,255,255,.9);
}
.search {
  background: rgba(255,255,255,.62);
  border-color: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 5px 18px rgba(15,23,42,.035);
}
.search:focus-within {
  background: rgba(255,255,255,.86);
}
.bottom-nav {
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.8);
  border-bottom: 0;
  -webkit-backdrop-filter: blur(28px) saturate(1.65);
  backdrop-filter: blur(28px) saturate(1.65);
  box-shadow: 0 -12px 36px rgba(15,23,42,.075), inset 0 1px 0 rgba(255,255,255,.92);
}
.rail {
  background: rgba(255,255,255,.58);
  border-right: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  backdrop-filter: blur(22px) saturate(1.45);
}
.modal__panel {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.55);
  backdrop-filter: blur(30px) saturate(1.55);
  box-shadow: 0 28px 90px rgba(15,23,42,.2), inset 0 1px 0 rgba(255,255,255,.95);
}
.btn--ghost,
.icon-btn,
.link-btn,
.filter-chip,
.tab-btn {
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
}
.btn--ghost {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 5px 16px rgba(15,23,42,.045), inset 0 1px 0 rgba(255,255,255,.85);
}
body.dark-mode {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255,106,0,.12), transparent 36%),
    radial-gradient(ellipse at 92% 18%, rgba(255,140,70,.08), transparent 34%),
    #080d15;
}
body.dark-mode .app-shell {
  background: linear-gradient(155deg, rgba(15,23,34,.96), rgba(9,14,22,.98));
}
body.dark-mode .topbar,
body.dark-mode .bottom-nav,
body.dark-mode .rail {
  background: rgba(12,18,28,.72);
  border-color: rgba(148,163,184,.16);
  box-shadow: 0 12px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045);
}
body.dark-mode .hero,
body.dark-mode .listing-card,
body.dark-mode .trust-strip__item,
body.dark-mode .shop-card,
body.dark-mode .video-info-card,
body.dark-mode .product-panel,
body.dark-mode .profile-hero,
body.dark-mode .profile-guest,
body.dark-mode .stat,
body.dark-mode .menu-row,
body.dark-mode .category-card,
body.dark-mode .collection-card,
body.dark-mode .notification-card,
body.dark-mode .message-card,
body.dark-mode .search,
body.dark-mode .modal__panel,
body.dark-mode .btn--ghost {
  background: rgba(20,29,42,.68);
  border-color: rgba(148,163,184,.17);
  box-shadow: 0 16px 42px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055);
}
body.dark-mode .hero {
  background:
    radial-gradient(120% 140% at 92% 0%, rgba(255,106,0,.15), transparent 55%),
    linear-gradient(145deg, rgba(22,31,44,.82), rgba(17,24,36,.78));
}
body.dark-mode .cat__icon,
body.dark-mode .cat.active .cat__icon {
  background: rgba(25,35,49,.72);
  border-color: rgba(148,163,184,.18);
  box-shadow: 0 8px 22px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.05);
}
@media (max-width: 719px) {
  .bottom-nav {
    border-radius: 22px 22px 0 0;
    border-left: 0;
    border-right: 0;
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .listing-card,
  .trust-strip__item,
  .shop-card,
  .collection-card,
  .notification-card {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
  }
  .trust-strip__item:hover,
  .shop-card:hover,
  .collection-card:hover,
  .notification-card:hover {
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .bottom-nav, .rail, .hero, .listing-card, .trust-strip__item,
  .search, .modal__panel, .shop-card, .profile-hero, .menu-row {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(255,255,255,.96);
  }
  body.dark-mode .topbar, body.dark-mode .bottom-nav, body.dark-mode .rail,
  body.dark-mode .hero, body.dark-mode .listing-card, body.dark-mode .trust-strip__item,
  body.dark-mode .search, body.dark-mode .modal__panel {
    background-color: rgba(15,23,34,.98);
  }
}



/* =========================================================
   TRENDUP — FULL PAGE PANELS
   Toutes les anciennes fenêtres modales deviennent des vues
   plein écran, sans carte flottante ni demi-fenêtre.
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--bg, #f7f8fa);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 26, .32);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  animation: fadeIn .2s ease both;
}
.modal__panel,
.modal__panel--sm {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 4vw, 52px) max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255,106,0,.055), transparent 32%),
    var(--bg, #f7f8fa);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: fullPageEnter .24s cubic-bezier(.2,.75,.25,1) both;
}
.modal__panel > * {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.modal__panel > .modal__head {
  position: sticky;
  top: calc(-1 * max(18px, env(safe-area-inset-top)));
  z-index: 5;
  flex: 0 0 auto;
  padding: 16px 0 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(130,145,165,.16);
  background: rgba(248,249,251,.88);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  backdrop-filter: blur(24px) saturate(1.5);
}
.modal__panel > .modal__head h2 {
  font-size: clamp(22px, 3vw, 30px);
}
.modal__panel .modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.modal__panel .modal__actions > * {
  min-width: min(160px, 100%);
}
@keyframes fullPageEnter {
  from { opacity: .7; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
body.dark-mode .modal {
  background: #0b111b;
}
body.dark-mode .modal__panel,
body.dark-mode .modal__panel--sm {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255,106,0,.09), transparent 32%),
    #0b111b;
}
body.dark-mode .modal__panel > .modal__head {
  background: rgba(11,17,27,.88);
  border-bottom-color: rgba(148,163,184,.16);
}
@media (max-width: 600px) {
  .modal__panel,
  .modal__panel--sm {
    padding-left: 16px;
    padding-right: 16px;
  }
  .modal__panel > .modal__head {
    padding-top: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
  }
  .modal__panel .modal__actions {
    flex-direction: column-reverse;
  }
  .modal__panel .modal__actions > * {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal__panel,
  .modal__panel--sm { animation: none; }
}


/* TrendUp — Liquid Glass final cascade
   Chargé après les feuilles historiques pour que le rendu soit réellement visible.
   Palette conservée : noir, blanc et orange TrendUp. */
:root {
  --tu-glass-panel: rgba(255,255,255,.54);
  --tu-glass-panel-strong: rgba(255,255,255,.68);
  --tu-glass-line: rgba(255,255,255,.82);
  --tu-glass-shadow: 0 18px 48px rgba(28,38,55,.09), inset 0 1px 0 rgba(255,255,255,.92);
  --tu-glass-blur: blur(26px) saturate(1.55);
}
html { background: #eef1f6; }
body {
  background:
    radial-gradient(ellipse 48rem 34rem at -12% 4%, rgba(255,106,0,.16), transparent 68%),
    radial-gradient(ellipse 42rem 30rem at 112% 18%, rgba(119,155,214,.16), transparent 66%),
    radial-gradient(ellipse 38rem 28rem at 52% 100%, rgba(255,186,132,.13), transparent 70%),
    #eef1f6;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 28%, rgba(255,255,255,.68), transparent 23%),
    radial-gradient(circle at 86% 72%, rgba(255,255,255,.52), transparent 26%);
}
.app-shell {
  background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(247,249,253,.58));
  -webkit-backdrop-filter: blur(30px) saturate(1.35);
  backdrop-filter: blur(30px) saturate(1.35);
}
.content { background: transparent; }
.topbar, .bottom-nav, .rail {
  background: rgba(255,255,255,.58) !important;
  border-color: rgba(255,255,255,.86) !important;
  box-shadow: 0 12px 34px rgba(25,35,52,.075), inset 0 1px 0 rgba(255,255,255,.94) !important;
  -webkit-backdrop-filter: var(--tu-glass-blur) !important;
  backdrop-filter: var(--tu-glass-blur) !important;
}
.hero, .profile-guest, .profile-hero, .listing-card, .shop-card,
.trust-strip__item, .stat, .menu-row, .category-card, .collection-card,
.notification-card, .message-card, .video-info-card, .product-panel,
.wallet-history, .glass-surface, .search, .search-box, .cat,
.filter-chip, .tab-btn, .settings-section, .wallet-profile-shortcut {
  background: var(--tu-glass-panel) !important;
  border: 1px solid var(--tu-glass-line) !important;
  box-shadow: var(--tu-glass-shadow) !important;
  -webkit-backdrop-filter: var(--tu-glass-blur) !important;
  backdrop-filter: var(--tu-glass-blur) !important;
}
.hero {
  background:
    radial-gradient(120% 140% at 94% 0%, rgba(255,139,61,.24), transparent 58%),
    linear-gradient(140deg, rgba(255,255,255,.68), rgba(255,244,235,.52)) !important;
}
.profile-guest {
  background:
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.78), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.68), rgba(255,247,240,.55)) !important;
}
.listing-card, .shop-card, .notification-card, .message-card,
.category-card, .collection-card, .stat, .menu-row {
  border-radius: 20px;
}
.search, .search-box, .filter-chip, .tab-btn, .cat {
  background: rgba(255,255,255,.48) !important;
}
.modal__backdrop {
  background: rgba(18,25,38,.24) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.35) !important;
  backdrop-filter: blur(24px) saturate(1.35) !important;
}
.modal__panel {
  background: rgba(250,251,253,.84) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.45) !important;
  backdrop-filter: blur(28px) saturate(1.45) !important;
}
.btn--ghost, .icon-btn, .wallet-glass-card__refresh {
  background: rgba(255,255,255,.52);
  border-color: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(25,35,52,.07), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
body.dark-mode {
  background:
    radial-gradient(ellipse 48rem 34rem at -12% 4%, rgba(255,106,0,.18), transparent 68%),
    radial-gradient(ellipse 42rem 30rem at 112% 18%, rgba(60,100,160,.18), transparent 66%),
    #080e18;
}
body.dark-mode .app-shell {
  background: linear-gradient(145deg, rgba(15,24,38,.72), rgba(8,14,24,.68));
}
body.dark-mode .topbar, body.dark-mode .bottom-nav, body.dark-mode .rail {
  background: rgba(11,19,31,.66) !important;
  border-color: rgba(148,163,184,.2) !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.07) !important;
}
body.dark-mode .hero, body.dark-mode .profile-guest, body.dark-mode .profile-hero,
body.dark-mode .listing-card, body.dark-mode .shop-card, body.dark-mode .trust-strip__item,
body.dark-mode .stat, body.dark-mode .menu-row, body.dark-mode .category-card,
body.dark-mode .collection-card, body.dark-mode .notification-card, body.dark-mode .message-card,
body.dark-mode .video-info-card, body.dark-mode .product-panel, body.dark-mode .wallet-history,
body.dark-mode .glass-surface, body.dark-mode .search, body.dark-mode .search-box,
body.dark-mode .cat, body.dark-mode .filter-chip, body.dark-mode .tab-btn,
body.dark-mode .settings-section, body.dark-mode .wallet-profile-shortcut {
  background: rgba(20,31,47,.62) !important;
  border-color: rgba(174,190,211,.2) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.075) !important;
  -webkit-backdrop-filter: var(--tu-glass-blur) !important;
  backdrop-filter: var(--tu-glass-blur) !important;
}
body.dark-mode .hero {
  background: linear-gradient(140deg, rgba(28,40,58,.74), rgba(40,29,28,.54)) !important;
}
body.dark-mode .modal__panel { background: rgba(10,17,28,.9) !important; }
body.dark-mode .modal__backdrop { background: rgba(0,0,0,.4) !important; }
body.dark-mode .btn--ghost, body.dark-mode .icon-btn {
  background: rgba(25,38,56,.68);
  border-color: rgba(174,190,211,.22);
}
@media (prefers-reduced-transparency: reduce) {
  .topbar, .bottom-nav, .rail, .hero, .profile-guest, .profile-hero,
  .listing-card, .shop-card, .trust-strip__item, .stat, .menu-row,
  .category-card, .collection-card, .notification-card, .message-card,
  .video-info-card, .product-panel, .wallet-history, .glass-surface,
  .search, .search-box, .cat, .filter-chip, .tab-btn, .settings-section,
  .wallet-profile-shortcut, .modal__panel {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background-color: rgba(255,255,255,.94) !important;
  }
  body.dark-mode .topbar, body.dark-mode .bottom-nav, body.dark-mode .rail,
  body.dark-mode .hero, body.dark-mode .profile-guest, body.dark-mode .listing-card,
  body.dark-mode .shop-card, body.dark-mode .modal__panel {
    background-color: rgba(12,19,30,.97) !important;
  }
}
@media (max-width: 719px) {
  .app-shell { background: rgba(255,255,255,.48); }
  .content { background: transparent; }
  .bottom-nav { box-shadow: 0 -10px 34px rgba(24,34,52,.09), inset 0 1px 0 rgba(255,255,255,.94) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .listing-card, .shop-card, .notification-card, .message-card { transition: none !important; }
}

