@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.85);
  --accent-soft: rgba(255, 255, 255, 0.08);
  --accent-border: rgba(255, 255, 255, 0.22);
  --background: #0a0d12;
  --foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-light: rgba(255, 255, 255, 0.42);
  --border-color: rgba(255, 255, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.05);
  --container: 1280px;
  --line-width: 1px;
  --spacing: 0.25rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Dark night + falling snow */
.site-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #0c1018 0%, #0a0d12 45%, #07090d 100%);
}

.site-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(ellipse 55% 40% at 15% 20%, rgba(200, 220, 255, 0.04), transparent 50%),
    radial-gradient(ellipse 50% 35% at 88% 15%, rgba(255, 255, 255, 0.03), transparent 45%);
}

.site-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 65%);
}

.snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.snow-layer {
  position: absolute;
  left: 0;
  right: 0;
  height: 200%;
  top: -100%;
  background-repeat: repeat;
  will-change: transform;
}

.snow-layer-1 {
  background-image:
    radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 120px 180px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 200px 40px, rgba(255, 255, 255, 0.75), transparent);
  background-size: 240px 240px;
  animation: snow-fall 32s linear infinite;
  opacity: 0.55;
}

.snow-layer-2 {
  background-image:
    radial-gradient(1.5px 1.5px at 30px 90px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 100px 30px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 170px 140px, rgba(255, 255, 255, 0.55), transparent);
  background-size: 180px 180px;
  animation: snow-fall 22s linear infinite;
  opacity: 0.4;
}

.snow-layer-3 {
  background-image:
    radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 130px 120px, rgba(255, 255, 255, 0.35), transparent);
  background-size: 300px 300px;
  animation: snow-fall 42s linear infinite;
  opacity: 0.3;
}

@keyframes snow-fall {
  from { transform: translateY(0); }
  to { transform: translateY(50%); }
}

main {
  position: relative;
  z-index: 1;
}

.hidden {
  display: none !important;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

/* Header — kicia-style floating glass bar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.875rem 1rem 0;
  pointer-events: none;
}

.header-bar {
  pointer-events: auto;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.625rem 0.5rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(12, 14, 20, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 40px rgba(0, 0, 0, 0.38);
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: max-content;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-link img,
.logo-img {
  display: block;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  object-fit: contain;
  aspect-ratio: 1;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.15));
  transition: filter 0.2s ease;
}

.header-brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.header-cart svg {
  width: 1.125rem;
  height: 1.125rem;
}

.header-cart:hover,
.header-cart.active {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.06);
}

.header-cart-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--background);
  background: var(--accent);
  border-radius: 9999px;
}

.header-cart-count.hidden {
  display: none;
}

@media (min-width: 768px) {
  .header { padding: 1rem 1.5rem 0; }
  .header-bar { padding: 0.5625rem 0.75rem 0.5625rem 1rem; }
  .nav { display: flex; }
  .header-brand-group { gap: 1.25rem; }
}

@media (min-width: 1024px) {
  .header { padding: 1.125rem 2rem 0; }
}

.logo-link:hover img {
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.45))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.2));
}

.nav a {
  padding: 0.3125rem 0.5625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  transition: all 0.15s;
}

.nav a:hover {
  color: var(--foreground);
}

.nav a.active {
  color: var(--foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-lg {
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  min-width: 11rem;
}

.btn-glow {
  background: var(--accent);
  color: var(--background);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-glow:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-products {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-color);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.14),
    0 0 32px rgba(255, 255, 255, 0.08);
}

.btn-products:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.22),
    0 0 40px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-glow .btn-icon {
  color: var(--background);
}

.btn-logo {
  display: block;
  height: 1rem;
  width: 1rem;
  object-fit: contain;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

.btn-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* Animations */
@keyframes appear {
  0% { opacity: 0; filter: blur(0.5rem); transform: translateY(1rem); }
  50% { filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes marquee-drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-appear {
  animation: 0.6s ease-out forwards appear;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 5.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--background);
}

.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: -18% -4%;
  background: center / cover no-repeat url('/hero-floral-frame.png');
  filter: grayscale(1) brightness(0.52) contrast(1.12);
  opacity: 1;
  transform: scale(1.05);
  mask-image: radial-gradient(ellipse 68% 92% at 50% 44%, transparent 18%, black 52%);
  -webkit-mask-image: radial-gradient(ellipse 68% 92% at 50% 44%, transparent 18%, black 52%);
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--background) 0%, transparent 14%, transparent 86%, var(--background) 100%),
    linear-gradient(to bottom, rgba(10, 13, 18, 0.65) 0%, transparent 22%, transparent 82%, var(--background) 100%),
    radial-gradient(ellipse 42% 50% at 50% 40%, rgba(10, 13, 18, 0.55) 0%, transparent 68%);
}

.hero-bg-vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 62%);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content { padding: 7rem 2.5rem 6rem; }
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 6vw, 4.4rem);
  line-height: 0.96;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-accent {
  color: inherit;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.75),
    0 0 28px rgba(255, 255, 255, 0.4),
    0 0 48px rgba(255, 255, 255, 0.2);
}

.hero p {
  margin-top: 1rem;
  max-width: 580px;
  font-size: 1rem;
  color: var(--muted);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero-stats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-stats .dot {
  color: var(--muted-light);
}

/* Games marquee */
.games-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.games-marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.games-marquee {
  display: flex;
  width: max-content;
  animation: marquee-drift 34s linear infinite;
}

.games-marquee:hover {
  animation-play-state: paused;
}

.game-tile {
  position: relative;
  flex-shrink: 0;
  width: 312px;
  height: 126px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  transition: transform 0.3s;
}

.game-tile:hover {
  z-index: 10;
  transform: translateY(-4px);
}

.game-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.84;
  transition: transform 0.5s;
}

.game-tile:hover img {
  transform: scale(1.03);
}

.game-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.14) 34%, rgba(0,0,0,0.68) 100%);
}

.game-tile-accent {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.game-tile-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem;
}

.game-badge {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.game-badge.active {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.game-tile-title {
  max-width: 86%;
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
}

/* Section shared */
.section {
  width: 100%;
  padding: 3.5rem 1rem 6rem;
}

@media (min-width: 768px) {
  .section { padding-top: 4.5rem; }
}

.section-header {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.section-divider {
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-dim), transparent);
}

.section-divider.sm { width: 7rem; }
.section-divider.lg { width: 12rem; }

.section-label {
  display: block;
  margin-top: 1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.section-label.accent {
  color: var(--accent);
}

.section-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.section h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Premium — kicia-style framed panel */
.section-premium {
  padding-bottom: 5rem;
}

.premium-frame {
  position: relative;
  margin: 0 auto;
  max-width: 52rem;
}

.premium-frame-backdrop {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: 50% 45% / cover no-repeat url('/hero-floral-frame.png');
  filter: grayscale(1) brightness(0.46) contrast(1.14);
  opacity: 1;
  mask-image: radial-gradient(ellipse 100% 94% at 50% 50%, black 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 100% 94% at 50% 50%, black 30%, transparent 82%);
}

.premium-frame-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 90% at 50% 50%, transparent 40%, var(--background) 100%);
}

.premium-panel {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem 2rem;
  border: none;
  border-radius: 1.25rem;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.section-premium .section-header {
  position: relative;
  z-index: 2;
}

.premium-panel > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .premium-panel {
    padding: 3rem 2rem 2.5rem;
  }
}

.premium-browse-wrap {
  margin-top: 1.75rem;
  text-align: center;
}

.premium-browse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.premium-browse-chevron {
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
}

.premium-browse-link:hover {
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

/* Premium */
.premium-grid {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-featured-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-featured-wrap .product-card {
  width: 100%;
  max-width: none;
}

.product-title-label {
  display: inline-block;
  margin-left: 1rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.2;
}

.product-card.featured .product-title-label {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
}

.product-thumb-badge {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  z-index: 2;
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--accent);
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}

.product-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 0.875rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: center / cover no-repeat url('/hero-floral-frame.png');
  filter: grayscale(1) brightness(0.28) contrast(1.2);
  opacity: 0.55;
}

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

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.product-card.featured,
.product-card.popular {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.product-card.featured::before,
.product-card.popular::before {
  opacity: 0.65;
}

.product-card.featured {
  width: 100%;
}

.section-premium .product-card,
.section-premium .product-card.featured,
.section-premium .product-card.popular {
  position: relative;
  background: transparent;
  outline: none;
  border: none;
  transform: none;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  box-shadow: none;
}

.section-premium .product-card::before {
  content: none !important;
  display: none !important;
}

.section-premium .product-card::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.1),
    0 0 28px rgba(255, 255, 255, 0.06),
    0 0 48px rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
}

.section-premium .product-card:hover {
  transform: none;
  box-shadow: none;
}

.section-premium .product-card:hover::after {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.14),
    0 0 36px rgba(255, 255, 255, 0.08),
    0 0 56px rgba(255, 255, 255, 0.04);
}

.section-premium .product-thumb-logo {
  background: transparent;
  border: none;
}

.section-premium .product-thumb::after {
  display: none;
}

.section-premium .product-card > * {
  position: relative;
  z-index: 1;
}

.section-premium .product-thumb-camo {
  display: none;
}

.product-thumb {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
}

.product-thumb.sm { width: 4.5rem; height: 4.5rem; }
.product-thumb.lg { width: 5.25rem; height: 5.25rem; aspect-ratio: 1; }

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-thumb img:not(.product-thumb-logo-img) {
  transform: scale(1.06);
}

.product-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.product-thumb-logo::after,
.product-thumb.product-thumb-logo::after {
  display: none;
}

.product-thumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.product-thumb-camo {
  display: none;
}

.product-thumb-logo img,
.product-thumb-logo-img {
  position: relative;
  z-index: 1;
  width: 72% !important;
  height: 72% !important;
  max-width: none;
  max-height: none;
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-thumb-logo-img {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  transform: scale(1.04);
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 0.875rem;
  line-height: 1.35;
}

.product-card.featured .product-title { font-size: 1rem; }

.product-tag {
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--accent);
  border-radius: 9999px;
}

.product-desc {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: var(--muted-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card.out-of-stock {
  opacity: 0.55;
  pointer-events: none;
}

.product-stock {
  justify-self: center;
  padding: 0.3125rem 0.6875rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  white-space: nowrap;
}

.product-stock.sold {
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.shop-empty {
  text-align: center;
  padding: 2rem;
  color: var(--muted-light);
  font-size: 0.875rem;
}

.product-footer {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}

.product-footer .product-price {
  justify-self: start;
}

.product-price {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-size: 1rem;
}

.product-card.featured .product-price { font-size: 1.125rem; }

.product-view {
  justify-self: end;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.15s;
}

.product-card:hover .product-view {
  color: rgba(255, 255, 255, 0.72);
}

.product-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-row { grid-template-columns: 1fr 1fr; }
}

.premium-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Loader */
.section-loader {
  padding-bottom: 3rem;
}

.loader-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .loader-grid {
    grid-template-columns: 0.82fr 1.18fr;
  }
}

.loader-info h3 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.loader-info p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

.loader-panel {
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.loader-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.loader-panel-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.loader-panel-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader-code {
  padding: 1rem 1.25rem;
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--accent);
  word-break: break-all;
  background: rgba(0, 0, 0, 0.35);
}

.loader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.key-providers {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.key-provider {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background: transparent;
  transition: all 0.15s;
}

.key-provider:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Why Choose Us */
.section-why {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.why-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .why-card-featured {
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1.15fr repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .why-card-featured {
    grid-row: 1 / -1;
  }
}

.why-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s;
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.why-card-featured {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.04);
}

.why-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
  opacity: 0.9;
}

.why-card-icon svg {
  width: 100%;
  height: 100%;
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
}

.why-card-featured p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.7;
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.why-stat {
  text-align: center;
}

.why-stat-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.why-stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-light);
}

.footer a {
  color: var(--muted);
  transition: color 0.15s;
}

.footer a:hover {
  color: var(--accent);
}

/* Copy toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  opacity: 0;
  transition: all 0.3s;
  z-index: 100;
  pointer-events: none;
}

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

body.checkout-open {
  overflow: hidden;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
}

.checkout-modal.hidden {
  display: none;
}

.checkout-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.checkout-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(88vh, 680px);
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.checkout-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.checkout-logo {
  display: block;
  height: 1.375rem;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.35))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.15));
}

.checkout-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.checkout-close svg {
  width: 1.125rem;
  height: 1.125rem;
}

.checkout-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.checkout-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.checkout-content::-webkit-scrollbar {
  width: 5px;
}

.checkout-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
}

.checkout-view {
  padding: 1.125rem;
}

.checkout-products {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.checkout-product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.checkout-product-thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.checkout-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.375rem;
}

.checkout-product-title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.checkout-product-price {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
}

.checkout-product-price span {
  color: rgba(255, 255, 255, 0.38);
}

.checkout-product-qty {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.checkout-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.checkout-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-qty-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.checkout-qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
}

.checkout-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.125rem 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

.checkout-total-row strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.checkout-total-old {
  display: inline-block;
  margin-right: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
}

.checkout-section {
  margin-bottom: 1.125rem;
}

.checkout-section-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.checkout-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.375rem;
}

.checkout-required {
  color: rgba(255, 255, 255, 0.45);
}

.checkout-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.35);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.checkout-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.checkout-input:focus {
  border-color: rgba(255, 255, 255, 0.28);
}

.checkout-pay-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-pay-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.checkout-pay-option:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.checkout-pay-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-pay-option:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.checkout-pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.checkout-pay-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.checkout-pay-copy {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.checkout-pay-label {
  font-size: 0.875rem;
  font-weight: 600;
}

.checkout-pay-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.checkout-pay-check {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  position: relative;
}

.checkout-pay-option:has(input:checked) .checkout-pay-check {
  border-color: #fff;
  background: #fff;
}

.checkout-pay-option:has(input:checked) .checkout-pay-check::after {
  content: '';
  position: absolute;
  inset: 0.22rem;
  border-radius: 9999px;
  background: var(--background);
}

.checkout-coupon-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.checkout-coupon-input {
  flex: 1;
  min-width: 0;
}

.checkout-coupon-apply {
  flex-shrink: 0;
  padding: 0 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.checkout-coupon-apply:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkout-coupon-msg {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: #fca5a5;
}

.checkout-coupon-msg.success {
  color: rgba(255, 255, 255, 0.62);
}

.checkout-coupon-msg.hidden {
  display: none;
}

.checkout-error {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: #fca5a5;
}

.checkout-error.hidden {
  display: none;
}

.checkout-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.checkout-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.checkout-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.checkout-success-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.checkout-success-desc {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.checkout-order-id {
  padding: 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1rem;
  text-align: center;
}

.checkout-order-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.375rem;
}

.checkout-order-id code {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.checkout-email-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  text-align: center;
}

/* Line decorations — desktop only to avoid stray vertical lines on mobile */
.line-y {
  border-left: none;
  border-right: none;
}

@media (min-width: 1024px) {
  .line-y {
    border-left: var(--line-width) dashed rgba(255, 255, 255, 0.08);
    border-right: var(--line-width) dashed rgba(255, 255, 255, 0.08);
  }
}

/* Products page — enhancements.wtf style */
.store-page {
  padding-top: 5.5rem;
  min-height: calc(100vh - 4rem);
}

.store-container {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.store-page-head {
  padding: 0 1.25rem 2rem;
}

.store-page-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.store-page-count {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-light);
}

.store-layout {
  display: grid;
  gap: 1.5rem;
  padding: 0 1.25rem;
}

@media (min-width: 900px) {
  .store-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
  }
}

.store-filters {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  height: fit-content;
}

.store-filters-head h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-group select {
  width: 100%;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.875rem;
  font-family: inherit;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.store-card-media {
  display: block;
  position: relative;
}

.store-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.store-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080a0e;
}

.store-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.store-card:hover .store-card-visual img {
  transform: scale(1.04);
}

.store-card-visual-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card-visual-logo img.store-card-logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: 48%;
  max-width: 68%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.store-card-visual-detail img.store-card-logo {
  height: 52%;
  max-width: 62%;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
}

.store-card:hover .store-card-logo {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.55));
  transform: scale(1.03);
}

.store-card-camo {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat url('/hero-floral-frame.png');
  filter: grayscale(1) brightness(0.3) contrast(1.15);
  opacity: 0.9;
}

.store-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1rem 1.125rem;
  flex: 1;
}

.store-card-foot,
.store-card-buy {
  pointer-events: none;
}

.store-card-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.store-card-title a {
  text-decoration: none;
}

.store-card-title a:hover {
  color: var(--accent-dim);
}

.store-card-tag {
  align-self: flex-start;
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--accent);
  border-radius: 9999px;
}

.store-card-desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted-light);
}

.store-card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.store-card-foot-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.store-card-stock {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.store-card-stock.sold {
  color: rgba(255, 255, 255, 0.42);
}

.store-card-buy {
  min-width: 6.5rem;
}

.store-card-price {
  text-align: right;
  flex-shrink: 0;
}

.store-card-price-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-card-price-value {
  display: block;
  margin-top: 0.125rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.store-card.out-of-stock {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 899px) {
  .store-filters {
    display: none;
  }
}

/* Product detail page */
.product-page {
  padding-top: 5.5rem;
  min-height: calc(100vh - 4rem);
}

.product-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.product-back {
  display: inline-block;
  margin: 0 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.product-back:hover {
  color: var(--foreground);
}

.product-detail {
  display: grid;
  gap: 2rem;
  padding: 0 1.25rem 1rem;
}

@media (min-width: 768px) {
  .product-detail {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
  }
}

.product-detail-media .store-card-visual {
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.product-detail-media .product-thumb-badge,
.product-detail-media .store-card-visual .product-thumb-badge {
  left: 1rem;
  top: 1rem;
  padding: 0.3125rem 0.75rem;
  font-size: 10px;
}

.product-detail-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-detail-info h1 .product-title-label {
  margin-left: clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.5625rem, 1.5vw, 0.6875rem);
  letter-spacing: 0.14em;
  vertical-align: middle;
}

.product-detail-desc {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.product-detail-meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-detail-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.btn-buy-now {
  flex: 1 1 auto;
  min-width: 11.5rem;
  max-width: 18rem;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.18),
    0 0 40px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-buy-now:hover {
  box-shadow:
    0 0 28px rgba(255, 255, 255, 0.28),
    0 0 48px rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

.btn-add-cart {
  flex: 0 0 auto;
}

.product-detail-back-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.product-detail-back-link:hover {
  color: var(--foreground);
}

.btn-block {
  width: 100%;
}

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

/* Cart page */
.cart-page {
  padding-top: 5.5rem;
  min-height: calc(100vh - 4rem);
}

.cart-container {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.cart-page-head {
  padding: 0 1.25rem 2rem;
}

.cart-page-head h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cart-page-head p {
  margin-top: 0.5rem;
  color: var(--muted-light);
  font-size: 0.875rem;
}

.cart-layout {
  display: grid;
  gap: 1.5rem;
  padding: 0 1.25rem;
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
  }
}

.cart-items-wrap {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-media {
  flex-shrink: 0;
  text-decoration: none;
}

.cart-item-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #080a0e;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-thumb-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-thumb-logo .store-card-logo {
  position: relative;
  z-index: 1;
  height: 42%;
  width: auto;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.cart-item-title:hover {
  color: var(--accent-dim);
}

.cart-item-price {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted-light);
}

.cart-item-remove {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}

.cart-item-remove:hover {
  color: var(--foreground);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.cart-empty {
  padding: 3rem 1.5rem;
  text-align: center;
}

.cart-empty p {
  color: var(--muted-light);
  margin-bottom: 1.25rem;
}

.cart-summary {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.cart-summary h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.cart-summary .btn + .btn {
  margin-top: 0.625rem;
}

/* Order complete page */
.order-complete-page {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - 8rem);
}

.order-complete-container {
  max-width: 640px;
}

.order-complete-card {
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.order-complete-loading {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.order-complete-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.order-complete-pending-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.42);
  animation: order-pending-spin 2s linear infinite;
}

@keyframes order-pending-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.order-complete-pending-note {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.08);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
}

.order-complete-title {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.order-complete-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.order-complete-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.order-complete-meta-item {
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.order-complete-meta-label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.order-complete-meta-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.order-complete-items-heading {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.875rem;
}

.order-complete-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.order-complete-item {
  padding: 1.125rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.order-complete-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.order-complete-item-head h3 {
  margin: 0;
  font-size: 1rem;
}

.order-complete-item-head span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.order-complete-block + .order-complete-block {
  margin-top: 0.875rem;
}

.order-complete-block-label {
  margin: 0 0 0.375rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.order-complete-block-body {
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.88);
}

.order-complete-keys {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-complete-keys code {
  display: block;
  padding: 0.5rem 0.625rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
}

.order-complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
