/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 *
 * ── Semantic class hooks (sa-*) ────────────────────────────────────────────
 * Every section, snippet and key element carries a stable `sa-` class you can
 * target with plain CSS — no Tailwind rebuild needed. These classes ship with
 * NO styles of their own; they exist purely as selectors for you to hook onto.
 *
 * Page scope   body.sa-tpl-<template>      e.g. .sa-tpl-product, .sa-tpl-shop
 *              body.sa-no-product-images / .sa-no-category-images when the
 *              matching theme setting is off
 * Chrome       .sa-header .sa-navbar .sa-footer
 *              .sa-navbar-link .sa-navbar-logo .sa-navbar-cart .sa-footer-link
 * Sections     .sa-<component>             e.g. .sa-hero, .sa-features, .sa-faq
 *   variant    .sa-<component>--<variant>  e.g. .sa-hero--split-media
 *   inner      .sa-<component>-title / -subtitle / -eyebrow / -media /
 *              -items / -item / -actions / -link / -price / -badge / -icon
 * Primitives   .sa-btn (+ .sa-btn--<variant>), .sa-section-header
 *              (.sa-section-title / -eyebrow / -subtitle),
 *              .sa-product-card (+ .sa-product-card--<style>,
 *              .sa-product-card-title / -price / -stock / -status / -badges),
 *              .sa-product-form + .sa-add-to-cart, .sa-product-gallery,
 *              .sa-cart-panel + .sa-cart-item, .sa-searchbar, .sa-pagination,
 *              .sa-breadcrumbs, .sa-toasts + .sa-toast, .sa-feedback-card
 *
 * Example — bigger hero heading only on the product page:
 *   .sa-tpl-product .sa-hero-title { font-size: 3rem; }
 * ───────────────────────────────────────────────────────────────────────────
*/

/* ---- Exotic Store polish ---- */
/* the fixed store background is a wide image: fade it out instead of
   ending in a hard horizontal line on tall screens */
div.fixed.inset-0[class*="bg-cover"] {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.55) 72%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, rgba(0,0,0,.55) 72%, transparent 96%);
}
/* a touch more air around section headings */
.sa-section-header { margin-bottom: 1.75rem; }
/* product cards: keep the media flush and the footer calm */
.sa-products .sa-product-card img, .sa-products .sa-product-card .aspect-video { border-radius: 12px; }

/* calmer glow so the headline stays the loudest thing on screen */
div.fixed.inset-0[class*="bg-cover"] {
  filter: brightness(.62) saturate(.92);
}
/* eyebrow over the glow needs contrast, not accent */
.sa-hero [class*="eyebrow"] { color: rgba(255,255,255,.66); letter-spacing: .08em; }
/* a little air under the hero instead of a long empty band */
.sa-hero { padding-bottom: 2.5rem; }

/* glassy header so the glow reads through it while scrolling */
.sa-header { background: rgba(10, 8, 16, .58); backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .06); }
/* display type: tighter tracking, calmer measure */
.sa-hero-title { letter-spacing: -.025em; line-height: 1.04; }
.sa-hero [class*="subtitle"], .sa-hero p { max-width: 44ch; }
.sa-section-title { letter-spacing: -.015em; }

/* ---- Discord call to action ---- */
.sa-discord-panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px; padding: 26px 28px; border-radius: 18px;
  border: 1px solid rgba(124, 92, 255, .26);
  background: linear-gradient(115deg, rgba(88, 101, 242, .16), rgba(124, 92, 255, .10) 48%, rgba(10, 8, 16, .55));
  box-shadow: 0 24px 60px -34px rgba(88, 101, 242, .65);
}
.sa-discord-copy { max-width: 46ch; }
.sa-discord-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.sa-discord-eyebrow i { color: #8b95ff; }
.sa-discord-copy h3 {
  margin: 0 0 6px; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: -.015em; line-height: 1.2; color: #fff;
}
.sa-discord-copy p { margin: 0; color: rgba(255, 255, 255, .66); font-size: .95rem; line-height: 1.55; }
.sa-discord-btn {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 14px 24px; border-radius: 999px; background: #5865F2; color: #fff;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  box-shadow: 0 14px 34px -16px rgba(88, 101, 242, .95);
  transition: background .2s ease, transform .2s ease;
}
.sa-discord-btn:hover { background: #4752c4; transform: translateY(-1px); color: #fff; }

/* always-on pill, bottom right */
.sa-discord-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; background: #5865F2; color: #fff;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .75);
  animation: sa-discord-pulse 3.4s ease-in-out infinite;
  transition: background .2s ease, transform .2s ease;
}
.sa-discord-float:hover { background: #4752c4; color: #fff; transform: translateY(-2px); }
.sa-discord-float i { font-size: 1.05rem; }
@keyframes sa-discord-pulse {
  0%, 100% { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .75), 0 0 0 0 rgba(88, 101, 242, .55); }
  50% { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .75), 0 0 0 14px rgba(88, 101, 242, 0); }
}
@media (max-width: 640px) {
  .sa-discord-panel { padding: 22px; }
  .sa-discord-btn { width: 100%; justify-content: center; }
  .sa-discord-float { right: 14px; bottom: 14px; padding: 11px 15px; font-size: .82rem; }
}
/* ---- Discord announcement bar ---- */
/* the rotating bar lives inside the sticky header, so give it a real height */
.sa-announcement {
  min-height: 40px;
  display: flex;
  align-items: stretch;
}
.sa-announcement > div[x-data] {
  position: relative;
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sa-announcement > div[x-data] > div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sa-announcement .sa-announcement-item {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .005em;
}
@media (max-width: 640px) {
  .sa-announcement, .sa-announcement > div[x-data] { min-height: 44px; }
  .sa-announcement .sa-announcement-item {
    font-size: .72rem;
    line-height: 1.3;
    white-space: normal !important;
    text-align: center;
    padding: 0 .6rem;
  }
}
/* ================================================================
   Monochrome storefront / neutral metallic background
   ================================================================ */
html[data-scheme="dark"] body {
  background-color: #090a0c;
  background-image:
    radial-gradient(ellipse 60% 52% at 50% -13%, rgba(239, 241, 246, .18) 0%, rgba(130, 134, 143, .07) 52%, transparent 82%),
    radial-gradient(ellipse 43% 48% at 98% 48%, rgba(115, 118, 127, .15), transparent 75%),
    radial-gradient(ellipse 38% 38% at 2% 88%, rgba(220, 224, 232, .075), transparent 73%),
    linear-gradient(145deg, #08090b 0%, #17191d 44%, #0b0c0e 73%, #111216 100%);
  background-attachment: fixed;
}
html[data-scheme="light"] body {
  background-color: #f5f5f6;
  background-image:
    radial-gradient(ellipse 68% 48% at 46% 0%, rgba(255, 255, 255, .98), transparent 83%),
    radial-gradient(ellipse 49% 57% at 100% 90%, rgba(170, 174, 180, .22), transparent 78%),
    linear-gradient(148deg, #ffffff 0%, #e9eaec 54%, #f9fafb 100%);
  background-attachment: fixed;
}
/* Keep all native per-section glow effects neutral. */
.page-fx { opacity: .5; }
.sa-header {
  background: rgba(11, 12, 14, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .085);
  backdrop-filter: blur(18px) saturate(.8);
  -webkit-backdrop-filter: blur(18px) saturate(.8);
}
html[data-scheme="light"] .sa-header { background: rgba(249, 249, 250, .8); border-color: rgba(0, 0, 0, .08); }
/* Discord keeps its official blue-violet CTA, but not a purple page panel. */
.sa-discord-panel {
  background: linear-gradient(125deg, rgba(222, 225, 231, .085), rgba(87, 90, 98, .07) 48%, rgba(9, 10, 12, .38));
  border-color: rgba(231, 234, 240, .16);
  box-shadow: 0 22px 55px -33px rgba(0,0,0,.7);
}

/* ================================================================
   Payment-method carousel
   ================================================================ */
.sa-payments-section { padding: .35rem 0 2rem; }
.sa-payments-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(20px, 3vw, 31px) 0 17px;
  border: 1px solid rgba(255,255,255,.11);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018) 45%, rgba(0,0,0,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.075), 0 18px 45px -35px rgba(0,0,0,.8);
}
.sa-payments-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 70% at 50% -48%, rgba(255,255,255,.065), transparent 90%);
}
.sa-payments-heading, .sa-payments-bottom, .sa-payments-marquee { position: relative; z-index: 1; }
.sa-payments-heading {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 14px;
  padding: 0 clamp(19px, 3vw, 32px) 21px;
}
.sa-payments-heading--centered { text-align: center; }
.sa-payments-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 750; letter-spacing: .16em; color: #b7bcc4;
  margin-bottom: 9px;
}
.sa-payments-indicator { width: 6px; height: 6px; border-radius: 50%; background: #d8dbe0; box-shadow: 0 0 12px rgba(226,230,237,.45); }
.sa-payments-title {
  font-size: clamp(1.16rem, 2.6vw, 1.55rem);
  font-weight: 700; color: #f8f9fb; letter-spacing: -.025em; line-height: 1.2;
}
.sa-payments-description { margin-top: 7px; font-size: .82rem; color: #a7acb4; }
.sa-payments-marquee {
  overflow: hidden;
  padding: 1px 0 9px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.sa-payments-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: sa-payments-marquee 26s linear infinite;
  will-change: transform;
}
.sa-payments-marquee:hover .sa-payments-marquee-track,
.sa-payments-marquee:focus-within .sa-payments-marquee-track { animation-play-state: paused; }
.sa-payments-row { display: flex; gap: 13px; padding-inline: 10px; }
.sa-payments-card {
  flex: 0 0 155px;
  height: 105px;
  position: relative;
  display: flex;
  flex-direction: row; align-items: center; justify-content: center;
  gap: 12px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(160deg, rgba(255,255,255,.03), rgba(255,255,255,.012) 48%, rgba(10,10,10,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.sa-payments-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.16); }
.sa-payments-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  pointer-events: none;
}
.sa-payments-icon { z-index: 1; display: flex; align-items: center; justify-content: center; height: 35px; max-width: 95px; }
.sa-payments-icon img {
  max-height: 32px; max-width: 84px; width: auto; object-fit: contain;
  filter: none;
  opacity: 1;
}
.sa-payments-card--paypal .sa-payments-icon img { max-width: 88px; }
.sa-payments-card--visa .sa-payments-icon img { max-width: 74px; }
.sa-payments-card--mastercard .sa-payments-icon img { max-width: 66px; }
.sa-payments-card--applepay .sa-payments-icon img { max-width: 86px; }
.sa-payments-card--googlepay .sa-payments-icon img { max-width: 84px; }
.sa-payments-card--bitcoin .sa-payments-icon img,
.sa-payments-card--litecoin .sa-payments-icon img { max-width: 46px; }
.sa-payments-method-name { z-index: 1; color: #c2c8d0; font-size: .82rem; font-weight: 700; letter-spacing: .005em; }
.sa-funpay-symbol {
  color: #66a6ff; position: relative; display: block; width: 39px; height: 37px;
  font: italic 900 34px/.95 ui-sans-serif, system-ui, sans-serif; letter-spacing: -.12em;
  text-shadow: 0 4px 18px rgba(56,159,240,.28);
}
.sa-funpay-dot { display: block; position: absolute; top: 6px; right: -7px; background: #ffb651; width: 9px; height: 9px; border-radius: 50%; }
.sa-payments-bottom { display: flex; justify-content: center; align-items: center; gap: 7px; padding: 12px 12px 0; color: #9aa1aa; font-size: .72rem; }
.sa-payments-bottom svg { width: 13px; height: 13px; color: #c1c8d2; }
@keyframes sa-payments-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
html[data-scheme="light"] .sa-payments-shell {
  border-color: rgba(30,34,41,.13);
  background: linear-gradient(120deg, rgba(255,255,255,.92), rgba(230,232,236,.68));
  box-shadow: 0 15px 36px -26px rgba(0,0,0,.22);
}
html[data-scheme="light"] .sa-payments-title { color: #24262c; }
html[data-scheme="light"] .sa-payments-eyebrow,
html[data-scheme="light"] .sa-payments-description,
html[data-scheme="light"] .sa-payments-bottom { color: #666d77; }
html[data-scheme="light"] .sa-payments-card {
  border-color: rgba(30,34,41,.08);
  background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(236,239,243,.88) 55%, #fff);
}
html[data-scheme="light"] .sa-payments-card:hover { border-color: rgba(30,34,41,.2); }
html[data-scheme="light"] .sa-payments-icon img { filter: none; opacity: 1; }
html[data-scheme="light"] .sa-payments-method-name { color: #5b636d; }
html[data-scheme="light"] .sa-funpay-symbol { color: #5d97ef; text-shadow: none; }
html[data-scheme="light"] .sa-funpay-dot { background: #ffb651; }
html[data-scheme="light"] .sa-payments-bottom svg { color: #5d646d; }
@media (max-width: 640px) {
  .sa-payments-section { padding: .35rem 0 1.5rem; }
  .sa-payments-shell { border-radius: 18px; }
  .sa-payments-heading { padding-bottom: 17px; }
  .sa-payments-description { font-size: .76rem; }
  .sa-payments-row { gap: 10px; }
  .sa-payments-card { flex-basis: 152px; height: 88px; border-radius: 12px; gap: 10px; }
  .sa-payments-icon { height: 29px; }
  .sa-payments-icon img { max-height: 28px; }
  .sa-payments-method-name { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-payments-card { transition: none; }
  .sa-payments-marquee-track { animation: none; }
}

/* ================================================================
   Intro v5: one silver/white/graphite slice, then the logo appears
   ================================================================ */
#sa-site-intro { display: none; }
html.sa-intro-wanted { overflow: hidden; }
html.sa-intro-wanted #sa-site-intro {
  display: grid;
  place-items: center;
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  background: #090a0c;
  opacity: 1;
  transition: opacity .43s ease;
}
.sa-intro-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 53% 48% at 50% 45%, rgba(205, 211, 222, .075), transparent 76%),
    linear-gradient(135deg, #050608 0%, #171a1e 53%, #080a0d 100%);
}
.sa-intro-grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(241,243,247,.06) 1px,transparent 1px), linear-gradient(90deg,rgba(241,243,247,.06) 1px,transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 76%);
  mask-image: radial-gradient(ellipse at center, black, transparent 76%);
}
/* Intentionally inert until the script adds the slashing class. */
.sa-intro-cut {
  position: absolute;
  z-index: 4;
  inset: -18%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10%);
}
.sa-intro-cut::before {
  content: "";
  position: absolute;
  top: 48%;
  left: -18%;
  width: 136%;
  height: 4px;
  border-radius: 12px;
  transform: rotate(-17deg);
  background: linear-gradient(90deg, transparent, #2c3038 12%, #c9cdd2 29%, #fff 48%, #e9eaec 61%, #575b64 80%, transparent);
  box-shadow: 0 0 6px 1px rgba(255,255,255,.92), 0 0 18px 3px rgba(190,194,200,.6), 0 0 38px 6px rgba(115,119,127,.25);
}
.sa-intro-cut::after {
  content: "";
  position: absolute;
  top: 48%;
  left: -18%;
  width: 136%;
  height: 22px;
  transform: rotate(-17deg) translateY(4px);
  background: linear-gradient(180deg, rgba(239,241,244,.18), rgba(96,100,109,.05), transparent);
  filter: blur(7px);
}
.sa-intro-slashing .sa-intro-cut {
  animation: sa-intro-slice .66s cubic-bezier(.23,.4,.12,.99) both;
}
@keyframes sa-intro-slice {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateX(-10%) scale(1.015); }
  14% { opacity: 1; }
  67% { opacity: 1; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); transform: translateX(8%) scale(1); }
}
.sa-intro-brand {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: calc(100vw - 32px);
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.96);
  filter: blur(9px);
}
/* Logo is invisible throughout the entire slice. */
.sa-intro-logo-visible .sa-intro-brand {
  animation: sa-intro-brand-in .46s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes sa-intro-brand-in {
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
}
.sa-intro-logo-frame {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,229,233,.15);
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  box-shadow: 0 0 45px rgba(227,229,233,.06), inset 0 1px 0 rgba(255,255,255,.08), 0 16px 45px rgba(0,0,0,.35);
}
.sa-intro-store-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
.sa-intro-logo-fallback { font-size: 56px; font-weight: 900; line-height: 1; color: #f3f4f6; }
.sa-intro-store-name {
  margin: 0;
  max-width: min(86vw, 760px);
  color: #f8f9fb;
  font-size: clamp(1.95rem,5vw,3.25rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 7px 34px rgba(240,242,245,.08);
}
.sa-intro-accent {
  width: 86px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #d6d9de, transparent);
  box-shadow: 0 0 14px rgba(214,217,222,.24);
}
html.sa-intro-wanted #sa-site-intro.sa-intro-exit { opacity: 0; }
.sa-intro-exit .sa-intro-brand { transition: opacity .34s ease, transform .34s ease; opacity: 0; transform: translateY(-8px) scale(1.02); }
@media (max-width: 640px) {
  .sa-intro-logo-frame { width: 92px; height: 92px; border-radius: 22px; }
  .sa-intro-brand { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sa-intro-slashing .sa-intro-cut,
  .sa-intro-logo-visible .sa-intro-brand { animation: none !important; }
}

/* ================================================================
   Product cards: wait one second in view, then softly rise into place
   ================================================================ */
.sa-product-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  /* No fade-out: cards disappear immediately before their one-second delay. */
}
.sa-product-reveal-pending.sa-product-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .8s ease, transform .8s cubic-bezier(.19,1,.22,1);
}
@media (prefers-reduced-motion: reduce) {
  .sa-product-reveal-pending { opacity: 1; transform: none; transition: none; }
}
