/* Tienda pública — estética y animaciones de fitgames-org.com.
   Tokens y keyframes copiados del sitio (regla 2.5: se copian los tokens). */

:root {
  --crema: #f5f1e8;
  --negro: #0a0a0a;
  --vzla-yellow: #cf9b00;
  --vzla-blue: #003f8a;
  --vzla-red: #c8102e;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --font-display: "Tektur", "Arial Black", sans-serif;
}

.tienda-body {
  background: var(--negro);
  color: var(--crema);
  font-family: "Tektur", Arial, sans-serif;
}
/* Sin esto, width:100% + padding desborda el marco en móvil */
.tienda-body *,
.tienda-body *::before,
.tienda-body *::after {
  box-sizing: border-box;
}
/* Enlaces que el navegador crea solo (tel:, mailto:) no deben verse azules */
.tienda-body a[href^="tel:"],
.tienda-body a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}

/* ===== Contenedor centrado (como .page-hero-inner del sitio) ===== */
.contenedor { max-width: 72rem; margin-inline: auto; }

/* ===== Hero brutalist ===== */
.page-hero { position: relative; overflow: hidden; padding: 5rem 1.5rem 3rem; }
.page-hero-inner { max-width: 72rem; margin-inline: auto; }
.page-hero-decor {
  position: absolute; right: -2rem; top: -2rem;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(8rem, 30vw, 22rem); line-height: 1;
  color: rgba(245, 241, 232, 0.04); pointer-events: none; user-select: none;
}
.hero-label {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--vzla-yellow);
  border: 1px solid rgba(207, 155, 0, 0.4); padding: 0.5rem 1rem; margin-bottom: 1.5rem;
}
.page-hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 11vw, 9rem); line-height: 0.92;
  letter-spacing: -0.05em; text-transform: uppercase;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span {
  display: block; transform: translateY(110%);
  animation: slideUp 1s var(--ease-out-expo) forwards;
}
.hero-title-line:nth-child(2) span { animation-delay: 0.12s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.24s; }
@keyframes slideUp { to { transform: translateY(0); } }
.outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(245, 241, 232, 0.6);
}
.accent-y { color: var(--vzla-yellow); }
.page-hero-desc { max-width: 34rem; margin-top: 1.5rem; color: rgba(245, 241, 232, 0.7); line-height: 1.6; }

/* ===== Reveal al hacer scroll ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Filtros ===== */
.shop-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  padding: 0 1.5rem 2rem; max-width: 72rem; margin-inline: auto;
}
.shop-filter {
  background: transparent; border: 1px solid rgba(245, 241, 232, 0.15);
  color: rgba(245, 241, 232, 0.75); padding: 0.85rem 1.5rem;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.shop-filter:hover { border-color: rgba(245, 241, 232, 0.5); color: var(--crema); }
.shop-filter.active { background: var(--vzla-yellow); border-color: var(--vzla-yellow); color: #0a0a0a; }

/* En móvil los filtros son una fila deslizable, no un amontonamiento */
@media (max-width: 640px) {
  .shop-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1.2rem;
  }
  .shop-filters::-webkit-scrollbar { display: none; }
  .shop-filter {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.7rem 1.1rem;
  }
}

/* ===== Grid y tarjetas ===== */
.shop-grid {
  display: grid; gap: 1rem; padding: 0 1.5rem 4rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  max-width: 72rem; margin-inline: auto;
}
.shop-card {
  background: #111; border: 1px solid rgba(245, 241, 232, 0.08);
  position: relative; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}
.shop-card:hover {
  transform: translateY(-4px); border-color: var(--vzla-yellow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
.shop-card-imgwrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.shop-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.4s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.shop-card:hover .shop-card-img { transform: scale(1.05); }
.shop-card-img-2 { opacity: 0; }
.shop-card:hover .shop-card-img-2 { opacity: 1; }
.shop-card-badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--vzla-yellow);
  color: #0a0a0a; font-family: var(--font-display); font-size: 0.65rem;
  font-weight: 900; letter-spacing: 0.12em; padding: 0.4rem 0.75rem; z-index: 2;
}
.shop-card-badge-sale { background: var(--vzla-red); color: #fff; }
.shop-card-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.shop-card-cat { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245, 241, 232, 0.45); }
.shop-card-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.25; }
.shop-card-price { margin-top: auto; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; color: var(--vzla-yellow); }
.shop-card-price s { color: rgba(245, 241, 232, 0.35); font-weight: 400; font-size: 0.85rem; margin-right: 0.5rem; }
.shop-card-agotado { filter: grayscale(1); opacity: 0.55; }

/* ===== Marquee ===== */
.shop-marquee {
  overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(245, 241, 232, 0.1);
  padding: 0.9rem 0; font-family: var(--font-display); font-weight: 900;
  font-size: 0.8rem; letter-spacing: 0.3em; color: rgba(245, 241, 232, 0.3);
}
.shop-marquee-inner { display: inline-block; animation: marquee-shop 30s linear infinite; }
@keyframes marquee-shop { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Página de producto y pedido ===== */
.prod-galeria { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.prod-galeria img { scroll-snap-align: center; width: 100%; max-width: 26rem; aspect-ratio: 4/5; object-fit: cover; flex-shrink: 0; }
.btn-tienda {
  display: inline-block; width: 100%; text-align: center; background: var(--vzla-yellow);
  color: #0a0a0a; font-family: var(--font-display); font-weight: 900;
  font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 2rem; border: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), background 0.25s;
}
.btn-tienda:hover { transform: translateY(-2px); background: #e5ad00; }
.campo-tienda {
  width: 100%; background: #161616; border: 1px solid rgba(245, 241, 232, 0.15);
  color: var(--crema); padding: 0.8rem 1rem; font-family: inherit;
}
.campo-tienda:focus { outline: none; border-color: var(--vzla-yellow); }
.talla-btn {
  display: inline-block;
  border: 1px solid rgba(245, 241, 232, 0.25); background: transparent; color: var(--crema);
  padding: 0.7rem 1.2rem; min-width: 3.2rem; text-align: center;
  font-family: var(--font-display); font-weight: 700;
  cursor: pointer; transition: all 0.2s var(--ease-out-expo);
  user-select: none;
}
.talla-btn:hover { border-color: var(--crema); }
input:checked + .talla-btn { background: var(--crema); color: #0a0a0a; border-color: var(--crema); }
.talla-agotada { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }

/* Entrada de página */
.page-enter { animation: fadeInUp 0.7s var(--ease-out-expo) both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Estilo afiche (entradas): cintas rojas, dorado, carbón texturado ===== */
:root { --dorado: #f0a500; }
.fondo-afiche {
  background-color: #1c1c1c;
  background-image: repeating-linear-gradient(
    115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 2px,
    transparent 2px, transparent 14px
  );
}
.cinta {
  display: inline-block; background: var(--vzla-red); color: var(--dorado);
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.45rem 1rem; line-height: 1.15;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}
.cinta-blanca { background: #f5f1e8; color: #1c1c1c; }
.cinta-grande { font-size: clamp(1.4rem, 5vw, 2.6rem); }
.evento-afiche-card {
  display: block; border: 2px solid rgba(240, 165, 0, 0.5); overflow: hidden;
  text-decoration: none; color: inherit; background: #111;
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}
.evento-afiche-card:hover {
  transform: translateY(-4px); border-color: var(--dorado);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.evento-afiche-card img { width: 100%; display: block; }
.btn-afiche {
  display: inline-block; width: 100%; text-align: center; background: var(--vzla-red);
  color: var(--dorado); font-family: var(--font-display); font-weight: 900;
  font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem 2rem; border: none; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
  transition: transform 0.25s var(--ease-out-expo);
}
.btn-afiche:hover { transform: translate(-2px, -2px); }
.tipo-radio { display: none; }
.tipo-card {
  display: block; border: 2px solid rgba(240, 165, 0, 0.4); padding: 0.9rem 1.1rem;
  cursor: pointer; transition: all 0.2s var(--ease-out-expo);
}
.tipo-card:hover { border-color: var(--dorado); }
.tipo-radio:checked + .tipo-card { background: var(--dorado); border-color: var(--dorado); color: #1c1c1c; }
