:root {
  --bg: #05060b;
  --bg-2: #0b0d16;
  --bg-3: #121526;
  --line: rgba(124, 92, 252, 0.22);
  --line-2: rgba(255, 255, 255, 0.06);
  --gold: #7c5cfb;
  --gold-2: #22d3ee;
  --gold-dim: rgba(124, 92, 251, 0.16);
  --ink: #eef3ff;
  --mute: #8b93ad;
  --mute-2: #c5cbe0;
  --violet: #a855f7;
  --rose: #fb7185;
  --ok: #34d399;
  --danger: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-d: "Orbitron", sans-serif;
  --font-s: "Orbitron", sans-serif;
  --font-b: "Rajdhani", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  background: radial-gradient(900px 500px at 85% 0%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(800px 480px at 0% 10%, rgba(168, 85, 247, 0.16), transparent 46%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
}

body {
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

html.age-ok body {
  overflow: auto;
}

html.age-ok .age {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

::selection {
  background: #7c5cfb;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #07080e;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7, #22d3ee);
  border-radius: 99px;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.spot {
  pointer-events: none;
  position: fixed;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 68%);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.glow {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
}
.glow-a {
  top: -10%;
  left: -8%;
  background: #6d28d9;
  animation: drift 18s ease-in-out infinite;
}
.glow-b {
  right: -10%;
  bottom: 10%;
  background: #0891b2;
  animation: drift 22s ease-in-out infinite reverse;
}

.smoke-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.age {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #03040a;
  overflow: hidden;
}

.age[hidden] {
  display: none;
}

.age::before,
.age::after {
  content: "";
  position: absolute;
  width: 55vmax;
  height: 40vmax;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite;
}
.age::before {
  background: #6d28d9;
  top: -20%;
  left: -12%;
}
.age::after {
  background: #0e7490;
  bottom: -18%;
  right: -10%;
}

.age-card {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 32px));
  padding: 52px 36px;
  border-radius: 28px;
  background: rgba(11, 13, 22, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.18);
  text-align: center;
}

.age-kicker {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.age-card h1 {
  font-family: var(--font-d);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 800;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 14px;
}

.age-card h1 em {
  font-style: italic;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.age-card p {
  color: var(--mute-2);
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-size: 17px;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.25s ease;
}

.btn-gold {
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.45);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--mute-2);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  min-height: 42px;
  padding: 0 16px;
}

.age-foot {
  margin-top: 22px;
  font-size: 12px;
  color: var(--mute);
}

.marquee {
  overflow: hidden;
  padding: 12px 0;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.12), rgba(34, 211, 238, 0.1));
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-d);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: #c4b5fd;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-track span::after {
  content: "✦";
  color: #22d3ee;
}

.nav {
  position: sticky;
  top: 10px;
  z-index: 40;
  margin: 12px auto 0;
  width: min(1180px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 16px;
  border-radius: 999px;
  background: rgba(11, 13, 22, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.12);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 0.85;
}

.logo b {
  font-family: var(--font-d);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #e5e7eb, #c4b5fd, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span {
  font-family: var(--font-d);
  font-size: 10px;
  letter-spacing: 0.42em;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-left: 2px;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mute-2);
}

.nav-links a:hover {
  color: #fff;
  background: var(--gold-dim);
}

.nav-right {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
}

.icon-btn:hover {
  border-color: var(--gold-2);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.3);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.badge.off {
  display: none;
}

.menu-btn {
  display: none;
}

.hero {
  padding: 48px 0 18px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(84px, 18vw, 200px);
  line-height: 0.78;
  font-weight: 800;
  font-style: italic;
  background: linear-gradient(180deg, #ffffff 12%, #e9d5ff 48%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.45)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.22));
}

.hero h1 .line2 {
  display: block;
  margin-top: 6px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.34em;
  font-size: 0.34em;
  padding-left: 0.34em;
}

.hero-lead {
  margin: 22px auto 24px;
  max-width: 520px;
  color: var(--mute-2);
  font-size: 18px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 10px;
}

.stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stats b {
  display: block;
  font-family: var(--font-d);
  font-size: 26px;
}

.stats span {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

section {
  padding: 64px 0;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.sec-head h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  font-style: italic;
}

.sec-head h2 em {
  font-style: italic;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-head p {
  color: var(--mute);
  max-width: 280px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--mute-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 700;
}

.chip:hover,
.chip.on {
  color: #05060b;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  border-color: transparent;
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.search,
select.sort {
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.search {
  flex: 1;
  min-width: 220px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  transition: 0.3s ease;
  cursor: pointer;
}

.prod-pop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.7);
}

.prod-pop.on {
  display: grid;
}

.prod-pop-card {
  width: min(440px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #0b0d16;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.prod-pop-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-d);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
}

.prod-pop-media {
  background: #fff;
  aspect-ratio: 1;
}

.prod-pop-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.prod-pop-body {
  padding: 16px 18px 18px;
}

.prod-pop-body h3 {
  font-size: 22px;
  margin: 4px 0 8px;
}

.prod-pop-puffs {
  color: #22d3ee;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.prod-pop-desc {
  color: var(--mute-2);
  line-height: 1.5;
  margin-bottom: 12px;
}

.prod-pop-body .add {
  margin-top: 4px;
}

body.prod-open {
  overflow: hidden;
}

.card.just-added {
  border-color: #22d3ee;
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.28);
}

.card:hover {
  transform: translateY(-7px);
  border-color: #22d3ee;
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.16);
}

.card.featured {
  position: relative;
  isolation: isolate;
  border: none;
  overflow: hidden;
  box-shadow:
    0 0 16px rgba(168, 85, 247, 0.35),
    0 0 28px rgba(34, 211, 238, 0.2);
}

.card.featured::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -60%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #a855f7 40deg,
    #ffffff 70deg,
    #22d3ee 110deg,
    transparent 160deg,
    transparent 200deg,
    #a855f7 240deg,
    #22d3ee 280deg,
    #ffffff 310deg,
    transparent 360deg
  );
  animation: borderRun 2.4s linear infinite;
}

.card.featured::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 2px;
  border-radius: 20px;
  background: var(--bg-2);
}

.card.featured > * {
  position: relative;
  z-index: 1;
}

.card.featured:hover {
  transform: translateY(-7px);
  box-shadow:
    0 0 22px rgba(168, 85, 247, 0.5),
    0 0 40px rgba(34, 211, 238, 0.32);
}

.card.featured .tag {
  animation: tagGlow 1.8s ease-in-out infinite;
}

@keyframes borderRun {
  to {
    transform: rotate(1turn);
  }
}

@keyframes tagGlow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.35);
  }
  50% {
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.8);
  }
}

.card-media {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: 0.4s ease;
  background: #fff;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  z-index: 1;
}

.puffs {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 6, 11, 0.7);
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
  border: 1px solid var(--line);
}

.card-body {
  padding: 14px 16px 16px;
}

.card-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
  font-weight: 700;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.stock-line {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.stock-line.ok {
  color: #34d399;
}

.stock-line.low {
  color: #fbbf24;
}

.stock-line.out {
  color: var(--rose);
}

.add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  background: #2a2e3d;
  color: #8b93ad;
}

.price {
  font-size: 20px;
  font-weight: 800;
}

.old {
  color: var(--mute);
  text-decoration: line-through;
  font-size: 13px;
}

.add {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
  background: #fff;
  color: #05060b;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: 0.25s ease;
}

.add::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 48%, transparent 72%);
  transform: translateX(-130%);
  pointer-events: none;
}

.add:hover {
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.28);
}

.add:hover::before {
  animation: shine 0.7s ease;
}

.add.added {
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  transform: scale(1.03);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
}

.add .ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: ripple 0.62s ease-out forwards;
  z-index: 1;
}

.icon-btn.pop {
  animation: cartPop 0.5s ease;
}

.fly-img {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  transition: 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.spark {
  position: fixed;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  z-index: 210;
  pointer-events: none;
  animation: spark 0.55s ease-out forwards;
}

@keyframes cartPop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.22);
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.7);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(0.2);
  }
}

@keyframes shine {
  to {
    transform: translateX(130%);
  }
}

@keyframes ripple {
  to {
    transform: scale(16);
    opacity: 0;
  }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: var(--mute);
  border: 1px dashed var(--line);
  border-radius: 24px;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 28px;
}

.foot h3 {
  margin-bottom: 12px;
}

.foot p,
.foot a {
  color: var(--mute);
  line-height: 1.8;
}

.foot a:hover {
  color: #22d3ee;
}

.pay-ways {
  display: grid;
  gap: 8px;
}

.pay-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--mute);
  line-height: 1.3;
}

.pay-chip b {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pay-chip.pix b {
  color: #34d399;
}

.pay-chip.card b {
  color: #22d3ee;
}

.copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-by {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.dev-by b {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.22em;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
}

.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #062;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.overlay.on {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #0b0d16;
  border-left: 1px solid var(--line);
  z-index: 70;
  transform: translateX(110%);
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer.on {
  transform: none;
}

.drawer-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.drawer-h h3 {
  font-family: var(--font-d);
  font-size: 24px;
  font-style: italic;
}

.cart-list {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  font-weight: 800;
}

.coupon-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}

.coupon-box input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07080e;
  text-transform: uppercase;
}

.coupon-box .btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
}

.coupon-msg {
  min-height: 18px;
  font-size: 13px;
  margin-bottom: 10px;
}

.coupon-msg.ok {
  color: #34d399;
}

.coupon-msg.err {
  color: var(--rose);
}

.disc-row {
  color: #34d399;
}

.disc-row.hidden,
.hidden.disc-row {
  display: none !important;
}

.total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 18px;
}

.freight-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: #eef3ff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.freight-note b {
  color: #22d3ee;
}

.checkout {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

.checkout.on {
  display: grid;
}

.checkout-card {
  width: min(520px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #0b0d16;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.checkout-body {
  padding: 18px 22px 8px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.freight-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.22), rgba(34, 211, 238, 0.18));
  border: 1px solid #22d3ee;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.18);
}

.freight-banner b {
  display: block;
  font-family: var(--font-d);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22d3ee;
  margin-bottom: 4px;
}

.freight-banner span {
  color: #eef3ff;
  font-size: 14px;
}

.cep-status {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}

.cep-status.ok {
  color: #34d399;
}

.cep-status.wait {
  color: #22d3ee;
}

.cep-status.err {
  color: var(--rose);
}

.tab-count {
  display: none;
  min-width: 18px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  font-size: 11px;
  font-weight: 800;
}

.tab-count.on {
  display: inline-grid;
  place-items: center;
}

.order-row.novo td:first-child {
  box-shadow: inset 3px 0 0 #22d3ee;
}

.order-items {
  font-size: 13px;
  line-height: 1.45;
}

.order-addr {
  max-width: 220px;
  white-space: pre-line;
  color: var(--mute-2);
  font-size: 13px;
}

.contact-pill {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #22d3ee;
  font-weight: 800;
  font-size: 14px;
}

.mark-box {
  width: 22px;
  height: 22px;
  accent-color: #22d3ee;
  cursor: pointer;
}

.status-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.novo {
  background: rgba(34, 211, 238, 0.16);
  color: #22d3ee;
}

.status-pill.marcado {
  background: rgba(168, 85, 247, 0.18);
  color: #c4b5fd;
}

.status-pill.enviado,
.status-pill.concluido {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
}

.admin-body {
  background: var(--bg);
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  padding: 36px 28px;
  border-radius: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.15);
}

.login-card h1 {
  font-family: var(--font-d);
  font-size: 34px;
  font-style: italic;
  margin: 8px 0;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #07080e;
}

.field textarea {
  min-height: 90px;
  resize: vertical;
}

.err {
  color: var(--rose);
  font-size: 13px;
  min-height: 18px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.side {
  padding: 22px 16px;
  background: #07080e;
  border-right: 1px solid var(--line);
}

.side nav {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.side button,
.tab-btn {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--mute-2);
}

.side button.on,
.tab-btn.on {
  background: var(--gold-dim);
  color: #22d3ee;
}

.admin-main {
  padding: 28px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-top h2 {
  font-family: var(--font-d);
  font-size: 32px;
  font-style: italic;
}

.admin-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tools .search {
  width: min(240px, 70vw);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.6s ease-in-out infinite;
}

.order-num {
  font-family: var(--font-d);
  color: #22d3ee;
  letter-spacing: 0.04em;
  font-size: 14px;
}

.layout-2 {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
}

.box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
  font-size: 14px;
}

.table img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #10131f;
  border-radius: 10px;
}

.row-actions {
  display: flex;
  gap: 6px;
}

.mini {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.mini.edit {
  background: #fff;
  color: #05060b;
}

.mini.del {
  background: rgba(251, 113, 133, 0.12);
  color: var(--rose);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  color: #05060b;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 90;
}

.toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.preview {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #10131f;
  border-radius: 14px;
  border: 1px dashed var(--line);
}

.hidden {
  display: none !important;
}

.mobile-nav {
  display: none;
}

.featured-box {
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--gold-dim);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.switch-row b {
  display: block;
  color: #22d3ee;
  font-size: 14px;
}

.switch-row small {
  display: block;
  color: var(--mute);
  font-size: 12px;
  font-weight: 400;
}

.switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: #1a1d2c;
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c5cbe0;
  transition: 0.2s ease;
}

.switch-row input:checked + .switch {
  background: linear-gradient(90deg, #a855f7, #22d3ee);
  border-color: transparent;
}

.switch-row input:checked + .switch::after {
  left: 23px;
  background: #05060b;
}

.star-btn {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mute-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.star-btn.on {
  background: var(--gold-dim);
  color: #22d3ee;
  border-color: #22d3ee;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.65;
  }
  50% {
    opacity: 1;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(28px, -18px);
  }
}
@keyframes puffUp {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.55);
  }
  18% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translateY(-180px) scale(1.8);
  }
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid,
  .layout-2,
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .side {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .side nav {
    margin: 0;
    display: flex;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 92px;
    left: 20px;
    right: 20px;
    z-index: 45;
    padding: 14px;
    border-radius: 18px;
    background: #0b0d16;
    border: 1px solid var(--line);
  }
  .mobile-nav.on {
    display: grid;
    gap: 8px;
  }
  .wrap {
    width: min(1180px, calc(100% - 24px));
  }
  .sec-head {
    flex-direction: column;
    align-items: start;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .wa span {
    display: none;
  }
}
