/* =========================================
   APACHE
   styles.css
   ========================================= */

:root {
  --amarillo: #FFC60B;
  --amarillo-oscuro: #D9A800;
  --texto: #F5F5F5;
  --texto-muted: #999;
  --card-bg: #161616;
  --card-border: #2A2A2A;
  --nav-bg: rgba(10, 10, 10, 0.92);
  --bg: #0A0A0A;
  --gris-medio: #2C2C2C;
  --negro: #0A0A0A;
  --section-dark: #111111;
}

[data-theme="light"] {
  --texto: #111111;
  --texto-muted: #666;
  --card-bg: #FFFFFF;
  --card-border: #DDD;
  --nav-bg: rgba(245, 245, 245, 0.95);
  --bg: #F5F5F0;
  --gris-medio: #E0E0E0;
  --negro: #F5F5F0;
  --section-dark: #ECECE5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--texto);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* ===== STITCH DIVIDER (motivo de costura, como en un jean) ===== */
.stitch-line {
  width: 96px;
  height: 11px;
  margin-bottom: 2.5rem;
  position: relative;
}
.stitch-line::before,
.stitch-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 2px;
  background-image: repeating-linear-gradient(to right, var(--amarillo) 0 6px, transparent 6px 11px);
}
.stitch-line::before { top: 0; }
.stitch-line::after { bottom: 0; }

/* punto tipo remache, usado como separador/acento puntual */
.rivet {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--amarillo); display: inline-block; flex-shrink: 0;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== MARQUEE (franja de cinta corrediza) ===== */
.marquee {
  background: var(--amarillo);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--negro);
  border-bottom: 1px solid var(--negro);
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: #0A0A0A;
  padding: 11px 1.75rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item .rivet { background: #0A0A0A; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

nav.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.25); border-bottom-color: rgba(255,198,11,0.15); }

.logo-wrap { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-title { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; color: var(--texto); }
.logo-sub   { font-size: 9px; letter-spacing: 3px; color: var(--amarillo); font-weight: 600; text-transform: uppercase; }

.nav-menu { display: flex; list-style: none; gap: 0.25rem; margin: 0 auto; }

.nav-link {
  display: block; padding: 6px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  color: var(--texto-muted); border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--texto); background: var(--gris-medio); }
.nav-link.active { color: var(--amarillo); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.theme-btn {
  background: var(--gris-medio); border: 1px solid var(--card-border);
  color: var(--texto); padding: 6px 14px; border-radius: 20px;
  font-size: 11px; font-family: 'Barlow', sans-serif; font-weight: 600;
  cursor: pointer; letter-spacing: 1px; transition: all 0.2s; white-space: nowrap;
}
.theme-btn:hover { background: var(--amarillo); color: #0A0A0A; border-color: var(--amarillo); }

.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 4px; width: 32px; height: 32px;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--texto); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--nav-bg); border-bottom: 1px solid var(--card-border);
  position: fixed; top: 64px; left: 0; right: 0;
  z-index: 190; backdrop-filter: blur(14px);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 1rem 2rem; font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  color: var(--texto-muted); border-bottom: 1px solid var(--card-border);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-link:hover { color: var(--amarillo); padding-left: 2.5rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--negro);
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/banner.png') center center / cover no-repeat;
  transform: scale(1.08);
  transition: transform 9s ease;
  opacity: 0.55;
  animation: heroIn 1.4s ease forwards;
}
.hero:hover .hero-bg { transform: scale(1); }
@keyframes heroIn { from { opacity: 0; } to { opacity: 0.55; } }

/* textura grain sutil para quitarle lo "plano" al fondo */
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.6) 55%,
    rgba(0,0,0,0.2) 100%
  );
}

/* glow ambiental amarillo, refuerza el acento sin agregar otro color */
.hero-glow {
  position: absolute; right: -10%; top: 50%;
  width: 640px; height: 640px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255,198,11,0.16) 0%, rgba(255,198,11,0) 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--amarillo);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 680px;
  margin-top: 64px;
}
.hero-content > * { animation: heroRise 0.8s cubic-bezier(.22,.61,.36,1) backwards; }
.hero-tag   { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.15s; }
.hero-sub   { animation-delay: 0.28s; }
.hero-btns  { animation-delay: 0.4s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .hero-bg { animation: none; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amarillo); color: #0A0A0A;
  font-size: 10px; letter-spacing: 3px;
  padding: 4px 16px; margin-bottom: 1.25rem;
  font-weight: 700; text-transform: uppercase;
}
.hero-tag .rivet { background: #0A0A0A; }

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 11vw, 116px);
  letter-spacing: 4px; line-height: 0.86;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.hero-title .accent { color: var(--amarillo); }

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* indicador de scroll, sutil invitación a bajar al catálogo */
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  animation: scrollHint 2.2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--amarillo); }
.hero-scroll svg { width: 14px; height: 14px; }
@keyframes scrollHint { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }

.btn-primary {
  position: relative;
  display: inline-block; padding: 12px 28px;
  background: var(--amarillo); color: #0A0A0A;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--amarillo-oscuro);
  transform: translateX(-101%); transition: transform 0.25s ease;
  z-index: 0;
}
.btn-primary span, .btn-primary { z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,198,11,0.25); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  border: 1.5px solid rgba(255,255,255,0.5); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: border-color 0.2s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--amarillo); background: rgba(255,198,11,0.1); color: var(--amarillo); transform: translateY(-2px); }

/* ===== SECCIONES ===== */
.section { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-dark { background: var(--section-dark); max-width: 100%; padding: 5rem 2rem; margin: 0; }
.section-dark .nosotros-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--amarillo-oscuro);
  margin-bottom: 0.6rem;
}
[data-theme="light"] .section-eyebrow { color: var(--amarillo-oscuro); }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px; letter-spacing: 4px;
  margin-bottom: 0.25rem; color: var(--texto);
}
.section-line { width: 48px; height: 3px; background: var(--amarillo); margin-bottom: 2.5rem; }

/* ===== FILTROS CATÁLOGO ===== */
.cat-filtros { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.cat-chip {
  padding: 7px 18px; border-radius: 20px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg); color: var(--texto-muted);
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: capitalize; cursor: pointer;
  font-family: 'Barlow', sans-serif; transition: all 0.2s;
}
.cat-chip:hover { border-color: var(--amarillo); color: var(--texto); }
.cat-chip.active { background: var(--amarillo); border-color: var(--amarillo); color: #0A0A0A; }

.catalogo-search { position: relative; margin-bottom: 1.75rem; max-width: 400px; }
.catalogo-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--texto-muted); pointer-events: none; }
.catalogo-search input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--card-bg); border: 1px solid var(--card-border);
  color: var(--texto); border-radius: 6px; font-size: 13px;
  font-family: 'Barlow', sans-serif; outline: none; transition: border-color 0.2s;
}
.catalogo-search input:focus { border-color: var(--amarillo); }
.catalogo-search input::placeholder { color: var(--texto-muted); }

/* ===== CATÁLOGO GRID ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; align-items: stretch; }

/* ===== CARDS — ALTURA FIJA ===== */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); border-color: var(--amarillo); box-shadow: 0 14px 28px rgba(0,0,0,0.28); }

.card-img {
  width: 100%; aspect-ratio: 3/4;
  background: var(--gris-medio);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.08); }
.card-img-label { font-family: 'Bebas Neue', sans-serif; font-size: 56px; color: rgba(255,198,11,0.15); letter-spacing: 4px; }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--amarillo); color: #0A0A0A; font-size: 9px; font-weight: 700; letter-spacing: 2px; padding: 3px 10px; }
.card-fotos-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 10px; font-weight: 600; padding: 3px 8px;
  border-radius: 20px; letter-spacing: 0.5px; backdrop-filter: blur(4px);
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-name {
  font-weight: 600; font-size: 14px; letter-spacing: 1px;
  margin-bottom: 4px; text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.card-desc {
  font-size: 12px; color: var(--texto-muted);
  margin-bottom: 0.75rem; line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  flex: 1;
}
.card-tallas { color: var(--amarillo-oscuro); font-size: 11px; font-weight: 600; }
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
}
.card-price { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--texto); letter-spacing: 1px; }
.card-price span { font-size: 12px; color: var(--texto-muted); font-family: 'Barlow', sans-serif; font-weight: 400; }

/* Botón INFO en card (lleva a página de detalle) */
.info-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amarillo); color: #0A0A0A; border: none;
  padding: 8px 16px; border-radius: 3px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s; font-family: 'Barlow', sans-serif;
  flex-shrink: 0;
}
.info-btn:hover { background: var(--amarillo-oscuro); }

/* Botón Pedir (en la página detalle) */
.wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amarillo); color: #0A0A0A; border: none;
  padding: 10px 20px; border-radius: 3px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s; font-family: 'Barlow', sans-serif;
}
.wa-btn:hover { background: var(--amarillo-oscuro); }
.wa-icon { width: 14px; height: 14px; fill: #0A0A0A; flex-shrink: 0; }

/* ===== NOSOTROS ===== */
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.nosotros-p { font-size: 15px; color: var(--texto-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.nosotros-p strong { color: var(--amarillo-oscuro); }
.nosotros-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--amarillo); letter-spacing: 2px; line-height: 1; }
.stat-label { font-size: 11px; color: var(--texto-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

.nosotros-logo-wrap { display: flex; align-items: center; justify-content: center; }
.nosotros-logo-box {
  border: 2px solid var(--amarillo); padding: 3rem 2.5rem;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; position: relative; width: 100%;
}
.nosotros-logo-box::before {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid rgba(255,198,11,0.2); pointer-events: none;
}
.nosotros-logo-title { font-family: 'Bebas Neue', sans-serif; font-size: 48px; letter-spacing: 6px; color: var(--texto); }
.nosotros-logo-sub { font-size: 10px; letter-spacing: 5px; color: var(--amarillo); font-weight: 600; text-transform: uppercase; }


/* ===== FOOTER ===== */
footer {
  background: var(--negro); border-top: 1px solid var(--card-border);
  text-align: center; padding: 2rem;
  color: var(--texto-muted); font-size: 12px; letter-spacing: 2px;
}
footer strong { color: var(--amarillo); }

/* =========================================
   PÁGINA DE DETALLE DE PRODUCTO
   ========================================= */
.detalle-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}
.detalle-volver {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--texto-muted); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  margin-bottom: 2rem; transition: color 0.2s;
}
.detalle-volver:hover { color: var(--amarillo); }

.detalle-grid {
  display: grid;
  grid-template-columns: 80px minmax(0, 52%) minmax(0, 38%);
  gap: 1.25rem;
  align-items: start;
}

/* Columna de thumbnails verticales */
.detalle-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detalle-thumb {
  width: 72px; height: 88px;
  border-radius: 6px; overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--card-border);
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6; flex-shrink: 0;
}
.detalle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detalle-thumb.active { border-color: var(--amarillo); opacity: 1; }
.detalle-thumb:hover { opacity: 1; border-color: rgba(255,198,11,0.5); }

/* Imagen principal grande */
.detalle-img-principal {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--card-bg);
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--card-border);
  position: relative; cursor: zoom-in;
}
.detalle-img-principal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.15s ease;
}
.detalle-img-principal:hover img { transform: scale(1.06); }

/* Panel de info */
.detalle-info {
  display: flex; flex-direction: column;
  padding-left: 0.5rem;
  position: sticky; top: 88px;
}
.detalle-badge {
  display: inline-block;
  background: var(--amarillo); color: #0A0A0A;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  padding: 4px 14px; margin-bottom: 1rem; align-self: flex-start;
}
.detalle-nombre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 2px; line-height: 1.05;
  margin-bottom: 0.5rem; text-transform: uppercase;
}
.detalle-precio {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px; color: var(--amarillo);
  letter-spacing: 1px; margin-bottom: 0.5rem;
}
.detalle-precio span { font-size: 16px; color: var(--texto-muted); font-family: 'Barlow', sans-serif; }
.detalle-divider { width: 100%; height: 1px; background: var(--card-border); margin: 1.25rem 0; }
.detalle-desc {
  font-size: 14px; color: var(--texto-muted);
  line-height: 1.8; margin-bottom: 1.5rem;
  overflow-wrap: break-word; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.detalle-tallas-box {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.detalle-tallas-label {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--texto-muted); margin-bottom: 6px; font-weight: 600;
}
.detalle-tallas-val { font-size: 15px; font-weight: 600; color: var(--amarillo); }
.detalle-cta { margin-top: auto; }
.detalle-cta .wa-btn { width: 100%; justify-content: center; padding: 16px 24px; font-size: 15px; border-radius: 4px; }
.detalle-not-found { text-align: center; padding: 6rem 2rem; }
.detalle-not-found h2 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; margin-bottom: 1rem; }
/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 1.25rem; }
  .hero { height: 100svh; min-height: 500px; }
  .hero-content { padding: 0 1.5rem; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; text-align: center; }
  .hero-glow { width: 380px; height: 380px; }
  .hero-scroll { display: none; }
  .marquee-item { font-size: 12px; padding: 9px 1.1rem; gap: 0.85rem; }
  .section { padding: 3rem 1.25rem; }
  .section-dark { padding: 3rem 1.25rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .nosotros-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nosotros-logo-box { padding: 2rem 1.5rem; }
  .nosotros-logo-title { font-size: 36px; letter-spacing: 4px; }

  .detalle-grid { grid-template-columns: 1fr; gap: 1rem; }
  .detalle-thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .detalle-thumb { width: 64px; height: 76px; flex-shrink: 0; }
  .detalle-info { padding-left: 0; position: static; }
  .detalle-nombre { font-size: 28px; }
}

@media (max-width: 480px) {
  nav { height: 56px; padding: 0 1rem; }
  .mobile-menu { top: 56px; }
  .logo-title { font-size: 20px; }
  .hero-title { font-size: clamp(44px, 15vw, 64px); }
  .section { padding: 2.5rem 1rem; }
  .grid { grid-template-columns: 1fr; }
  .card-img { aspect-ratio: 4/3; }
  .card-footer { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .info-btn { justify-content: center; }
}
/* =========================================
   BOTONES FLOTANTES (FAB)
   ========================================= */
.fab {
  position: fixed;
  right: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fab:hover { transform: translateY(-3px) scale(1.07); }

/* Facebook */
.fab-facebook {
  bottom: 88px;
  background: #1877F2;
  box-shadow: 0 4px 16px rgba(24,119,242,0.45);
}
.fab-facebook:hover { box-shadow: 0 8px 24px rgba(24,119,242,0.55); }
.fab-facebook svg { width: 26px; height: 26px; fill: #fff; }

/* Libro de Reclamaciones */
.fab-reclamos {
  bottom: 24px;
  background: #fff;
  border: 2px solid var(--amarillo);
  box-shadow: 0 4px 16px rgba(255,198,11,0.25);
}
.fab-reclamos:hover { box-shadow: 0 8px 24px rgba(255,198,11,0.4); }
.fab-reclamos svg { width: 30px; height: 30px; }

@media (max-width: 768px) {
  .fab { width: 46px; height: 46px; right: 16px; }
  .fab-facebook { bottom: 78px; }
  .fab-facebook svg { width: 22px; height: 22px; }
  .fab-reclamos { bottom: 20px; }
  .fab-reclamos svg { width: 26px; height: 26px; }
}
/* ===== VER MÁS / VER MENOS descripción producto ===== */
.detalle-desc-wrap { margin-bottom: 1.5rem; }

.detalle-desc {
  font-size: 14px; color: var(--texto-muted);
  line-height: 1.8;
  overflow-wrap: break-word; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: max-height 0.3s ease;
  margin-bottom: 0.5rem;
}
.detalle-desc.expandido {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.detalle-desc-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--amarillo); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0; font-family: 'Barlow', sans-serif;
  transition: opacity 0.2s;
}
.detalle-desc-toggle:hover { opacity: 0.75; }
/* =========================================
   SECCIÓN TIENDAS
   ========================================= */

/* Grid de dos columnas: Centro de Lima | Gamarra */
.tiendas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0.5rem;
}

/* Encabezado de zona */
.tienda-zona-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFC60B;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--card-border, #2A2A2A);
}

/* Card de cada tienda */
.tienda-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg, #161616);
  border: 1px solid var(--card-border, #2A2A2A);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--texto, #F5F5F5);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  cursor: pointer;
}
.tienda-card:last-child { margin-bottom: 0; }
.tienda-card:hover {
  border-color: #FFC60B;
  transform: translateX(4px);
  background: rgba(255,198,11,0.04);
}

/* Ícono de pin */
.tienda-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,198,11,0.12);
  border-radius: 50%;
  color: #FFC60B;
  flex-shrink: 0;
}

/* Info de la tienda */
.tienda-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.tienda-nombre {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto, #F5F5F5);
  letter-spacing: 0.3px;
}
.tienda-dir {
  font-size: 12px;
  color: var(--texto-muted, #999);
}

/* Botón "Ver mapa →" */
.tienda-cta {
  font-size: 12px;
  font-weight: 600;
  color: #FFC60B;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: letter-spacing 0.2s;
}
.tienda-card:hover .tienda-cta {
  letter-spacing: 1px;
}

/* ===== MAPA (Google Maps embed) ===== */
.mapa-embed {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  width: 100%;
  aspect-ratio: 1030 / 450;
  border-radius: 6px;
  overflow: hidden;
}
.mapa-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
@media (max-width: 768px) {
  .mapa-embed { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .mapa-embed { aspect-ratio: 1 / 1; }
}

/* ===== RESPONSIVE TIENDAS ===== */
@media (max-width: 768px) {
  .tiendas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .tienda-card {
    padding: 0.875rem 1rem;
  }
  .tienda-nombre { font-size: 13px; }
  .tienda-cta { display: none; } /* En móvil muy pequeño se oculta el texto "Ver mapa" */
}