/* ONYX FIT — sitio web
   Colores de la línea gráfica: rojo #F04444, faceta oscura #AF242C, hueso #F4F4EF, carbón #111315 */

:root {
  --carbon: #111315;
  --carbon-2: #17191c;
  --carbon-3: #1f2226;
  --linea: rgba(244, 244, 239, 0.12);
  --hueso: #f4f4ef;
  --hueso-2: rgba(244, 244, 239, 0.68);
  --hueso-3: rgba(244, 244, 239, 0.45);
  --rojo: #f04444;
  --rojo-osc: #af242c;
  --ancho: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radio: 14px;
  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --texto: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--hueso);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grano de concreto sutil sobre todo el sitio */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.saltar { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--rojo); padding: 8px 14px; border-radius: 8px; }
.saltar:focus { left: 8px; }

/* Tipografía */
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hueso-2);
}
.punto { width: 7px; height: 7px; border-radius: 50%; background: var(--rojo); }

.titulo {
  font-family: var(--display);
  font-weight: 850;
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.titulo em, .portada__titulo em, .manifiesto__frase em { font-style: italic; color: var(--rojo); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.25s var(--curva), background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { font-size: 19px; }
.btn:active { transform: scale(0.97); }
.btn--rojo { background: var(--rojo); color: #fff; }
.btn--rojo:hover { background: #ff5656; }
.btn--linea { border: 1.5px solid rgba(244, 244, 239, 0.35); }
.btn--linea:hover { border-color: var(--hueso); background: rgba(244, 244, 239, 0.06); }
.btn--hueso { background: var(--hueso); color: var(--carbon); }
.btn--hueso:hover { background: #fff; }
.btn--chico { height: 40px; padding: 0 16px; font-size: 12px; }

/* Barra de avisos */
.aviso { background: var(--hueso); color: var(--carbon); overflow: hidden; height: 34px; display: flex; align-items: center; }
.aviso__pista { display: flex; width: max-content; animation: desliza 38s linear infinite; }
.aviso__pista span {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap;
}
.aviso__pista span::after { content: ""; width: 9px; height: 9px; background: var(--rojo); clip-path: polygon(0 0, 35% 0, 50% 30%, 65% 0, 100% 0, 68% 50%, 100% 100%, 65% 100%, 50% 70%, 35% 100%, 0 100%, 32% 50%); }
@keyframes desliza { to { transform: translateX(-50%); } }

/* Menú */
.menu { position: sticky; top: 0; z-index: 50; background: rgba(17, 19, 21, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.menu.con-sombra { border-bottom-color: var(--linea); }
.menu__in { max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); height: 72px; display: flex; align-items: center; gap: 32px; }
.menu__logo img { width: 150px; height: auto; }
.menu__links { display: flex; gap: 30px; margin-left: auto; }
.menu__links a { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hueso-2); position: relative; transition: color 0.2s; }
.menu__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--curva); }
.menu__links a:hover { color: var(--hueso); }
.menu__links a:hover::after { transform: scaleX(1); }
.menu__acciones { display: flex; align-items: center; gap: 10px; }
.icono-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea); transition: border-color 0.2s; }
.icono-btn:hover { border-color: var(--hueso-2); }
.icono-btn svg { font-size: 18px; }
.menu__hamburguesa { display: none; width: 40px; height: 40px; position: relative; }
.menu__hamburguesa span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--hueso); transition: transform 0.3s var(--curva); }
.menu__hamburguesa span:first-child { top: 15px; }
.menu__hamburguesa span:last-child { top: 23px; }
.menu__hamburguesa[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu__hamburguesa[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-movil { display: flex; flex-direction: column; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--linea); }
.menu-movil[hidden] { display: none; }
.menu-movil a { padding: 14px 0; font-family: var(--display); font-weight: 800; font-style: italic; font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: 22px; border-bottom: 1px solid var(--linea); }
.menu-movil a:last-child { font-size: 14px; letter-spacing: 0.1em; color: var(--hueso-2); border: 0; }

/* Portada */
.portada { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px) 0 clamp(60px, 8vw, 110px); isolation: isolate; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 70% at 75% 40%, #23262b 0%, transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(175, 36, 44, 0.18), transparent 70%); }
.portada__x { position: absolute; z-index: -1; width: min(70vw, 900px); height: auto; aspect-ratio: 928 / 736; right: -12vw; top: 50%; transform: translateY(-50%); color: var(--rojo); opacity: 0.07; }
.portada__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.portada__titulo {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  font-size: clamp(44px, 6.4vw, 100px); line-height: 0.9; letter-spacing: -0.02em;
  margin: 4px 0 26px;
}
.portada__titulo span { display: block; }
.portada__sub { max-width: 520px; color: var(--hueso-2); font-size: clamp(16px, 1.4vw, 18px); margin: 0 0 32px; }
.portada__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.portada__fotos { position: relative; height: clamp(420px, 46vw, 620px); }
.portada__foto { position: absolute; margin: 0; border-radius: var(--radio); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); border: 1px solid var(--linea); }
.portada__foto img { width: 100%; height: 100%; object-fit: cover; }
.portada__foto--1 { width: 52%; aspect-ratio: 720 / 812; left: 0; top: 8%; transform: rotate(-4deg); z-index: 2; }
.portada__foto--2 { width: 50%; aspect-ratio: 720 / 812; right: 0; top: 0; transform: rotate(3deg); z-index: 1; }
.portada__foto--3 { width: 44%; aspect-ratio: 720 / 812; left: 32%; bottom: -4%; transform: rotate(-1deg); z-index: 3; }

/* Entrada de la portada */
@media (prefers-reduced-motion: no-preference) {
  .portada__texto > * { animation: sube 0.9s var(--curva) both; }
  .portada__texto > :nth-child(2) { animation-delay: 0.08s; }
  .portada__texto > :nth-child(3) { animation-delay: 0.16s; }
  .portada__texto > :nth-child(4) { animation-delay: 0.24s; }
  .portada__foto { animation: entraFoto 1.1s var(--curva) both; }
  .portada__foto--1 { animation-delay: 0.15s; }
  .portada__foto--2 { animation-delay: 0.3s; }
  .portada__foto--3 { animation-delay: 0.45s; }
}
@keyframes sube { from { opacity: 0; transform: translateY(24px); } }
@keyframes entraFoto { from { opacity: 0; translate: 0 40px; } }

/* Marcas */
.marcas { border-block: 1px solid var(--linea); background: var(--carbon-2); overflow: hidden; padding: 26px 0; }
.marcas__pista { display: flex; width: max-content; animation: desliza 30s linear infinite; }
.marcas:hover .marcas__pista { animation-play-state: paused; }
.marcas__grupo { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marcas__grupo span {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  text-transform: uppercase; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; white-space: nowrap;
}
.marcas__grupo .hueco { color: transparent; -webkit-text-stroke: 1.5px rgba(244, 244, 239, 0.75); }
.marcas__grupo svg { width: 38px; height: 30px; color: var(--rojo); }

/* Beneficios */
.beneficios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(24px, 3vw, 40px); }
.beneficio { padding: 8px 28px 8px 0; margin-right: 28px; border-right: 1px solid var(--linea); }
.beneficio:last-child { border-right: 0; margin-right: 0; }
.beneficio__num { font-family: var(--display); font-weight: 800; font-style: italic; color: var(--rojo); font-size: 14px; letter-spacing: 0.1em; }
.beneficio h3 { font-size: 17px; font-weight: 750; margin: 10px 0 6px; line-height: 1.25; }
.beneficio p { margin: 0; font-size: 14.5px; color: var(--hueso-2); }
.beneficio a { color: var(--hueso); text-decoration: underline; text-decoration-color: var(--rojo); text-underline-offset: 3px; }

/* Secciones */
.seccion { padding-top: clamp(64px, 8vw, 120px); }
.seccion__cabeza { margin-bottom: clamp(28px, 3.5vw, 44px); }
.seccion__cabeza--fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.seccion__sub { color: var(--hueso-2); max-width: 520px; margin: 16px 0 0; }

/* Categorías */
.categorias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.categoria { position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 720 / 812; border: 1px solid var(--linea); background: var(--carbon-3); }
.categoria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--curva); }
.categoria::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 12, 0.92) 0%, rgba(10, 11, 12, 0.2) 45%, transparent 70%); }
.categoria__txt {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  font-family: var(--display); font-weight: 850; font-style: italic;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  text-transform: uppercase; font-size: clamp(18px, 1.7vw, 24px); line-height: 1;
}
.categoria__txt small { display: block; font-family: var(--texto); font-style: normal; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--rojo); margin-bottom: 8px; }
.categoria:hover img { transform: scale(1.05); }

/* Filtros */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtro { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea); font-size: 13px; font-weight: 600; color: var(--hueso-2); transition: all 0.2s; }
.filtro:hover { color: var(--hueso); border-color: var(--hueso-3); }
.filtro.activo { background: var(--hueso); color: var(--carbon); border-color: var(--hueso); }

/* Rejilla de productos */
.rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.producto { display: flex; flex-direction: column; }
.producto.oculto { display: none; }
.producto__media { position: relative; }
.producto__foto { position: relative; display: block; border-radius: var(--radio); overflow: hidden; aspect-ratio: 720 / 812; background: var(--carbon-3); border: 1px solid var(--linea); }
.producto__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 0.8s var(--curva); }
.producto__foto img + img { opacity: 0; }
.producto__chip { position: absolute; z-index: 2; right: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(17, 19, 21, 0.85); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.producto__chip--agotado { background: var(--hueso); color: var(--carbon); }
@media (hover: hover) {
  .producto:hover .producto__foto img { transform: scale(1.03); }
  .producto:hover .producto__foto img + img { opacity: 1; }
  .producto__puntos { display: none; }
}
/* Celular / pantallas táctiles: las fotos se deslizan de lado */
@media (hover: none) {
  .producto__foto { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .producto__foto::-webkit-scrollbar { display: none; }
  .producto__foto img, .producto__foto img + img { position: relative; inset: auto; flex: 0 0 100%; opacity: 1; scroll-snap-align: start; }
}
.producto__puntos { position: absolute; z-index: 2; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px 7px; border-radius: 999px; background: rgba(17, 19, 21, 0.6); pointer-events: none; }
.producto__puntos i { width: 6px; height: 6px; border-radius: 50%; background: rgba(244, 244, 239, 0.4); transition: background 0.2s, width 0.2s; }
.producto__puntos i.on { background: var(--hueso); width: 14px; border-radius: 3px; }
.producto__info { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.producto__marca { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rojo); }
.producto__nombre { font-size: 16px; font-weight: 700; line-height: 1.25; }
.producto__color { font-size: 13.5px; color: var(--hueso-3); }
.muestras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.muestra { width: 22px; height: 22px; border-radius: 50%; background: var(--tono); border: 1px solid rgba(244, 244, 239, 0.28); box-shadow: 0 0 0 2px var(--carbon); transition: box-shadow 0.2s, transform 0.2s var(--curva); }
.muestra:hover { transform: scale(1.1); }
.muestra.activa { box-shadow: 0 0 0 2px var(--carbon), 0 0 0 4px var(--hueso); }
.producto__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.producto__precio { font-family: var(--display); font-weight: 800; font-size: 19px; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.producto__precio small { font-family: var(--texto); font-size: 11px; font-weight: 600; color: var(--hueso-3); margin-left: 4px; letter-spacing: 0.08em; }
.producto__pedir { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(244, 244, 239, 0.3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.2s; }
.producto__pedir svg { font-size: 16px; }
.producto__pedir:hover { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.nota-tallas { margin: 32px 0 0; font-size: 14px; color: var(--hueso-3); text-align: center; }

/* Encargos */
.encargos { padding: clamp(64px, 8vw, 120px) 0; position: relative; overflow: hidden; }
.encargos::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 0% 50%, rgba(240, 68, 68, 0.13), transparent 70%); pointer-events: none; }
.encargos__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.encargos__intro > p:not(.etiqueta) { color: var(--hueso-2); font-size: 17px; max-width: 480px; margin: 22px 0 30px; }
.pasos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.paso { display: flex; gap: 22px; align-items: flex-start; padding: 26px; border-radius: var(--radio); background: var(--carbon-2); border: 1px solid var(--linea); }
.paso__num {
  flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-style: italic; font-size: 26px;
  font-stretch: 125%; font-variation-settings: "wdth" 125;
  color: #fff; background: var(--rojo); clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}
.paso h3 { font-size: 18px; font-weight: 750; margin: 2px 0 4px; }
.paso p { margin: 0; color: var(--hueso-2); font-size: 15px; }

/* Manifiesto */
.manifiesto { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.manifiesto__frase {
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-stretch: 118%; font-variation-settings: "wdth" 118;
  text-transform: uppercase; font-size: clamp(26px, 4vw, 52px); line-height: 1.05;
  max-width: 1050px; margin: 10px auto 0;
}
.manifiesto__frase--b { color: var(--hueso-3); margin-top: 18px; }
.manifiesto__palabras { list-style: none; margin: 40px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.manifiesto__palabras li { padding: 8px 16px; border: 1px solid var(--linea); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hueso-2); }

/* Preguntas */
.faq { max-width: 880px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; background: linear-gradient(var(--rojo), var(--rojo)) center / 100% 2px no-repeat, linear-gradient(var(--rojo), var(--rojo)) center / 2px 100% no-repeat; transition: transform 0.3s var(--curva); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--hueso-2); max-width: 720px; }

/* Cierre */
.cierre { margin-top: clamp(64px, 8vw, 120px); padding: clamp(64px, 8vw, 110px) 0; background: var(--rojo); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cierre::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 492px; right: -120px; top: 50%; transform: translateY(-50%) rotate(-8deg); background: var(--rojo-osc); opacity: 0.55; clip-path: polygon(10.8% 10.9%, 40% 10.9%, 51.4% 34.8%, 65.5% 7.6%, 100% 0%, 75.4% 48.4%, 26% 48.4%); }
.cierre::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 492px; right: -120px; top: 50%; transform: translateY(-50%) rotate(-8deg); background: var(--rojo-osc); opacity: 0.55; clip-path: polygon(0% 100%, 27.6% 52.2%, 74.6% 52.2%, 92% 90.5%, 62.9% 90.5%, 52.2% 66.8%, 39% 91.5%); }
.cierre__in { text-align: left; }
.cierre .titulo em { color: var(--carbon); }
.cierre p { font-size: 18px; max-width: 520px; margin: 16px 0 30px; color: rgba(255, 255, 255, 0.88); }
.cierre .btn--linea { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.cierre .btn--linea:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Pie */
.pie { padding: 64px 0 96px; background: #0c0d0f; }
.pie__in { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--linea); }
.pie__marca img { width: 190px; }
.pie__marca p { color: var(--hueso-3); margin: 14px 0 0; font-size: 14px; }
.pie__col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--hueso-2); }
.pie__col h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hueso); margin-bottom: 4px; }
.pie__col a:hover { color: var(--hueso); }
.pie__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: var(--hueso-3); }

/* WhatsApp flotante */
.wa-flotante { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6); transition: transform 0.3s var(--curva); }
.wa-flotante svg { font-size: 30px; }
.wa-flotante:hover { transform: scale(1.07); }

/* Aparición al hacer scroll */
@media (prefers-reduced-motion: no-preference) {
  .js .aparece { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--curva), transform 0.8s var(--curva); }
  .js .aparece.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aviso__pista, .marcas__pista { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tableta */
@media (max-width: 1024px) {
  .menu__links { display: none; }
  .menu__acciones { margin-left: auto; }
  .menu__hamburguesa { display: block; }
  .portada__in { grid-template-columns: 1fr; }
  .portada__fotos { height: clamp(380px, 70vw, 560px); max-width: 640px; width: 100%; margin: 0 auto; }
  .beneficios { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .beneficio:nth-child(2) { border-right: 0; margin-right: 0; }
  .categorias { grid-template-columns: repeat(2, 1fr); }
  .rejilla { grid-template-columns: repeat(3, 1fr); }
  .encargos__in { grid-template-columns: 1fr; }
  .pie__in { grid-template-columns: 1fr 1fr; }
  .pie__marca { grid-column: 1 / -1; }
}

/* Celular */
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .menu__in { height: 62px; gap: 12px; }
  .menu__logo img { width: 118px; }
  .menu__acciones .btn--chico span { display: none; }
  .menu__acciones .btn--chico { width: 40px; padding: 0; }
  .menu__acciones .icono-btn { display: none; }
  .portada { padding-top: 36px; }
  .portada__ctas .btn { flex: 1 1 100%; }
  .portada__fotos { height: 108vw; }
  .beneficios { grid-template-columns: 1fr; gap: 0; }
  .beneficio { border-right: 0; margin-right: 0; padding: 18px 0; border-bottom: 1px solid var(--linea); }
  .beneficio:last-child { border-bottom: 0; }
  .categorias { gap: 10px; }
  .categoria__txt { left: 14px; right: 14px; bottom: 14px; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filtros::-webkit-scrollbar { display: none; }
  .filtro { flex-shrink: 0; }
  .rejilla { grid-template-columns: repeat(2, 1fr); gap: 24px 10px; }
  .producto__nombre { font-size: 14.5px; }
  .producto__pie { flex-direction: column; align-items: stretch; gap: 10px; }
  .producto__pedir { justify-content: center; }
  .paso { padding: 20px; gap: 16px; }
  .cierre::before, .cierre::after { opacity: 0.35; right: -320px; }
  .pie__in { grid-template-columns: 1fr; }
  .wa-flotante { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- Ficha de la prenda ---------- */
.producto__nombre a:hover { text-decoration: underline; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
html.ficha-abierta { overflow: hidden; }
.ficha {
  width: min(1060px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--linea); border-radius: 20px;
  background: var(--carbon-2); color: var(--hueso); overflow: hidden;
}
.ficha::backdrop { background: rgba(6, 7, 8, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ficha[open] { animation: fichaEntra 0.35s var(--curva); }
@keyframes fichaEntra { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.ficha__in { display: grid; grid-template-columns: auto minmax(0, 1fr); max-height: calc(100dvh - 34px); }
.ficha__galeria { position: relative; align-self: center; width: min(540px, 52vw, calc((100dvh - 34px) * 0.8867)); background: var(--carbon-3); }
.ficha__pista { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 720 / 812; overscroll-behavior-x: contain; }
.ficha__pista::-webkit-scrollbar { display: none; }
.ficha__foto { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.ficha__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--curva); }
@media (hover: hover) {
  .ficha__foto { cursor: zoom-in; }
  .ficha__foto.zoom { cursor: zoom-out; }
  .ficha__foto.zoom img { transform: scale(2.2); transition: transform 0.35s var(--curva), transform-origin 0.08s linear; }
}
.ficha__flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(17, 19, 21, 0.7); border: 1px solid var(--linea); transition: background 0.2s; }
.ficha__flecha:hover { background: rgba(17, 19, 21, 0.95); }
.ficha__flecha svg { font-size: 20px; }
.ficha__flecha--izq { left: 12px; }
.ficha__flecha--der { right: 12px; }
.ficha__flecha[hidden] { display: none; }
.ficha__puntos { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(17, 19, 21, 0.6); }
.ficha__puntos:empty { display: none; }
.ficha__puntos button { width: 8px; height: 8px; border-radius: 4px; background: rgba(244, 244, 239, 0.4); transition: width 0.2s, background 0.2s; }
.ficha__puntos button.on { width: 18px; background: var(--hueso); }
.ficha__info { padding: clamp(24px, 3vw, 40px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.ficha__nombre {
  font-family: var(--display); font-weight: 850; font-style: italic;
  font-stretch: 118%; font-variation-settings: "wdth" 118;
  text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; margin: 4px 0 6px; padding-right: 36px;
}
.ficha__precio { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 0 0 10px; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.ficha__precio small { font-family: var(--texto); font-size: 12px; font-weight: 600; color: var(--hueso-3); margin-left: 6px; letter-spacing: 0.08em; }
.ficha__bloque { padding: 16px 0; border-top: 1px solid var(--linea); }
.ficha__etiqueta { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hueso-2); }
.ficha__etiqueta b { color: var(--hueso); text-transform: none; letter-spacing: 0; font-size: 15px; }
.ficha__colores { display: flex; flex-wrap: wrap; gap: 10px; }
.ficha__color { width: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; outline: 1px solid var(--linea); transition: border-color 0.2s; }
.ficha__color img { width: 100%; aspect-ratio: 720 / 812; object-fit: cover; }
.ficha__color:hover { border-color: var(--hueso-3); }
.ficha__color.activo { border-color: var(--hueso); }
.ficha__tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha__talla { min-width: 54px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(244, 244, 239, 0.25); font-weight: 700; font-size: 14px; transition: all 0.2s; }
.ficha__talla:hover { border-color: var(--hueso); }
.ficha__talla.activa { background: var(--hueso); color: var(--carbon); border-color: var(--hueso); }
.ficha__nota { margin: 10px 0 0; font-size: 13px; color: var(--hueso-3); }
.ficha__pedir { width: 100%; margin-top: 6px; }
.ficha__lista { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--hueso-2); }
.ficha__lista li { display: flex; align-items: center; gap: 10px; }
.ficha__lista li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; background: var(--rojo); clip-path: polygon(0 0, 35% 0, 50% 30%, 65% 0, 100% 0, 68% 50%, 100% 100%, 65% 100%, 50% 70%, 35% 100%, 0 100%, 32% 50%); }
.ficha__compartir { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--hueso-2); border-bottom: 1px solid var(--linea); padding-bottom: 2px; }
.ficha__compartir:hover { color: var(--hueso); border-color: var(--rojo); }
.ficha__compartir svg { font-size: 16px; }
.ficha__cerrar { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(17, 19, 21, 0.8); border: 1px solid var(--linea); }
.ficha__cerrar:hover { background: var(--carbon); border-color: var(--hueso-3); }
.ficha__cerrar svg { font-size: 20px; }

/* Ficha en celular / tableta: pantalla completa, foto arriba y botón de pedir fijo abajo */
@media (max-width: 960px) {
  .ficha { width: 100%; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .ficha[open] { animation: fichaSube 0.35s var(--curva); }
  @keyframes fichaSube { from { transform: translateY(40px); opacity: 0; } }
  .ficha__in { display: block; height: 100dvh; max-height: none; overflow-y: auto; }
  .ficha__galeria { width: 100%; }
  .ficha__flecha { display: none; }
  .ficha__info { overflow: visible; padding: 22px 16px 100px; }
  .ficha__pedir { position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; z-index: 4; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.8); }
}

/* ---------- Sobre pedido ---------- */
.producto__chip--pedido { display: inline-flex; align-items: center; gap: 6px; background: rgba(17, 19, 21, 0.88); color: var(--hueso); border: 1px solid var(--rojo); backdrop-filter: blur(4px); }
.producto__chip--pedido svg { font-size: 13px; color: var(--rojo); }
.filtro--pedido.activo { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.ficha__pedido { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rojo); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.ficha__pedido svg { font-size: 15px; color: var(--rojo); }
.nota-tallas b { color: var(--hueso); }
@media (max-width: 640px) {
  .producto__chip { top: 8px; right: 8px; padding: 4px 8px; font-size: 9.5px; letter-spacing: 0.08em; }
  .producto__chip--pedido { gap: 4px; }
  .producto__chip--pedido svg { font-size: 11px; }
}
