:root {
  --pink: #ff2d95;
  --pink2: #ff6ec7;
  --cyan: #00f0ff;
  --gold: #ffd56a;
  --orange: #ff6b35;
  --violet: #b14fff;
  --ink: #fff7fb;
  --display: "Anton", Impact, sans-serif;
  --tech: "Orbitron", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}

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

[hidden] { display: none !important; }

html { height: 100%; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100%;
  min-height: 100svh;
  font-family: var(--body);
  color: var(--ink);
  background: #05020a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--pink); color: #fff; }

/* ===== SCENE ===== */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, #1a0b2e 0%, #0b0618 42%, #05020a 100%);
}

.bg-art {
  position: absolute;
  inset: 0;
  background: url("/images/bg.webp") center center / cover no-repeat;
  opacity: 1;
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.06);
  transition: transform 0.25s ease-out;
  will-change: transform;
  pointer-events: none;
}

.bg-sun {
  position: absolute;
  left: 50%;
  top: 18%;
  width: min(70vw, 18rem);
  height: min(70vw, 18rem);
  transform: translate(-50%, -40%);
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 8px,
      rgba(5, 2, 10, 0.35) 8px 10px
    ),
    radial-gradient(circle at 50% 45%, #ffe566 0%, #ff6b35 35%, #ff2d95 62%, transparent 72%);
  filter: blur(0.5px);
  opacity: 0.55;
  animation: sunPulse 6s ease-in-out infinite;
}

.bg-palm {
  position: absolute;
  bottom: -2%;
  width: 42vw;
  max-width: 11rem;
  height: 55vh;
  opacity: 0.35;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%),
    radial-gradient(ellipse 40% 20% at 50% 8%, #1a1028, transparent 70%);
  clip-path: polygon(50% 0%, 62% 18%, 78% 8%, 70% 28%, 95% 22%, 72% 42%, 88% 55%, 65% 58%, 70% 100%, 50% 78%, 30% 100%, 35% 58%, 12% 55%, 28% 42%, 5% 22%, 30% 28%, 22% 8%, 38% 18%);
  background-color: #0a0614;
  filter: drop-shadow(0 0 20px rgba(255, 45, 149, 0.25));
}

.bg-palm-l { left: -6%; transform: scaleX(-1) rotate(-4deg); }
.bg-palm-r { right: -6%; transform: rotate(3deg); }

.bg-grid {
  position: absolute;
  inset: 45% -10% -5%;
  background-image:
    linear-gradient(rgba(255, 45, 149, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 28px;
  transform: perspective(420px) rotateX(58deg);
  transform-origin: top center;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent);
  animation: gridRush 12s linear infinite;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 45%, transparent 60%, rgba(5, 2, 10, 0.18) 100%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 2px,
    rgba(0, 240, 255, 0.35) 2px 3px
  );
}

/* ===== CARD ===== */
.card {
  position: relative;
  z-index: 1;
  width: min(100% - 1.2rem, 24rem);
  margin: 0 auto;
  min-height: 100svh;
  padding: max(0.85rem, env(safe-area-inset-top)) 0.85rem max(0.85rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0.65rem;
}

.card-glow {
  position: absolute;
  inset: clamp(6.6rem, 16svh, 8.6rem) 0 4%;
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(255, 45, 149, 0.22), rgba(0, 240, 255, 0.12), rgba(255, 213, 106, 0.1));
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
}

.card-shine {
  position: absolute;
  inset: clamp(6.6rem, 16svh, 8.6rem) 0 3%;
  border-radius: 1.35rem;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(8, 4, 16, 0.06), rgba(8, 4, 16, 0.12)) padding-box,
    linear-gradient(135deg, rgba(255, 213, 106, 0.85), rgba(255, 45, 149, 0.7), rgba(0, 240, 255, 0.65), rgba(255, 213, 106, 0.85)) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 45, 149, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: -1;
  pointer-events: none;
  animation: borderShift 8s linear infinite;
  background-size: 100% 100%, 300% 300%;
}

/* ===== HERO ===== */
.hero { text-align: center; position: relative; }

.sfx-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 8, 28, 0.72);
  color: var(--ink);
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 2;
}

.sfx-btn.is-muted {
  opacity: 0.45;
}

.hero-pills {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.42rem;
}

.hero-pills .live-badge {
  margin-top: 0;
}

.share-pill {
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
  font-family: var(--tech);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.brand-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 0 28px rgba(255, 45, 149, 0.25),
    0 0 42px rgba(0, 240, 255, 0.14);
}

.brand-ring::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 55deg,
    var(--pink) 95deg,
    var(--cyan) 130deg,
    transparent 165deg 235deg,
    var(--gold) 275deg,
    var(--pink) 310deg,
    transparent 345deg 360deg
  );
  animation: spin 3.8s linear infinite;
  opacity: 0.95;
}

.brand-ring::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 1rem;
  background: radial-gradient(circle at 50% 40%, rgba(28, 12, 46, 0.96), #090412 85%);
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: clamp(7rem, 24svh, 10rem);
  max-width: min(92%, 19rem);
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 45, 149, 0.55))
    drop-shadow(0 0 30px rgba(0, 240, 255, 0.25));
}

.tagline {
  margin-top: 0.55rem;
  font-family: var(--tech);
  font-weight: 700;
  font-size: clamp(0.62rem, 2.8vw, 0.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--gold), #fff, var(--pink2), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3.5s linear infinite;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.42rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.08);
  font-family: var(--tech);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #7dff7a;
}

.live-badge i {
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #7dff7a;
  box-shadow: 0 0 8px #7dff7a;
  animation: livePulse 1.6s ease-in-out infinite;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  color: var(--gold);
  font-size: 0.55rem;
  opacity: 0.85;
}

.divider span {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
}

/* ===== SECTIONS ===== */
.stash h2,
.contact h2 {
  text-align: center;
  margin-bottom: 0.35rem;
}

.hint-tap {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 247, 251, 0.45);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.stash h2 span,
.contact h2 span {
  font-family: var(--tech);
  font-size: clamp(0.68rem, 2.8vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--ink);
  text-shadow:
    0 0 12px rgba(255, 45, 149, 0.6),
    0 0 24px rgba(0, 240, 255, 0.25);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0 0.15rem;
}

.item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 4.8rem;
  padding: 0.5rem 0.95rem 0.5rem 0.6rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(16, 8, 32, 0.66), rgba(10, 5, 22, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  animation: cardEnter 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.item:nth-child(1) { animation-delay: 0.04s; }
.item:nth-child(2) { animation-delay: 0.10s; }
.item:nth-child(3) { animation-delay: 0.16s; }
.item:nth-child(4) { animation-delay: 0.22s; }
.item:nth-child(5) { animation-delay: 0.28s; }

.item:hover {
  transform: perspective(500px) rotateX(4deg) translateY(-3px) scale(1.02);
}

.item:active {
  transform: scale(0.96);
}

.item::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -120%;
  width: 65%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: holoShine 5.5s ease-in-out infinite;
}

.item:nth-child(2)::after { animation-delay: 0.7s; }
.item:nth-child(3)::after { animation-delay: 1.4s; }
.item:nth-child(4)::after { animation-delay: 2.1s; }
.item:nth-child(5)::after { animation-delay: 2.8s; }

.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
  pointer-events: none;
}

.item.span {
  width: 100%;
}

.item-img {
  position: relative;
  width: clamp(4.2rem, 16vw, 5rem);
  height: clamp(4.2rem, 16vw, 5rem);
  object-fit: cover;
  border-radius: 0.65rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}

.item-info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  max-width: calc(100% - 9.5rem);
  pointer-events: none;
}

.item strong {
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.item-sub {
  font-family: var(--tech);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 247, 251, 0.72);
}

.item-arrow-img {
  position: relative;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 0.45rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.35));
}

.delivery-note {
  margin: 0 0.15rem 0.5rem;
  padding: 0.42rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: linear-gradient(90deg, rgba(255, 45, 149, 0.12), rgba(0, 240, 255, 0.1));
  text-align: center;
  font-size: clamp(0.64rem, 2.5vw, 0.74rem);
  font-weight: 600;
  color: rgba(255, 247, 251, 0.88);
  letter-spacing: 0.03em;
}

.delivery-note span {
  font-family: var(--tech);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-right: 0.35rem;
}

.item.coke { color: #d9f1ff; box-shadow: 0 0 18px rgba(180, 220, 255, 0.12), 0 8px 20px rgba(0,0,0,0.28); border-color: rgba(200, 230, 255, 0.35); }
.item.keto { color: #e4c6ff; border-color: rgba(177, 79, 255, 0.4); box-shadow: 0 0 18px rgba(177, 79, 255, 0.15), 0 8px 20px rgba(0,0,0,0.28); }
.item.jaune { color: #ffe566; border-color: rgba(255, 213, 106, 0.45); box-shadow: 0 0 18px rgba(255, 213, 106, 0.16), 0 8px 20px rgba(0,0,0,0.28); }
.item.filtrer { color: #ff9b6b; border-color: rgba(255, 107, 53, 0.45); box-shadow: 0 0 18px rgba(255, 107, 53, 0.15), 0 8px 20px rgba(0,0,0,0.28); }
.item.ganja { color: #7dff7a; border-color: rgba(57, 255, 20, 0.4); box-shadow: 0 0 18px rgba(57, 255, 20, 0.14), 0 8px 20px rgba(0,0,0,0.28); }

.item.coke:hover { box-shadow: 0 0 26px rgba(0, 240, 255, 0.42), 0 10px 24px rgba(0,0,0,0.4); border-color: rgba(0, 240, 255, 0.75); }
.item.keto:hover { box-shadow: 0 0 26px rgba(177, 79, 255, 0.45), 0 10px 24px rgba(0,0,0,0.4); border-color: rgba(177, 79, 255, 0.8); }
.item.jaune:hover { box-shadow: 0 0 26px rgba(255, 213, 106, 0.45), 0 10px 24px rgba(0,0,0,0.4); border-color: rgba(255, 213, 106, 0.8); }
.item.filtrer:hover { box-shadow: 0 0 26px rgba(255, 107, 53, 0.45), 0 10px 24px rgba(0,0,0,0.4); border-color: rgba(255, 107, 53, 0.8); }
.item.ganja:hover { box-shadow: 0 0 26px rgba(57, 255, 20, 0.4), 0 10px 24px rgba(0,0,0,0.4); border-color: rgba(57, 255, 20, 0.75); }

.item.is-rupture {
  opacity: 0.48;
  filter: grayscale(0.75);
  cursor: not-allowed;
}

.item.is-rupture:hover {
  transform: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.item.is-rupture::after {
  animation: none;
  display: none;
}

.rupture-stamp {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  right: -0.9rem;
  padding: 0.12rem 1.1rem;
  background: rgba(255, 45, 95, 0.92);
  color: #fff;
  font-family: var(--tech);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: rotate(22deg);
  box-shadow: 0 2px 10px rgba(255, 45, 95, 0.5);
}

.item-bag-qty {
  position: relative;
  z-index: 2;
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.65);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  color: var(--cyan);
  font-family: var(--tech);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(14px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes holoShine {
  0%, 72% { left: -120%; }
  100% { left: 160%; }
}

@keyframes livePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ===== CTA ===== */
.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0 0.1rem;
}

.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 0.35rem 0.6rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.cta:active { transform: scale(0.96); }

.cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.35), transparent 55%);
  animation: glowDrift 4s ease-in-out infinite;
  pointer-events: none;
}

.cta.wa .cta-glow { background: radial-gradient(circle, rgba(0, 240, 255, 0.3), transparent 55%); }
.cta.tg .cta-glow { background: radial-gradient(circle, rgba(177, 79, 255, 0.35), transparent 55%); }

.cta img {
  position: relative;
  z-index: 1;
  width: clamp(2.7rem, 9vw, 3.3rem);
  height: clamp(2.7rem, 9vw, 3.3rem);
  object-fit: contain;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  filter: none;
}

.cta.wa img,
.cta.tg img,
.cta.snap img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.cta em {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-family: var(--tech);
  font-weight: 700;
  font-size: clamp(0.62rem, 2.6vw, 0.72rem);
  letter-spacing: 0.18em;
}

.legal {
  text-align: center;
  font-size: 0.58rem;
  color: rgba(255, 247, 251, 0.32);
  letter-spacing: 0.02em;
}

/* ===== MOTION ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sunPulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -40%) scale(1); }
  50% { opacity: 0.65; transform: translate(-50%, -40%) scale(1.05); }
}
@keyframes gridRush {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 28px, 36px 0; }
}
@keyframes shimmer {
  to { background-position: 200% center; }
}
@keyframes borderShift {
  0% { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, 100% 50%; }
}
@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(10%, -8%); opacity: 1; }
}

@media (min-width: 768px) {
  .cta:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 213, 106, 0.55);
  }
}

@media (max-height: 680px) {
  .logo { height: 6rem; max-width: 85%; }
  .item { min-height: 3.2rem; }
  .item-img { width: 2.8rem; height: 2.8rem; }
  .cta { padding: 0.5rem 0.25rem; }
  .cta img { width: 2.4rem; height: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== SHEET / MODAL ===== */
body.sheet-open {
  overflow: hidden;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.sheet[hidden] {
  display: none !important;
}

.sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 1, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.sheet-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  max-height: 98svh;
  padding: 0.55rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
  border-radius: 1.35rem 1.35rem 0 0;
  background:
    linear-gradient(180deg, rgba(28, 12, 42, 0.98), rgba(10, 5, 20, 0.98));
  border: 1px solid rgba(255, 45, 149, 0.35);
  border-bottom: 0;
  box-shadow:
    0 -20px 60px rgba(255, 45, 149, 0.18),
    0 -8px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(105%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.sheet.is-open .sheet-panel {
  transform: translateY(0);
}

.sheet-handle {
  width: 2.6rem;
  height: 0.28rem;
  margin: 0.15rem auto 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.sheet-x {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
}

.sheet-product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.18), rgba(0, 240, 255, 0.1));
  border: 1px solid rgba(255, 213, 106, 0.3);
}

.sheet-img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.65rem;
  object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(255, 213, 106, 0.35));
}

.sheet-kicker {
  font-family: var(--tech);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

#sheet-title {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 45, 149, 0.4);
}

.sheet-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-bottom: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.22);
}

.sheet-price-line {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  font-family: var(--tech);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  line-height: 1.25;
}

.tier-strike {
  font-size: 0.72rem;
  color: rgba(255, 247, 251, 0.45);
  text-decoration: line-through;
}

.tier-save {
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.16);
  border: 1px solid rgba(57, 255, 20, 0.45);
  color: #7dff7a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.sheet-price-note {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.sheet-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.12), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(255, 45, 149, 0.3);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.qty-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 45, 149, 0.55);
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.28), rgba(0, 240, 255, 0.2));
  box-shadow: 0 0 12px rgba(255, 45, 149, 0.25);
  color: var(--ink);
  font-family: var(--tech);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.qty-btn:hover:not(:disabled) {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}

.qty-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-val {
  min-width: 2.6rem;
  text-align: center;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.qty-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.05;
}

.qty-total small {
  font-family: var(--tech);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 247, 251, 0.6);
}

.qty-total strong {
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 213, 106, 0.45);
}

.qty-total-nums {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.qty-save {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--tech);
}

.qty-save s {
  font-size: 0.72rem;
  color: rgba(255, 247, 251, 0.45);
}

.qty-save em {
  font-style: normal;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(57, 255, 20, 0.16);
  border: 1px solid rgba(57, 255, 20, 0.45);
  color: #7dff7a;
  font-size: 0.6rem;
  font-weight: 800;
}

body.has-cart .card {
  padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
}

.qty-total strong.is-flash {
  animation: priceFlash 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes priceFlash {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); color: var(--cyan); text-shadow: 0 0 16px rgba(0, 240, 255, 0.75); }
  100% { transform: scale(1); }
}

.cart-bar {
  position: fixed;
  left: 50%;
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 90;
  width: min(calc(100% - 1.2rem), 24rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.95rem;
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.68),
    0 0 26px rgba(0, 240, 255, 0.24);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.cart-bar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26rem;
  height: 26rem;
  margin-left: -13rem;
  margin-top: -13rem;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 60deg,
    var(--cyan) 105deg,
    var(--pink) 150deg,
    transparent 190deg 245deg,
    var(--gold) 290deg,
    var(--cyan) 330deg,
    transparent 360deg
  );
  animation: spin 3.2s linear infinite;
  z-index: 0;
}

.cart-bar::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(0.95rem - 2px);
  background: rgba(12, 6, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 0;
}

.cart-bar-left,
.cart-bar-total {
  position: relative;
  z-index: 1;
}

.cart-bar:active {
  transform: translateX(-50%) scale(0.97);
}

.cart-bar.is-pop {
  animation: bagPop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-bar[hidden] {
  display: none !important;
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-bar-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.55rem;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(255, 45, 149, 0.5));
}

.cart-bar-left span {
  font-family: var(--tech);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-bar-total {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 213, 106, 0.45);
}

.bag-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px) scale(0.92);
  z-index: 95;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.5);
  background: rgba(12, 6, 24, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 240, 255, 0.28);
  color: var(--cyan);
  font-family: var(--tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.bag-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@keyframes bagPop {
  0% { transform: translateX(-50%) scale(1); }
  35% {
    transform: translateX(-50%) scale(1.06) translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 32px rgba(0, 240, 255, 0.55);
  }
  100% { transform: translateX(-50%) scale(1); }
}

.sheet-qty-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.sheet-qty-wrap .sheet-qty {
  margin-bottom: 0;
}

.qty-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.qty-preset {
  flex: 1 1 auto;
  min-width: 3rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 247, 251, 0.8);
  font-family: var(--tech);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-preset.is-active {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.16);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.btn-neon-orbit {
  position: relative;
  width: 100%;
  min-height: 3.75rem;
  padding: 1.05rem 1.2rem;
  border: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(0, 240, 255, 0.18);
  color: var(--ink);
  font-family: var(--tech);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease;
}

.btn-neon-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28rem;
  height: 28rem;
  margin-left: -14rem;
  margin-top: -14rem;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 60deg,
    var(--cyan) 105deg,
    var(--pink) 150deg,
    transparent 190deg 245deg,
    var(--gold) 290deg,
    var(--cyan) 330deg,
    transparent 360deg
  );
  animation: spin 3.2s linear infinite;
  z-index: 0;
}

.btn-neon-orbit::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(0.85rem - 2px);
  background: rgba(12, 6, 24, 0.94);
  z-index: 0;
}

.btn-neon-orbit span {
  position: relative;
  z-index: 1;
}

.btn-neon-orbit:active {
  transform: scale(0.98);
}

.btn-add-cart {
  margin-bottom: 0.55rem;
}

.sheet-cart {
  margin-bottom: 0.55rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 45, 149, 0.25);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.cart-item-img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.45rem;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  font-weight: 600;
  color: var(--ink);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.cart-mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.15rem 0.28rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-qty-btn {
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 0.3rem;
  background: rgba(255, 45, 149, 0.26);
  color: #fff;
  font-family: var(--tech);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.mini-qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.mini-qty-val {
  min-width: 1.8rem;
  text-align: center;
  font-family: var(--tech);
  font-size: 0.68rem;
  font-weight: 700;
}

.cart-item-prices {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cart-item-prices s {
  font-family: var(--tech);
  font-size: 0.66rem;
  color: rgba(255, 247, 251, 0.42);
}

.cart-item-right strong {
  font-family: var(--tech);
  font-size: 0.78rem;
  color: var(--cyan);
}

.cart-item-del {
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-clear-cart {
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 75, 100, 0.4);
  background: rgba(255, 75, 100, 0.12);
  color: #ff8596;
  font-family: var(--tech);
  font-size: 0.58rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-total-right {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.cart-total-right span {
  font-family: var(--tech);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: rgba(255, 247, 251, 0.65);
}

.cart-total-right strong {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold);
}

.delivery-place-wrap {
  margin-bottom: 0.55rem;
}

.delivery-place-input {
  width: 100%;
  padding: 0.48rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.8rem;
}

.delivery-place-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.btn-back-bag {
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.72rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 247, 251, 0.78);
  font-family: var(--tech);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.delivery-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
}

.delivery-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.delivery-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

.delivery-label em {
  font-style: normal;
  font-family: var(--tech);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
}

.toggle-switch {
  position: relative;
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(1.35rem - 6px);
  height: calc(1.35rem - 6px);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-toggle input:checked ~ .toggle-switch {
  background: rgba(0, 240, 255, 0.35);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.delivery-toggle input:checked ~ .toggle-switch::after {
  transform: translateX(1.15rem);
  background: var(--cyan);
}

.msg-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  padding: 0.48rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.msg-preview {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  color: rgba(255, 247, 251, 0.75);
  line-height: 1.3;
  word-break: break-word;
}

.btn-copy {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--tech);
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
}

.sheet-help {
  font-size: 0.82rem;
  color: rgba(255, 247, 251, 0.6);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sheet-btn {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: #0a0612;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, filter 0.15s ease;
}

.sheet-btn:active {
  transform: scale(0.98);
}

.sheet-btn img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
}

.sheet-btn span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sheet-btn strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.sheet-btn small {
  font-size: 0.72rem;
  opacity: 0.75;
  font-weight: 600;
}

.sheet-btn em {
  font-style: normal;
  font-family: var(--tech);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.sheet-btn.snap {
  background: linear-gradient(90deg, #fffc00, #ffe566);
}
.sheet-btn.wa {
  background: linear-gradient(90deg, #1fd15a, #00e5ff);
}
.sheet-btn.tg {
  background: linear-gradient(90deg, #2aabee, #b14fff);
  color: #fff;
}
