/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999;
  --gray-600: #555;
  --red: #e53e3e;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --transition: 0.2s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-1px);
}
.btn-full { width: 100%; }

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo span { color: var(--red); }
.nav {
  display: flex;
  gap: 28px;
  margin-left: 16px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav a:hover { color: var(--black); }
.cart-btn {
  margin-left: auto;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  color: var(--black);
  transition: transform var(--transition);
}
.cart-btn:hover { transform: scale(1.1); }
.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.cart-count.bump { transform: scale(1.5); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(229,62,62,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: rgba(255,255,255,0.3);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Trust Bar ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--red);
  color: white;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

/* ── Browse Banner ───────────────────────────────────────────── */
.browse-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browse-track-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.browse-track {
  display: flex;
  height: 100%;
  animation: browse-scroll 50s linear infinite;
  will-change: transform;
}

.browse-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

@keyframes browse-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.browse-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.browse-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.browse-content h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

/* ── Section ─────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1;
}
.section-sub {
  color: var(--gray-400);
  margin-top: 8px;
  font-size: 15px;
}

/* ── Shop / Product Grid ─────────────────────────────────────── */
.shop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* Skeleton loaders */
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  height: 420px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Product Card */
.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-img-wrap {
  position: relative;
  background: var(--gray-100);
  cursor: pointer;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 14px;
  line-height: 1.5;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
}
.add-btn {
  background: var(--black);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}
.add-btn:hover {
  background: var(--red);
  transform: scale(1.04);
}

/* ── About ───────────────────────────────────────────────────── */
.about {
  background: var(--black);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
}
.about-inner { max-width: 640px; margin: 0 auto; }
.about h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.about p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  margin-bottom: 48px;
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.about-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stats strong {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--red);
  line-height: 1;
}
.about-stats span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Reviews ─────────────────────────────────────────────────── */
.reviews {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}
.stars {
  color: #f6ad55;
  font-size: 18px;
  margin-bottom: 12px;
}
.review-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 14px;
}
.review-card span {
  font-size: 13px;
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 48px 24px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer .logo { margin-bottom: 20px; display: inline-block; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; margin-bottom: 16px; }
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  filter: brightness(0) invert(0.4);
}

/* ── Cart Drawer ─────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: white;
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.cart-header h3 {
  font-size: 18px;
  font-weight: 700;
}
.close-cart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-400);
  transition: color var(--transition);
}
.close-cart:hover { color: var(--black); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  color: var(--gray-400);
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
}
.cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--gray-100);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.cart-item-meta { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  background: var(--gray-100);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--gray-200); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 15px; font-weight: 700; white-space: nowrap; }
.remove-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--gray-400);
  padding: 0;
  line-height: 1;
  transition: color var(--transition);
}
.remove-btn:hover { color: var(--red); }

.cart-footer {
  border-top: 1px solid var(--gray-200);
  padding: 20px 24px 28px;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cart-note {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 16px;
}

/* ── Size Modal ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.size-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(460px, calc(100vw - 32px));
  background: white;
  border-radius: 14px;
  z-index: 301;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  max-height: 90vh;
  overflow-y: auto;
}
.size-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.close-modal {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-400);
}
.close-modal:hover { color: var(--black); }
.modal-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--gray-100);
  margin-bottom: 16px;
}
.modal-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.size-btn {
  width: 52px;
  height: 52px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  background: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover { border-color: var(--black); }
.size-btn.selected {
  border-color: var(--black);
  background: var(--black);
  color: white;
}

/* ── Checkout loading overlay ───────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.9);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
  display: none;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .trust-bar { gap: 16px; font-size: 12px; }
  .nav { display: none; }
  .about-stats { gap: 28px; }
}
