/* ==========================================================
   Plasma Design — Storefront styles
   Built on Nyx tokens. Dark, glassy, violet-leaning.
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-0);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 30%, rgba(109, 40, 217, 0.14), transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(192, 38, 211, 0.10), transparent 70%);
  background-attachment: fixed;
  color: var(--fg-1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle noise/grain so the dark gradient never bands */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* Floating ambient orbs — slow drift, lots of blur, very subtle */
.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: drift 24s var(--ease-out-quart) infinite alternate;
}
.ambient-orbs span:nth-child(1) {
  width: 540px; height: 540px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, #6d28d9 0%, transparent 60%);
}
.ambient-orbs span:nth-child(2) {
  width: 440px; height: 440px;
  top: 30%; right: -120px;
  background: radial-gradient(circle, #a21caf 0%, transparent 60%);
  animation-duration: 32s;
  animation-delay: -8s;
}
.ambient-orbs span:nth-child(3) {
  width: 620px; height: 620px;
  bottom: -260px; left: 30%;
  background: radial-gradient(circle, #7c3aed 0%, transparent 60%);
  animation-duration: 40s;
  animation-delay: -16s;
  opacity: 0.3;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.1); }
}

/* All real content sits above the noise/orbs */
.page { position: relative; z-index: 2; }

/* ====================== Layout shell ====================== */
.shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .shell { padding: 0 20px; }
}

/* ====================== Header ====================== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: var(--z-sticky);
  padding: 0 32px;
  margin-top: 16px;
}
@media (max-width: 720px) {
  .site-header { padding: 0 16px; margin-top: 12px; top: 12px; }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 5px 12px 5px 16px;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  box-shadow:
    var(--glass-highlight-strong),
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(139, 92, 246, 0.06);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.logo__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #f5f5f7 0%, #c4b5fd 45%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.logo__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  position: relative;
  top: -2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color var(--duration-base) var(--ease-out-quart),
              background var(--duration-base) var(--ease-out-quart);
}
.site-nav a:hover {
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
  position: relative;
}
.icon-btn:hover {
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-default);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.6);
  border: 2px solid var(--bg-0);
  transform-origin: center;
  animation: badge-pop var(--duration-slow) var(--ease-out-quart);
}
@keyframes badge-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.mobile-menu-btn { display: none; }
@media (max-width: 880px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

/* ====================== Hero ====================== */
.hero {
  padding: 32px 0 24px;
  position: relative;
}
@media (max-width: 720px) {
  .hero { padding: 24px 0 18px; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--fg-2);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__eyebrow-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__eyebrow-dot::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 8px rgba(255,255,255,0.7);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.9vw, 46px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--fg-1);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa 0%, #d946ef 60%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: clamp(13px, 0.95vw, 14px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 460px;
  margin: 0 0 22px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero__meta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 460px;
}
@media (max-width: 560px) {
  .hero__meta { grid-template-columns: 1fr 1fr; }
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__meta-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f5f5f7 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__meta-label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero showpiece — a single big glowing lamp visual */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  justify-self: end;
  width: 100%;
}
@media (max-width: 960px) {
  .hero__visual { justify-self: center; max-width: 300px; }
}
.hero__visual-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%),
              rgba(18, 18, 26, 0.45);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--border-default);
  border-radius: 32px;
  box-shadow:
    var(--glass-highlight-strong),
    0 24px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(139, 92, 246, 0.12);
  overflow: hidden;
}
.hero__visual-frame::before {
  /* soft glow halo behind the lamp */
  content: "";
  position: absolute;
  width: 70%; height: 70%;
  top: 30%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 70, 239, 0.45) 0%, rgba(139, 92, 246, 0.25) 35%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__visual-lamp {
  position: absolute;
  inset: 8% 12% 4% 12%;
  z-index: 2;
}
.hero__visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 32px;
}
.hero__visual-tag-by {
  background: linear-gradient(135deg, #c4b5fd 0%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 10.5px;
}
.hero__visual-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(10,10,15,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-2);
  z-index: 3;
}
.hero__visual-tag-dot {
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.6);
}

/* ====================== Buttons ====================== */
.btn {
  --_pad-x: 22px;
  --_pad-y: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: var(--_pad-y) var(--_pad-x);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 4px 16px rgba(139, 92, 246, 0.35),
    0 0 32px rgba(217, 70, 239, 0.25);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 8px 24px rgba(139, 92, 246, 0.5),
    0 0 48px rgba(217, 70, 239, 0.35);
}
.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-default);
  color: var(--fg-1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn--small {
  --_pad-x: 14px;
  --_pad-y: 8px;
  font-size: 13px;
}

/* ====================== Section headers ====================== */
.section {
  padding: 28px 0;
  position: relative;
}
@media (max-width: 720px) {
  .section { padding: 22px 0; }
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section__title-block { max-width: 640px; }
.section__eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--gradient-brand);
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.7);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--fg-1);
}
.section__sub {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
  max-width: 500px;
}
.section__filter {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(10,10,15,0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  flex-shrink: 0;
}
.section__filter button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-2);
  background: transparent;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
}
.section__filter button:hover { color: var(--fg-1); }
.section__filter button[aria-pressed="true"] {
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-highlight);
}

/* ====================== Product grid + card ====================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
}

.product-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 40%),
              rgba(18, 18, 26, 0.5);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-default);
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    var(--glass-highlight),
    0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform var(--duration-slow) var(--ease-out-quart),
              border-color var(--duration-slow) var(--ease-out-quart),
              box-shadow var(--duration-slow) var(--ease-out-quart);
  cursor: pointer;
  overflow: hidden;
}
.product-card::before {
  /* cursor light */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 240px at var(--mx) var(--my),
              rgba(139, 92, 246, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-quart);
  pointer-events: none;
  border-radius: inherit;
}
.product-card::after {
  /* shimmer border highlight */
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(circle 180px at var(--mx) var(--my),
              rgba(217, 70, 239, 0.45), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out-quart);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow:
    var(--glass-highlight-strong),
    0 20px 56px rgba(0, 0, 0, 0.5),
    0 0 48px rgba(139, 92, 246, 0.12);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover::after  { opacity: 1; }

.product-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 65%, rgba(217, 70, 239, 0.18) 0%, rgba(109, 40, 217, 0.12) 30%, transparent 65%),
    linear-gradient(180deg, #14101e 0%, #0a0a14 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 10px;
}
.product-card__media svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform var(--duration-slow) var(--ease-out-quart);
}
.product-card:hover .product-card__media svg {
  transform: scale(1.04);
}
.product-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-quart);
}
.product-card:hover .product-card__photo {
  transform: scale(1.04);
}
.product-card__media--photo {
  background: #000;
}
.product-card__media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(10,10,15,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.product-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-default);
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
  z-index: 2;
}
.product-card__fav:hover {
  color: var(--magenta-400);
  border-color: var(--border-magenta);
}
.product-card__fav[aria-pressed="true"] {
  color: var(--magenta-400);
  background: rgba(217, 70, 239, 0.12);
  border-color: var(--border-magenta);
}
.product-card__fav svg { width: 14px; height: 14px; }

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 4px 0;
}
.product-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.product-card__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.product-card__byline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c4b5fd 0%, #f0abfc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product-card__desc {
  font-size: 11.5px;
  color: var(--fg-3);
  margin: 2px 0 6px;
  line-height: 1.4;
}
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.product-card__swatches {
  display: flex;
  gap: 6px;
}
.product-card__swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.product-card__add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-1);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
}
.product-card__add svg { width: 12px; height: 12px; }
.product-card__add:hover {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}
.product-card__add--added {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--success-500);
}

/* ====================== Lamp/accessory SVG common ====================== */
.lamp-glow {
  filter: drop-shadow(0 0 24px rgba(217, 70, 239, 0.55))
          drop-shadow(0 0 12px rgba(139, 92, 246, 0.45));
}

/* ====================== Promo strip (between sections) ====================== */
.promo-strip {
  margin: 12px 0;
  padding: 16px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 50%),
    rgba(18, 18, 26, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  box-shadow: var(--glass-highlight), var(--shadow-md);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.promo-strip::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.18), transparent 60%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .promo-strip { grid-template-columns: 1fr; text-align: left; }
}
.promo-strip__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 24px rgba(217, 70, 239, 0.4);
}
.promo-strip__icon svg { width: 20px; height: 20px; }
.promo-strip__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--fg-1);
}
.promo-strip__sub {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0;
}

/* ====================== Cart drawer ====================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out-quart);
}
.cart-backdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 16px; right: 16px; bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid var(--border-default);
  border-radius: 24px;
  box-shadow:
    var(--glass-highlight-strong),
    0 24px 80px rgba(0,0,0,0.6);
  z-index: calc(var(--z-overlay) + 1);
  transform: translateX(calc(100% + 32px));
  transition: transform var(--duration-slow) var(--ease-out-quart);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer[data-open="true"] { transform: translateX(0); }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-drawer__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--fg-1);
}
.cart-drawer__title small {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-3);
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}
.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  gap: 12px;
  color: var(--fg-3);
  padding: 40px 20px;
}
.cart-drawer__empty-icon {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  margin-bottom: 12px;
}
.cart-drawer__empty-icon svg { width: 24px; height: 24px; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 60%, rgba(217, 70, 239, 0.25), transparent 70%),
    linear-gradient(180deg, #15101f, #0a0a14);
  border: 1px solid var(--border-default);
  overflow: hidden;
  position: relative;
}
.cart-item__thumb svg {
  width: 100%; height: 100%;
}
.cart-item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-1);
  margin: 0 0 2px;
}
.cart-item__price {
  font-size: 12px;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 2px;
}
.cart-item__qty button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--fg-2);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-item__qty button:hover {
  color: var(--fg-1);
  background: rgba(255,255,255,0.06);
}
.cart-item__qty span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-1);
  font-variant-numeric: tabular-nums;
}

.cart-drawer__foot {
  border-top: 1px solid var(--border-subtle);
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}
.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.cart-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.cart-totals__row--total {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-1);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.cart-drawer__cta {
  width: 100%;
  justify-content: center;
}

/* ====================== Newsletter / Footer ====================== */
.footer {
  position: relative;
  padding: 36px 0 22px;
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}
.footer__brand-blurb {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 320px;
}
.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--duration-base) var(--ease-out-quart);
}
.footer__col a:hover { color: var(--fg-1); }

.footer__socials {
  display: flex;
  gap: 8px;
}
.footer__social {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  color: var(--fg-2);
  transition: all var(--duration-base) var(--ease-out-quart);
}
.footer__social:hover {
  color: var(--fg-1);
  border-color: var(--border-violet);
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--fg-3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  color: var(--fg-3);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-out-quart);
}
.footer__bottom-links a:hover { color: var(--fg-1); }

/* Newsletter inline */
.newsletter {
  display: flex;
  gap: 8px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  max-width: 360px;
  transition: border-color var(--duration-base) var(--ease-out-quart);
}
.newsletter:focus-within {
  border-color: var(--border-violet);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--fg-1);
  min-width: 0;
}
.newsletter input::placeholder { color: var(--fg-4); }
.newsletter button {
  background: var(--gradient-brand);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-quart);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 16px rgba(217,70,239,0.3);
}
.newsletter button:hover { transform: translateY(-1px); }

/* ====================== Misc helpers ====================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Tweak-controlled flags */
body.no-ambient .ambient-orbs { display: none; }
body.no-noise::before { display: none; }

/* When header style is flat, drop the floating pill look */
body[data-header-style="flat"] .site-header {
  position: sticky;
  top: 0;
  margin-top: 0;
  padding: 0;
}
body[data-header-style="flat"] .site-header__inner {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  padding: 14px 32px;
  max-width: none;
}
