:root {
  --font-body: "Barlow", sans-serif;
  --font-display: "Rajdhani", sans-serif;
  --font-brand: "Press Start 2P", cursive;

  --bg-0: #0a0b0f;
  --bg-1: #11131a;
  --bg-2: #181b24;
  --bg-3: #212633;
  --line: #343b4f;

  --text-0: #f6f8ff;
  --text-1: #d5dbec;
  --text-2: #9da8c4;

  --accent-0: #ff6b1f;
  --accent-1: #ff8f3d;
  --accent-2: #ffb175;

  --ok: #52cf7a;
  --warn: #f3b04a;
  --error: #ff6767;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-1: 0 8px 20px rgba(0, 0, 0, 0.24);
  --shadow-2: 0 18px 42px rgba(0, 0, 0, 0.36);

  --w-page: min(1220px, 94vw);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --surface-raised:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 7px 18px rgba(0, 0, 0, 0.24);
  --surface-pressed:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  /* Prevent horizontal layout shift when pages toggle vertical scrollbar. */
  background: var(--bg-0);
  color-scheme: dark;
  scrollbar-gutter: stable both-edges;
  scrollbar-color: #4a536a #0d1119;
}

@supports not (scrollbar-gutter: stable) {
  body {
    overflow-y: scroll;
  }
}

*::-webkit-scrollbar {
  width: 11px;
}

*::-webkit-scrollbar-track {
  background: #0d1119;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3c465c, #2b3345);
  border: 2px solid #0d1119;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #53607b, #394258);
}

body {
  font-family: var(--font-body);
  color: var(--text-0);
  background:
    radial-gradient(65vw 35vw at 85% -10%, rgba(255, 107, 31, 0.28), transparent 62%),
    radial-gradient(45vw 35vw at -5% -15%, rgba(255, 143, 61, 0.2), transparent 64%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 75%);
  overflow-x: hidden;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), filter 280ms var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
}

body::after {
  content: "";
  position: fixed;
  width: min(42vw, 280px);
  aspect-ratio: 1;
  right: -14vw;
  bottom: -12vh;
  background: url("./minecart.png") no-repeat center / contain;
  pointer-events: none;
  opacity: 0.06;
  filter: saturate(1.12);
}

body.page-leave {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
}

body.auth-modal-open {
  overflow: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60vw 30vw at 60% 0%, rgba(255, 143, 61, 0.09), transparent 72%),
    linear-gradient(130deg, rgba(255, 107, 31, 0.08), transparent 36%, rgba(255, 177, 117, 0.05));
}

.site-header,
main,
footer {
  width: var(--w-page);
  margin-inline: auto;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 90;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 2px solid #2d3a53;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  backdrop-filter: blur(11px);
  box-shadow: var(--surface-raised);

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 107, 31, 0.16), transparent 38%, transparent 72%, rgba(255, 143, 61, 0.12));
  opacity: 0.75;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  width: fit-content;
  color: var(--text-0);
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  transform: translateY(-6px) scale(1.42);
  transform-origin: center;
  filter: drop-shadow(0 0 10px rgba(255, 107, 31, 0.35));
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.34rem;
}

nav a {
  color: var(--text-1);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.48rem 0.76rem;
  border-radius: 4px;
  border: 2px solid transparent;
  box-shadow: var(--surface-pressed);
  transition: background-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

nav a:hover {
  color: var(--text-0);
  border-color: rgba(122, 141, 175, 0.46);
  background: linear-gradient(180deg, rgba(57, 69, 95, 0.7), rgba(38, 48, 68, 0.75));
  transform: translateY(-1px);
  box-shadow: var(--surface-raised);
}

nav a[aria-current="page"] {
  color: #fff2e8;
  border-color: rgba(255, 141, 62, 0.78);
  background: linear-gradient(180deg, rgba(255, 122, 43, 0.35), rgba(203, 96, 38, 0.2));
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 198, 0.25),
    inset 0 -2px 0 rgba(109, 48, 12, 0.35),
    0 4px 0 rgba(78, 35, 12, 0.66);
}

main {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0 2.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 8.8vw, 3.9rem);
}

h2 {
  font-size: clamp(1.45rem, 5.8vw, 2.35rem);
}

h3 {
  font-size: clamp(1.1rem, 4.5vw, 1.45rem);
}

p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.panel,
.hero,
.stats,
.auth-visual,
.feature-banner {
  position: relative;
  overflow: hidden;
  border: 2px solid #2f3d57;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(35, 40, 53, 0.96), rgba(24, 28, 37, 0.98));
  box-shadow: var(--surface-raised);
}

.panel::after,
.hero::after,
.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 70%, rgba(255, 255, 255, 0.04));
  opacity: 0.6;
}

.panel {
  padding: 1rem;
}

.hero {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.hero-outdoor {
  padding: 1.05rem;
  border-color: rgba(93, 108, 138, 0.9);
  background:
    radial-gradient(95% 80% at 0% 0%, rgba(255, 112, 38, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(27, 33, 45, 0.98), rgba(16, 21, 31, 0.98));
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-media {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 107, 31, 0.13), rgba(255, 143, 61, 0.05));
  min-height: 230px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-billboard {
  position: relative;
  display: grid;
  align-items: center;
  gap: 0.55rem;
}

.hero-billboard-frame {
  margin: 0;
  min-height: 265px;
  border-radius: 8px;
  border: 2px solid #29344a;
  background: #0b121e;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 28px rgba(0, 0, 0, 0.35);
}

.hero-billboard-frame img {
  width: 100%;
  height: 100%;
  min-height: 265px;
  object-fit: cover;
  display: block;
}

.hero-billboard-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 58px;
  border: 2px solid #27334a;
  background: rgba(7, 12, 21, 0.88);
  color: #f4f7ff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hero-billboard-nav.prev {
  left: 0.4rem;
}

.hero-billboard-nav.next {
  right: 0.4rem;
}

.hero-billboard-nav:hover {
  border-color: rgba(255, 141, 62, 0.66);
  color: #ffba86;
}

.hero-billboard-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.36rem;
  border: 2px solid rgba(61, 76, 108, 0.85);
  border-radius: 6px;
  background: rgba(11, 16, 28, 0.8);
  backdrop-filter: blur(5px);
  width: fit-content;
  margin: 0 auto;
}

.hero-billboard-dots [data-dot] {
  width: 58px;
  height: 34px;
  border-radius: 4px;
  border: 2px solid #3f4f6f;
  background-color: #1a2234;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.72;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 2px 0 #101725;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), border-color 180ms var(--ease);
}

.hero-billboard-dots [data-dot]:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.hero-billboard-dots [data-dot].is-active {
  border-color: rgba(255, 141, 62, 0.9);
  opacity: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 226, 197, 0.25),
    inset 0 -2px 0 rgba(84, 37, 11, 0.42),
    0 3px 0 rgba(77, 34, 12, 0.74);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
  filter: saturate(1.03);
}

.hero:hover .hero-media img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.home-main {
  gap: 1.2rem;
}

.home-site-intro {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
}

.home-site-intro-media {
  position: relative;
  border: 2px solid #32415d;
  border-radius: 8px;
  overflow: hidden;
  min-height: 240px;
  background: #0c1322;
}

.home-site-intro-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(1.06);
}

.home-site-intro-overlay {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  border: 2px solid #3b4b6c;
  border-radius: 6px;
  padding: 0.58rem 0.62rem;
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.92), rgba(9, 14, 26, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.home-site-intro-overlay h2 {
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  margin-bottom: 0.2rem;
}

.home-site-intro-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.home-site-feature {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0.62rem;
  align-items: center;
  border: 2px solid #31415e;
  border-radius: 8px;
  padding: 0.48rem 0.56rem;
  background: linear-gradient(180deg, rgba(26, 35, 52, 0.95), rgba(16, 22, 33, 0.98));
  box-shadow: var(--surface-raised);
}

.home-site-feature img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 6px;
  border: 2px solid #3a4b6b;
  background: linear-gradient(180deg, rgba(19, 28, 44, 0.98), rgba(13, 19, 29, 0.98));
}

.home-site-feature h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.home-site-feature p {
  margin: 0;
}

.home-hero {
  gap: 1rem;
}

.home-hero-highlight {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  max-width: min(74%, 360px);
  border: 2px solid #3f506f;
  border-radius: 6px;
  padding: 0.62rem 0.68rem;
  background: linear-gradient(180deg, rgba(12, 18, 31, 0.92), rgba(8, 13, 24, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 10px 20px rgba(0, 0, 0, 0.34);
}

.home-hero-highlight .eyebrow {
  margin-bottom: 0.24rem;
}

.home-hero-highlight h2 {
  font-size: clamp(1.05rem, 3.4vw, 1.45rem);
  margin-bottom: 0.24rem;
}

.home-hero-highlight p {
  margin-bottom: 0.56rem;
  color: #d3dcef;
}

.home-hero .hero-copy {
  padding: 0.2rem 0.1rem 0;
}

.home-hero .hero-copy h1 {
  font-size: clamp(1.7rem, 6vw, 3.15rem);
  line-height: 0.95;
}

.home-section {
  display: grid;
  gap: 0.85rem;
}

.home-section-head {
  display: grid;
  gap: 0.26rem;
}

.home-section-head h2 {
  font-size: clamp(1.3rem, 4.9vw, 2.05rem);
}

.home-section-head-center {
  text-align: center;
  justify-items: center;
}

.home-section-head-center p {
  max-width: 780px;
}

.home-collections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.home-collection-card {
  border: 2px solid #32415d;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(26, 33, 48, 0.98), rgba(16, 22, 33, 0.99));
  box-shadow: var(--surface-raised);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.home-collection-card:hover {
  transform: translateY(-4px);
  border-color: #58709f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 14px 30px rgba(0, 0, 0, 0.34);
}

.home-collection-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #32415d;
}

.home-collection-card h3,
.home-collection-card p {
  padding-inline: 0.72rem;
}

.home-collection-card h3 {
  margin: 0.62rem 0 0.3rem;
  font-size: 1.05rem;
}

.home-collection-card p {
  margin: 0 0 0.82rem;
}

.home-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.78rem;
}

.home-feature-copy {
  display: grid;
  gap: 0.72rem;
  align-content: center;
}

.home-feature-card {
  display: grid;
  gap: 0.72rem;
}

.home-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #334665;
}

.home-feature-card h3 {
  margin: 0.18rem 0 0.32rem;
}

.home-mini-market {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
}

.home-mini-card {
  border: 2px solid #30405d;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(29, 38, 56, 0.96), rgba(17, 24, 36, 0.98));
  box-shadow: var(--surface-raised);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.home-mini-card:hover {
  transform: translateY(-3px);
  border-color: #5f77a8;
}

.home-mini-card img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid #33425f;
}

.home-mini-card h3,
.home-mini-card p {
  margin: 0;
  padding-inline: 0.62rem;
}

.home-mini-card h3 {
  margin-top: 0.56rem;
  font-size: 0.93rem;
}

.home-mini-card p {
  margin: 0.25rem 0 0.62rem;
  color: #ffc49a;
  font-weight: 700;
}

.hero-actions,
.verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  position: relative;
  isolation: isolate;
  border-radius: 4px;
  border: 2px solid #0f1420;
  background: linear-gradient(180deg, #2a3346 0%, #1d2534 100%);
  color: var(--text-0);
  text-decoration: none;
  padding: 0.72rem 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 3px 0 #0b101a;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 220ms var(--ease);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.13),
    inset 0 -2px 0 rgba(0, 0, 0, 0.3),
    0 5px 0 #0b101a,
    0 10px 20px rgba(0, 0, 0, 0.25);
  border-color: #55617c;
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 1px 0 #0b101a;
}

.btn-primary {
  border-color: #7b3915;
  color: #2f1302;
  background: linear-gradient(180deg, #ff943f 0%, #ff6d1d 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.26),
    inset 0 -2px 0 rgba(131, 49, 10, 0.45),
    0 3px 0 #5b2a0e;
}

.btn-ghost {
  background: linear-gradient(180deg, #2c364b 0%, #212a3b 100%);
  border-color: #313e56;
}

.stats {
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.stats article {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  padding: 0.85rem;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.stats article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.24);
}

.stats strong {
  display: block;
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  font-family: var(--font-display);
  color: var(--text-0);
}

.grid-3,
.product-grid,
.checkout-layout,
.auth-page,
.profile-layout,
.admin-layout,
.budget-grid {
  display: grid;
  gap: 1rem;
}

.marketplace-hero {
  display: grid;
  gap: 0.95rem;
}

.marketplace-hero h1 {
  font-size: clamp(1.65rem, 6vw, 2.55rem);
}

.marketplace-hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.marketplace-hero-kpis article {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.marketplace-hero-kpis strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.marketplace-showcase {
  display: grid;
  gap: 0.7rem;
}

.marketplace-showcase-head {
  display: grid;
  gap: 0.32rem;
}

.marketplace-showcase-head h2 {
  font-size: clamp(1.2rem, 4.8vw, 1.6rem);
}

.marketplace-showcase-stage {
  position: relative;
}

.marketplace-showcase-frame {
  margin: 0;
  border-radius: 6px;
  border: 2px solid #334360;
  overflow: hidden;
  min-height: 245px;
  background: #0b121f;
}

.marketplace-showcase-frame img {
  width: 100%;
  min-height: 245px;
  object-fit: cover;
  display: block;
}

.marketplace-showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 54px;
  border: 2px solid #2f3e5b;
  background: rgba(7, 11, 20, 0.86);
  color: #f0f4ff;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34),
    0 3px 0 #0b101a;
}

.marketplace-showcase-nav.prev {
  left: 0.46rem;
}

.marketplace-showcase-nav.next {
  right: 0.46rem;
}

.marketplace-showcase-nav:hover {
  border-color: rgba(255, 141, 62, 0.7);
  color: #ffc597;
}

.marketplace-showcase-dots {
  display: flex;
  justify-content: center;
  gap: 0.34rem;
}

.marketplace-showcase-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid #566680;
  background: #293650;
}

.marketplace-showcase-dots span.is-active {
  border-color: rgba(255, 141, 62, 0.86);
  background: #ff7a2b;
}

.marketplace-controls {
  display: grid;
  gap: 0.8rem;
}

.marketplace-controls label {
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 700;
}

.marketplace-search input,
.marketplace-filters select {
  height: 44px;
}

.marketplace-results {
  font-weight: 700;
  color: var(--text-1);
}

.marketplace-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.marketplace-chip {
  border: 2px solid #3b4964;
  border-radius: 4px;
  background: linear-gradient(180deg, #243048, #1a2334);
  color: var(--text-1);
  padding: 0.42rem 0.78rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.32),
    0 2px 0 #101725;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.marketplace-chip:hover {
  transform: translateY(-1px);
  border-color: #6e7e9f;
  color: var(--text-0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -2px 0 rgba(0, 0, 0, 0.26),
    0 4px 0 #101725;
}

.marketplace-chip.is-active {
  border-color: rgba(255, 141, 62, 0.82);
  color: #fff0e5;
  background: linear-gradient(180deg, rgba(255, 120, 42, 0.42), rgba(199, 91, 34, 0.26));
  box-shadow:
    inset 0 1px 0 rgba(255, 215, 182, 0.26),
    inset 0 -2px 0 rgba(99, 45, 15, 0.45),
    0 4px 0 rgba(71, 32, 11, 0.74);
}

.product-card {
  display: grid;
  gap: 0.7rem;
  transform-style: preserve-3d;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
  border-color: #3d4c68;
  background:
    linear-gradient(180deg, rgba(28, 37, 54, 0.98), rgba(15, 21, 33, 0.98)),
    linear-gradient(145deg, rgba(255, 107, 31, 0.08), transparent 32%);
}

.product-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #5f6e92;
  box-shadow: var(--shadow-2);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #31405d;
  transition: transform 260ms var(--ease), filter 260ms var(--ease);
}

.product-card:hover .product-thumb {
  transform: translateY(-2px) scale(1.015);
  filter: saturate(1.1);
}

.product-card .eyebrow {
  margin-top: -0.1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.product-meta-left {
  display: grid;
  gap: 0.25rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff1e8;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-badge {
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #dce6ff;
  border: 1px solid rgba(130, 146, 176, 0.42);
  background: rgba(93, 110, 140, 0.18);
}

.product-page {
  display: grid;
  gap: 1rem;
}

.product-page iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  border: 2px solid #31405d;
  margin-top: 0.75rem;
}

.product-spotlight {
  margin: 0.8rem 0 0;
  border-radius: 6px;
  border: 2px solid #31405d;
  overflow: hidden;
  background: #0c131f;
}

.product-spotlight img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

.product-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.55rem;
}

.product-gallery-thumb {
  margin: 0;
  padding: 0;
  border: 2px solid #334360;
  border-radius: 6px;
  background: #0d1420;
  overflow: hidden;
  cursor: pointer;
  transition: transform 190ms var(--ease), border-color 190ms var(--ease), box-shadow 190ms var(--ease);
}

.product-gallery-thumb img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  display: block;
}

.product-gallery-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 141, 62, 0.6);
}

.product-gallery-thumb.is-active {
  border-color: rgba(255, 141, 62, 0.85);
  box-shadow: 0 0 0 2px rgba(255, 122, 43, 0.2);
}

label {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 0.82rem;
  color: var(--text-1);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 4px;
  border: 2px solid #3a475f;
  background: linear-gradient(180deg, #1a2334, #111825);
  color: var(--text-0);
  padding: 0.68rem 0.72rem;
  font: inherit;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -2px 0 rgba(0, 0, 0, 0.32);
}

select {
  color-scheme: dark;
}

select option,
select optgroup {
  background: #121a29;
  color: #e8efff;
}

select option:checked {
  background: #24354f;
  color: #ffffff;
}

select option:disabled {
  background: #0f1725;
  color: #8ea2ca;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 141, 62, 0.82);
  box-shadow:
    0 0 0 3px rgba(255, 143, 61, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  background: linear-gradient(180deg, #1c273b, #131b2a);
}

textarea {
  min-height: 120px;
}

.auth-visual {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.auth-visual img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Auth: tabs */
.auth-tabs {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.24rem;
  border: 2px solid #3a475f;
  border-radius: 4px;
  background: linear-gradient(180deg, #171c27, #131927);
  margin-bottom: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.auth-tab {
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0.44rem 0.92rem;
  color: var(--text-1);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.33),
    0 2px 0 #101725;
  transition: color 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.auth-tab:hover {
  color: #e8eeff;
  border-color: rgba(124, 139, 170, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 4px 0 #101725;
}

.auth-tab.is-active {
  color: #2b1103;
  border-color: rgba(255, 141, 62, 0.72);
  background: linear-gradient(180deg, #ff943f, #ff6d1d);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(139, 61, 20, 0.4),
    0 3px 0 #5b2a0e;
}

.auth-tab:focus-visible {
  outline: 2px solid rgba(140, 186, 255, 0.85);
  outline-offset: 2px;
}

.auth-form-grid {
  margin-bottom: 0.9rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
  margin-bottom: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #4a5166;
}

/* Auth: layout/card */
.auth-enterprise-visual {
  min-height: 0;
  align-self: start;
  padding: 1.05rem;
  gap: 0.72rem;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.82), rgba(7, 11, 20, 0.96)),
    radial-gradient(95% 100% at 0% 0%, rgba(255, 126, 47, 0.17), transparent 62%);
}

.auth-enterprise-visual h1 {
  font-size: clamp(2rem, 4.6vw, 3.05rem);
  line-height: 1.06;
  max-width: 13ch;
}

.auth-cinematic-art {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(152, 173, 214, 0.3);
  overflow: hidden;
  height: 205px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 122, 43, 0.26), transparent 55%),
    linear-gradient(140deg, rgba(24, 37, 59, 0.96), rgba(12, 18, 31, 0.96));
}

.auth-cinematic-art img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(62%, 250px);
  height: min(62%, 250px);
  object-fit: cover;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
  animation: auth-float 4.6s ease-in-out infinite;
}

.auth-visual-list {
  margin: 0.05rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-1);
  display: grid;
  gap: 0.34rem;
}

.auth-visual-list li {
  position: relative;
  font-weight: 600;
  font-size: 0.88rem;
}

.auth-visual-list li::marker {
  color: var(--accent-1);
}

.auth-enterprise-panel {
  padding: 1.1rem;
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(255, 133, 58, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(28, 34, 48, 0.96), rgba(16, 20, 30, 0.98));
}

.auth-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.72rem;
}

.auth-head h2 {
  font-size: clamp(1.6rem, 5.3vw, 2.05rem);
}

.auth-head p {
  color: #c5d0e8;
}

/* Auth: forms/panels */
.auth-panels-wrap {
  position: relative;
}

.auth-form-grid {
  margin-bottom: 0;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.auth-form-grid.hidden {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.auth-label {
  margin-bottom: 0.72rem;
}

.auth-field-error {
  display: block;
  min-height: 0.95rem;
  margin-top: 0.28rem;
  font-size: 0.74rem;
  line-height: 1.25;
  color: #ff9999;
  font-weight: 600;
}

.auth-field-error--standalone {
  margin-top: -0.35rem;
  margin-bottom: 0.35rem;
}

/* Auth: inputs */
.auth-input-wrap,
.auth-password-wrap {
  position: relative;
  display: block;
}

.auth-input-wrap input,
.auth-password-wrap input {
  padding-right: 2.5rem;
}

.auth-label input:hover {
  border-color: #5d6985;
}

.auth-label input:focus-visible,
.auth-password-toggle:focus-visible,
.auth-google-btn:focus-visible,
.auth-inline-link:focus-visible {
  outline: 2px solid rgba(140, 186, 255, 0.85);
  outline-offset: 2px;
}

.auth-label input.is-invalid {
  border-color: rgba(255, 120, 120, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 98, 98, 0.16);
}

.auth-label input:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 120, 120, 0.6);
}

.auth-input-wrap .auth-valid-indicator {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  color: #41cc7d;
  font-weight: 800;
  opacity: 0;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.auth-input-wrap input:valid:not(:placeholder-shown) + .auth-valid-indicator {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.auth-password-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c6d4f0;
  font: inherit;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

.auth-password-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.auth-checkbox {
  margin-bottom: 0.72rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 600;
  color: #cdd6e9;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  padding: 0;
}

/* Auth: links/meta row */
.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: -0.2rem 0 0.72rem;
}

.auth-meta-row .auth-checkbox {
  margin: 0;
}

.auth-inline-link {
  color: #d9e6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.auth-inline-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 169, 116, 0.75);
}

/* Auth: buttons */
.btn-secondary.btn-google,
.auth-submit-btn {
  width: 100%;
  margin-top: 0.15rem;
}

.auth-submit-btn {
  border-color: rgba(255, 141, 62, 0.76);
  box-shadow: 0 12px 20px rgba(255, 107, 31, 0.3);
}

.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 24px rgba(255, 107, 31, 0.34);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.btn.is-loading {
  opacity: 0.92;
  pointer-events: none;
}

.btn.is-loading::after {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.auth-google-btn {
  width: 100%;
  height: 46px;
  border-radius: 4px;
  border: 2px solid #4f5f82;
  background: linear-gradient(180deg, #d9dfe8, #cfd6e1);
  color: #121824;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    inset 0 -2px 0 rgba(95, 111, 145, 0.42),
    0 3px 0 #2b354d;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease), filter 200ms var(--ease);
}

.btn-secondary.btn-google {
  border-color: #4f5f82;
}

.auth-google-btn img {
  display: inline-grid;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  padding: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.16));
}

.auth-google-btn:hover {
  transform: translateY(-1px) scale(1.004);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -2px 0 rgba(92, 109, 145, 0.44),
    0 5px 0 #2b354d;
  border-color: #6f80a6;
  filter: saturate(1.02) brightness(1.01);
}

.auth-google-btn:active {
  transform: translateY(0) scale(0.998);
}

.password-strength {
  margin: -0.15rem 0 0.4rem;
  display: grid;
  gap: 0.32rem;
}

.password-strength-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #2a3142;
  overflow: hidden;
}

.password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #2f3646;
  transition: width 220ms var(--ease), background-color 220ms var(--ease);
}

.password-strength small {
  color: #bcc8e5;
  font-weight: 600;
}

.auth-footnote {
  margin-top: 0.9rem;
  border-top: 1px solid rgba(135, 152, 184, 0.28);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.35rem;
}

.auth-footnote p {
  font-size: 0.84rem;
  color: #b8c4df;
}

.auth-footnote a {
  color: #d8e4ff;
  text-decoration: none;
}

.auth-footnote a:hover {
  color: #fff;
}

/* Auth: modals */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.62);
  backdrop-filter: blur(3px);
  z-index: 300;
}

.auth-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100vw - 2rem));
  max-height: min(78vh, 680px);
  border-radius: 14px;
  border: 1px solid rgba(124, 144, 177, 0.45);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 43, 0.15), transparent 58%),
    linear-gradient(180deg, rgba(24, 32, 49, 0.98), rgba(15, 21, 34, 0.98));
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.52);
  display: grid;
  grid-template-rows: auto 1fr;
  z-index: 310;
}

.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(114, 131, 162, 0.3);
}

.auth-modal-head h3 {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
}

.auth-modal-close {
  border: 1px solid rgba(124, 141, 171, 0.5);
  background: rgba(33, 43, 64, 0.85);
  color: #e4edff;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 170ms var(--ease), border-color 170ms var(--ease), background-color 170ms var(--ease);
}

.auth-modal-close:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 141, 62, 0.58);
  background: rgba(44, 58, 86, 0.95);
}

.auth-modal-body {
  overflow-y: auto;
  padding: 0.92rem 1rem 1.05rem;
  display: grid;
  gap: 0.72rem;
}

.auth-modal-body p,
.auth-modal-body li {
  color: #bfcbdf;
}

.auth-modal-body ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.36rem;
}

.auth-form-shake {
  animation: auth-shake 320ms ease;
}

@keyframes auth-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes auth-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-7px);
  }
  50% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-4px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.feature-banner {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.empty-card {
  display: grid;
  gap: 0.8rem;
}

.profile-layout {
  gap: 1rem;
}

.profile-hero {
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(67, 123, 255, 0.19), transparent 58%),
    radial-gradient(70% 80% at 95% 0%, rgba(255, 118, 37, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(31, 40, 58, 0.95), rgba(20, 26, 39, 0.98));
}

.profile-hero-main {
  display: grid;
  gap: 1rem;
}

.profile-avatar-hero-wrap {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  padding: 4px;
  background: conic-gradient(from 200deg, #3fceff, #5f76ff, #ff974f, #3fceff);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03), 0 14px 32px rgba(0, 0, 0, 0.42);
}

.profile-avatar-hero {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: #0d1320;
  border: 2px solid rgba(8, 13, 24, 0.8);
  transition: transform 260ms var(--ease), filter 260ms var(--ease);
}

.profile-hero:hover .profile-avatar-hero {
  transform: scale(1.04) rotate(-2deg);
  filter: saturate(1.08);
}

.profile-hero-copy {
  display: grid;
  gap: 0.45rem;
}

.profile-hero-copy h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.profile-hero-email {
  color: #c7d3ef;
}

.profile-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-unsaved {
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 84, 0.55);
  background: rgba(255, 168, 58, 0.2);
  color: #ffd58f;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.24rem 0.56rem;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-badge {
  border-radius: 999px;
  border: 1px solid rgba(138, 156, 190, 0.46);
  background: rgba(84, 105, 144, 0.2);
  color: #e9f0ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
}

.profile-badge.is-live {
  border-color: rgba(78, 206, 133, 0.55);
  background: rgba(38, 152, 90, 0.24);
  box-shadow: 0 0 0 3px rgba(46, 208, 108, 0.14);
}

.profile-hero-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-metric {
  border-radius: 12px;
  border: 1px solid rgba(140, 155, 186, 0.33);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 0.75rem;
  display: grid;
  gap: 0.25rem;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.profile-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 143, 61, 0.46);
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.26);
}

.profile-metric span {
  color: #b7c4e2;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-metric strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
}

.profile-main-grid {
  display: grid;
  gap: 1rem;
}

.profile-view-grid {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.profile-view-item {
  border: 2px solid #334360;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(41, 53, 77, 0.9), rgba(22, 30, 44, 0.95));
  padding: 0.72rem;
  display: grid;
  gap: 0.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.profile-view-item span {
  font-size: 0.74rem;
  color: #aebad4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.profile-view-item strong {
  font-size: 1.06rem;
  color: #f7f9ff;
}

.profile-bio-card {
  margin-top: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(122, 140, 173, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  padding: 0.82rem;
  display: grid;
  gap: 0.35rem;
}

.profile-bio-card span {
  font-size: 0.74rem;
  color: #aebad4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.profile-editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.52);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 290ms var(--ease);
  z-index: 180;
}

.profile-editor-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(460px, 92vw);
  border-left: 1px solid rgba(116, 133, 164, 0.35);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 130, 53, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(19, 26, 39, 0.98), rgba(11, 16, 27, 0.99));
  box-shadow: -24px 0 38px rgba(0, 0, 0, 0.42);
  transform: translateX(102%);
  transition: transform 290ms var(--ease);
  z-index: 190;
  display: grid;
  grid-template-rows: auto 1fr;
}

.profile-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(100, 116, 146, 0.32);
}

.profile-editor-form {
  overflow-y: auto;
  padding: 0.95rem 1rem 1.2rem;
}

.profile-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.45rem;
  align-items: stretch;
}

.profile-editor-actions .btn {
  min-height: 48px;
  flex: 1 1 180px;
}

.profile-field-error {
  display: block;
  min-height: 0.9rem;
  margin-top: 0.24rem;
  color: #ff9a9a;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-editor-form input.is-invalid {
  border-color: rgba(255, 120, 120, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 98, 98, 0.14);
}

.profile-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(109, 228, 167, 0.52);
  background: linear-gradient(180deg, rgba(21, 96, 67, 0.96), rgba(13, 65, 46, 0.98));
  color: #dffceb;
  font-weight: 700;
  padding: 0.62rem 0.84rem;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.36);
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index: 210;
}

.profile-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-shell {
  display: grid;
  gap: 1rem;
}

.admin-sidebar {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.admin-nav {
  display: grid;
  gap: 0.38rem;
}

.admin-nav button {
  border: 2px solid #3c4a66;
  border-radius: 4px;
  background: linear-gradient(180deg, #2a3550, #1d2639);
  color: #d7e0f6;
  text-align: left;
  font: inherit;
  font-weight: 700;
  padding: 0.48rem 0.66rem;
  cursor: pointer;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.32);
}

.admin-nav button:hover {
  transform: translateX(2px);
  border-color: rgba(255, 143, 61, 0.48);
}

.admin-nav button.is-active {
  border-color: rgba(255, 143, 61, 0.82);
  background: linear-gradient(180deg, rgba(255, 122, 43, 0.5), rgba(188, 84, 31, 0.3));
  color: #fff2e6;
}

.admin-content {
  display: grid;
  gap: 1rem;
}

.admin-tab {
  display: none;
}

.admin-tab.is-active {
  display: grid;
  gap: 0.8rem;
}

.admin-muted {
  margin-top: -0.2rem;
  color: #aebcdf;
  font-size: 0.92rem;
}

.admin-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid {
  display: grid;
  gap: 0.72rem;
}

.admin-list {
  display: grid;
  gap: 0.7rem;
}

.admin-list .panel {
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.admin-list .panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 143, 61, 0.38);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
}

.admin-list-card {
  display: grid;
  gap: 0.55rem;
}

.admin-list-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-list-card header strong {
  font-size: 1rem;
}

.admin-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #3a4b6b;
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  background: rgba(20, 29, 44, 0.88);
  color: #d5e3ff;
}

.admin-chip[data-kind="ok"] {
  border-color: rgba(92, 214, 154, 0.65);
  color: #bdf5db;
  background: rgba(31, 66, 50, 0.45);
}

.admin-chip[data-kind="warn"] {
  border-color: rgba(255, 178, 92, 0.7);
  color: #ffe0ba;
  background: rgba(86, 53, 15, 0.45);
}

.admin-chip[data-kind="error"] {
  border-color: rgba(255, 112, 112, 0.7);
  color: #ffd1d1;
  background: rgba(90, 20, 20, 0.45);
}

.admin-card-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-empty {
  color: #a9b8d8;
}

.admin-rank-row .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-home-block {
  border: 2px solid #32415e;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(22, 30, 46, 0.92), rgba(16, 22, 34, 0.96));
  padding: 0.6rem;
}

.admin-home-block > summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #edf2ff;
  list-style: none;
  padding: 0.2rem 0.2rem 0.5rem;
}

.admin-home-block > summary::-webkit-details-marker {
  display: none;
}

.admin-home-block[open] > summary {
  border-bottom: 1px solid rgba(81, 98, 130, 0.52);
  margin-bottom: 0.65rem;
}

#admin-product-picker .auth-modal {
  width: min(940px, 95vw);
  max-height: 86vh;
  overflow: auto;
}

.admin-home-workspace {
  display: grid;
  gap: 0.9rem;
}

.admin-home-editor {
  display: grid;
  gap: 0.8rem;
}

.admin-home-preview {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.admin-home-preview-media {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.6rem;
  align-items: center;
  border: 2px solid #31415f;
  border-radius: 8px;
  padding: 0.5rem;
  background: linear-gradient(180deg, rgba(25, 33, 49, 0.95), rgba(15, 22, 33, 0.98));
}

.admin-home-preview-media img {
  width: 110px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #3a4b6b;
}

.admin-home-preview-media-large {
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}

.admin-home-preview-media-large img {
  width: 100%;
  height: 156px;
  border: 0;
  border-radius: 0;
}

.admin-home-preview-content {
  display: grid;
  gap: 0.2rem;
  padding: 0.15rem 0;
}

.admin-home-preview-media-large .admin-home-preview-content {
  padding: 0.72rem;
  gap: 0.35rem;
}

.admin-home-preview-media strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-home-preview-media p {
  margin-top: 0.12rem;
  font-size: 0.84rem;
}

.admin-home-preview-cta {
  color: #ffcb99;
  font-size: 0.8rem;
  border-top: 1px solid rgba(79, 99, 132, 0.52);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

@media (min-width: 1180px) {
  .admin-home-workspace {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }

  .admin-home-preview {
    position: sticky;
    top: 0.8rem;
  }
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.profile-editor-open .profile-editor-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.profile-editor-open .profile-editor-panel {
  transform: translateX(0);
}

body.profile-editor-open main,
body.profile-editor-open footer,
body.profile-editor-open .site-header {
  filter: blur(1.5px);
}

.profile-insights {
  display: grid;
  gap: 0.72rem;
  align-content: start;
}

.profile-save-btn {
  margin-top: 0;
}

.kpi {
  display: grid;
  gap: 0.35rem;
  border: 2px solid #334360;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  padding: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -2px 0 rgba(0, 0, 0, 0.3);
}

.kpi strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.kpi-premium {
  position: relative;
  overflow: hidden;
  border-color: rgba(145, 162, 196, 0.32);
  background:
    radial-gradient(95% 120% at -5% -20%, rgba(92, 141, 255, 0.17), transparent 55%),
    linear-gradient(180deg, rgba(34, 43, 62, 0.94), rgba(19, 27, 40, 0.97));
}

.kpi-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%, transparent 70%, rgba(255, 255, 255, 0.05));
}

.profile-progress-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: rgba(109, 124, 154, 0.25);
  overflow: hidden;
  border: 1px solid rgba(135, 152, 184, 0.32);
}

.profile-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #24d572, #7ae6b4 50%, #ffd087);
  box-shadow: 0 0 15px rgba(122, 230, 180, 0.28);
  transition: width 360ms var(--ease);
}

.timeline {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-2);
  display: grid;
  gap: 0.45rem;
}

.account-menu {
  position: relative;
}

.account-trigger {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid rgba(113, 129, 159, 0.72);
  background: linear-gradient(155deg, #252f43, #171e2b);
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 7px 16px rgba(0, 0, 0, 0.34);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.account-trigger:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 143, 61, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 22px rgba(0, 0, 0, 0.42), 0 0 0 3px rgba(255, 143, 61, 0.14);
  background: linear-gradient(155deg, #2b364d, #1b2534);
}

.account-initial {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #f5f8ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(174, 194, 230, 0.46);
  background: linear-gradient(145deg, #1169b5, #173f7a 45%, #2f4da9);
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 185px;
  border-radius: 12px;
  border: 1px solid #556381;
  background: linear-gradient(180deg, #131b2a 0%, #0f1725 100%);
  box-shadow: var(--shadow-2);
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 170ms var(--ease), transform 170ms var(--ease), visibility 170ms var(--ease);
}

.account-menu.is-open .account-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transform-origin: top right;
  animation: dropdown-in 180ms var(--ease);
}

.account-dropdown a,
.account-dropdown button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #dce4f8;
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.account-dropdown a:hover,
.account-dropdown button:hover {
  background: linear-gradient(90deg, rgba(255, 122, 44, 0.18), rgba(255, 122, 44, 0.04));
  color: #fff2e8;
  transform: translateX(2px);
}

.feedback {
  margin-top: 0.65rem;
  font-weight: 700;
}

.feedback[data-kind="ok"] {
  color: var(--ok);
}

.feedback[data-kind="warn"] {
  color: var(--warn);
}

.feedback[data-kind="error"] {
  color: var(--error);
}

.hidden {
  display: none;
}

footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.2rem 0 1.9rem;
}

footer a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

footer a:hover {
  color: var(--text-0);
}

.reveal,
.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.reveal.is-visible,
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 700px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo img {
    width: 58px;
    height: 58px;
    transform: translateY(-7px) scale(1.5);
  }

  .site-header nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.42rem;
  }

  .site-header nav > a {
    min-width: 104px;
    text-align: center;
  }

  main {
    gap: 1.2rem;
    padding: 1.6rem 0 3rem;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-3,
  .product-grid,
  .admin-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-site-intro {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .home-mini-market {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .marketplace-controls {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 0.8fr)) auto;
    align-items: end;
    gap: 0.75rem;
  }

  .marketplace-results {
    text-align: right;
    padding-bottom: 0.5rem;
  }

  .marketplace-hero {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .checkout-layout,
  .auth-page,
  .budget-grid,
  .product-page,
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .auth-page.auth-enterprise {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .auth-enterprise-visual {
    position: sticky;
    top: 1rem;
    align-self: start;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-hero-main {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .profile-main-grid {
    grid-template-columns: 1.18fr 0.82fr;
    align-items: start;
  }

  .profile-view-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .admin-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .site-header {
    padding: 0.76rem 0.88rem;
  }

  .site-header nav {
    gap: 0.32rem;
  }

  .site-header nav > a {
    min-width: 92px;
    padding-inline: 0.58rem;
  }
}

@media (min-width: 1024px) {
  body::after {
    width: min(32vw, 280px);
    right: -6vw;
    bottom: -10vh;
  }

  main {
    gap: 1.3rem;
    padding-top: 1.9rem;
  }

  .hero {
    grid-template-columns: 1.35fr 1fr;
    padding: 1.2rem;
  }

  .profile-hero {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: stretch;
  }

  .profile-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    min-height: 300px;
  }

  .grid-3,
  .product-grid,
  .admin-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-collections {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-site-intro {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .home-feature {
    grid-template-columns: 1.1fr 1fr;
  }

  .home-mini-market {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .home-hero-highlight {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    max-width: none;
    padding: 0.54rem 0.56rem;
  }

  .home-hero-highlight h2 {
    font-size: 1rem;
  }

  .home-hero-highlight p {
    font-size: 0.86rem;
    margin-bottom: 0.45rem;
  }

  .hero-billboard-dots [data-dot] {
    width: 46px;
    height: 28px;
  }

  .profile-editor-panel {
    width: 100vw;
  }
}
