/* Direction: Neo-Luxe Marketplace — porcelain paper, cobalt actions, vivid orange offers */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #e9eaed;
  --border: #dde3ef;
  --border-strong: #afb1b5;
  --ink: #20252d;
  --muted: #5c6573;
  --accent: #3155d9;
  --accent-hover: #2a48b8;
  --accent-ink: #ffffff;
  --accent-text: #2a47b8;
  --accent-strong: #223c9e;
  --accent-soft: #dde3ef;
  --accent-border: #9eaee8;
  --success: #1c7a52;
  --success-ink: #ffffff;
  --success-soft: #dde8e1;
  --success-strong: #1a704b;
  --warning: #a66412;
  --warning-ink: #ffffff;
  --warning-soft: #ede5da;
  --warning-strong: #8d5510;
  --danger: #b3261e;
  --danger-ink: #ffffff;
  --danger-soft: #efdedb;
  --danger-strong: #b3261e;
  --chart-1: #3155d9;
  --chart-2: #bb46be;
  --chart-3: #98000e;
  --chart-4: #97740d;
  --chart-5: #015e1e;
  --chart-6: #148d9a;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.025em;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --card-pad: 1.1rem;
  --shadow-card: 0 1px 2px rgba(32, 37, 45, 0.06), 0 12px 28px rgba(32, 37, 45, 0.07);
  --x-orange: #f28b45;
  --x-orange-ink: #7a3a0b;
  --x-orange-soft: #fdede0;
  --x-band: #171c24;
  --x-on-photo: #ffffff;
  --x-star: #d88213;
  --gradient-hero: linear-gradient(118deg, #171c24 0%, #26355c 52%, #3155d9 100%);
  --gradient-offer: linear-gradient(120deg, #f28b45 0%, #e2662b 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #040813;
  --surface: #1d212b;
  --surface-2: #11141f;
  --border: #272b34;
  --border-strong: #4f525a;
  --ink: #f7f7f5;
  --muted: #96979b;
  --accent: #3155d9;
  --accent-hover: #506fdf;
  --accent-ink: #ffffff;
  --accent-text: #6b86e4;
  --accent-strong: #6b86e4;
  --accent-soft: #0e193f;
  --accent-border: #182b6c;
  --success: #1c7a52;
  --success-ink: #ffffff;
  --success-soft: #092121;
  --success-strong: #4e9879;
  --warning: #a66412;
  --warning-ink: #ffffff;
  --warning-soft: #281c13;
  --warning-strong: #b47b36;
  --danger: #b3261e;
  --danger-ink: #ffffff;
  --danger-soft: #2b0f15;
  --danger-strong: #c9645e;
  --chart-1: #3b62e7;
  --chart-2: #c953cb;
  --chart-3: #e13835;
  --chart-4: #a67f07;
  --chart-5: #109a39;
  --chart-6: #0d9aa9;
}

/* ShopSphere — marketplace surfaces: product cards, category tiles, rails, trackers. */

.hero-band {
  background: var(--gradient-hero);
}
.offer-band {
  background: var(--gradient-offer);
}
.ink-band {
  background: var(--x-band);
}

.prod-card {
  @apply relative flex h-full flex-col overflow-hidden rounded-[var(--radius-card)] border border-border bg-surface transition duration-200;
}
.prod-card:hover {
  @apply -translate-y-1 border-accent/50;
  box-shadow: var(--shadow-card);
}
.prod-img {
  @apply h-full w-full object-cover transition-transform duration-500;
}
.prod-card:hover .prod-img {
  @apply scale-[1.06];
}

.tile {
  @apply relative block overflow-hidden rounded-[var(--radius-card)] border border-border bg-surface transition duration-200;
}
.tile .prod-img {
  @apply transition-transform duration-500;
}
.tile:hover .prod-img {
  @apply scale-[1.06];
}
.tile:hover {
  @apply -translate-y-0.5 border-accent/50;
  box-shadow: var(--shadow-card);
}

.rail {
  @apply flex snap-x gap-4 overflow-x-auto pb-3;
}
.no-sb {
  scrollbar-width: none;
}
.no-sb::-webkit-scrollbar {
  display: none;
}

.off-badge {
  @apply inline-flex items-center rounded-full bg-[var(--x-orange)] px-2 py-0.5 text-xs font-bold text-[var(--x-on-photo)];
}
.off-soft {
  @apply inline-flex items-center gap-1 rounded-full bg-[var(--x-orange-soft)] px-2.5 py-1 text-xs font-semibold text-[var(--x-orange-ink)];
}

.pill {
  @apply inline-flex shrink-0 items-center gap-1.5 rounded-full border border-border px-3 py-1.5 text-sm font-medium transition;
}
.pill:hover {
  @apply border-accent/60 text-accent-text;
}
.pill-on {
  @apply border-accent bg-accent/10 text-accent-text;
}

.step-num {
  @apply grid h-8 w-8 shrink-0 place-items-center rounded-full border border-border bg-surface text-sm font-bold text-muted;
}
.step-on .step-num {
  @apply border-accent bg-accent text-accent-ink;
}

.track-dot {
  @apply grid h-9 w-9 shrink-0 place-items-center rounded-full border border-border bg-surface text-muted;
}
.track-done .track-dot {
  @apply border-accent bg-accent text-accent-ink;
}

summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
