/* ===== TanoVintage — tienda de ropa vintage y de surf =====
   Paleta de verano: arena de fondo, turquesa (mar) para la estructura, coral para los llamados
   de atención y ofertas, amarillo sol para detalles. Textos en azul profundo, no negro.
   Tipografías: Shrikhand (logo y títulos, aire retro de surf) + Rubik (todo lo demás). */
:root {
  --tinta: #0b3954;          /* texto principal: azul profundo */
  --tinta-2: #3d5a6c;
  --fondo: #fff6e5;          /* arena */
  --arena-2: #ffe9c7;
  --blanco: #fff;
  --mar: #0f8b8d;            /* turquesa profundo */
  --mar-osc: #0a6567;
  --mar-claro: #2ec4b6;
  --cielo: #bdeff2;
  --coral: #ff5e5b;
  --coral-osc: #e2433f;
  --sol: #ffbe0b;
  --linea: #f0dcb8;
  --rojo: #ff5e5b;           /* color de la campaña activa (lo cambia la campaña) */
  --rojo-texto: #fff;
  --mp: #009ee3;
  --ok: #0f8b5f;
  --error: #d62839;
  --alto-aviso: 30px;
  --radio: 14px;
  --display: "Shrikhand", "Georgia", serif;
  --rubik: "Rubik", Arial, sans-serif;
  /* nombres que usa también el panel (admin.css) */
  --montserrat: var(--rubik);
  --lato: var(--rubik);
  --poppins: var(--rubik);
  --negro: var(--tinta);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font: 400 16px/1.5 var(--rubik); color: var(--tinta); background: var(--fondo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
.cont { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.saltar { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--tinta); color: #fff; padding: 8px 12px; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 2px; }
main:focus { outline: none; }

/* ===== Botones ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 2px solid var(--tinta); border-radius: 999px; font: 600 .88rem/1.2 var(--rubik); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--negro { background: var(--mar); border-color: var(--mar); color: #fff; box-shadow: 0 4px 0 var(--mar-osc); }
.btn--negro:hover { background: var(--mar-osc); border-color: var(--mar-osc); }
.btn--blanco { background: #fff; color: var(--tinta); }
.btn--blanco:hover { background: var(--tinta); color: #fff; }
.btn--acento, .btn--suela { background: var(--coral); border-color: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-osc); }
.btn--acento:hover, .btn--suela:hover { background: var(--coral-osc); border-color: var(--coral-osc); }
.btn--mp { background: var(--mp); color: #fff; border-color: var(--mp); }
.btn--bloque { width: 100%; }
.btn--linea-blanca { background: #fff; color: var(--tinta); border-color: #fff; }

/* ===== Aviso superior ===== */
.aviso-top { position: sticky; top: 0; z-index: 60; height: var(--alto-aviso); display: flex; align-items: center; justify-content: center; background: var(--coral); color: #fff; font: 500 .86rem/1 var(--rubik); letter-spacing: .02em; padding: 0 12px; text-align: center; white-space: nowrap; overflow: hidden; }
.aviso-top a { font-weight: 700; color: #fff; text-underline-offset: 3px; }
@media (max-width: 600px) { :root { --alto-aviso: 42px; } .aviso-top { font-size: .74rem; line-height: 1.25; white-space: normal; } }

/* ===== Encabezado ===== */
/* Encabezado azul profundo: el logo es color crema y necesita fondo oscuro */
.cab1 { position: relative; background: radial-gradient(ellipse at 20% 0%, #14557a 0%, var(--tinta) 70%); overflow: hidden; }
/* olas al pie del encabezado */
.cab1::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: radial-gradient(circle at 12px -4px, transparent 13px, var(--mar) 14px) 0 0 / 24px 14px repeat-x; opacity: .9; }
.cab1__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; padding-top: 14px; padding-bottom: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 210px; height: auto; }
.buscador { display: flex; align-items: center; width: min(300px, 45vw); height: 44px; background: #fff; border: 2px solid #fff; border-radius: 999px; overflow: hidden; }
.buscador input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 16px; font: 400 .9rem var(--rubik); color: var(--tinta); background: none; }
.buscador input::placeholder { color: #6b8290; }
.buscador input:focus { outline: none; }
.buscador button { width: 44px; height: 100%; border: 0; background: var(--sol); color: var(--tinta); cursor: pointer; display: grid; place-items: center; }
.buscador svg { width: 20px; height: 20px; }

.cab2 { position: sticky; top: var(--alto-aviso); z-index: 55; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; background: var(--mar); }
.btn-campana { justify-self: start; display: flex; align-items: center; height: 32px; margin-left: 14px; padding: 0 16px; border-radius: 999px; background: var(--rojo); color: var(--rojo-texto); border: 2px solid #fff; font: 700 .8rem/1 var(--rubik); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn-campana:hover { filter: brightness(1.08); }
.hamb { grid-column: 2; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 12px; border: 2px solid #fff; border-radius: 999px; background: none; color: #fff; cursor: pointer; font: 600 .82rem var(--rubik); letter-spacing: .08em; }
.hamb svg { width: 20px; height: 20px; }
.hamb[aria-expanded="true"] { background: #fff; color: var(--mar); }
.carrito-ico { grid-column: 3; justify-self: end; position: relative; margin-right: 24px; border: 0; background: none; color: #fff; cursor: pointer; width: 28px; height: 28px; padding: 0; }
.contador { position: absolute; top: -8px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--sol); color: var(--tinta); font: 700 .66rem/18px var(--rubik); text-align: center; }
.carrito-ico.pulso { animation: pulso .5s; }
@keyframes pulso { 50% { transform: scale(1.25); } }

/* Menú desplegable */
.menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: min(340px, calc(100vw - 20px)); max-height: calc(100dvh - 110px); overflow-y: auto; background: #fff; border: 2px solid var(--tinta); border-radius: var(--radio); box-shadow: 6px 6px 0 var(--tinta); display: none; }
.menu.abierto { display: block; animation: bajar .18s ease; }
@keyframes bajar { from { opacity: 0; transform: translate(-50%, -6px); } }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a, .menu summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; font: 500 .95rem/1.2 var(--rubik); color: var(--tinta); text-decoration: none; border-bottom: 1px dashed var(--linea); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "▾"; font-size: .8rem; color: var(--mar); transition: transform .2s; }
.menu details[open] > summary::after { transform: rotate(180deg); }
.menu a:hover, .menu summary:hover { background: #effbfb; color: var(--mar-osc); }
.menu .n2 > li > a, .menu .n2 > li > details > summary { padding-left: 34px; font-size: .9rem; }
.menu .n3 > li > a { padding-left: 48px; font-size: .86rem; }
.menu .menu__campana { background: var(--rojo); color: var(--rojo-texto); font-weight: 700; letter-spacing: .06em; }
.menu .menu__campana:hover { background: var(--rojo); color: var(--rojo-texto); filter: brightness(1.06); }

@media (max-width: 767px) {
  .cab1__in { flex-direction: column; gap: 12px; min-height: 0; padding-top: 14px; padding-bottom: 26px; }
  .logo img { width: 180px; }
  .buscador { width: 100%; }
  .btn-campana { margin-left: 8px; padding: 0 10px; font-size: .68rem; }
  .hamb { padding: 0 10px; }
  .hamb span { display: none; }
  .carrito-ico { margin-right: 16px; }
}

/* ===== Portada tipográfica (la de siempre y la de las campañas) ===== */
.hero-tipo { position: relative; background: linear-gradient(180deg, #e6fbfc 0%, var(--fondo) 78%); overflow: hidden; }
/* sol de fondo */
.hero-tipo::before { content: ""; position: absolute; width: 460px; height: 460px; right: -120px; top: -150px; border-radius: 50%; background: radial-gradient(circle, var(--sol) 0 52%, rgba(255,190,11,.25) 53% 66%, transparent 67%); opacity: .9; }
.hero-tipo__in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 440px; padding-top: 44px; padding-bottom: 56px; }
.hero-tipo__cinta { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--rojo); color: var(--rojo-texto); font: 700 .76rem/1.3 var(--rubik); letter-spacing: .12em; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--tinta); }
.hero-tipo h1 { margin-top: 22px; color: var(--tinta); line-height: .95; }
.hero-tipo h1 span { display: block; font: 800 clamp(2.1rem, 5.6vw, 4.2rem)/1 var(--rubik); letter-spacing: .02em; }
.hero-tipo h1 b { display: block; margin-top: 4px; font: 400 clamp(2.6rem, 7.4vw, 5.6rem)/1.05 var(--display); color: var(--coral); text-shadow: 3px 3px 0 var(--tinta); }
.hero-tipo__bajada { margin-top: 20px; max-width: 460px; font: 400 clamp(1rem, 2.1vw, 1.2rem)/1.55 var(--rubik); color: var(--tinta-2); }
.hero-tipo .btn { margin-top: 28px; }
.hero-tipo__fotos { position: relative; height: 380px; }
.hero-tipo__fotos img { position: absolute; object-fit: cover; background: #fff; border: 6px solid #fff; border-radius: 6px; box-shadow: 0 18px 34px -18px rgba(11,57,84,.55); }
.hero-tipo__fotos img:nth-child(1) { width: 56%; aspect-ratio: 1; left: 2%; top: 4%; z-index: 2; transform: rotate(-5deg); }
.hero-tipo__fotos img:nth-child(2) { width: 46%; aspect-ratio: 1; right: 0; top: 0; transform: rotate(4deg); }
.hero-tipo__fotos img:nth-child(3) { width: 40%; aspect-ratio: 1; left: 38%; bottom: 0; z-index: 3; transform: rotate(-2deg); }
@media (max-width: 767px) {
  .hero-tipo::before { width: 300px; height: 300px; right: -110px; top: -110px; }
  .hero-tipo__in { grid-template-columns: 1fr; gap: 26px; min-height: 0; padding-top: 30px; padding-bottom: 40px; }
  .hero-tipo__fotos { height: 270px; max-width: 360px; width: 100%; justify-self: center; }
}

/* Portada con foto de fondo (estilo opcional de una campaña) */
.hero { position: relative; min-height: 320px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: var(--mar) var(--img) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--tinte, rgba(11,57,84,.35)); }
.hero__in { position: relative; padding: 40px 16px 34px; display: grid; justify-items: center; }
.hero__cinta { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--rojo); color: var(--rojo-texto); font: 600 clamp(.85rem, 2.2vw, 1.2rem)/1.1 var(--rubik); transform: rotate(-3deg); }
.hero h1 { margin-top: 10px; font: 400 clamp(2.8rem, 10vw, 6.4rem)/1 var(--display); text-shadow: 3px 3px 0 var(--tinta); }
.hero__bajada { margin-top: 16px; font: 400 clamp(1.05rem, 2.8vw, 1.5rem)/1.3 var(--rubik); }
.hero .btn { margin-top: 16px; }

/* ===== Destacado ===== */
.destacado { position: relative; background: var(--mar); color: #fff; padding: 48px 0 54px; overflow: hidden; }
.destacado::before, .destacado::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; background: radial-gradient(circle at 12px 16px, var(--fondo) 12px, transparent 13px) 0 0 / 24px 16px repeat-x; }
.destacado::before { top: -1px; transform: scaleY(-1); }
.destacado::after { bottom: -1px; }
.destacado__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.destacado__fotos { position: relative; height: 360px; max-width: 340px; margin-left: 10px; }
.destacado__fotos img { position: absolute; width: 230px; height: 230px; object-fit: cover; background: #fff; border: 6px solid #fff; border-radius: 6px; box-shadow: 0 16px 30px -16px rgba(0,0,0,.5); }
.destacado__fotos img:first-child { left: 0; top: 0; transform: rotate(-4deg); }
.destacado__fotos img:last-child { left: 120px; top: 140px; width: 180px; height: 180px; transform: rotate(5deg); }
.destacado__kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 .76rem/1.2 var(--rubik); letter-spacing: .12em; }
.destacado h2 { margin-top: 16px; font: 800 clamp(2.2rem, 5.4vw, 3.4rem)/1.05 var(--rubik); letter-spacing: .02em; }
.destacado h2 b { display: block; font: 400 clamp(2.6rem, 6.4vw, 4rem)/1.1 var(--display); color: var(--sol); text-shadow: 3px 3px 0 var(--tinta); }
.destacado__txt { margin-top: 16px; max-width: 420px; font: 400 .98rem/1.65 var(--rubik); color: #e7fbfb; }
.destacado__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.destacado .btn--negro { background: #fff; color: var(--mar-osc); border-color: #fff; box-shadow: 0 4px 0 var(--mar-osc); }
.destacado .btn--negro:hover { background: var(--sol); border-color: var(--sol); color: var(--tinta); }
@media (max-width: 767px) {
  .destacado__in { grid-template-columns: 1fr; gap: 22px; }
  .destacado__fotos { height: 290px; margin: 0 auto; width: 280px; }
  .destacado__fotos img:first-child { width: 190px; height: 190px; }
  .destacado__fotos img:last-child { left: 110px; top: 130px; width: 160px; height: 160px; }
}

/* ===== Cajas de productos (filas de la portada) ===== */
.caja { max-width: 1160px; margin: 30px auto; padding: 22px 18px 28px; background: #fff; border: 2px solid var(--tinta); border-radius: var(--radio); box-shadow: 6px 6px 0 var(--mar-claro); }
.caja--borde { box-shadow: 6px 6px 0 var(--coral); }
.caja__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 0 18px; }
.caja__head h2 { font: 400 clamp(1.5rem, 3.4vw, 2rem)/1.1 var(--display); color: var(--mar); }
.caja--borde .caja__head h2 { color: var(--coral); }
.caja__mas { flex: none; font: 600 .85rem/1 var(--rubik); color: var(--tinta); text-underline-offset: 4px; }
.caja__mas:hover { color: var(--coral); }
.carrusel { position: relative; }
.fila-productos { list-style: none; margin: 0; padding: 4px 4px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fila-productos::-webkit-scrollbar { display: none; }
.fila-productos > li { scroll-snap-align: start; }
.flecha { position: absolute; top: 36%; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--sol); color: var(--tinta); cursor: pointer; font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.flecha--izq { left: -10px; } .flecha--der { right: -10px; }
.flecha:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .fila-productos { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } .caja { margin: 22px 12px; padding: 18px 12px 22px; box-shadow: 4px 4px 0 var(--mar-claro); } .caja--borde { box-shadow: 4px 4px 0 var(--coral); } .flecha--izq { left: -6px; } .flecha--der { right: -6px; } }

/* Tarjeta de producto */
.tarjeta { height: 100%; }
.tarjeta a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--linea); border-radius: 12px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.tarjeta a:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(11,57,84,.45); }
.tarjeta__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--arena-2); }
.tarjeta__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tarjeta a:hover .tarjeta__img img { transform: scale(1.05); }
.etiqueta { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: var(--rojo); color: var(--rojo-texto); font: 700 .64rem/1 var(--rubik); letter-spacing: .08em; text-transform: uppercase; box-shadow: 2px 2px 0 var(--tinta); }
.etiqueta--agotado { background: var(--tinta); color: #fff; }
.tarjeta__nombre { padding: 12px 12px 0; font: 500 1rem/1.3 var(--rubik); color: var(--tinta); min-height: 3.2em; }
.tarjeta__precios { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 8px 12px 0; margin-top: auto; }
.tachado { font: 400 .78rem var(--rubik); color: #7b8b95; text-decoration: line-through; }
.off { padding: 3px 6px; border-radius: 6px; background: var(--sol); color: var(--tinta); font: 700 .64rem/1 var(--rubik); }
.final { flex-basis: 100%; font: 700 1.15rem/1.2 var(--rubik); color: var(--tinta); }
.final--sale { color: var(--coral-osc); }
.sinimp { padding: 4px 12px 14px; font: 400 .62rem/1.2 var(--rubik); color: #6b8290; }

/* ===== Banners dobles ===== */
.banners { max-width: 1160px; margin: 30px auto; padding: 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.banner { position: relative; min-height: 170px; padding: 20px; border-radius: var(--radio); color: #fff; background: var(--mar) var(--img) center / cover no-repeat; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-decoration: none; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(11,57,84,.45); }
.banner > * { position: relative; }
.banner h3 { font: 400 clamp(1.5rem, 3.2vw, 2rem)/1.1 var(--display); }
.banner p { margin: 10px 0 14px; font: 400 .9rem/1.5 var(--rubik); max-width: 340px; }
/* banner claro: texto a la izquierda y la prenda a la derecha */
.banner--producto { padding: 0; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; background: var(--arena-2); color: var(--tinta); border: 2px solid var(--tinta); }
.banner--producto::before { display: none; }
.banners .banner--producto:nth-child(2) { background: var(--cielo); }
.banner__txt { display: grid; align-content: center; justify-items: start; padding: 22px 12px 22px 24px; }
.banner--producto h3 { color: var(--coral); text-shadow: 2px 2px 0 var(--tinta); }
.banners .banner--producto:nth-child(2) h3 { color: var(--mar); }
.banner--producto p { color: var(--tinta-2); }
.banner--producto .btn { padding: 9px 18px; font-size: .76rem; }
.banner--producto img { width: 100%; height: 100%; max-height: 230px; object-fit: cover; }
.banner--producto:hover img { transform: scale(1.03); transition: transform .4s; }
@media (max-width: 767px) { .banners { grid-template-columns: 1fr; padding: 0 12px; } .banner__txt { padding: 18px 8px 18px 16px; } }

/* ===== Listados ===== */
.listado { max-width: 1160px; margin: 0 auto; padding: 28px 18px 50px; }
.migas { font: 400 .82rem var(--rubik); color: #6b8290; margin-bottom: 10px; overflow-wrap: anywhere; }
.migas a { text-decoration: none; }
.migas a:hover { text-decoration: underline; color: var(--mar); }
.listado h1 { font: 400 clamp(2rem, 5vw, 2.8rem)/1.1 var(--display); color: var(--mar); }
.listado__sub { margin-top: 6px; color: var(--tinta-2); font-size: .92rem; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.subcats a { padding: 8px 16px; border: 2px solid var(--tinta); border-radius: 999px; background: #fff; font: 500 .84rem var(--rubik); text-decoration: none; }
.subcats a:hover { background: var(--sol); }
.grilla { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .grilla { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .grilla { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.nada { margin-top: 26px; padding: 36px 20px; background: #fff; border-radius: var(--radio); text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--tinta-2); }
.hero-mini { position: relative; padding: 36px 16px; text-align: center; color: #fff; background: var(--rojo); overflow: hidden; }
.hero-mini::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; background: radial-gradient(circle at 12px 14px, var(--fondo) 11px, transparent 12px) 0 0 / 24px 14px repeat-x; }
.hero-mini > * { position: relative; }
.hero-mini h1 { font: 400 clamp(2.2rem, 7vw, 3.8rem)/1.05 var(--display); text-shadow: 3px 3px 0 var(--tinta); }
.hero-mini p { margin-top: 8px; font: 600 .9rem var(--rubik); letter-spacing: .1em; }

/* ===== Página de producto ===== */
.producto { max-width: 1160px; margin: 0 auto; padding: 36px 18px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.producto > * { min-width: 0; }
.producto__img { position: relative; align-self: start; background: #fff; border: 2px solid var(--tinta); border-radius: var(--radio); overflow: hidden; box-shadow: 6px 6px 0 var(--mar-claro); }
.producto__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.miniaturas { display: flex; gap: 8px; padding: 8px; background: #fff; overflow-x: auto; }
.miniaturas button { flex: none; width: 70px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.miniaturas button[aria-pressed="true"] { border-color: var(--coral); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.producto__img .oferta { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--sol); color: var(--tinta); font: 700 .76rem var(--rubik); box-shadow: 2px 2px 0 var(--tinta); }
.producto .etiqueta { position: static; display: inline-block; margin: 6px 0 12px; }
.producto h1 { font: 700 clamp(1.5rem, 3.6vw, 2rem)/1.2 var(--rubik); color: var(--tinta); }
.producto__precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.producto__precio .tachado { font-size: 1.1rem; }
.producto__precio b { font: 700 1.6rem var(--rubik); color: var(--coral-osc); }
.producto__precio .normal { font: 700 1.6rem var(--rubik); }
.producto .sinimp { padding: 0; font-size: .74rem; }
.talles-t { margin: 22px 0 10px; font: 700 .82rem var(--rubik); letter-spacing: .1em; text-transform: uppercase; }
.talles { display: flex; flex-wrap: wrap; gap: 8px; }
.talles button { min-width: 52px; height: 46px; padding: 0 14px; border: 2px solid var(--tinta); border-radius: 999px; background: #fff; font: 600 .95rem var(--rubik); cursor: pointer; }
.talles button:hover { background: #effbfb; }
.talles button[aria-checked="true"] { background: var(--mar); color: #fff; border-color: var(--mar); }
.talles button:disabled { color: #9aa9b2; border-color: #c9d3d8; background: repeating-linear-gradient(135deg, #fff 0 6px, #f1f4f5 6px 12px); cursor: not-allowed; text-decoration: line-through; }
.unica { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: var(--arena-2); color: var(--tinta); font: 600 .82rem var(--rubik); }
.unica::before { content: "★"; color: var(--coral); }
.comprar { display: flex; gap: 12px; margin: 22px 0 14px; padding: 16px 0; border-top: 2px dashed var(--linea); border-bottom: 2px dashed var(--linea); }
.cantidad { display: flex; align-items: center; border: 2px solid var(--tinta); border-radius: 999px; background: #fff; overflow: hidden; }
.cantidad button { width: 38px; height: 44px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; }
.cantidad output { min-width: 26px; text-align: center; font-weight: 700; }
.comprar .btn { flex: 1; }
.producto__meta { font: 400 .84rem/1.8 var(--rubik); color: var(--tinta-2); }
.producto__meta a { color: var(--mar); text-decoration: none; font-weight: 500; }
.producto__meta a:hover { text-decoration: underline; }
.producto__consulta { display: inline-flex; margin-top: 14px; font: 600 .88rem var(--rubik); color: var(--ok); text-decoration: none; }
.relacionados { max-width: 1160px; margin: 0 auto 40px; padding: 0 18px; }
.relacionados h2 { font: 400 1.8rem var(--display); color: var(--mar); margin-bottom: 16px; }
@media (max-width: 767px) { .producto { grid-template-columns: 1fr; gap: 22px; padding-top: 20px; } .producto__img { box-shadow: 4px 4px 0 var(--mar-claro); } }

.nosotros { max-width: 760px; margin: 0 auto; padding: 50px 18px 70px; }
.nosotros h1 { font: 400 clamp(2.4rem, 7vw, 3.2rem) var(--display); color: var(--coral); text-shadow: 3px 3px 0 var(--tinta); margin-bottom: 20px; }
.nosotros p { margin-bottom: 14px; font-size: 1.05rem; line-height: 1.75; color: var(--tinta); }

/* ===== Pie ===== */
.pie { position: relative; background: var(--tinta); color: #fff; padding: 40px 0 34px; margin-top: 46px; }
.pie::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: radial-gradient(circle at 12px 16px, var(--tinta) 12px, transparent 13px) 0 0 / 24px 16px repeat-x; }
.pie__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pie__logo { width: 150px; height: auto; margin-bottom: 12px; }
.pie p { max-width: 420px; font: 400 .92rem/1.6 var(--rubik); color: #d6e6ee; }
.pie__ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 400 .92rem var(--rubik); text-decoration: none; }
.pie__ig svg { width: 16px; height: 16px; }
.pie__links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: flex-end; font-size: .88rem; }
.pie__links a { text-decoration: none; color: #bfe9ec; }
.pie__links a:hover { color: var(--sol); }

.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(11,57,84,.35); }
.wa svg { width: 30px; height: 30px; }

.vista-previa { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 70; max-width: calc(100% - 110px); padding: 10px 16px; border-radius: 12px; background: var(--tinta); color: #fff; font: 500 .82rem/1.4 var(--rubik); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.vista-previa a { color: var(--sol); }

/* ===== Carrito ===== */
.velo { position: fixed; inset: 0; z-index: 80; background: rgba(11,57,84,.5); }
.carrito { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100%); background: var(--fondo); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.carrito.abierto { transform: none; }
.carrito__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--mar); color: #fff; }
.carrito__head h2 { font: 400 1.5rem var(--display); }
.cerrar { width: 36px; height: 36px; border: 0; background: none; color: inherit; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.carrito__cuerpo { flex: 1; overflow-y: auto; padding: 16px 20px; }
.lineas { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.linea { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: start; padding: 10px; background: #fff; border-radius: 12px; }
.linea img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.linea b { display: block; font: 600 .92rem var(--rubik); }
.linea small { display: block; color: #6b8290; font-size: .78rem; }
.linea small.rojo { color: var(--coral-osc); font-weight: 600; }
.linea__precio { font-weight: 700; white-space: nowrap; font-size: .92rem; }
.linea__ctrl { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.linea__ctrl .cantidad { border-width: 1px; }
.linea__ctrl .cantidad button { width: 28px; height: 28px; }
.quitar { border: 0; background: none; color: #6b8290; font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 0; }
.vacio { text-align: center; padding: 48px 0; display: grid; gap: 16px; justify-items: center; color: var(--tinta-2); }
.carrito__pie { border-top: 2px dashed var(--linea); padding: 16px 20px 20px; background: #fff; }
.totales { margin: 0 0 14px; display: grid; gap: 6px; font-size: .92rem; }
.totales div { display: flex; justify-content: space-between; }
.totales dd { margin: 0; font-weight: 600; }
#filaAhorro dd { color: var(--ok); }
.totales__total { padding-top: 8px; border-top: 1px solid var(--linea); font-size: 1.1rem; font-weight: 700; }
.seguro { margin-top: 10px; font-size: .74rem; color: #6b8290; text-align: center; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.checkout legend { font: 700 .78rem var(--rubik); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; color: var(--mar); }
.checkout label { display: grid; gap: 4px; font-size: .84rem; font-weight: 500; margin-bottom: 10px; }
.checkout input, .checkout textarea { width: 100%; padding: 11px 12px; border: 2px solid #d9cdb6; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; }
.checkout input:focus, .checkout textarea:focus { outline: none; border-color: var(--mar); }
.checkout .invalido { border-color: var(--error); }
.fila { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.volver { border: 0; background: none; padding: 0; margin-bottom: 14px; color: var(--tinta-2); cursor: pointer; font-size: .86rem; }
.entregas { display: grid; gap: 8px; margin-bottom: 10px; }
.entrega { display: flex !important; align-items: flex-start; gap: 10px !important; padding: 12px; border: 2px solid #d9cdb6; border-radius: 12px; background: #fff; cursor: pointer; }
.entrega:has(input:checked) { border-color: var(--mar); }
.entrega input { width: auto !important; margin-top: 3px; accent-color: var(--mar); }
.entrega span { flex: 1; }
.entrega small { display: block; color: #6b8290; font-weight: 400; }
.error-form { color: var(--error); font-size: .88rem; }
.error-form:empty { display: none; }

/* Página de resultado del pago */
.resultado { min-height: 60vh; display: grid; place-items: center; padding: 60px 16px; text-align: center; }
.resultado__caja { max-width: 560px; display: grid; gap: 16px; justify-items: center; }
.resultado__icono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: #7b8b95; }
.resultado__icono.ok { background: var(--ok); }
.resultado__icono.pend { background: #d08b16; }
.resultado__icono.mal { background: var(--error); }
.resultado h1 { font: 400 clamp(1.8rem, 5vw, 2.6rem) var(--display); color: var(--mar); }
.resultado p { color: var(--tinta-2); }
.resultado .ref { font-size: .82rem; color: #6b8290; }
.resultado__acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--tinta); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .9rem; transition: .25s; max-width: calc(100% - 32px); }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== Legal: Defensa del consumidor y Botón de arrepentimiento (obligatorio en tiendas que venden) ===== */
.pie__consumidor { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); font: 400 .82rem/1.5 var(--rubik); color: #d6e6ee; max-width: none !important; }
.pie__consumidor a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.pie--legal { margin-top: 40px; padding: 26px 0; }
.pie--legal .pie__consumidor { margin-top: 0; padding-top: 0; border-top: 0; }
.arrep { max-width: 640px; margin: 0 auto; padding: 40px 18px 30px; }
.arrep h1 { font: 400 clamp(2rem, 6vw, 2.8rem)/1.1 var(--display); color: var(--mar); margin-bottom: 16px; }
.arrep > p { margin-bottom: 12px; line-height: 1.65; }
.arrep__nota { font-size: .9rem; color: var(--tinta-2); }
.arrep__form { margin-top: 22px; padding: 22px; background: #fff; border: 2px solid var(--tinta); border-radius: var(--radio); }
.arrep__form .btn { margin-top: 6px; }
.arrep__listo { margin-top: 22px; padding: 26px 22px; background: #fff; border: 2px solid var(--mar); border-radius: var(--radio); text-align: center; display: grid; gap: 12px; justify-items: center; }
.arrep__listo:focus { outline: none; }
.arrep__codigo { font: 700 1.6rem/1.2 var(--rubik); letter-spacing: .06em; color: var(--coral-osc); }