@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin-800-normal.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik-latin-900-normal.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  /* Colores tomados del logo: rojo SNEAKERS, amarillo corona,
     azul globos/gorra LA, rosa neón, contorno negro */
  --bg: #0c0b10;
  --bg2: #16141c;
  --card: #16141c;
  --borde: #2a2733;
  --texto: #f5f3ee;
  --suave: #a9a4b4;
  --surface-2: #1d1a24;
  --line: #2a2733;
  --rojo: #e8202f;
  --rojo2: #ff3344;
  --oro: #ffcf1f;
  --azul: #2f6bff;
  --rosa: #ff3fb4;
  --verde: #25d366;
  --radio: 14px;
  --display: "Rubik", "Arial Black", system-ui, sans-serif;
  --texto-font: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line) transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--texto); font-family: var(--texto-font); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.contenedor { width: min(1200px, 100% - 32px); margin-inline: auto; }
.oculto { display: none !important; }
.btn.volver-inicio { display: none; margin-bottom: 18px; } /* (revisión Claude) .btn lo mostraba también en el inicio */
body.vista-productos .hero, body.vista-productos .cinta,
body.vista-productos #mayoreo, body.vista-productos #ubicacion { display: none; }
body.vista-productos .btn.volver-inicio { display: inline-flex; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-rojo { border: 2px solid #000; box-shadow: 3px 3px 0 #000; }
.btn-rojo { background: var(--rojo); color: #fff; }
.btn-oro { background: var(--oro); color: #111; }
.btn-verde { background: var(--verde); color: #062b14; }
.btn-rojo:active, .btn-oro:active, .btn-verde:active { box-shadow: 1px 1px 0 #000; transform: translate(2px, 2px); }
.btn-borde { background: transparent; color: var(--texto); border: 1.5px solid var(--borde); }
.btn-borde:hover { border-color: var(--suave); }
.btn-chico { padding: 7px 14px; font-size: .85rem; }
.btn-bloque { width: 100%; }

/* Letras 3D: solo para acciones y títulos señalados por la marca. */
.t3d { --sombra: #7a0b14; color: #fff; text-transform: uppercase; text-shadow: 1px 1px 0 var(--sombra), 2px 2px 0 var(--sombra), 3px 3px 0 #000; }
.t3d-ligero { --sombra: #2f6bff; color: #fff; text-transform: uppercase; text-shadow: 1px 1px 0 var(--sombra), 2px 2px 0 var(--sombra), 3px 3px 0 #000; }
.btn-oro .t3d { color: #111; --sombra: #7a5b00; text-shadow: 1px 1px 0 #fff5c2, 2px 2px 0 #000; }
.btn-verde .t3d { --sombra: #0e6b31; }
.hero h1 { font-weight: 900; font-size: clamp(2.6rem, 7.5vw, 5.6rem); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 1px 1px 0 #fff, 2px 2px 0 #000; }
.hero h1 .rojo { color: var(--rojo); text-shadow: 1px 1px 0 #5c0710, 2px 2px 0 #000; }
.titulo { font-weight: 900; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; text-shadow: 1px 1px 0 #8a6a00, 2px 2px 0 #8a6a00, 3px 3px 0 #000; }
.btn-rojo, .btn-oro, .btn-verde { box-shadow: 3px 3px 0 #000; transition: transform 220ms cubic-bezier(.16,1,.3,1), filter 220ms cubic-bezier(.16,1,.3,1), box-shadow 220ms cubic-bezier(.16,1,.3,1); }
.btn-oro { color: #111; }
.btn-verde { color: #fff; }
.btn .t3d { transition: text-shadow 220ms cubic-bezier(.16,1,.3,1); }
.btn-rojo .t3d, .btn-verde .t3d { text-shadow: 1px 1px 0 var(--sombra), 2px 2px 0 var(--sombra), 3px 3px 0 var(--sombra), 4px 4px 0 #000; }
.btn-oro .t3d { text-shadow: 1px 1px 0 #fff5c2, 2px 2px 0 #7a5b00, 3px 3px 0 #000; }
.btn:focus-visible { transition: transform 220ms cubic-bezier(.16,1,.3,1), box-shadow 220ms cubic-bezier(.16,1,.3,1); }
@media (hover:hover) and (pointer:fine) {
  .btn-rojo:hover, .btn-oro:hover, .btn-verde:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 #000; filter: brightness(1.06); }
  .btn-rojo:hover .t3d, .btn-verde:hover .t3d { text-shadow: 1px 1px 0 var(--sombra), 2px 2px 0 var(--sombra), 3px 3px 0 var(--sombra), 4px 4px 0 var(--sombra), 5px 5px 0 #000; }
  .btn-oro:hover .t3d { text-shadow: 1px 1px 0 #fff5c2, 2px 2px 0 #7a5b00, 3px 3px 0 #7a5b00, 4px 4px 0 #000; }
  .nav a { position: relative; text-shadow: 1px 1px 0 #2f6bff, 2px 2px 0 #000; transition: color 220ms cubic-bezier(.16,1,.3,1), transform 220ms cubic-bezier(.16,1,.3,1), text-shadow 220ms cubic-bezier(.16,1,.3,1); }
  .nav a:hover { transform: translateY(-2px); text-shadow: 1px 1px 0 var(--rojo), 2px 2px 0 var(--rojo), 3px 3px 0 #000; }
  .wa-flotante { transition: transform 220ms cubic-bezier(.16,1,.3,1); }
  .wa-flotante:hover { transform: translateY(-3px) scale(1.06); }
}
.btn-rojo:active, .btn-oro:active, .btn-verde:active { transform: translateY(1px); box-shadow: 1px 1px 0 #000; }
.btn-rojo:active .t3d, .btn-verde:active .t3d, .btn-oro:active .t3d { text-shadow: 1px 1px 0 #000; }
.wa-flotante:active { transform: translateY(1px) scale(.98); }
.hero-logo-link { display: block; text-decoration: none; }
.hero-logo-img { display:block; transform: rotate(2deg); transition: transform 220ms cubic-bezier(.16,1,.3,1), filter 220ms cubic-bezier(.16,1,.3,1); }
.hero-logo-link:hover .hero-logo-img { transform: rotate(0) scale(1.03); filter: drop-shadow(3px 3px 0 #000); }
.hero-logo-link:focus-visible { outline: 2px solid var(--oro); outline-offset: 5px; border-radius:20px; }
.tiktok-pill { display:flex; width:max-content; align-items:center; gap:6px; margin:12px auto 0; padding:5px 11px; border-radius:999px; background:var(--surface-2); color:var(--texto); font:600 .78rem var(--texto-font); }
.tiktok-pill svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hero-botones #waHero svg { width:20px; height:20px; fill:#fff; }
.hero-botones .btn { flex:1 1 0; }
.hero-botones .btn-rojo { color:#fff; --sombra:#7a0b14; text-shadow:1px 1px 0 var(--sombra),2px 2px 0 var(--sombra),3px 3px 0 #000; font:900 1rem var(--display); text-transform:uppercase; }
.btn-verde:not(:has(.t3d)) { color:#fff; --sombra:#0e6b31; font:900 1rem var(--display); text-transform:uppercase; text-shadow:1px 1px 0 var(--sombra),2px 2px 0 var(--sombra),3px 3px 0 #000; }
#waHero { gap:8px; }
.titulo { --sombra:#8a6a00; }
.producto h3 { font-family:var(--display); font-weight:800; }
.precio { font-family:var(--display); font-weight:800; text-shadow:1px 1px 0 #000; }
.chip { font-family:var(--display); font-weight:700; }
.btn-rojo, .btn-oro, .btn-verde { font-family:var(--display); font-weight:900; text-transform:uppercase; }
.btn-oro { text-shadow:1px 1px 0 #fff5c2,2px 2px 0 #7a5b00,3px 3px 0 #000; }
.btn-verde { text-shadow:1px 1px 0 #0e6b31,2px 2px 0 #0e6b31,3px 3px 0 #000; }
.nav a { text-shadow:1px 1px 0 #2f6bff,2px 2px 0 #000; transition:transform 220ms cubic-bezier(.16,1,.3,1),color 220ms cubic-bezier(.16,1,.3,1),text-shadow 220ms cubic-bezier(.16,1,.3,1); }
.nav a:nth-child(2) { --sombra:var(--rojo); }
.nav a:nth-child(3) { --sombra:#c2177f; }
.nav a:hover { transform:translateY(-2px); text-shadow:1px 1px 0 var(--sombra,#2f6bff),2px 2px 0 var(--sombra,#2f6bff),3px 3px 0 #000; }
.nav a::after { background:var(--oro); }
.nav a:first-child::after { background:var(--azul); }
.nav a:nth-child(3)::after { background:var(--rosa); }
.titulo { text-shadow:1px 1px 0 var(--sombra),2px 2px 0 var(--sombra),3px 3px 0 #000; }
@media (prefers-reduced-motion: reduce) { .hero-logo-img { transition-duration:0s; transform:none; } }
@media (max-width: 600px) { .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); } .t3d { text-shadow: 1px 1px 0 var(--sombra), 2px 2px 0 #000; } }
@media (prefers-reduced-motion: reduce) { .btn, .btn .t3d, .nav a, .wa-flotante { transition-duration: 0s !important; } .btn:hover, .btn:active, .nav a:hover, .wa-flotante:hover, .wa-flotante:active { transform: none !important; } }

/* ---------- encabezado ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(11, 11, 13, .88); backdrop-filter: blur(10px); border-bottom: 3px solid var(--borde); }
.header .contenedor { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.marca img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--oro); }
.marca span { font-family: var(--display); font-size: 1.55rem; letter-spacing: -.01em; line-height: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marca b { color: var(--rojo2); font-weight: 400; }
.header { box-shadow: 0 3px 0 0 transparent; border-image: linear-gradient(90deg, var(--rojo), var(--oro), var(--azul), var(--rosa)) 1; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--suave); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--texto); }
.btn-carrito { position: relative; background: var(--bg2); border: 1px solid var(--borde); color: var(--texto); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.contador { background: var(--rojo); color: #fff; border-radius: 999px; font-size: .75rem; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; background:
  radial-gradient(700px 380px at 88% 8%, rgba(232, 32, 47, .32), transparent 60%),
  radial-gradient(520px 360px at 70% 100%, rgba(47, 107, 255, .26), transparent 60%),
  radial-gradient(460px 320px at 2% 85%, rgba(255, 207, 31, .16), transparent 60%),
  radial-gradient(380px 260px at 40% 0%, rgba(255, 63, 180, .14), transparent 60%), var(--bg); }
.hero .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.etiqueta { display: inline-block; background: rgba(255, 196, 46, .12); color: var(--oro); border: 1px solid rgba(255, 196, 46, .35); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .92; letter-spacing: 2px; margin: 18px 0 14px; }
.hero h1 .letra, .hero h1 .palabra { display: inline-block; }
.hero h1 .palabra { white-space: nowrap; } /* (revisión Claude) sin esto GSAP no puede mover/rotar las letras */
.hero p { color: var(--suave); font-size: 1.1rem; max-width: 520px; margin: 0 0 26px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { position: relative; justify-self: center; width: min(440px, 100%); }
.hero-logo img { border-radius: 20px; border: 2px solid #000; box-shadow: 3px 3px 0 #000, 0 10px 30px rgba(0,0,0,.35); transform: none; }
.sello { position: absolute; left: -18px; bottom: 22px; background: var(--oro); color: #111; font-family: var(--display); font-size: 1.4rem; padding: 8px 18px; border-radius: 10px; transform: rotate(-6deg); border: 3px solid #000; letter-spacing: 1px; }

.cinta { background: linear-gradient(90deg, var(--rojo), var(--rosa) 50%, var(--azul)); color: #fff; font-family: var(--display); letter-spacing: 1.5px; font-size: 1.25rem; overflow: hidden; white-space: nowrap; border-block: 3px solid #000; }
.cinta div { display: inline-block; padding: 10px 0; animation: cinta 28s linear infinite; }
@keyframes cinta { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cinta div { animation: none; } }

/* ---------- catálogo ---------- */
.seccion { padding: 64px 0; }
.titulo { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: 1.5px; margin: 0 0 6px; }
.subtitulo { color: var(--suave); margin: 0 0 28px; }
.filtros { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--bg2); border: 1px solid var(--borde); color: var(--texto); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.chip.activo { background: var(--oro); color: #111; border-color: #000; box-shadow: 2px 2px 0 #000; }
.buscador { flex: 1 1 240px; max-width: 340px; background: var(--bg2); border: 1px solid var(--borde); color: var(--texto); border-radius: 999px; padding: 10px 18px; }
.orden-catalogo { flex: 0 1 220px; min-width: 0; background: var(--bg2); border: 1px solid var(--borde); color: var(--texto); border-radius: 999px; padding: 10px 18px; }
.orden-catalogo, .campo { color-scheme: dark; } /* listas desplegables oscuras en Windows */
.orden-catalogo option, select.campo option { background: var(--bg2); color: var(--texto); }
.btn-compartir { align-self: flex-start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.producto { background: var(--card); border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.producto .foto { position: relative; aspect-ratio: 1; background: #111; }
.producto .foto img { width: 100%; height: 100%; object-fit: cover; }
.insignia { position: absolute; top: 10px; left: 10px; background: var(--oro); color: #111; border: 2px solid #000; font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; }
.insignia.agotado { background: #3f3f46; color: #fff; }
.producto .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.producto .marca-p { color: var(--suave); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.producto h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.precios { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.precio { font-size: 1.3rem; font-weight: 800; }
.mayoreo-txt { font-size: .8rem; color: var(--oro); font-weight: 600; }
.vacio { text-align: center; color: var(--suave); padding: 50px 0; grid-column: 1 / -1; }

/* ---------- mayoreo + ubicación ---------- */
.mayoreo-box ul { margin: 0; padding-left: 20px; color: var(--suave); }
.mayoreo-box li { margin-bottom: 6px; }
.ubicacion { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.dato { background: var(--card); border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px 20px; margin-bottom: 12px; }
.dato small { color: var(--suave); display: block; font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: 1px; }
.mapa { border: 0; width: 100%; min-height: 320px; height: 100%; border-radius: var(--radio); filter: grayscale(.3) contrast(1.05); }
.footer { border-top: 1px solid var(--borde); padding: 30px 0; color: var(--suave); font-size: .9rem; }
.footer .contenedor { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- modal y carrito ---------- */
.fondo { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fondo.abierto { opacity: 1; pointer-events: auto; }
.modal { position: fixed; z-index: 70; left: 50%; top: 50%; transform: translate(-50%, -48%) scale(.98); width: min(860px, 100% - 24px); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg2); border: 1px solid var(--borde); border-radius: 20px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.modal { scrollbar-width: thin; scrollbar-color: var(--borde) transparent; }
.modal.abierto { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal-cuerpo { display: grid; grid-template-columns: 1fr 1fr; }
.modal-cuerpo > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal-info { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-info h2 { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.cerrar { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 2; }
.tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.talla { min-width: 48px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--borde); background: transparent; color: var(--texto); cursor: pointer; font-weight: 700; }
.talla.activo { border-color: var(--oro); background: rgba(255, 196, 46, .12); color: var(--oro); }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--borde); border-radius: 999px; overflow: hidden; }
.cantidad button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--texto); font-size: 1.2rem; cursor: pointer; }
.cantidad span { min-width: 32px; text-align: center; font-weight: 700; }
.nota { font-size: .85rem; color: var(--suave); }
.nota-oro { color: var(--oro); }

.carrito { position: fixed; z-index: 70; top: 0; right: 0; height: 100%; width: min(430px, 100%); background: var(--bg2); border-left: 1px solid var(--borde); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; }
.carrito.abierto { transform: none; }
.carrito-cab { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--borde); }
.carrito-cab h2 { font-family: var(--display); font-weight: 400; letter-spacing: 1px; margin: 0; font-size: 1.8rem; }
.carrito-cab .cerrar { position: static; }
.carrito-items { flex: 1; overflow: auto; padding: 8px 20px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--borde); align-items: center; }
.item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.item h4 { margin: 0; font-size: .92rem; }
.item .nota { margin: 2px 0 6px; }
.item .cantidad button { width: 30px; height: 30px; font-size: 1rem; }
.quitar { background: none; border: 0; color: var(--suave); cursor: pointer; font-size: .8rem; text-decoration: underline; padding: 0; }
.carrito-pie { padding: 18px 20px 22px; border-top: 1px solid var(--borde); display: flex; flex-direction: column; gap: 10px; }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.campo { background: var(--bg); border: 1px solid var(--borde); color: var(--texto); border-radius: 10px; padding: 10px 12px; width: 100%; }

/* ---------- cuenta ---------- */
.modal-cuenta { width: min(420px, 100% - 24px); }
.cuenta-cuerpo { padding: 30px 26px 26px; }
.cuenta-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--oro); margin: 0 auto 18px; }
.pestanas { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--borde); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.pestana { border: 0; background: transparent; color: var(--suave); padding: 9px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.pestana.activo { background: var(--oro); color: #111; }
.cuenta-form { display: flex; flex-direction: column; gap: 10px; }
.error-txt { color: var(--rojo2); font-size: .9rem; min-height: 1.2em; margin: 10px 0 0; text-align: center; }
.pill-rol { display: inline-block; padding: 4px 14px; border-radius: 999px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; background: rgba(47, 107, 255, .18); color: #8fb0ff; }
.pill-rol.admin { background: rgba(255, 207, 31, .18); color: var(--oro); }

.toast { position: fixed; z-index: 90; bottom: 22px; left: 50%; transform: translate(-50%, 20px); background: var(--texto); color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.ver { opacity: 1; transform: translate(-50%, 0); }
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: var(--verde); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* Tarea 7: sistema visual y superficies de interacción */
::selection { background: var(--oro); color: #111; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }
*:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
input, textarea { caret-color: var(--oro); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--rojo); }
a { text-underline-offset: 3px; }
.btn-rojo { border: 2px solid #000; box-shadow: 3px 3px 0 #000; }
.btn-oro, .btn-verde { border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn:active, .btn-carrito:active { transform: scale(.97); transition-duration: 100ms; }
.btn-rojo:active, .btn-oro:active, .btn-verde:active { box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-rojo, .btn-oro, .btn-verde { transition: transform 100ms cubic-bezier(.16,1,.3,1), filter 250ms cubic-bezier(.16,1,.3,1), background 250ms cubic-bezier(.16,1,.3,1); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--azul); transform: scaleX(0); transform-origin: left; transition: transform 250ms cubic-bezier(.16,1,.3,1); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.btn-carrito svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn-compartir svg, .cantidad button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.hero { padding: clamp(64px, 8vw, 104px) 0; background: var(--bg); }
.hero .contenedor { min-height: min(690px, calc(100svh - 68px)); }
.hero h1 { font-weight: 900; font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: .88; letter-spacing: -.01em; margin: 0 0 24px; text-wrap: balance; }
.hero h1 .rojo { display: block; color: var(--rojo); -webkit-text-stroke: 0; text-shadow: none; background: none; -webkit-text-fill-color: currentColor; animation: none; }
.hero h1 .rojo .letra { background: none; background-image: none; background-clip: border-box; -webkit-background-clip: border-box; -webkit-text-fill-color: currentColor; animation: none; }
.hero h1 .rojo::after { content: none; }
.hero p { max-width: 62ch; color: var(--texto); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.45; text-wrap: pretty; }
.hero-confianza { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; color: var(--suave); font-size: .88rem; }
.hero-logo { width: min(460px, 100%); }
.hero-logo img { aspect-ratio: 1; border: 2px solid #000; border-radius: 20px; box-shadow: 3px 3px 0 #000, 0 10px 30px rgba(0,0,0,.35); transform: none; }
.sello { border: 2px solid #000; box-shadow: 3px 3px 0 #000; font-weight: 800; letter-spacing: -.01em; }
.cinta { border: 0; text-shadow: none; font-size: 1.08rem; }
.cinta div { animation-duration: 36s; }
.cinta:hover div, .cinta:focus-within div { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .cinta div { animation: none; } }
.seccion { padding: clamp(64px, 10vw, 120px) 0; }
.titulo { font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -.01em; line-height: .9; text-wrap: balance; text-shadow: none; margin: 0 0 16px; }
.titulo::after { content: none; }
.subtitulo { text-wrap: pretty; }
.chip.activo { border-color: var(--oro); box-shadow: none; }
.producto { box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform 300ms cubic-bezier(.16,1,.3,1), border-color 300ms cubic-bezier(.16,1,.3,1); }
.producto:hover, .producto:nth-child(3n+2):hover, .producto:nth-child(3n):hover { transform: translateY(-2px); border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.producto .foto { aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.producto .foto img { transition: transform 300ms cubic-bezier(.16,1,.3,1); }
@media (hover: hover) and (pointer: fine) { .producto:hover .foto img { transform: scale(1.03); } }
.insignia { border: 0; font-weight: 600; font-size: .72rem; letter-spacing: .04em; }
.precio { font-family: var(--display); font-size: 1.65rem; font-weight: 800; letter-spacing: -.01em; line-height: .95; }
.mayoreo-box { border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.3); border-radius: var(--radio); background: var(--surface-2); }
.modal-cuerpo > img { aspect-ratio: 4 / 5; background: var(--surface-2); }
.modal-info h2, .carrito-cab h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; line-height: .95; }
.header { border-bottom: 1px solid var(--line); border-image: none; box-shadow: none; background: rgba(12,11,16,.94); }
@media (max-width: 860px) { .hero .contenedor { min-height: 0; } .hero-logo { width: min(340px, 90%); } }
@media (max-width: 480px) {
  .hero { padding: 48px 0 56px; }
  .hero .contenedor { gap: 32px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 4.8rem); }
  .hero-botones { align-items: stretch; }
  .hero-botones .btn { flex: 1 1 100%; }
  .hero-confianza { flex-direction: column; gap: 6px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hero { padding: 36px 0 48px; }
  .hero .contenedor, .mayoreo-box, .ubicacion { grid-template-columns: 1fr; }
  .hero-logo { width: min(340px, 90%); }
  .modal-cuerpo { grid-template-columns: 1fr; }
  .modal-cuerpo > img { aspect-ratio: 4 / 3; }
  .mayoreo-box { padding: 24px; }
}
@media (max-width: 480px) {
  .filtros { justify-content: stretch; }
  .filtros .buscador, .filtros .orden-catalogo { flex: 1 1 100%; max-width: none; width: 100%; }
  .marca span { font-size: 1.25rem; }
  .btn-carrito .txt { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .producto .info { padding: 10px 12px 12px; }
  .producto h3 { font-size: .9rem; }
  .precio { font-size: 1.1rem; }
  .campos { grid-template-columns: 1fr; }
  body.vista-productos #catalogo { padding-top: 28px; }
}

/* Evita que los estilos móviles heredados rompan la proporción del marco. */
.modal-cuerpo > img { height: auto; aspect-ratio: 4 / 5; }
@media (max-width: 480px) { .hero { padding: 48px 0 56px; } }

/* ===== (revisión Claude, tarea 8) 3D igual que la muestra 4 elegida por el dueño ===== */
.hero h1 { color: #fff; text-shadow: 1px 1px 0 #b3121f, 2px 2px 0 #b3121f, 3px 3px 0 #b3121f, 4px 4px 0 #b3121f, 5px 5px 0 #000, 6px 6px 0 #000, 8px 10px 18px rgba(0,0,0,.55); }
.hero h1 .rojo { color: var(--rojo); text-shadow: 1px 1px 0 #5c0710, 2px 2px 0 #5c0710, 3px 3px 0 #5c0710, 4px 4px 0 #5c0710, 5px 5px 0 #000, 6px 6px 0 #000, 8px 10px 18px rgba(0,0,0,.55); }
/* todos los botones de acción con 3D, no solo el del hero */
.btn-rojo { color: #fff; text-shadow: 1px 1px 0 #7a0b14, 2px 2px 0 #7a0b14, 3px 3px 0 #000; }
.btn-verde { color: #fff; text-shadow: 1px 1px 0 #0e6b31, 2px 2px 0 #0e6b31, 3px 3px 0 #000; }
.btn-rojo, .btn-oro, .btn-verde { transition: transform 220ms cubic-bezier(.16,1,.3,1), box-shadow 220ms cubic-bezier(.16,1,.3,1), filter 220ms cubic-bezier(.16,1,.3,1), text-shadow 220ms cubic-bezier(.16,1,.3,1); }
@media (hover: hover) and (pointer: fine) {
  /* la letra "sale" más al pasar el mouse */
  .btn-rojo:hover { text-shadow: 1px 1px 0 #7a0b14, 2px 2px 0 #7a0b14, 3px 3px 0 #7a0b14, 4px 4px 0 #7a0b14, 5px 5px 0 #000; }
  .btn-verde:hover { text-shadow: 1px 1px 0 #0e6b31, 2px 2px 0 #0e6b31, 3px 3px 0 #0e6b31, 4px 4px 0 #0e6b31, 5px 5px 0 #000; }
  .btn-oro:hover { text-shadow: 1px 1px 0 #fff5c2, 2px 2px 0 #7a5b00, 3px 3px 0 #7a5b00, 4px 4px 0 #000; }
}
.btn-rojo:active, .btn-verde:active { text-shadow: 1px 1px 0 #000; }
.btn-oro:active { text-shadow: 1px 1px 0 #7a5b00; }
/* botones del header (cuenta y carrito): 3D ligero como el menú */
.btn-carrito .txt { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; text-shadow: 1px 1px 0 #2f6bff, 2px 2px 0 #000; }
@media (max-width: 600px) {
  .hero h1 { text-shadow: 1px 1px 0 #b3121f, 2px 2px 0 #b3121f, 3px 3px 0 #b3121f, 4px 4px 0 #000, 6px 8px 14px rgba(0,0,0,.5); }
  .hero h1 .rojo { text-shadow: 1px 1px 0 #5c0710, 2px 2px 0 #5c0710, 3px 3px 0 #5c0710, 4px 4px 0 #000, 6px 8px 14px rgba(0,0,0,.5); }
}
.hero-botones .btn { min-height: 52px; } /* (revisión Claude) los dos botones del hero del mismo alto */
