e er@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #000000;
  --fg: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #ffffff;
  --card-bg: #0a0a0a;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

::selection {
  background: #fff;
  color: #000;
}

html {
  scroll-behavior: smooth;
}

/* Marquee */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

/* Product Cards */
.product-card {
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: #000;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover img {
  transform: scale(1.08) translateY(-6px);
}

.product-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
}

/* Buttons */
.btn-primary {
  background: #fff;
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 28px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-green {
  background: #22c55e;
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 18px 36px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-green:hover {
  background: #16a34a;
}

/* Cart Drawer */
#cart-drawer {
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

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

/* FAQ */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  transition: transform 0.3s;
}

/* Fade in */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse dot */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
  display: inline-block;
}

/* Badge */
.badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}

/* Testimonial */
.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px;
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Step number */
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

/* Qty controls */
.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Product Page */
.product-page {
  min-height: 100vh;
}

.product-gallery {
  background: #000;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #000;
}

.product-gallery-main img {
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.9));
  transition: transform 0.5s;
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 16px;
  justify-content: center;
}

.product-gallery-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  background: #000;
  transition: border-color 0.3s;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
  border-color: rgba(255, 255, 255, 0.4);
}

.product-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #fbbf24;
  font-size: 14px;
}

.product-title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.product-price-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-option {
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #fff;
}

.product-option:hover,
.product-option.selected {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
}

.product-feature svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  flex-shrink: 0;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

.product-review {
  border: 1px solid var(--border);
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}

/* Page transitions */
.page {
  display: none;
}

.page.active {
  display: block;
  animation: fadeUp 0.5s ease;
}

/* Qty selector inline */
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
}

.qty-selector button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-selector button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-selector span {
  width: 40px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}


/* Spacing classes */
.hero-spacing {
  padding-top: 32px;
}

.shop-section-padding {
  padding: 64px 16px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 767px) {
  .hero-spacing {
    padding-top: 8px;
  }

  .shop-section-padding {
    padding: 24px 0;
    max-width: 1400px;
    margin: 0 auto;
  }

  .product-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }

  .product-gallery-main img {
    max-height: 100%;
    transform: scale(0.8);
    object-fit: contain;
  }

  .product-title {
    font-size: 22px;
  }

  .product-info {
    padding: 20px;
    padding-bottom: 120px;
  }

  .nav-links-desktop {
    display: none !important;
  }

  #product-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 12px;
    gap: 8px;
    margin: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  #product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card {
    flex: 0 0 75%;
    scroll-snap-align: center;
    height: auto;
    padding: 12px !important;
  }

  .product-card img {
    height: 140px !important;
  }


  .mobile-sticky-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 40;
    margin-top: 0 !important;
    border-radius: 0;
    transition: transform 0.3s;
  }
}

@media (min-width: 768px) {
  .product-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 120px);
    padding-top: 60px;
  }

  .hero-spacing {
    padding-top: 80px !important;
  }

  .product-gallery-main {
    width: 100%;
    aspect-ratio: auto;
    height: 100%;
    min-height: 500px;
    padding: 40px !important;
  }

  .product-gallery-main img {
    max-height: 500px;
    transform: scale(1.1);
    object-fit: contain;
  }

  .product-info {
    padding: 60px;
    padding-bottom: 60px;
    gap: 32px;
  }

  .product-title {
    font-size: 42px !important;
  }

  .product-price {
    font-size: 28px !important;
  }

  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }

  .product-desc-desktop {
    display: block !important;
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.8;
  }
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }
}