/* Naviii shared styles — dark theme, neon accent, premium aesthetic */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --cream: #f0ece4;
  --accent: #c8ff00;
  --gray: #6b6b6b;
  --light-gray: #e0e0e0;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.06);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--white);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-count {
  background: var(--accent);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
}

/* Page wrapper */
.page {
  padding-top: 100px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section headers */
.page-header {
  margin-bottom: 48px;
}

.page-header .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}

.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s;
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(200, 255, 0, 0.2);
  transform: translateY(-2px);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: #161616;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image .tee-visual {
  width: 160px;
  height: 180px;
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tee-visual svg {
  width: 140px;
  height: 160px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.product-card-info {
  padding: 24px;
}

.product-card-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.product-card-info .tagline {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 16px;
}

.product-card-info .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.product-card-info .color-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 12px;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
}

.product-image-main {
  background: #161616;
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
}

.product-image-main .tee-visual-lg svg {
  width: 280px;
  height: 320px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.product-info h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.product-info .tagline {
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 24px;
}

.product-info .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 32px;
}

.product-info .description {
  color: rgba(250,250,250,0.7);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.product-info .detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--gray);
}
.product-info .detail-row strong {
  color: var(--white);
  font-weight: 500;
  min-width: 80px;
}

/* Size picker */
.size-picker {
  margin: 32px 0;
}
.size-picker label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 12px;
  font-weight: 500;
}
.size-options {
  display: flex;
  gap: 8px;
}
.size-btn {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}
.size-btn:hover { border-color: rgba(200,255,0,0.3); }
.size-btn.selected {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  width: 100%;
}
.btn-primary:hover {
  background: #d9ff33;
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Cart page */
.cart-empty {
  text-align: center;
  padding: 80px 0;
}
.cart-empty h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.cart-empty p {
  color: var(--gray);
  margin-bottom: 32px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: var(--black);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  background: #161616;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image svg {
  width: 60px;
  height: 70px;
}

.cart-item-details h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-details .meta {
  color: var(--gray);
  font-size: 0.85rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.qty-btn:hover { border-color: var(--accent); }

.cart-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  min-width: 80px;
  text-align: right;
}

.cart-summary {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px;
  max-width: 400px;
  margin-left: auto;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.cart-summary-row.total {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: 1.2rem;
}
.cart-summary-row.total .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
}
.cart-summary-row .label { color: var(--gray); }
.cart-summary-row .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* Checkout success */
.success-page {
  text-align: center;
  padding: 120px 0;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 32px;
}
.success-page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.success-page p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--accent);
  color: var(--black);
  padding: 16px 24px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
footer {
  padding: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .logo { font-size: 1.1rem; }
footer p { color: var(--gray); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.75rem; letter-spacing: 1.5px; }
  .container { padding: 0 24px; }
  .page { padding-top: 80px; }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-info h1 { font-size: 1.8rem; }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .cart-item-qty, .cart-item-price { grid-column: 2; }

  .cart-summary { max-width: 100%; }

  footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 30px 24px;
  }
}
