/* VeilX storefront migration — visual source: the original Express/EJS frontend. */
:root {
  --veil-bg: #050505;
  --veil-card: #0a0a0a;
  --veil-muted: #111111;
  --veil-text: #ffffff;
  --veil-subtle: #94a3b8;
  --veil-primary: #8b5cf6;
  --veil-primary-soft: #d8b4fe;
  --veil-border: #2e1065;
  --veil-input: #1e2235;
  --veil-danger: #ef4444;
  --veil-warning: #eab308;
  --veil-success: #22c55e;
  --container-max: 1280px;
  --radius-card: 0px;
  --radius-input: 0px;
  --radius-button: 0px;
  --radius-badge: 0px;
  --section-py: 72px;
}

html,
html[data-scheme="dark"],
body {
  background: var(--veil-bg);
  color: var(--veil-text);
  color-scheme: dark;
  scrollbar-gutter: stable;
}

html[data-scheme="light"] {
  color-scheme: dark;
  --cl-background: 5, 5, 5;
  --cl-surface: 10, 10, 10;
  --cl-surface-raised: 17, 17, 17;
  --cl-t-primary: 255, 255, 255;
  --cl-t-muted: 148, 163, 184;
  --cl-border: rgba(46, 16, 101, 1);
}

body {
  min-width: 320px;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(to right, var(--veil-border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--veil-border) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
}

::selection {
  background: rgba(139, 92, 246, 0.35);
  color: white;
}

[x-cloak] { display: none !important; }

iconify-icon { display: inline-flex; }

.wrap {
  width: min(calc(100% - 3rem), 1280px);
  max-width: 1280px;
}

.sa-breadcrumbs { display: none; }

.input,
input,
textarea,
select {
  border-radius: 0 !important;
}

.input {
  min-height: 44px;
  border-color: var(--veil-border);
  background: var(--veil-card);
  color: var(--veil-text);
  font-weight: 700;
}

.input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--veil-primary) !important;
  box-shadow: 0 0 0 1px var(--veil-primary) !important;
  outline: none;
}

.editor { color: var(--veil-subtle); }
.editor h1,
.editor h2,
.editor h3,
.editor h4,
.editor strong { color: var(--veil-text); }
.editor a { color: var(--veil-primary-soft); }

/* Header */
.sa-header {
  border-bottom: 1px solid var(--veil-border);
  background: rgba(5, 5, 5, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.veil-navbar { position: relative; }

.veil-navbar-inner {
  width: min(calc(100% - 3rem), 1280px);
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.veil-navbar-left,
.veil-navbar-actions,
.veil-navbar-links,
.veil-brand,
.veil-account-card {
  display: flex;
  align-items: center;
}

.veil-navbar-left { gap: 48px; min-width: 0; }
.veil-navbar-actions { gap: 12px; }

.veil-brand {
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
}

.veil-brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.veil-brand-mark {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--veil-primary);
  background: rgba(139, 92, 246, 0.1);
  color: var(--veil-primary);
  font-size: 24px;
  font-weight: 900;
}

.veil-brand-name {
  color: var(--veil-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.veil-brand-name span { color: var(--veil-primary); }
.veil-navbar-links { height: 80px; gap: 32px; }

.veil-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--veil-subtle);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.veil-nav-link:hover,
.veil-nav-link.is-active { color: var(--veil-primary); }

.veil-nav-link.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--veil-primary);
}

.veil-login-button,
.veil-cart-button {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.5);
  background: var(--veil-primary);
  color: white;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.veil-login-button {
  gap: 8px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.veil-login-button iconify-icon { font-size: 18px; }
.veil-login-button:hover { background: #7c3aed; transform: translateY(-1px); }

.veil-cart-button {
  width: 42px;
  background: var(--veil-card);
  border-color: var(--veil-border);
  color: var(--veil-text);
  font-size: 19px;
}

.veil-cart-button:hover { color: white; border-color: var(--veil-primary); background: var(--veil-primary); }

.veil-admin-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.veil-admin-button:hover { border-color: #ef4444; background: #ef4444; color: white; }
.veil-mobile-admin { color: #f87171; }

.veil-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--veil-bg);
  background: var(--veil-primary);
  color: white;
  font-size: 10px;
  font-weight: 900;
}

.veil-account-card {
  max-width: 250px;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(46, 16, 101, 0.7);
  background: rgba(26, 16, 37, 0.5);
  color: var(--veil-text);
  transition: border-color 180ms ease, transform 180ms ease;
}

.veil-account-card:hover { border-color: var(--veil-primary); transform: scale(1.02); }

.veil-account-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.08);
  color: var(--veil-primary-soft);
}

.veil-account-copy { min-width: 0; display: flex; flex-direction: column; text-transform: uppercase; }
.veil-account-copy strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; letter-spacing: 0.05em; }
.veil-account-copy small { color: var(--veil-primary); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; }

.veil-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--veil-border);
  color: var(--veil-subtle);
  background: var(--veil-card);
  font-size: 24px;
}

.veil-mobile-nav {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--veil-border);
  background: rgba(10, 10, 10, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.veil-mobile-nav .veil-nav-link { height: auto; }
.veil-mobile-nav .veil-nav-link::after { display: none; }
.veil-mobile-login { text-align: left; }
.veil-mobile-cart { text-align: left; }

/* Home */
.veil-hero {
  min-height: 760px;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--veil-border);
}

.veil-hero-copy {
  position: relative;
  z-index: 4;
  max-width: 768px;
  margin: 0 auto 40px;
  text-align: center;
}

.veil-kicker {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--veil-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.veil-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.veil-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--veil-primary), var(--veil-primary-soft));
  background-clip: text;
  -webkit-background-clip: text;
}

.veil-hero-copy p {
  margin: 0;
  color: var(--veil-subtle);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
}

.veil-hero-actions { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.veil-hero-actions a { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--veil-border); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: 180ms ease; }
.veil-hero-primary { border-color: #7c3aed !important; background: #7c3aed; color: white; box-shadow: 0 12px 30px rgba(124,58,237,.2); }
.veil-hero-primary:hover { background: #8b5cf6; color: white; transform: translateY(-2px); }
.veil-hero-secondary { background: rgba(255,255,255,.025); color: var(--veil-text); }
.veil-hero-secondary:hover { border-color: rgba(139,92,246,.55); color: white; }

.veil-carousel {
  position: relative;
  z-index: 3;
  width: min(100%, 1400px);
  height: 560px;
  margin-top: 8px;
  padding: 0 72px;
}

.veil-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  perspective: 1200px;
}

.veil-carousel-card {
  position: absolute;
  left: 50%;
  width: 320px;
  height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--veil-border);
  background: var(--veil-card);
  color: var(--veil-text);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease, filter 400ms ease, border-color 200ms ease;
}

.veil-carousel-card.is-active { z-index: 30; opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1); }
.veil-carousel-card.is-previous { z-index: 20; opacity: .8; pointer-events: auto; transform: translateX(calc(-50% - 240px)) scale(.85) rotateY(15deg); }
.veil-carousel-card.is-next { z-index: 20; opacity: .8; pointer-events: auto; transform: translateX(calc(-50% + 240px)) scale(.85) rotateY(-15deg); }
.veil-carousel-card.is-far-left { z-index: 10; opacity: .4; filter: blur(2px); transform: translateX(calc(-50% - 448px)) scale(.75) rotateY(25deg); }
.veil-carousel-card.is-far-right { z-index: 10; opacity: .4; filter: blur(2px); transform: translateX(calc(-50% + 448px)) scale(.75) rotateY(-25deg); }

.veil-carousel-card:hover { border-color: var(--veil-primary); }

.veil-carousel-media {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--veil-muted);
}

.veil-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 300ms ease, transform 500ms ease;
}

.veil-carousel-media .veil-carousel-fallback-image { width: 180px; height: 180px; object-fit: contain; filter: none; opacity: 0.9; transform: none; }
.veil-carousel-card:hover .veil-carousel-fallback-image { filter: none; transform: scale(1.04); }

.veil-carousel-card:hover img { filter: grayscale(0); transform: scale(1.025); }

.veil-carousel-fallback { color: var(--veil-subtle); font-size: 64px; transition: color 200ms ease; }
.veil-carousel-card:hover .veil-carousel-fallback { color: var(--veil-primary); }

.veil-carousel-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--veil-card), rgba(10, 10, 10, 0.2), transparent);
}

.veil-carousel-info {
  flex: 0 0 auto;
  padding: 24px;
  border-top: 1px solid var(--veil-border);
  background: var(--veil-card);
  text-align: center;
}

.veil-carousel-info h2 {
  margin: 0 0 8px;
  overflow: hidden;
  color: white;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.veil-carousel-info span { font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-carousel-coming { cursor: default; pointer-events: none !important; }
.veil-carousel-coming .veil-carousel-media { background: linear-gradient(145deg, #111, #070707); }
.veil-carousel-coming-icon { position: relative; z-index: 2; color: #6b7280; font-size: 58px; filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.18)); }
.veil-carousel-coming .veil-carousel-info span { color: var(--veil-subtle); }

.veil-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 50;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--veil-border);
  background: var(--veil-card);
  color: var(--veil-text);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  font-size: 26px;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.veil-carousel-arrow:hover { border-color: var(--veil-primary); background: var(--veil-primary); color: white; transform: translateY(-50%) scale(1.05); }
.veil-carousel-prev { left: 0; }
.veil-carousel-next { right: 0; }
.veil-carousel[data-veil-carousel-count="0"] .veil-carousel-arrow,
.veil-carousel[data-veil-carousel-count="1"] .veil-carousel-arrow { display: none; }
.veil-carousel-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--veil-subtle); font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-carousel-empty iconify-icon { color: var(--veil-primary); font-size: 52px; }

.veil-stats {
  padding: 64px 24px;
  border-bottom: 1px solid var(--veil-border);
  background: rgba(10, 10, 10, 0.5);
}

.veil-stats-grid {
  width: min(100%, 1280px);
  margin: auto;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--veil-border);
}

.veil-stat {
  min-height: 190px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--veil-card);
  text-align: center;
  transition: background 180ms ease;
}

.veil-stat:hover { background: rgba(139, 92, 246, 0.05); }
.veil-stat iconify-icon { margin-bottom: 16px; color: var(--veil-primary); font-size: 40px; transition: transform 180ms ease; }
.veil-stat:hover iconify-icon { transform: scale(1.1); }
.veil-stat strong { margin-bottom: 4px; font-size: 30px; font-weight: 900; }
.veil-stat span { color: var(--veil-subtle); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }

.veil-home-feedback {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--veil-border);
}

.veil-home-feedback::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background: radial-gradient(circle at bottom left, #8b5cf6 0%, transparent 40%);
}

.veil-section-heading { position: relative; margin-bottom: 48px; text-align: center; }
.veil-section-heading h2 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.veil-section-heading p { margin: 0; color: var(--veil-subtle); }

.veil-home-feedback-grid {
  position: relative;
  width: min(100%, 1280px);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.veil-home-review {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--veil-border);
  background: var(--veil-card);
  transition: border-color 180ms ease;
}

.veil-home-review:hover { border-color: var(--veil-primary); }
.veil-home-review > p { margin: 16px 0 24px; color: rgba(255, 255, 255, 0.9); font-size: 14px; font-style: italic; }
.veil-home-review footer { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--veil-border); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-home-review footer span { color: var(--veil-subtle); }
.veil-home-review footer strong { color: var(--veil-primary); text-align: right; }

.veil-stars { display: inline-flex; gap: 2px; color: var(--veil-warning); }
.veil-stars iconify-icon { filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.45)); }
.veil-stars .is-empty { color: rgba(148, 163, 184, 0.3); filter: none; }

.veil-empty-state {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--veil-border);
  background: var(--veil-card);
  color: var(--veil-subtle);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* Catalog */
.veil-catalog { position: relative; z-index: 1; padding: 48px 24px 72px; }
.veil-catalog-inner { width: min(100%, 1280px); margin: auto; }
.veil-catalog-header { margin-bottom: 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.veil-catalog-header h1,
.veil-status-header h1 { margin: 0 0 8px; font-size: 36px; font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; }
.veil-catalog-header p,
.veil-status-header p { margin: 0; color: var(--veil-subtle); font-weight: 600; }

.veil-catalog-search { position: relative; width: min(100%, 256px); }
.veil-catalog-search iconify-icon { position: absolute; top: 50%; left: 12px; z-index: 1; color: var(--veil-subtle); transform: translateY(-50%); }
.veil-catalog-search input { width: 100%; height: 44px; padding: 0 16px 0 40px; border: 1px solid var(--veil-border); background: var(--veil-card); color: white; font-size: 13px; font-weight: 900; letter-spacing: 0.05em; }
.veil-catalog-search input::placeholder { color: var(--veil-subtle); opacity: 1; }

.veil-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.veil-catalog-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--veil-border); background: var(--veil-card); color: white; transition: border-color 200ms ease, transform 200ms ease; }
.veil-catalog-card:hover { border-color: var(--veil-primary); transform: translateY(-2px); }
.veil-catalog-media { position: relative; width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--veil-border); background: var(--veil-muted); }
.veil-catalog-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 300ms ease, transform 300ms ease; }
.veil-catalog-card:hover .veil-catalog-media > img { filter: grayscale(0); transform: scale(1.03); }
.veil-catalog-media > iconify-icon { color: var(--veil-subtle); font-size: 60px; transition: color 200ms ease; }
.veil-catalog-card:hover .veil-catalog-media > iconify-icon { color: var(--veil-primary); }

.veil-status-badge { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 8px; border: 1px solid; background: rgba(5, 5, 5, 0.9); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.veil-catalog-copy { flex: 1; padding: 20px; display: flex; flex-direction: column; }
.veil-catalog-copy h2 { min-height: 48px; margin: 0 0 4px; display: flex; align-items: center; font-size: 16px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.veil-catalog-copy > p { min-height: 32px; margin: 0 0 24px; overflow: hidden; color: var(--veil-subtle); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-catalog-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.veil-catalog-bottom strong { color: var(--veil-primary); font-size: 20px; font-weight: 900; }
.veil-catalog-bottom > span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--veil-border); background: var(--veil-bg); font-size: 20px; transition: background 180ms ease, border-color 180ms ease; }
.veil-catalog-card:hover .veil-catalog-bottom > span { border-color: var(--veil-primary); background: var(--veil-primary); }
.veil-pagination { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--veil-border); }

/* Product */
.veil-product-page { position: relative; z-index: 1; padding: 48px 24px 72px; }
.veil-product-inner { width: min(100%, 1152px); margin: auto; }
.veil-product-breadcrumb { margin-bottom: 32px; display: flex; align-items: center; gap: 8px; color: var(--veil-subtle); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-product-breadcrumb a:hover { color: var(--veil-primary); }
.veil-product-breadcrumb span { color: white; }
.veil-product-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 48px; align-items: start; }
.veil-product-main { min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.veil-product-gallery-wrap { position: relative; overflow: hidden; border: 1px solid var(--veil-border); background: var(--veil-card); }
.veil-product-gallery-wrap .sa-product-gallery .splide__track { border: 0 !important; }
.veil-product-gallery-wrap .sa-product-gallery img { opacity: 0.92; transition: transform 700ms ease, opacity 700ms ease; }
.veil-product-gallery-wrap:hover .sa-product-gallery img { opacity: 1; transform: scale(1.035); }
.veil-product-badges { position: absolute; bottom: 24px; left: 24px; z-index: 4; display: flex; flex-wrap: wrap; gap: 12px; }
.veil-status-pill,
.veil-updated-badge { padding: 6px 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid; background: rgba(5, 5, 5, 0.9); font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.veil-status-pill i { width: 10px; height: 10px; border-radius: 50%; }
.veil-updated-badge { border-color: rgba(139, 92, 246, 0.5); color: var(--veil-primary); }
.veil-product-copy-section > h2,
.veil-product-reviews > h2 { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: white; font-size: 24px; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; }
.veil-product-copy-section > h2 iconify-icon,
.veil-product-reviews > h2 iconify-icon { color: var(--veil-primary); }
.veil-product-description { font-weight: 500; line-height: 1.75; }
.veil-product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.veil-product-features article { min-width: 0; padding: 20px; overflow: hidden; border: 1px solid var(--veil-border); background: var(--veil-card); transition: border-color 180ms ease; }
.veil-product-features article:hover { border-color: rgba(139, 92, 246, 0.55); }
.veil-product-features article > iconify-icon { margin-bottom: 12px; color: var(--veil-primary); font-size: 24px; }
.veil-product-features h3 { margin: 0 0 8px; font-size: 14px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-product-features p,
.veil-product-features .editor { margin: 0; color: var(--veil-subtle); font-size: 12px; }
.veil-product-sidebar { position: sticky; top: 108px; }
.veil-product-purchase { position: relative; padding: 32px; overflow: hidden; border: 1px solid var(--veil-border); background: var(--veil-card); }
.veil-card-glow { position: absolute; top: -48px; right: -48px; width: 128px; height: 128px; border-radius: 50%; background: rgba(139, 92, 246, 0.12); filter: blur(32px); pointer-events: none; }
.veil-product-purchase > h1 { position: relative; margin: 0 0 8px; font-size: clamp(30px, 4vw, 40px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; text-transform: uppercase; }
.veil-product-rating { margin-bottom: 28px; display: flex; align-items: center; gap: 8px; color: var(--veil-subtle); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-product-rating .veil-stars { color: var(--veil-primary); }
.veil-product-rating .veil-stars iconify-icon { filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.35)); }
.veil-product-price-row { margin-bottom: 20px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--veil-border); background: rgba(17, 17, 17, 0.55); }
.veil-product-price-row span { color: var(--veil-subtle); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-product-price-row strong { color: var(--veil-primary); font-size: 24px; font-weight: 900; }
.veil-product-purchase .sa-product-form [class*="rounded-"] { border-radius: 0 !important; }
.veil-product-purchase .sa-product-form button { font-weight: 800; }
.veil-product-purchase .sa-product-form .sa-add-to-cart,
.veil-product-purchase .sa-product-form button[type="submit"] { min-height: 54px; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-purchase-trust { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 24px; color: var(--veil-subtle); }
.veil-purchase-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-product-reviews { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--veil-border); }
.veil-product-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.veil-product-review-grid article { padding: 24px; border: 1px solid var(--veil-border); background: var(--veil-card); }
.veil-product-review-grid header { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.veil-product-review-grid header > span:nth-child(2) { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.veil-product-review-grid header strong { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.veil-product-review-grid header small { color: var(--veil-subtle); font-size: 10px; }
.veil-product-review-grid header .veil-stars { margin-left: auto; color: var(--veil-primary); font-size: 14px; }
.veil-product-review-grid article > p { margin: 0; color: var(--veil-subtle); font-size: 14px; font-style: italic; }

/* Reviews */
.veil-reviews-page { position: relative; z-index: 1; padding: 48px 24px 72px; }
.veil-reviews-inner { width: min(100%, 896px); margin: auto; }
.veil-reviews-header { position: relative; margin-bottom: 64px; text-align: center; }
.veil-reviews-header > span { position: absolute; top: 50%; left: 50%; width: 256px; height: 256px; border-radius: 50%; background: rgba(139, 92, 246, 0.2); filter: blur(60px); transform: translate(-50%, -50%); pointer-events: none; }
.veil-reviews-header h1 { position: relative; margin: 0 0 16px; font-size: clamp(36px, 5vw, 48px); font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }
.veil-reviews-header p { position: relative; margin: 0; color: var(--veil-subtle); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.veil-review-card { position: relative; padding: 1px; overflow: hidden; background: var(--veil-border); transition: transform 300ms ease; }
.veil-review-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), transparent); transition: opacity 300ms ease; }
.veil-review-card:hover { transform: translateY(-4px); }
.veil-review-card:hover::before { opacity: 1; }
.veil-review-card-inner { position: relative; z-index: 1; height: 100%; min-height: 245px; padding: 24px; display: flex; flex-direction: column; background: var(--veil-bg); }
.veil-review-card-inner > header { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.veil-review-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.veil-review-avatar { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.1); color: var(--veil-primary); font-size: 12px; font-weight: 900; box-shadow: 0 0 10px rgba(139, 92, 246, 0.2); }
.veil-review-identity > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.veil-review-identity strong { overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.veil-review-identity small { overflow: hidden; color: var(--veil-primary); text-overflow: ellipsis; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.veil-review-card-inner > p { flex: 1; margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14px; font-weight: 500; line-height: 1.65; }
.veil-review-card-inner > footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(46, 16, 101, 0.55); color: var(--veil-subtle); font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-review-image { width: 80px; height: 80px; margin-top: 16px; object-fit: cover; border: 1px solid var(--veil-border); }
.veil-review-reply { margin-top: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--veil-primary); background: rgba(139, 92, 246, 0.06); color: var(--veil-subtle); font-size: 12px; }
.veil-review-reply strong { color: var(--veil-primary); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Status */
.veil-status-page { position: relative; z-index: 1; padding: 48px 24px 72px; }
.veil-status-inner { width: min(100%, 1024px); margin: auto; }
.veil-status-header { margin-bottom: 48px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--veil-border); background: var(--veil-card); }
.veil-status-header p { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-status-legend { display: flex; align-items: center; gap: 16px; }
.veil-status-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-status-legend i { width: 12px; height: 12px; border-radius: 50%; }
.veil-status-legend .is-green { background: var(--veil-success); box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
.veil-status-legend .is-yellow { background: var(--veil-warning); box-shadow: 0 0 10px rgba(234, 179, 8, 0.5); }
.veil-status-legend .is-red { background: var(--veil-danger); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
.veil-status-list { display: flex; flex-direction: column; gap: 16px; }
.veil-status-group { margin: 24px 0 0; color: var(--veil-primary); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-status-row { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--veil-border); background: var(--veil-card); color: white; transition: border-color 180ms ease; }
.veil-status-row:hover { border-color: rgba(139, 92, 246, 0.55); }
.veil-status-product { min-width: 0; display: flex; align-items: center; gap: 16px; }
.veil-status-image { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--veil-border); background: var(--veil-muted); color: var(--veil-subtle); font-size: 24px; }
.veil-status-image img { width: 100%; height: 100%; object-fit: cover; }
.veil-status-product > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.veil-status-product strong { overflow: hidden; text-overflow: ellipsis; font-size: 18px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.veil-status-product small { color: var(--veil-subtle); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* SellAuth-owned pages: legal, FAQ, cart, auth, and customer area. */
.sa-page-terms,
.sa-page-privacy-policy,
.sa-page-refund-policy,
.sa-page-faq,
.sa-page-cart,
[class*="sa-page-customer-"] { position: relative; z-index: 1; }

.sa-page-terms .wrap,
.sa-page-privacy-policy .wrap,
.sa-page-refund-policy .wrap { max-width: 896px; padding: 48px; border: 1px solid var(--veil-border); background: var(--veil-card); }

.sa-page-terms .sa-section-title,
.sa-page-privacy-policy .sa-section-title,
.sa-page-refund-policy .sa-section-title { padding-bottom: 16px; border-bottom: 1px solid var(--veil-border); font-size: clamp(36px, 5vw, 48px); font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }

.sa-page-faq .wrap { max-width: 896px; }
.sa-faq-item,
.sa-page-faq-item { border-color: var(--veil-border) !important; background: var(--veil-card) !important; }

.sa-page-cart .wrap,
[class*="sa-page-customer-"] .wrap { max-width: 1152px; }

.sa-page-cart [class*="rounded-"],
[class*="sa-page-customer-"] [class*="rounded-"],
.sa-cart-panel [class*="rounded-"],
.sa-customer-login-modal [class*="rounded-"] { border-radius: 0 !important; }

.sa-page-cart [class*="bg-surface"],
[class*="sa-page-customer-"] [class*="bg-surface"],
.sa-cart-panel,
.sa-customer-login-modal [class*="bg-surface"] { border-color: var(--veil-border) !important; }

.sa-page-cart button[class*="bg-accent"],
[class*="sa-page-customer-"] button[class*="bg-accent"],
.sa-cart-panel button[class*="bg-accent"],
.sa-customer-login-modal button[class*="bg-accent"] { font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

.sa-cart-panel { background: var(--veil-card) !important; }
.sa-cart-item { border-color: var(--veil-border) !important; background: var(--veil-muted) !important; }

.veil-crypto-checkout {
  position: relative;
  padding: 17px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.52);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.14), rgba(10, 10, 10, 0.96) 54%);
  box-shadow: inset 3px 0 var(--veil-primary), 0 12px 32px rgba(0, 0, 0, 0.2);
}
.veil-crypto-checkout::after { content: "₿"; position: absolute; right: -8px; top: -28px; color: rgba(139, 92, 246, 0.06); font-size: 112px; font-weight: 900; line-height: 1; pointer-events: none; }
.veil-crypto-checkout-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.veil-crypto-checkout-icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(139, 92, 246, 0.5); background: var(--veil-primary); color: white; font-size: 19px; }
.veil-crypto-checkout-label { display: block; color: #a78bfa; font-size: 7px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.veil-crypto-checkout h3 { margin: 2px 0 0; color: white; font-size: 14px; font-weight: 900; letter-spacing: 0.02em; text-transform: uppercase; }
.veil-crypto-checkout-intro { position: relative; z-index: 1; margin: 12px 0 0; color: #e2e8f0; font-size: 10px; font-weight: 700; line-height: 1.55; }
.veil-crypto-onramps { position: relative; z-index: 1; margin-top: 13px; display: grid; gap: 7px; }
.veil-crypto-onramps a { min-height: 47px; padding: 8px 10px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--veil-border); background: rgba(5, 5, 5, 0.72); color: white; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }
.veil-crypto-onramps a:hover { border-color: var(--veil-primary); background: rgba(139, 92, 246, 0.1); color: white; transform: translateX(2px); }
.veil-crypto-onramps a > span:nth-child(2) { min-width: 0; flex: 1; }
.veil-crypto-onramps a > iconify-icon { color: #a78bfa; font-size: 14px; }
.veil-crypto-onramp-mark { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(139, 92, 246, 0.14); color: #c4b5fd; font-size: 11px; font-weight: 900; }
.veil-crypto-onramps strong,
.veil-crypto-onramps small { display: block; }
.veil-crypto-onramps strong { font-size: 10px; font-weight: 900; }
.veil-crypto-onramps small { margin-top: 1px; color: var(--veil-subtle); font-size: 8px; }
.veil-crypto-verification,
.veil-crypto-region { position: relative; z-index: 1; margin: 10px 0 0; display: flex; align-items: flex-start; gap: 7px; font-size: 8px; line-height: 1.5; }
.veil-crypto-verification { color: var(--veil-subtle); }
.veil-crypto-region { padding-top: 10px; border-top: 1px solid rgba(234, 179, 8, 0.22); color: #d6d3d1; }
.veil-crypto-verification iconify-icon { margin-top: 1px; flex: 0 0 auto; color: #a78bfa; font-size: 11px; }
.veil-crypto-region iconify-icon { margin-top: 1px; flex: 0 0 auto; color: #facc15; font-size: 11px; }
.veil-crypto-region strong { color: #fde68a; font-weight: 900; }
.veil-crypto-checkout.is-compact { padding: 14px; }
.veil-crypto-checkout.is-compact .veil-crypto-checkout-icon { width: 32px; height: 32px; font-size: 16px; }
.veil-crypto-checkout.is-compact h3 { font-size: 12px; }
.veil-crypto-checkout.is-compact .veil-crypto-checkout-intro { margin-top: 9px; }

.veil-crypto-modal-layer { color: inherit; }
.veil-crypto-modal-layer::backdrop { background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(4px); }
.veil-crypto-modal-positioner { width: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; }
.veil-crypto-modal { max-width: 680px !important; padding: 30px !important; background: var(--veil-card) !important; box-shadow: 0 0 55px rgba(139, 92, 246, 0.24) !important; }
.veil-crypto-modal-close { position: absolute; z-index: 3; right: 12px; top: 12px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--veil-subtle); font-size: 22px; }
.veil-crypto-modal-close:hover { color: white; }
.veil-crypto-modal .veil-crypto-checkout { padding: 24px; }
.veil-crypto-modal .veil-crypto-checkout-heading { gap: 15px; padding-right: 32px; }
.veil-crypto-modal .veil-crypto-checkout-icon { width: 52px; height: 52px; font-size: 26px; }
.veil-crypto-modal .veil-crypto-checkout-label { font-size: 10px; }
.veil-crypto-modal .veil-crypto-checkout h3 { margin-top: 3px; font-size: 22px; }
.veil-crypto-modal .veil-crypto-checkout-intro { margin-top: 18px; font-size: 15px; line-height: 1.6; }
.veil-crypto-modal .veil-crypto-onramps { margin-top: 18px; gap: 10px; }
.veil-crypto-modal .veil-crypto-onramps a { min-height: 66px; padding: 12px 15px; gap: 13px; }
.veil-crypto-modal .veil-crypto-onramp-mark { width: 40px; height: 40px; font-size: 15px; }
.veil-crypto-modal .veil-crypto-onramps strong { font-size: 14px; }
.veil-crypto-modal .veil-crypto-onramps small { margin-top: 3px; font-size: 12px; }
.veil-crypto-modal .veil-crypto-onramps a > iconify-icon { font-size: 19px; }
.veil-crypto-modal .veil-crypto-verification,
.veil-crypto-modal .veil-crypto-region { margin-top: 15px; gap: 10px; font-size: 13px; line-height: 1.6; }
.veil-crypto-modal .veil-crypto-region { padding-top: 15px; }
.veil-crypto-modal .veil-crypto-verification iconify-icon,
.veil-crypto-modal .veil-crypto-region iconify-icon { font-size: 16px; }
.veil-crypto-modal-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 2fr; gap: 11px; }
.veil-crypto-modal-actions button { min-height: 52px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; transition: 180ms ease; }
.veil-crypto-modal-cancel { border: 1px solid var(--veil-border); color: var(--veil-subtle); }
.veil-crypto-modal-cancel:hover { border-color: #78716c; color: white; }
.veil-crypto-modal-confirm { border: 1px solid var(--veil-primary); background: var(--veil-primary); color: white; }
.veil-crypto-modal-confirm:hover { background: #7c3aed; }
@media (max-width: 600px) {
  .veil-crypto-modal { padding: 18px !important; }
  .veil-crypto-modal .veil-crypto-checkout { padding: 18px; }
  .veil-crypto-modal .veil-crypto-checkout h3 { font-size: 19px; }
  .veil-crypto-modal .veil-crypto-checkout-intro { font-size: 14px; }
  .veil-crypto-modal .veil-crypto-verification,
  .veil-crypto-modal .veil-crypto-region { font-size: 12px; }
  .veil-crypto-modal-actions { grid-template-columns: 1fr; }
}

.sa-customer-login-modal > div > div:last-child,
.sa-maintenance-login-modal > div > div:last-child { border-radius: 0 !important; border-color: var(--veil-border) !important; background: var(--veil-card) !important; box-shadow: 0 0 40px rgba(139, 92, 246, 0.18) !important; }

.sa-customer-sidebar a,
.sa-customer-header,
.sa-page-customer-dashboard-item { border-radius: 0 !important; }

.veil-discord-settings {
  margin-top: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(88, 101, 242, 0.42);
  background: linear-gradient(110deg, rgba(88, 101, 242, 0.1), var(--veil-card));
}
.veil-discord-settings-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; background: #5865f2; color: white; font-size: 25px; }
.veil-discord-settings-copy { min-width: 0; flex: 1; }
.veil-discord-settings-copy h2 { margin: 0 0 4px; color: white; font-size: 14px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-discord-settings-copy p { margin: 0; color: var(--veil-subtle); font-size: 12px; }
.veil-discord-settings-copy strong { color: white; }
.veil-discord-settings-copy small { display: block; margin-top: 4px; color: #818cf8; font-size: 10px; font-weight: 800; }
.veil-discord-settings-button { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; background: #5865f2; color: white; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; transition: background 180ms ease; }
.veil-discord-settings-button:hover { background: #4752c4; color: white; }
.veil-entitlements { margin-top: var(--grid-gap, 1rem); border: 1px solid var(--veil-border); background: linear-gradient(145deg, rgba(124,58,237,.07), transparent 38%), var(--veil-panel); padding: 22px; box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.veil-entitlements-head h2 { margin: 0; color: white; font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.veil-entitlements-head p { margin: 5px 0 0; color: var(--veil-subtle); font-size: 12px; }
.veil-entitlements-list { display: grid; gap: 12px; margin-top: 18px; }
.veil-entitlement { display: grid; grid-template-columns: minmax(0,1fr) 190px; align-items: center; gap: 28px; padding: 18px; border: 1px solid var(--veil-border); background: rgba(255,255,255,.025); box-shadow: inset 3px 0 #7c3aed; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.veil-entitlement:hover { border-color: rgba(139,92,246,.42); background: rgba(124,58,237,.045); transform: translateY(-1px); }
.veil-entitlement-copy { min-width: 0; }
.veil-entitlement-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.veil-entitlement h3 { margin: 0; color: white; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.veil-entitlement-status { padding: 3px 7px; border: 1px solid var(--veil-border); color: var(--veil-subtle); font-size: 8px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.veil-entitlement-status.is-active { border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.08); color: #4ade80; }
.veil-entitlement-status.is-expired, .veil-entitlement-status.is-revoked, .veil-entitlement-status.is-suspended { border-color: rgba(239,68,68,.38); background: rgba(239,68,68,.07); color: #f87171; }
.veil-entitlement-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; color: var(--veil-subtle); font-size: 10px; }
.veil-entitlement-meta span + span::before { content: '\00b7'; margin-right: 14px; color: #5b5568; }
.veil-entitlement-key-row { display: flex; align-items: stretch; max-width: 560px; margin-top: 11px; }
.veil-entitlement-key { min-width: 0; flex: 1; padding: 9px 10px; border: 1px solid var(--veil-border); background: rgba(0,0,0,.25); color: #c4b5fd; font: 700 11px/1.4 monospace; overflow-wrap: anywhere; user-select: all; }
.veil-entitlement-copy-button { flex: 0 0 auto; padding: 0 11px; border: 1px solid var(--veil-border); border-left: 0; background: rgba(255,255,255,.04); color: #ddd6fe; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.veil-entitlement-copy-button:hover { background: rgba(124,58,237,.14); }
.veil-entitlement-actions { display: flex; min-width: 180px; flex-direction: column; align-items: stretch; gap: 7px; }
.veil-entitlement-download { min-height: 40px; padding: 0 14px; border: 1px solid #7c3aed; background: linear-gradient(135deg, #7c3aed, #6d28d9); color: white; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 22px rgba(91,33,182,.16); }
.veil-entitlement-download:hover:not(:disabled) { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.veil-entitlement-download:disabled { border-color: var(--veil-border); background: rgba(255,255,255,.04); color: var(--veil-subtle); cursor: not-allowed; }
@media (max-width: 700px) { .veil-entitlement { grid-template-columns: 1fr; gap: 14px; } .veil-entitlement-actions { min-width: 0; } .veil-entitlement-download { width: 100%; } }
@media (max-width: 430px) { .veil-entitlements { padding: 15px; } .veil-entitlement-key-row { align-items: stretch; flex-direction: column; } .veil-entitlement-copy-button { min-height: 34px; border-left: 1px solid var(--veil-border); border-top: 0; } .veil-entitlement-meta { flex-direction: column; gap: 3px; } .veil-entitlement-meta span + span::before { content: none; } }
.veil-discord-connected { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.08); color: #4ade80; font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }

/* Footer */
.veil-footer {
  position: relative;
  margin-top: auto;
  padding: 64px 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--veil-border);
  background: var(--veil-card);
}

.veil-footer-glow { position: absolute; bottom: -96px; width: 256px; height: 256px; border-radius: 50%; background: rgba(139, 92, 246, 0.05); filter: blur(48px); pointer-events: none; }
.veil-footer-glow-left { left: -96px; }
.veil-footer-glow-right { right: -96px; }
.veil-footer-grid { position: relative; z-index: 1; width: min(100%, 1280px); margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.veil-footer-about { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.veil-footer-brand { width: fit-content; }
.veil-footer-logo { width: 40px; height: 40px; object-fit: contain; }
.veil-footer-name { font-size: 20px; font-weight: 900; }
.veil-brand-mark-small { width: 40px; height: 40px; font-size: 18px; }
.veil-footer-about > p { max-width: 390px; margin: 0; color: var(--veil-subtle); font-size: 12px; font-weight: 700; line-height: 1.65; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-social-link { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--veil-border); background: var(--veil-bg); color: white; font-size: 20px; box-shadow: 0 0 10px rgba(139, 92, 246, 0.15); transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.veil-social-link:hover { border-color: var(--veil-primary); background: var(--veil-primary); box-shadow: 0 0 20px rgba(139, 92, 246, 0.4); }
.veil-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.veil-footer-column h3 { margin: 0 0 8px; color: var(--veil-primary); font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.veil-footer-column a,
.veil-footer-column button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--veil-subtle); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: color 180ms ease; }
.veil-footer-column a:hover,
.veil-footer-column button:hover { color: var(--veil-primary); }
.veil-footer-column iconify-icon { color: var(--veil-primary); font-size: 10px; }
.veil-footer-bottom { position: relative; z-index: 1; width: min(100%, 1280px); margin: 48px auto 0; padding: 32px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--veil-border); color: var(--veil-subtle); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.veil-footer-bottom strong { color: var(--veil-primary); font-weight: 900; }

.veil-reseller-modal-backdrop { position: fixed; inset: 0; z-index: 60; padding: 16px; display: grid; place-items: center; overflow-y: auto; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.veil-reseller-modal { width: min(100%, 560px); max-height: calc(100vh - 32px); overflow-y: auto; border: 1px solid rgba(139,92,246,.55); background: var(--veil-card); box-shadow: 0 24px 80px rgba(0,0,0,.7); }
.veil-reseller-modal > header { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--veil-border); }
.veil-reseller-modal > header span { color: var(--veil-primary); font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.veil-reseller-modal > header h2 { margin: 3px 0 0; color: white; font-size: 19px; font-weight: 900; }
.veil-reseller-modal > header button { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--veil-border); background: rgba(255,255,255,.02); color: var(--veil-subtle); font-size: 18px; transition: border-color 180ms ease, color 180ms ease; }
.veil-reseller-modal > header button:hover { border-color: var(--veil-primary); color: white; }
.veil-reseller-modal-body { padding: 22px; }
.veil-reseller-modal-body > p { margin: 0; color: var(--veil-subtle); font-size: 12px; line-height: 1.7; }
.veil-reseller-modal-body ul { margin: 20px 0 0; padding: 0; display: grid; border: 1px solid var(--veil-border); list-style: none; }
.veil-reseller-modal-body li { padding: 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--veil-border); }
.veil-reseller-modal-body li:last-child { border-bottom: 0; }
.veil-reseller-modal-body li > iconify-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(139,92,246,.08); color: #c4b5fd; font-size: 15px; }
.veil-reseller-modal-body li span { display: grid; gap: 2px; }
.veil-reseller-modal-body li strong { color: white; font-size: 11px; }
.veil-reseller-modal-body li small { color: var(--veil-subtle); font-size: 9px; }
.veil-reseller-modal-contact { margin-top: 16px; padding: 15px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(88,101,242,.42); background: rgba(88,101,242,.07); }
.veil-reseller-modal-contact > iconify-icon { color: #818cf8; font-size: 25px; }
.veil-reseller-modal-contact strong { color: white; font-size: 11px; }
.veil-reseller-modal-contact p { margin: 2px 0 0; color: var(--veil-subtle); font-size: 9px; }
.veil-reseller-modal > footer { padding: 16px 22px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--veil-border); }
.veil-reseller-modal > footer button,
.veil-reseller-modal > footer a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--veil-border); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.veil-reseller-modal > footer button { background: transparent; color: var(--veil-subtle); }
.veil-reseller-modal > footer button:hover { border-color: var(--veil-primary); color: white; }
.veil-reseller-modal > footer a { border-color: #5865f2; background: #5865f2; color: white; }
.veil-reseller-modal > footer a:hover { background: #4752c4; color: white; }

@media (max-width: 1100px) {
  .veil-navbar-links { gap: 18px; }
  .veil-navbar-left { gap: 28px; }
  .veil-account-copy { display: none; }
  .veil-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .veil-product-layout { grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr); gap: 32px; }
}

@media (max-width: 900px) {
  .veil-navbar-links { display: none; }
  .veil-mobile-toggle { display: inline-flex; }
  .veil-mobile-nav { display: flex; }
  .veil-account-card { display: none; }
  .veil-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .veil-home-feedback-grid { grid-template-columns: 1fr; }
  .veil-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .veil-product-layout { grid-template-columns: 1fr; }
  .veil-product-sidebar { position: static; }
  .veil-status-header { align-items: flex-start; flex-direction: column; }
  .veil-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .veil-carousel-card.is-previous { transform: translateX(calc(-50% - 220px)) scale(0.78); }
  .veil-carousel-card.is-next { transform: translateX(calc(-50% + 220px)) scale(0.78); }
  .veil-carousel-card.is-far-left { transform: translateX(calc(-50% - 370px)) scale(.68) rotateY(25deg); }
  .veil-carousel-card.is-far-right { transform: translateX(calc(-50% + 370px)) scale(.68) rotateY(-25deg); }
}

@media (max-width: 700px) {
  .wrap,
  .veil-navbar-inner { width: min(calc(100% - 2rem), 1280px); }
  .veil-navbar-actions { gap: 8px; }
  .veil-brand-logo { width: 50px; height: 50px; }
  .veil-brand-name { font-size: 19px; }
  .veil-login-button { width: 42px; padding: 0; }
  .veil-login-button span { display: none; }
  .veil-admin-button span { display: none; }
  .veil-admin-button { width: 42px; padding: 0; justify-content: center; }
  .veil-navbar-actions > .veil-cart-button { display: none; }
  .veil-hero { min-height: 680px; padding: 64px 16px; }
  .veil-hero-copy { width: 100%; margin-bottom: 30px; }
  .veil-hero-copy p { max-width: 340px; margin-right: auto; margin-left: auto; overflow-wrap: anywhere; }
  .veil-hero-actions { margin-top: 22px; flex-wrap: wrap; }
  .veil-hero-actions a { min-height: 42px; padding: 0 14px; }
  .veil-carousel { width: 100%; height: 370px; padding: 0 46px; }
  .veil-carousel-stage { overflow: visible; }
  .veil-carousel-card { width: min(250px, calc(100vw - 116px)); height: 340px; }
  .veil-carousel-card.is-previous,
  .veil-carousel-card.is-next,
  .veil-carousel-card.is-far-left,
  .veil-carousel-card.is-far-right { opacity: 0; pointer-events: none; filter: none; transform: translateX(-50%) scale(0.9); }
  .veil-carousel-info { padding: 18px; }
  .veil-carousel-info h2 { font-size: 16px; }
  .veil-carousel-arrow { width: 42px; height: 42px; font-size: 22px; }
  .veil-carousel-prev { left: 0; }
  .veil-carousel-next { right: 0; }
  .veil-stat { min-height: 150px; padding: 22px 12px; }
  .veil-stat strong { font-size: 24px; }
  .veil-home-feedback,
  .veil-stats { padding-right: 16px; padding-left: 16px; }
  .veil-catalog,
  .veil-product-page,
  .veil-reviews-page,
  .veil-status-page { padding-right: 16px; padding-left: 16px; }
  .veil-catalog-header { align-items: stretch; flex-direction: column; }
  .veil-catalog-search { width: 100%; max-width: none; }
  .veil-catalog-grid { grid-template-columns: 1fr; }
  .veil-product-features,
  .veil-product-review-grid,
  .veil-reviews-grid { grid-template-columns: 1fr; }
  .veil-product-purchase { padding: 24px; }
  .veil-discord-settings { align-items: flex-start; flex-wrap: wrap; }
  .veil-discord-settings-button { width: 100%; }
  .veil-product-badges { bottom: 12px; left: 12px; }
  .veil-status-legend { align-items: flex-start; flex-direction: column; }
  .veil-status-row { align-items: flex-start; flex-direction: column; }
  .veil-status-pill { align-self: flex-start; }
  .sa-page-terms .wrap,
  .sa-page-privacy-policy .wrap,
  .sa-page-refund-policy .wrap { width: calc(100% - 2rem); padding: 28px 22px; }
  .veil-footer { padding-right: 16px; padding-left: 16px; }
  .veil-footer-grid { grid-template-columns: 1fr; }
  .veil-footer-bottom { align-items: flex-start; flex-direction: column; }
  .veil-reseller-modal > footer { align-items: stretch; flex-direction: column-reverse; }
  .veil-reseller-modal > footer button,
  .veil-reseller-modal > footer a { width: 100%; }
}

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


/* Reseller navigation and program */
/* Customer reseller panel */
.veil-customer-reseller-offer { display: grid; gap: 16px; }
.veil-reseller-panel-card { border: 1px solid var(--veil-border); background: var(--veil-card); }
.veil-reseller-panel-intro { padding: 22px; display: flex; align-items: flex-start; gap: 14px; }
.veil-reseller-panel-intro > span { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(139,92,246,.4); background: rgba(139,92,246,.08); color: #c4b5fd; font-size: 18px; }
.veil-reseller-panel-intro h2,
.veil-reseller-panel-heading h2,
.veil-reseller-panel-discord h2 { margin: 0; color: white; font-size: 15px; font-weight: 900; }
.veil-reseller-panel-intro p,
.veil-reseller-panel-heading p,
.veil-reseller-panel-discord p { margin: 6px 0 0; color: var(--veil-subtle); font-size: 11px; line-height: 1.65; }
.veil-reseller-panel-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--veil-border); }
.veil-reseller-panel-benefits article { min-height: 118px; padding: 18px; display: flex; align-items: flex-start; gap: 11px; border-right: 1px solid var(--veil-border); border-bottom: 1px solid var(--veil-border); }
.veil-reseller-panel-benefits article:nth-child(2n) { border-right: 0; }
.veil-reseller-panel-benefits article:nth-last-child(-n+2) { border-bottom: 0; }
.veil-reseller-panel-benefits article > iconify-icon { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(139,92,246,.08); color: #c4b5fd; font-size: 14px; }
.veil-reseller-panel-benefits h3,
.veil-reseller-panel-tiers h3 { margin: 1px 0 0; color: white; font-size: 11px; font-weight: 900; }
.veil-reseller-panel-benefits p,
.veil-reseller-panel-tiers p { margin: 5px 0 0; color: var(--veil-subtle); font-size: 9px; line-height: 1.55; }
.veil-reseller-panel-heading { padding: 18px 20px; border-bottom: 1px solid var(--veil-border); }
.veil-reseller-panel-tiers { display: grid; }
.veil-reseller-panel-tiers article { padding: 14px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--veil-border); }
.veil-reseller-panel-tiers article:last-child { border-bottom: 0; }
.veil-reseller-panel-tiers article > span { width: 32px; height: 32px; display: grid; place-items: center; background: rgba(139,92,246,.08); color: #c4b5fd; font-size: 14px; }
.veil-reseller-panel-tiers article > strong { color: #c4b5fd; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.veil-reseller-panel-discord { padding: 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px solid rgba(88,101,242,.48); background: rgba(88,101,242,.07); }
.veil-reseller-panel-discord-icon { width: 42px; height: 42px; display: grid; place-items: center; background: #5865f2; color: white; font-size: 22px; }
.veil-reseller-panel-discord > a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #5865f2; color: white; font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; transition: background 180ms ease, transform 180ms ease; }
.veil-reseller-panel-discord > a:hover { background: #4752c4; color: white; transform: translateY(-1px); }
.veil-reseller-panel-discord-missing { color: var(--veil-subtle); font-size: 8px; text-transform: uppercase; }
.veil-reseller-panel-notice { padding: 13px 15px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid rgba(234,179,8,.35); background: rgba(234,179,8,.06); color: #fde68a; }
.veil-reseller-panel-notice p { margin: 0; font-size: 10px; line-height: 1.55; }
@media (max-width: 700px) {
  .veil-reseller-panel-benefits { grid-template-columns: 1fr; }
  .veil-reseller-panel-benefits article { min-height: 0; border-right: 0; }
  .veil-reseller-panel-benefits article:nth-last-child(2) { border-bottom: 1px solid var(--veil-border); }
  .veil-reseller-panel-discord { grid-template-columns: auto 1fr; align-items: start; }
  .veil-reseller-panel-discord > a,
  .veil-reseller-panel-discord-missing { grid-column: 1 / -1; width: 100%; }
}
