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

:root {
  --bg-0: #070014;
  --bg-1: #13002f;
  --bg-2: #240046;
  --card: rgba(255, 255, 255, 0.115);
  --card-strong: rgba(17, 7, 34, 0.82);
  --line: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #c7b7ff;
  --soft: #f3e8ff;
  --pink: #ff2bd6;
  --pink-2: #ff5af7;
  --purple: #7c3cff;
  --blue: #00d4ff;
  --green: #00ff9d;
  --yellow: #ffe66d;
  --orange: #ff8a00;
  --danger: #ff4560;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 43, 214, 0.34), transparent 34%),
    radial-gradient(circle at 90% 14%, rgba(0, 212, 255, 0.28), transparent 30%),
    radial-gradient(circle at 45% 88%, rgba(124, 60, 255, 0.38), transparent 34%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 50%, #050816);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -4;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' 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='220' height='220' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.58;
  z-index: -2;
}

.orb-pink {
  width: 380px;
  height: 380px;
  top: -120px;
  left: -90px;
  background: var(--pink);
}

.orb-blue {
  width: 420px;
  height: 420px;
  top: 170px;
  right: -160px;
  background: var(--blue);
}

.orb-yellow {
  width: 360px;
  height: 360px;
  bottom: -180px;
  left: 34%;
  background: rgba(255, 230, 109, 0.35);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 0, 23, 0.76);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, #fff, transparent 16%),
    linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 0 34px rgba(255, 43, 214, 0.42);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.24rem;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 30px);
  min-width: 0;
  color: var(--soft);
  font-size: 0.93rem;
}

.nav-links a,
.mini-link {
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after,
.mini-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transition: right 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active-link,
.mini-link:hover {
  color: white;
}

.nav-links a:hover::after,
.nav-links a.active-link::after,
.mini-link:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.search {
  position: relative;
  display: block;
  width: min(260px, 23vw);
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 12px 16px 12px 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search input:focus {
  border-color: rgba(0, 212, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.16);
}

.cart-fab,
.menu-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.25), rgba(0, 212, 255, 0.18)),
    rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cart-fab:hover,
.menu-button:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.42), rgba(0, 212, 255, 0.3)),
    rgba(255, 255, 255, 0.14);
}

.cart-fab svg,
.menu-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid var(--bg-1);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #030712;
  font-size: 0.72rem;
  font-weight: 1000;
}

.menu-button {
  display: none;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 18px 0 22px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .search {
  width: 100%;
  margin-bottom: 16px;
}

.mobile-links {
  display: grid;
  gap: 14px;
  color: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
  padding: 80px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 90, 247, 0.36);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.17), rgba(0, 212, 255, 0.12));
  color: #fff;
  padding: 10px 16px;
  font-weight: 900;
  font-size: 0.92rem;
  box-shadow: 0 0 24px rgba(255, 43, 214, 0.15);
}

.eyebrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.hero h1,
.cart-hero h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(3.25rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  font-weight: 1000;
}

.hero h1 {
  background: linear-gradient(90deg, #fff, #ffd6fb 35%, #9bf6ff 70%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p,
.cart-hero p {
  max-width: 640px;
  margin-top: 24px;
  color: var(--soft);
  font-size: 1.14rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-button,
.secondary-button,
.buy-button,
.feature-buy-button,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 1000;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  padding: 16px 26px;
  color: #080014;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 42px rgba(0, 212, 255, 0.25);
}

.secondary-button {
  padding: 15px 25px;
  color: white;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.09);
}

.primary-button:hover,
.secondary-button:hover,
.buy-button:hover,
.feature-buy-button:hover,
.checkout-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(530px, 100%);
  gap: 13px;
  margin-top: 38px;
}

.stat-card,
.benefit-card,
.product-card,
.cart-panel,
.summary-panel,
.rarity-banner {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 18px;
}

.stat-card span {
  display: block;
  font-size: 1.75rem;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.stat-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.hero-card-wrap {
  position: relative;
}

.hero-card-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 46px;
  background: conic-gradient(from 140deg, var(--pink), var(--purple), var(--blue), var(--green), var(--pink));
  filter: blur(18px);
  opacity: 0.55;
  z-index: -1;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 500px;
  border-radius: 28px;
  object-fit: cover;
}

.tag-pill-group {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  z-index: 2;
}

.unavailable-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,138,0,0.18);
  border: 1px solid rgba(255,138,0,0.38);
  color: #ffca80;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 1000;
  backdrop-filter: blur(10px);
  letter-spacing: 0.06em;
}

.hero-badge {
  position: absolute;
  top: 15px;
  left: 15px;
}

.tag-pill, .hero-badge {
  background: rgba(8, 0, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(8, 0, 23, 0.74);
  padding: 20px;
  backdrop-filter: blur(18px);
}

.featured-card small,
.rarity-banner small,
.back-link {
  color: var(--pink-2);
  font-size: 0.84rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.featured-card strong {
  display: block;
  margin-top: 5px;
  font-size: 1.75rem;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.feature-buy-button,
.buy-button {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 16px 36px rgba(255, 43, 214, 0.28);
}

.feature-buy-button {
  padding: 14px 18px;
  border-radius: 18px;
  white-space: nowrap;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 0 54px;
}

.benefit-card {
  border-radius: 28px;
  padding: 24px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.22);
}

.benefit-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  font-size: 1.08rem;
  font-weight: 1000;
}

.benefit-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.rarity-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.18), rgba(0, 255, 157, 0.1)),
    var(--card);
}

.rarity-banner h2 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section {
  padding: 72px 0;
}

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

.section-title-area {
  min-width: 260px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--pink-2);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.45rem, 4vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  font-weight: 1000;
}

.filters-wrap {
  min-width: 0;
  max-width: 100%;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 590px;
  overflow: visible;
  padding: 4px;
}

.filter-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--soft);
  padding: 11px 18px;
  font-weight: 1000;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.filter-button.active {
  color: #070014;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 10px 28px rgba(255, 138, 0, 0.28);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border-radius: 30px;
  padding: 12px;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(255, 255, 255, 0.15);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 23px;
}

.product-image-wrap img {
  width: 100%;
  height: 285px;
  min-height: 285px;
  background: rgba(0, 0, 0, 0.2);
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.tag-pill {
  position: absolute;
  top: 15px;
  left: 15px;
  border-radius: 999px;
  background: rgba(8, 0, 23, 0.72);
  color: white;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 1000;
  backdrop-filter: blur(12px);
}

.heart-button {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: white;
  border: 1px solid var(--line);
  background: rgba(8, 0, 23, 0.72);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.heart-button:hover {
  transform: scale(1.05);
}

.heart-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.heart-button.liked {
  color: var(--pink-2);
  background: rgba(255, 43, 214, 0.14);
}

.heart-button.liked svg {
  fill: currentColor;
}

.product-body {
  padding: 17px 14px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.category-pill {
  border-radius: 999px;
  background: rgba(255, 43, 214, 0.14);
  color: #ffd6fb;
  padding: 7px 11px;
  font-size: 0.77rem;
  font-weight: 1000;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--yellow);
  font-weight: 1000;
}

.product-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.product-anime {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.swatches {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.swatch {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.product-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.old-price {
  color: #a78bfa;
  text-decoration: line-through;
  font-size: 0.88rem;
}

.price {
  margin-top: 1px;
  font-size: 1.65rem;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.buy-button {
  border-radius: 18px;
  padding: 13px 18px;
}

.empty-state {
  display: none;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  padding: 42px 20px;
  text-align: center;
  color: var(--soft);
}

.cart-hero {
  padding: 58px 0 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
}

.cart-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  color: white;
}

.cart-hero p {
  max-width: 740px;
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
  padding: 34px 0 82px;
}

.cart-panel,
.summary-panel {
  border-radius: var(--radius-xl);
  padding: 25px;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.cart-title {
  margin-top: 6px;
  font-size: 2rem;
  font-weight: 1000;
  letter-spacing: -0.06em;
}

.items-pill {
  border-radius: 999px;
  color: #070014;
  background: linear-gradient(135deg, var(--green), var(--blue));
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 1000;
  white-space: nowrap;
}

.cart-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  text-align: center;
  padding: 30px;
}

.cart-empty svg {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.cart-empty strong {
  display: block;
  font-size: 1.08rem;
}

.cart-empty p {
  max-width: 450px;
  margin: 8px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.cart-empty .secondary-button {
  margin-top: 20px;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 26px;
  background: rgba(8, 0, 23, 0.5);
  padding: 14px;
}

.cart-item img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
}

.cart-item-title {
  font-weight: 1000;
  letter-spacing: -0.035em;
}

.cart-item-price {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 4px;
}

.qty-button,
.trash-button {
  display: grid;
  place-items: center;
  color: white;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.qty-button {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
}

.qty-button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.16);
}

.qty-button svg,
.trash-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qty-number {
  width: 36px;
  text-align: center;
  font-weight: 1000;
}

.trash-button {
  width: 42px;
  height: 42px;
  color: #fecaca;
  background: rgba(255, 69, 96, 0.14);
}

.trash-button:hover {
  transform: scale(1.05);
  background: rgba(255, 69, 96, 0.24);
}

.summary-panel {
  position: sticky;
  top: 104px;
  background:
    linear-gradient(135deg, rgba(255, 43, 214, 0.13), rgba(0, 212, 255, 0.08)),
    var(--card);
}

.summary-title {
  font-size: 1.65rem;
  font-weight: 1000;
  letter-spacing: -0.055em;
}

.coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  border: 1px dashed rgba(0, 255, 157, 0.45);
  border-radius: 20px;
  background: rgba(0, 255, 157, 0.08);
  padding: 14px;
}

.coupon-box span {
  color: var(--muted);
  font-size: 0.86rem;
}

.coupon-box strong {
  color: var(--green);
  font-size: 0.92rem;
}

.summary-lines {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  color: var(--soft);
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.summary-total {
  font-size: 1.24rem;
  font-weight: 1000;
}

.checkout-button {
  width: 100%;
  margin-top: 24px;
  border-radius: 20px;
  padding: 16px;
  color: #070014;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 18px 40px rgba(255, 138, 0, 0.25);
}

.checkout-button:disabled {
  cursor: not-allowed;
  color: #8b7aaa;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.summary-note {
  margin-top: 15px;
  color: var(--muted);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(380px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 0, 23, 0.88);
  color: white;
  padding: 15px 17px;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  backdrop-filter: blur(18px);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.68s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .search {
    width: 250px;
  }
}

@media (max-width: 980px) {
  .hero,
  .cart-page-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .product-grid,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-panel {
    position: static;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .filters {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 36px;
    padding: 44px 0 38px;
  }

  .hero h1,
  .cart-hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.7rem);
  }

  .hero p,
  .cart-hero p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-buttons,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .stats,
  .benefits,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 430px;
  }

  .featured-card {
    left: 24px;
    right: 24px;
    bottom: 24px;
    grid-template-columns: 1fr;
  }

  .feature-buy-button {
    width: 100%;
  }

  .rarity-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters-wrap {
    width: 100%;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 2px 0;
  }

  .filter-button {
    width: 100%;
    padding: 12px 10px;
  }

  .cart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item {
    grid-template-columns: 82px 1fr;
  }

  .cart-item img {
    width: 82px;
    height: 82px;
  }

  .cart-controls {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}


/* ── Faixa Shopee ─────────────────────────────────────────────────────────── */

.shopee-bar {
  position: relative;
  z-index: 55;
  background: rgba(12,2,24,0.96);
  border-bottom: 1px solid rgba(238,77,45,0.28);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.83rem;
  color: #ffd6b3;
}


.shopee-bar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  transition: color 0.18s ease;
}

.shopee-bar a:hover { color: #fff; }

.shopee-bar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ff7c4d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.shopee-bar strong { color: #ff7c4d; }

/* ── Multi-category pills ─────────────────────────────────────────────────── */

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category-pills .category-pill { font-size: 0.72rem; padding: 5px 9px; }

/* ── Variant thumbnails (imagens clicáveis) ───────────────────────────────── */

.variant-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.variant-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
  min-width: 54px;
}

.variant-thumb img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
}

.variant-thumb span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
}

.variant-thumb:hover {
  border-color: rgba(0,212,255,0.5);
  transform: translateY(-2px);
}

.variant-thumb.active {
  border-color: var(--blue);
  background: rgba(0,212,255,0.09);
}

.variant-thumb.active span { color: var(--blue); }

/* ── Galeria: setas e dots ────────────────────────────────────────────────── */

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(8,0,23,0.7);
  border: 1px solid var(--line);
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.product-card:hover .gallery-arrow { opacity: 1; }

.gallery-arrow:hover { transform: translateY(-50%) scale(1.08); }

.gallery-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
  padding: 0;
}

.gallery-dot.active {
  background: white;
  width: 18px;
}


/* leve opacidade na imagem — não apaga o card, só sinaliza suavemente */
.product-unavailable .product-main-img {
  opacity: 0.82;
  filter: saturate(0.7);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.product-unavailable:hover .product-main-img {
  opacity: 1;
  filter: saturate(1);
}

.price-unavailable {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.verify-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 18px;
  padding: 13px 16px;
  font-weight: 1000;
  color: white;
  background: linear-gradient(135deg, rgba(0,212,255,0.22), rgba(124,60,255,0.22));
  border: 1px solid rgba(0,212,255,0.35);
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.verify-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0,212,255,0.32), rgba(124,60,255,0.32));
}

.verify-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Preço ÚLTIMO (Indisponível) ──────────────────────────────────────────── */

.unavailable-price-block {
  display: flex;
  flex-direction: column;
}

.last-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: -2px;
}

/* ── Campo de cupom no carrinho ───────────────────────────────────────────── */

.coupon-box-wrapper {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coupon-box-wrapper label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coupon-input-box {
  display: flex;
  gap: 8px;
}

.coupon-input-box input {
  flex: 1;
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 12px;
  background: rgba(0,255,157,0.04);
  color: white;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
  font-weight: bold;
}

.coupon-input-box input::placeholder { 
  color: rgba(255,255,255,0.3); 
  font-weight: normal;
}

.coupon-input-box input:focus {
  border-color: var(--green);
  background: rgba(0,255,157,0.08);
}

.coupon-apply-btn {
  background: rgba(0,255,157,0.15);
  color: var(--green);
  border: 1px solid rgba(0,255,157,0.3);
  border-radius: 12px;
  padding: 0 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coupon-apply-btn:hover {
  background: rgba(0,255,157,0.25);
  border-color: var(--green);
}

.coupon-message {
  font-size: 0.8rem;
  height: 1.2em; /* fixed height layout shift prevention */
}

.coupon-message.success { color: var(--green); }
.coupon-message.error { color: #ff5e5e; }

/* ── Checkout WhatsApp button ─────────────────────────────────────────────── */


.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.checkout-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 420px) {
  .brand small { display: none; }
  .brand strong { font-size: 1.1rem; }
  .hero-card img { height: 380px; }
  .filters { grid-template-columns: 1fr; }
  .product-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
  .buy-button { justify-content: center; width: auto; align-self: flex-start; }
  .verify-button { justify-content: center; width: auto; align-self: flex-start; }
  .variant-thumb img { width: 38px; height: 38px; }
  .variant-thumb { min-width: 46px; }
  .shopee-bar { font-size: 0.76rem; }
}

/* ── Galeria no Card ──────────────────────────────────────────────────────── */

.gallery-controls {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 0, 23, 0.6);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.product-image-wrap:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }
.gallery-arrow:hover { background: var(--primary); }

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: 0.2s;
}

.gallery-dot.active, .gallery-dot:hover {
  background: white;
  transform: scale(1.2);
}
