/* ALPHA storefront — black background, white minimal professional style.
   Mobile-first. No external fonts or trackers: system font stack only. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Cinematic intro ---------- */
#intro {
  position: fixed; inset: 0; z-index: 100;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
#intro.hidden { display: none; }
.intro-inner { text-align: center; padding: 24px; }
#intro-logo {
  width: min(78vw, 420px); margin: 0 auto;
  animation: logoReveal 1.8s ease-out both;
  filter: drop-shadow(0 0 22px rgba(255,255,255,.25));
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(.82); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  60% { opacity: 1; }
  to { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 22px rgba(255,255,255,.25)); }
}
.intro-fallback {
  font-size: 64px; font-weight: 800; letter-spacing: .12em;
  animation: logoReveal 1.8s ease-out both;
}
#intro-enter {
  margin-top: 28px; padding: 12px 26px;
  background: #fff; color: #000; border: none;
  font-weight: 700; letter-spacing: .14em; cursor: pointer;
  animation: fadeIn .6s ease-out both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Header / drop ---------- */
.site-header { text-align: center; padding: 22px 16px 8px; }
#header-logo { width: 170px; margin: 0 auto; }
.header-fallback { font-size: 34px; font-weight: 800; letter-spacing: .12em; }
.tagline { color: #aaa; margin: 8px 0 0; font-size: 14px; }
.drop-header { text-align: center; padding: 18px 16px 6px; }
.drop-label {
  display: inline-block; border: 1px solid #fff;
  padding: 4px 12px; font-size: 11px; letter-spacing: .22em;
}
.drop-header h1 { margin: 14px 0 4px; font-size: 26px; letter-spacing: .08em; }

/* ---------- Rail ---------- */
.rail {
  display: flex; gap: 20px; overflow-x: auto; padding: 18px 16px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: #444; }
.rail-card {
  flex: 0 0 220px; scroll-snap-align: start;
  background: transparent; border: none; color: #fff;
  text-align: center; cursor: pointer; padding: 0;
}
.rail-card .hanger { height: 34px; margin: 0 auto 2px; }
.rail-card img.product-front {
  width: 220px; height: 260px; object-fit: cover; background: #111;
}
.rail-card .card-name { margin: 10px 0 2px; font-weight: 700; font-size: 15px; }
.rail-card .card-price { margin: 0; color: #ccc; font-size: 14px; }
.badge {
  display: inline-block; margin-top: 6px; padding: 3px 8px;
  background: #fff; color: #000; font-size: 11px; font-weight: 700; letter-spacing: .08em;
}
.badge.soldout { background: #333; color: #fff; }
.empty-state { text-align: center; color: #ddd; font-size: 18px; padding: 40px 16px; line-height: 1.6; }
.empty-state span { color: #888; font-size: 14px; }

/* ---------- Product detail ---------- */
.view { max-width: 960px; margin: 0 auto; padding: 0 16px 40px; }
.back-btn { background: none; border: none; color: #ccc; cursor: pointer; padding: 10px 0; font-size: 14px; }
.detail { display: grid; gap: 24px; }
@media (min-width: 720px) { .detail { grid-template-columns: 1fr 1fr; } }
.detail-photo { position: relative; }
#detail-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.view-toggle { display: flex; gap: 8px; margin-top: 10px; }
.toggle-btn {
  flex: 1; padding: 10px; background: #111; color: #fff;
  border: 1px solid #333; cursor: pointer; font-weight: 600;
}
.toggle-btn.active { background: #fff; color: #000; border-color: #fff; }
.detail-info h2 { margin: 0 0 6px; font-size: 24px; }
.price { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.stock { color: #ccc; font-size: 14px; margin: 0 0 16px; }
.field { margin: 0 0 16px; }
.field-label { display: block; color: #aaa; font-size: 13px; margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #333; cursor: pointer; padding: 0;
}
.swatch.selected { border-color: #fff; outline: 2px solid #fff; outline-offset: 2px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  min-width: 46px; padding: 9px 12px; background: #111; color: #fff;
  border: 1px solid #333; cursor: pointer; font-weight: 600;
}
.size-btn.selected { background: #fff; color: #000; border-color: #fff; }
.checkout label { display: block; margin-bottom: 12px; font-size: 14px; color: #ccc; }
.checkout input[type="text"], .checkout input[type="tel"], .checkout input[type="number"] {
  width: 100%; margin-top: 6px; padding: 11px 12px;
  background: #111; color: #fff; border: 1px solid #333; border-radius: 0;
}
.qty { display: flex; margin-top: 6px; }
.qty button {
  width: 44px; background: #111; color: #fff; border: 1px solid #333; cursor: pointer;
}
.qty input { text-align: center; margin-top: 0; border-left: none; border-right: none; }
.cod-note { color: #aaa; font-size: 13px; }
.form-error { color: #ff8080; font-size: 14px; }
.order-btn {
  width: 100%; padding: 14px; background: #fff; color: #000;
  border: none; font-weight: 800; letter-spacing: .08em; cursor: pointer;
}
.order-btn:disabled { background: #333; color: #888; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 30px 16px 44px; border-top: 1px solid #222; }
#footer-mascot { width: 110px; margin: 0 auto 10px; }
#footer-name { font-weight: 800; letter-spacing: .12em; margin: 0; }
.footer-note { color: #888; font-size: 13px; margin: 6px 0 0; }
