/* ============================================================
   HEXAGN — Marketplace Advertising Platform
   Static prototype · "Inventory Exchange" design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0d12;
  --bg-2: #0e131a;
  --bg-3: #141b24;
  --bg-4: #1a2330;
  --bg-5: #212c3b;

  --line: rgba(237, 234, 227, 0.08);
  --line-2: rgba(237, 234, 227, 0.16);
  --line-3: rgba(237, 234, 227, 0.28);

  --text: #edeae3;
  --text-2: #a6aeba;
  --text-3: #6b7480;

  --accent: #e9a23b;
  --accent-2: #f5b85c;
  --accent-soft: rgba(233, 162, 59, 0.12);
  --accent-ink: #1a1204;

  --green: #6fcf97;
  --green-soft: rgba(111, 207, 151, 0.12);
  --red: #e56b6b;
  --red-soft: rgba(229, 107, 107, 0.12);
  --blue: #6fa8dc;
  --blue-soft: rgba(111, 168, 220, 0.12);

  --font-display: "Fraunces", "Georgia", serif;
  --font-ui: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(233, 162, 59, 0.25), 0 12px 40px -12px rgba(233, 162, 59, 0.35);

  --sidebar-w: 248px;
  --topbar-h: 68px;

  /* interaction / surface helpers */
  --hover: rgba(237, 234, 227, 0.04);
  --hover-strong: rgba(237, 234, 227, 0.08);
  --row-line: rgba(237, 234, 227, 0.05);
  --grid-line: rgba(237, 234, 227, 0.025);
  --grid-line-2: rgba(237, 234, 227, 0.03);
  --nav-bg: rgba(10, 13, 18, 0.72);
  --topbar-bg: rgba(10, 13, 18, 0.78);
  --noise-opacity: 0.5;

  /* accent helpers */
  --accent-border: rgba(233, 162, 59, 0.4);
  --accent-border-soft: rgba(233, 162, 59, 0.25);
  --accent-border-strong: rgba(233, 162, 59, 0.55);
  --accent-focus: rgba(233, 162, 59, 0.12);
  --accent-glow: rgba(233, 162, 59, 0.55);
  --accent-glow-strong: rgba(233, 162, 59, 0.65);
  --accent-border-avatar: rgba(233, 162, 59, 0.3);
  --accent-border-search: rgba(233, 162, 59, 0.5);

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a6aeba' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-2: #fbfaf7;
  --bg-3: #ffffff;
  --bg-4: #ece9e2;
  --bg-5: #e2ded5;

  --line: rgba(20, 16, 8, 0.08);
  --line-2: rgba(20, 16, 8, 0.14);
  --line-3: rgba(20, 16, 8, 0.24);

  --text: #1c1a17;
  --text-2: #5c564d;
  --text-3: #8a8378;

  --accent: #9c6210;
  --accent-2: #7d4d0a;
  --accent-soft: rgba(156, 98, 16, 0.12);
  --accent-ink: #ffffff;

  --green: #1f9d5c;
  --green-soft: rgba(31, 157, 92, 0.12);
  --red: #d64545;
  --red-soft: rgba(214, 69, 69, 0.12);
  --blue: #2f6fb0;
  --blue-soft: rgba(47, 111, 176, 0.12);

  --shadow-1: 0 1px 2px rgba(20, 16, 8, 0.06);
  --shadow-2: 0 12px 32px -12px rgba(20, 16, 8, 0.18);
  --shadow-glow: 0 0 0 1px rgba(156, 98, 16, 0.2), 0 12px 40px -12px rgba(156, 98, 16, 0.25);

  --hover: rgba(20, 16, 8, 0.05);
  --hover-strong: rgba(20, 16, 8, 0.08);
  --row-line: rgba(20, 16, 8, 0.06);
  --grid-line: rgba(20, 16, 8, 0.05);
  --grid-line-2: rgba(20, 16, 8, 0.05);
  --nav-bg: rgba(246, 244, 239, 0.8);
  --topbar-bg: rgba(246, 244, 239, 0.85);
  --noise-opacity: 0.3;

  --accent-border: rgba(156, 98, 16, 0.35);
  --accent-border-soft: rgba(156, 98, 16, 0.3);
  --accent-border-strong: rgba(156, 98, 16, 0.5);
  --accent-focus: rgba(156, 98, 16, 0.14);
  --accent-glow: rgba(156, 98, 16, 0.3);
  --accent-glow-strong: rgba(156, 98, 16, 0.4);
  --accent-border-avatar: rgba(156, 98, 16, 0.3);
  --accent-border-search: rgba(156, 98, 16, 0.45);

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c564d' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--bg-4);
  border-radius: 99px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bg-5);
}

/* ---------- Background atmosphere ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 78% 8%, rgba(233, 162, 59, 0.10), transparent 60%),
    radial-gradient(40% 36% at 12% 30%, rgba(111, 168, 220, 0.07), transparent 60%),
    radial-gradient(60% 50% at 50% 110%, rgba(233, 162, 59, 0.05), transparent 60%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--text-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  flex: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px -10px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 12px 30px -10px var(--accent-glow-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--line-3);
  background: var(--hover);
}

.btn-soft {
  background: var(--accent-soft);
  color: var(--accent-2);
  border-color: var(--accent-border-soft);
}
.btn-soft:hover {
  background: rgba(233, 162, 59, 0.2);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-block {
  width: 100%;
}

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  background: var(--hover);
  white-space: nowrap;
}
.chip.is-active {
  color: var(--accent-2);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 500;
}
.badge-green {
  background: var(--green-soft);
  color: var(--green);
}
.badge-amber {
  background: var(--accent-soft);
  color: var(--accent-2);
}
.badge-blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.badge-red {
  background: var(--red-soft);
  color: var(--red);
}
.badge-neutral {
  background: var(--hover-strong);
  color: var(--text-2);
}

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.01em;
}
.field label .req {
  color: var(--accent);
}
.field .hint {
  font-size: 12px;
  color: var(--text-3);
}
.input,
.select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.input::placeholder {
  color: var(--text-3);
}
.input:focus,
.select:focus {
  border-color: var(--accent-border-strong);
  box-shadow: 0 0 0 3px var(--accent-focus);
  background: var(--bg-3);
}
.select {
  appearance: none;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.select option {
  background: var(--bg-3);
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .span-2 {
  grid-column: span 2;
}

/* ---------- Reveal animation ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.2s; }
.reveal-4 { animation-delay: 0.28s; }
.reveal-5 { animation-delay: 0.36s; }
.reveal-6 { animation-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
  }
}

/* ============================================================
   LANDING PAGE
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.site-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-top: 1px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.site-nav-links a:hover {
  color: var(--text);
}
.site-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 28px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow {
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  margin-bottom: 24px;
}
.hero h1 .accent-word {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

/* Live inventory board */
.board {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(233, 162, 59, 0.12), transparent 60%),
    radial-gradient(50% 40% at 90% 100%, rgba(111, 168, 220, 0.1), transparent 60%);
  pointer-events: none;
}
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.board-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.board-title .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 207, 151, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(111, 207, 151, 0); }
}
.board-tabs {
  display: flex;
  gap: 4px;
}
.board-tab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--text-3);
}
.board-tab.is-active {
  color: var(--accent-2);
  background: var(--accent-soft);
}
.board-rows {
  padding: 8px 0;
}
.board-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  transition: background 0.15s ease;
}
.board-row:hover {
  background: var(--hover);
}
.board-row + .board-row {
  border-top: 1px solid var(--row-line);
}
.board-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.board-slot .p-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.board-slot .p-name {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-slot .p-slot {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.board-rate {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
}
.board-rate b {
  color: var(--text);
  font-weight: 500;
}
.board-avail {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.board-avail::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.board-foot {
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.board-foot a {
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.board-foot a:hover {
  text-decoration: underline;
}

/* Ticker */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-item b {
  color: var(--text);
  font-weight: 500;
}
.ticker-item .sep {
  color: var(--accent);
}
.ticker-item .tick-rate {
  color: var(--accent-2);
}

/* Section shell */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 28px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-2);
  font-size: 16px;
}

/* Publisher strip */
.publishers {
  padding: 0 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.publishers-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 26px;
}
.publishers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.publisher-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.publisher-logo:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.publisher-logo .p-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}
.publisher-logo .plus {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-2);
  padding: 28px 30px;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .stat-num .suffix {
  color: var(--accent);
  font-size: 24px;
}
.stat .stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 18px;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  font-size: 13.5px;
  color: var(--text-2);
}

/* Category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  padding: 26px 26px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.cat-card .cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cat-card .cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.cat-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cat-card .cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cat-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  background: var(--hover);
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 6px;
}

/* Plan builder teaser */
.plan-builder {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(233, 162, 59, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.plan-builder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line-2) 1px, transparent 1px);
  background-size: 100% 34px;
  pointer-events: none;
}
.plan-builder-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.plan-builder h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 16px;
}
.plan-builder p {
  color: var(--text-2);
  margin-bottom: 26px;
  max-width: 44ch;
}
.plan-table {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-2);
}
.plan-table-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
}
.plan-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  font-size: 13px;
}
.plan-table-row + .plan-table-row {
  border-top: 1px solid var(--row-line);
}
.plan-table-row .pt-platform {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}
.plan-table-row .pt-model {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
}
.plan-table-row .pt-delivery {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}
.plan-table-row .pt-cost {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 96px 28px;
  position: relative;
}
.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  margin-bottom: 18px;
}
.cta-band p {
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 auto 34px;
  font-size: 16.5px;
}
.cta-band .hero-cta {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer .brand {
  margin-bottom: 16px;
}
.site-footer .foot-desc {
  font-size: 13.5px;
  color: var(--text-3);
  max-width: 30ch;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.foot-col a:hover {
  color: var(--text);
}
.foot-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
}

/* ============================================================
   AUTH PAGES (signup / login)
   ============================================================ */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.auth-side {
  position: relative;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(70% 50% at 20% 0%, rgba(233, 162, 59, 0.12), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(111, 168, 220, 0.08), transparent 60%),
    var(--bg-2);
  overflow: hidden;
}
.auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-2) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.auth-side > * {
  position: relative;
  z-index: 1;
}
.auth-side-quote {
  max-width: 40ch;
}
.auth-side-quote .display {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 20px;
}
.auth-side-quote .quote-by {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.auth-side-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}
.auth-side-mini .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.auth-card {
  width: 100%;
  max-width: 560px;
}
.auth-card .auth-head {
  margin-bottom: 30px;
}
.auth-card .auth-head h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.auth-card .auth-head p {
  color: var(--text-2);
  font-size: 14.5px;
}
.auth-card .auth-head .eyebrow {
  margin-bottom: 16px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-2);
}
.auth-alt a {
  color: var(--accent-2);
  font-weight: 600;
}
.auth-alt a:hover {
  text-decoration: underline;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 26px;
  transition: color 0.2s ease;
}
.auth-back:hover {
  color: var(--text);
}
.auth-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}
.auth-progress .ap-step {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.auth-progress .ap-step.is-active {
  color: var(--accent-2);
  border-color: var(--accent-border);
  background: var(--accent-soft);
}
.auth-progress .ap-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ============================================================
   PORTAL LAYOUT (dashboard / inventory / brand)
   ============================================================ */
.portal {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  z-index: 40;
}
.sidebar .brand {
  padding: 0 10px;
  margin-bottom: 30px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.side-nav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 12px;
  margin: 18px 0 8px;
}
.side-nav-label:first-child {
  margin-top: 0;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.15s ease, color 0.15s ease;
  position: relative;
}
.side-link svg {
  flex: none;
  opacity: 0.75;
}
.side-link:hover {
  background: var(--hover);
  color: var(--text);
}
.side-link.is-active {
  background: var(--accent-soft);
  color: var(--accent-2);
}
.side-link.is-active svg {
  opacity: 1;
}
.side-link.is-active::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.side-link.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.side-link.is-disabled:hover {
  background: none;
  color: var(--text-2);
}
.side-link .soon {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 5px;
}
.side-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-3);
}
.side-user .avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.side-user .su-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.side-user .su-org {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}

.portal-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: var(--topbar-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-title h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.topbar-title .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.topbar-title .crumb a:hover {
  color: var(--accent-2);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-search {
  position: relative;
}
.topbar-search input {
  width: 240px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 12px 9px 34px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, width 0.25s ease;
}
.topbar-search input:focus {
  border-color: var(--accent-border-search);
  width: 280px;
}
.topbar-search svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text-2);
  position: relative;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.icon-btn:hover {
  border-color: var(--line-3);
  color: var(--text);
}
.icon-btn .notif-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-2);
}
.theme-toggle-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 60;
}
.topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid var(--accent-border-avatar);
}

/* Cart icon + count badge */
.cart-link {
  position: relative;
}
.cart-link.is-active {
  border-color: var(--accent-border);
  color: var(--accent-2);
  background: var(--accent-soft);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  display: none;
  place-items: center;
  border: 2px solid var(--bg-2);
}
.cart-count.has-items {
  display: grid;
}

.content {
  padding: 30px 32px 60px;
  max-width: 1240px;
  width: 100%;
}

/* ---------- Dashboard ---------- */
.welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.welcome h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.welcome .welcome-sub {
  color: var(--text-2);
  font-size: 14.5px;
}
.welcome .welcome-sub b {
  color: var(--text);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stat-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}
.stat-card .sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.stat-card .sc-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.stat-card .sc-icon.alt {
  background: var(--blue-soft);
  color: var(--blue);
}
.stat-card .sc-icon.alt2 {
  background: var(--green-soft);
  color: var(--green);
}
.stat-card .sc-trend {
  font-family: var(--font-mono);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
}
.sc-trend.up {
  color: var(--green);
  background: var(--green-soft);
}
.sc-trend.down {
  color: var(--red);
  background: var(--red-soft);
}
.stat-card .sc-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-card .sc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  font-size: 15px;
  font-weight: 600;
}
.panel-head .panel-link {
  font-size: 13px;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.panel-head .panel-link:hover {
  text-decoration: underline;
}
.panel-body {
  padding: 8px 0;
}

/* Mini bar chart */
.mini-chart {
  padding: 20px 22px 10px;
}
.mini-chart .mc-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  max-width: 30px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: bottom;
}
.bar-col:hover .bar {
  opacity: 1;
  transform: scaleY(1.02);
}
.bar-col .bar-day {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
}
.bar-col.is-peak .bar {
  background: linear-gradient(180deg, #ffd08a, var(--accent));
  box-shadow: 0 0 18px rgba(233, 162, 59, 0.35);
}

/* Table */
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 13px 22px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--row-line);
}
.table tr:last-child td {
  border-bottom: none;
}
.table tr:hover td {
  background: var(--hover);
}
.table .t-cell-main {
  font-weight: 600;
}
.table .t-cell-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.table .t-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.table .t-platform {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 22px;
}
.qa {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.qa:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.qa .qa-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  flex: none;
}
.qa .qa-title {
  font-size: 13.5px;
  font-weight: 600;
}
.qa .qa-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}

/* Activity feed */
.activity {
  padding: 6px 0;
}
.activity-item {
  display: flex;
  gap: 14px;
  padding: 13px 22px;
  align-items: flex-start;
}
.activity-item + .activity-item {
  border-top: 1px solid var(--row-line);
}
.activity-item .a-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.activity-item .a-dot.green {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.activity-item .a-dot.blue {
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.activity-item .a-text {
  font-size: 13.5px;
  flex: 1;
}
.activity-item .a-text b {
  font-weight: 600;
}
.activity-item .a-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ============================================================
   INVENTORY PAGE
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.filter-bar .fb-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-right: 4px;
}
.filter-bar .fb-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-bar .fb-sep {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 6px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.brand-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.brand-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-color, var(--accent)), transparent);
  opacity: 0.6;
}
.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}
.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-identity .p-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-1);
}
.brand-identity .bi-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-identity .bi-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.brand-stat {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.brand-stat .bs-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.brand-stat .bs-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 3px;
}
.brand-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brand-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.brand-card-foot .bf-avail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.brand-card-foot .bf-avail::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   BRAND SLOTS PAGE
   ============================================================ */
.brand-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background:
    radial-gradient(60% 120% at 0% 0%, var(--brand-glow, rgba(233, 162, 59, 0.12)), transparent 60%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line-2);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.brand-hero-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-hero-left .p-logo {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-1);
}
.brand-hero-left h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.brand-hero-left .bh-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.brand-hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.bh-stat .bh-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.bh-stat .bh-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.slot-group {
  margin-bottom: 30px;
}
.slot-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.slot-group-head h3 {
  font-size: 15px;
  font-weight: 600;
}
.slot-group-head .sg-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
}
.slot-group-head .sg-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.slot-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slot-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
}

/* Slot preview (device mockup) */
.slot-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 50% 0%, var(--preview-glow, rgba(233, 162, 59, 0.1)), transparent 70%),
    var(--bg-2);
}
.sp-device {
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sp-speaker {
  width: 44px;
  height: 5px;
  border-radius: 99px;
  background: var(--line-2);
}
.sp-screen {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.sp-appbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.sp-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.sp-appname {
  font-size: 10.5px;
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-appdots {
  display: flex;
  gap: 3px;
}
.sp-appdots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-3);
}
.sp-body {
  height: 112px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px;
}
.sp-tabbar {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 7px;
  border-top: 1px solid var(--line);
}
.sp-tabbar i {
  width: 14px;
  height: 3px;
  border-radius: 99px;
  background: var(--line-2);
}
.sp-tabbar i.on {
  background: var(--accent);
}

.sp-ad {
  width: 100%;
  border-radius: 10px;
  padding: 11px 13px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-1);
  text-align: left;
}
.sp-ad-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.sp-ad-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.sp-ad-sub {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-ad-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-2);
}
.sp-ad-cta::after {
  content: "→";
}

/* Preview layout variants */
.sp-body.mode-fullscreen {
  padding: 0;
}
.sp-ad-fill {
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3px;
  background:
    radial-gradient(70% 130% at 50% 0%, var(--preview-glow, rgba(233, 162, 59, 0.14)), transparent 70%),
    var(--bg-2);
}
.sp-ad-fill .sp-ad-title {
  font-size: 14px;
}
.sp-ad-fill .sp-ad-badge {
  margin-bottom: 2px;
}
.sp-ad-fill .sp-ad-cta {
  margin-top: 6px;
}

.sp-body.mode-banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
}
.sp-ad-strip {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sp-ad-strip .sp-ad-title {
  font-size: 11.5px;
  flex: 1;
  min-width: 0;
}
.sp-ad-strip .sp-ad-badge {
  margin-bottom: 0;
  flex: none;
}
.sp-ad-strip .sp-ad-sub {
  display: none;
}
.sp-ad-strip .sp-ad-cta {
  margin-top: 0;
  flex: none;
  font-size: 8.5px;
  padding: 4px 9px;
  border-radius: 99px;
  background: var(--accent-soft);
}
.sp-ad-strip .sp-ad-cta::after {
  content: "";
}

.sp-wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--accent-2);
}
.sp-wheel svg {
  width: 54px;
  height: 54px;
}
.sp-wheel-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.sp-product {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
}
.sp-prod-img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.sp-prod-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.sp-prod-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-prod-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  margin-top: 2px;
}
.sp-prod-btn {
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--accent-2);
}

.sp-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.sp-code-badge {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.sp-code-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px dashed var(--accent-border);
  border-radius: 7px;
  color: var(--accent-2);
  background: var(--accent-soft);
}
.sp-code-copy {
  font-size: 9px;
  color: var(--text-3);
}

.sp-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
}
.sp-tile {
  border-radius: 7px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 9px 6px;
  text-align: center;
  font-size: 8.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-tile.is-hot {
  border-color: var(--accent-border);
  color: var(--accent-2);
  background: var(--accent-soft);
  font-weight: 600;
}
.slot-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.slot-card-top .slot-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.slot-card-top .slot-sku {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 3px;
}
.slot-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.slot-meta .sm {
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.slot-meta .sm .sm-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}
.slot-meta .sm .sm-value {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.slot-meta .sm .sm-value.accent {
  color: var(--accent-2);
}
.slot-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}
.slot-avail {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.slot-avail.avail {
  color: var(--green);
}
.slot-avail.avail::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.slot-avail.limited {
  color: var(--accent-2);
}
.slot-avail.limited::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.slot-avail.sold {
  color: var(--red);
}
.slot-avail.sold::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* Quantity stepper + add to cart */
.slot-buy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--bg-2);
  padding: 2px;
  flex: none;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  color: var(--text-2);
  transition: background 0.15s ease, color 0.15s ease;
}
.qty-btn:hover {
  background: var(--hover-strong);
  color: var(--text);
}
.qty-val {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
}
.add-cart {
  flex: 1;
}
.add-cart.added {
  background: var(--green);
  box-shadow: none;
}
.add-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.slot-card.is-sold .slot-buy {
  opacity: 0.55;
}

/* ============================================================
   CART (MEDIA PLAN) PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}
.cart-items {
  display: flex;
  flex-direction: column;
}
.cart-brand-group + .cart-brand-group {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.cart-brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 12px;
}
.cart-brand-head .p-logo {
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-1);
}
.cart-brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cart-brand-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.cart-brand-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.cart-item {
  display: grid;
  grid-template-columns: 116px 1fr auto auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}
.cart-item + .cart-item {
  border-top: 1px solid var(--row-line);
}
.cart-item-preview .slot-preview {
  border-radius: 9px;
}
.cart-item-preview .sp-device {
  padding: 8px 6px;
  gap: 6px;
}
.cart-item-preview .sp-speaker {
  width: 26px;
  height: 3px;
}
.cart-item-preview .sp-screen {
  border-radius: 8px;
}
.cart-item-preview .sp-appbar {
  padding: 5px 7px;
  gap: 5px;
}
.cart-item-preview .sp-logo {
  width: 13px;
  height: 13px;
  font-size: 6px;
  border-radius: 4px;
}
.cart-item-preview .sp-appname {
  font-size: 8px;
}
.cart-item-preview .sp-appdots i {
  width: 3px;
  height: 3px;
}
.cart-item-preview .sp-body {
  height: 62px;
  padding: 5px;
}
.cart-item-preview .sp-tabbar {
  padding: 4px;
  gap: 8px;
}
.cart-item-preview .sp-tabbar i {
  width: 9px;
  height: 2px;
}
.cart-item-preview .sp-ad {
  border-radius: 7px;
  padding: 6px 8px;
}
.cart-item-preview .sp-ad-title {
  font-size: 9px;
}
.cart-item-preview .sp-ad-badge {
  font-size: 6px;
  margin-bottom: 2px;
}
.cart-item-preview .sp-ad-sub {
  font-size: 7.5px;
}
.cart-item-preview .sp-ad-cta {
  font-size: 8px;
  margin-top: 4px;
}
.cart-item-preview .sp-ad-cta::after {
  content: "";
}
.cart-item-preview .sp-ad-strip .sp-ad-cta {
  font-size: 7px;
  padding: 2px 6px;
}
.cart-item-preview .sp-product {
  padding: 5px;
  gap: 6px;
}
.cart-item-preview .sp-prod-img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 6px;
}
.cart-item-preview .sp-prod-name {
  font-size: 8px;
}
.cart-item-preview .sp-prod-sub {
  font-size: 6.5px;
}
.cart-item-preview .sp-prod-btn {
  margin-top: 3px;
  font-size: 7px;
}
.cart-item-preview .sp-wheel svg {
  width: 30px;
  height: 30px;
}
.cart-item-preview .sp-wheel-label {
  font-size: 6px;
}
.cart-item-preview .sp-code-value {
  font-size: 9px;
  padding: 2px 7px;
}
.cart-item-preview .sp-code-badge,
.cart-item-preview .sp-code-copy {
  font-size: 6px;
}
.cart-item-preview .sp-tiles {
  gap: 4px;
}
.cart-item-preview .sp-tile {
  padding: 5px 3px;
  font-size: 6px;
}
.cart-item-info {
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.cart-item-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.cart-item-sku {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  margin-top: 4px;
  opacity: 0.8;
}
.cart-item-rate {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.cart-item-total {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  min-width: 72px;
  white-space: nowrap;
}
.cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--text-3);
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.cart-item-remove:hover {
  color: var(--red);
  background: var(--red-soft);
  border-color: rgba(229, 107, 107, 0.3);
}

.cart-summary {
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
}
.cs-body {
  padding: 20px 22px;
}
.cs-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 7px 0;
}
.cs-row.cs-total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--text);
  font-weight: 600;
}
.cs-row .cs-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cs-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 14px 0 16px;
}
.cart-summary .btn {
  margin-top: 9px;
}
.cart-summary .btn.added {
  background: var(--green);
  box-shadow: none;
}
.cart-summary .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.cart-empty {
  text-align: center;
  padding: 72px 30px;
}
.cart-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.cart-empty h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cart-empty p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 22px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-builder-inner {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-side {
    display: none;
  }
  .brand-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
  .cart-item {
    grid-template-columns: 110px 1fr auto auto;
  }
  .cart-item-rate {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-nav-links {
    display: none;
  }
  .steps,
  .cat-grid,
  .stats,
  .stat-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span-2 {
    grid-column: span 1;
  }
  .portal {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    padding: 0 18px;
  }
  .topbar-search {
    display: none;
  }
  .content {
    padding: 22px 18px 50px;
  }
  .site-footer-inner {
    grid-template-columns: 1fr;
  }
  .plan-builder {
    padding: 36px 24px;
  }
  .section {
    padding: 64px 20px;
  }
  .hero {
    padding: 56px 20px 30px;
  }
  .brand-hero-stats {
    gap: 18px;
  }
  .cart-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cart-item-preview {
    max-width: 220px;
  }
  .cart-item-rate {
    display: block;
    text-align: left;
  }
  .cart-item-total {
    text-align: left;
  }
}
