/* ══ VARIABLES DE COLOR ═══════════════════════════════════════
   Paleta roja/rosada vibrante inspirada en el logo de Fruto Prohibido.
   Cambia estos valores para ajustar el look de toda la página.
   ══════════════════════════════════════════════════════════ */
:root {
  --bg:        #0c0408;
  --bg-soft:   #170a10;
  --card:      #1f0b13;
  --card-hi:   #2a0f1b;
  --red:       #e01030;
  --red-2:     #ff2d55;
  --pink:      #ff3d81;
  --pink-2:    #ff7ab3;
  --white:     #fff5f7;
  --muted:     #d79cae;
  --border:    rgba(255, 61, 129, 0.22);
  --gradient:  linear-gradient(135deg, var(--red) 0%, var(--pink) 100%);
  --glow:      0 0 24px rgba(255, 45, 85, 0.45);
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,45,85,0.14), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(255,61,129,0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

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

/* ══ BOTONES ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,45,85,0.65); }
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--white); border-color: var(--pink); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--disabled {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-weight: 600;
}

/* ══ VERIFICACIÓN DE EDAD ══════════════════════════════════ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 2, 4, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate__card {
  max-width: 420px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--glow);
}
.age-gate__logo { width: 110px; margin: 0 auto 16px; border-radius: 12px; }
.age-gate__card h1 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin-bottom: 12px; }
.age-gate__card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; line-height: 1.5; }
.age-gate__question { color: var(--white) !important; font-weight: 600; margin: 16px 0; }
.age-gate__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ══ HEADER ═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: rgba(12, 4, 8, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand__logo { height: 52px; width: auto; border-radius: 8px; }
.site-header__socials { display: flex; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--instagram:hover { background: var(--gradient); border-color: transparent; }
.icon-btn--whatsapp:hover { background: #25D366; border-color: transparent; }

/* ══ HERO ═════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__logo { width: 130px; filter: drop-shadow(0 0 24px rgba(255,45,85,0.5)); }
.hero__tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--pink-2);
  max-width: 560px;
}

/* ══ BOTÓN "VER CATÁLOGO" ESTILO ADIDAS ═══════════════════════
   Al hacer clic despliega .hero-cat-panel debajo, en el flujo
   normal de la página (no fijo), para poder detectar con
   IntersectionObserver cuándo el usuario ya lo dejó atrás.
   ══════════════════════════════════════════════════════════ */
#hero-cat-toggle { display: inline-flex; align-items: center; gap: 8px; }
.hero-cat-toggle__chevron { width: 16px; height: 16px; transition: transform 0.25s ease; }
#hero-cat-toggle[aria-expanded="true"] .hero-cat-toggle__chevron { transform: rotate(180deg); }

.hero-cat-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
}
.hero-cat-panel.is-open {
  max-height: 400px;
  opacity: 1;
  margin-top: 6px;
}

/* ══ LOOKBOOK — Carrusel de productos destacados ═════════════
   Adaptado de la estructura de CappraUrban: track con scroll-snap,
   arrastre con mouse, flechas laterales con wrap-around y dots
   sincronizados con el scroll. Lógica en assets/js/main.js.
   ══════════════════════════════════════════════════════════ */
.lookbook {
  position: relative;
  z-index: 1;
  padding: 36px 0 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.lookbook-header {
  padding: 0 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.lookbook-line { width: 36px; height: 2px; background: var(--gradient); margin-bottom: 10px; }
.lookbook-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-2);
  margin-bottom: 8px;
}
.lookbook-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}
.lookbook-title span { color: var(--pink-2); }
.lookbook-sub {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 220px;
  text-align: right;
  line-height: 1.6;
}

.lookbook-track-wrap { position: relative; }

.lookbook-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 24px;
  cursor: grab;
}
.lookbook-track::-webkit-scrollbar { display: none; }
.lookbook-track:active { cursor: grabbing; }

.lookbook-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  width: clamp(160px, 20vw, 220px);
  height: clamp(200px, 26vw, 280px);
  cursor: pointer;
  text-decoration: none;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
}
.lookbook-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.lookbook-slide:hover img { transform: scale(1.05); }
.lookbook-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 45%, transparent 100%);
  pointer-events: none;
}
.lookbook-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.lookbook-tag strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  text-transform: none;
  color: var(--white);
  line-height: 1.2;
  margin-top: 2px;
}
.lookbook-num {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}

.lookbook-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
  z-index: 10;
}
.lookbook-arrow {
  width: 38px; height: 38px;
  background: rgba(12,4,8,0.8);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  pointer-events: all;
  transition: all 0.2s ease;
}
.lookbook-arrow:hover { background: var(--gradient); border-color: transparent; }

.lookbook-dots { display: flex; gap: 7px; justify-content: center; padding: 18px 0 0; }
.lookbook-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.lookbook-dot--active { background: var(--pink); transform: scale(1.3); }

/* ══ PILLS DE CATEGORÍA ══════════════════════════════════════
   Usadas dentro de .hero-cat-panel (el botón "Ver catálogo")
   ══════════════════════════════════════════════════════════ */
.cat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.cat-pill:hover, .cat-pill--active {
  background: var(--gradient);
  color: var(--white);
}
.cat-pill__count {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 1px 7px;
}

/* ══ CATÁLOGO ═════════════════════════════════════════════ */
main { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 20px 60px; }
.cat-section { padding-top: 40px; scroll-margin-top: 90px; }
.cat-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, var(--white), var(--pink-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); font-size: 1.1rem; }

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--glow);
}
.product-card__img-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
}
.badge--agotado { background: rgba(0,0,0,0.7); }
.badge--oferta { background: var(--gradient); }
.product-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__name { font-size: 1rem; font-weight: 600; }
.product-card__desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-size: 1.15rem; font-weight: 700; color: var(--pink-2); }
.price--old { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; font-weight: 400; }

/* ══ FOOTER ═══════════════════════════════════════════════ */
.site-footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer__logo { width: 60px; margin: 0 auto 12px; border-radius: 8px; }
.site-footer__legal { margin-top: 4px; opacity: 0.7; }

/* ══ BOTÓN FLOTANTE WHATSAPP ═════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 80;
  transition: transform 0.2s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .brand__logo { height: 42px; }
  .hero { padding: 18px 20px 12px; gap: 10px; }
  .hero__logo { width: 100px; }
  .hero__tag { font-size: 1rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .lookbook-header { padding: 0 20px 18px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .lookbook-sub { text-align: left; max-width: none; }
  .lookbook-track { padding: 0 20px; }
  .lookbook-slide { width: clamp(130px, 40vw, 180px); height: clamp(170px, 50vw, 240px); }
  .lookbook-arrow { width: 32px; height: 32px; }
}
