/* ==========================================================
   FASHION MARIEX · Mejoras (se carga después de estilos.css)
   No modifica nada de los efectos de cursor.
   ========================================================== */

/* ---------- Menú con más páginas ---------- */
.menu { gap: .3rem 1.4rem; }
.menu a { font-size: .98rem; }

/* ---------- Aparición suave al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visto { opacity: 1; transform: none; }

/* ---------- Cinta que se desplaza ---------- */
.cinta { background: var(--hilo); color: var(--tinta); overflow: hidden; border-block: 2px dashed var(--tinta); }
.cinta-pista { display: flex; width: max-content; animation: cinta 32s linear infinite; }
.cinta-pista span {
  padding: .7rem 1.6rem; font-weight: 800; font-variation-settings: "wdth" 75;
  font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
.cinta-pista span::after { content: "✦"; margin-left: 3.2rem; opacity: .6; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Mosaico de fotos ---------- */
.mosaico { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.mosaico a {
  position: relative; overflow: hidden; border-radius: 6px; background: var(--indigo);
  outline: 2px dashed var(--hilo); outline-offset: 4px;
}
.mosaico a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaico a:nth-child(6) { grid-column: span 4; }
.mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.mosaico a:hover img { transform: scale(1.07); }
.mosaico figcaption, .pie-foto {
  position: absolute; left: .8rem; bottom: .8rem; padding: .25rem .8rem; border-radius: 99px;
  background: var(--lavado); color: var(--tinta); font-weight: 700; font-size: .85rem;
}

/* ---------- Franja de cifras ---------- */
.cifras { background: var(--indigo); border-block: 2px dashed var(--hilo); padding: 3rem 0; }
.cifras ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.cifras strong { display: block; font-size: clamp(3rem, 7vw, 5.2rem); line-height: .9; color: var(--hilo); font-weight: 800; font-variation-settings: "wdth" 75; }
.cifras span { color: var(--suave); }

/* ---------- Tarjetas de artículo ---------- */
.articulos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.articulo { display: flex; flex-direction: column; background: var(--lavado); color: var(--tinta); border-radius: 6px; overflow: hidden; box-shadow: 0 14px 26px rgba(5,12,30,.35); transition: transform .3s; }
.articulo:hover { transform: translateY(-6px) rotate(-.6deg); }
.articulo .foto-art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--indigo); }
.articulo .foto-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.articulo:hover .foto-art img { transform: scale(1.06); }
.articulo .cuerpo { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .5rem; flex: 1; align-content: start; }
.articulo small { font-weight: 700; color: var(--cuero); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.articulo h3 { font-size: 1.8rem; }
.articulo p { color: #3d4c6b; font-size: .98rem; }
.articulo .mas { font-weight: 700; border-bottom: 2px solid var(--tinta); justify-self: start; margin-top: .3rem; }

/* ---------- Banner de páginas interiores ---------- */
.banner {
  position: relative; min-height: 360px; display: grid; align-items: end; overflow: hidden;
  border-bottom: 2px dashed var(--hilo); background: var(--indigo);
}
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,23,48,.15), rgba(13,23,48,.92)); }
.banner .contenedor { position: relative; z-index: 2; padding: 3rem 0 2.2rem; }
.banner h1 { font-size: clamp(4.5rem, 13vw, 10rem); line-height: .82; }
.banner p { color: #dbe6f7; margin-top: 1.1rem; max-width: 52ch; font-size: 1.12rem; }

/* ---------- Lookbook (columnas tipo revista) ---------- */
.revista { columns: 3; column-gap: 1.4rem; }
.revista figure { break-inside: avoid; margin-bottom: 1.4rem; position: relative; }
.revista a { display: block; position: relative; overflow: hidden; border-radius: 6px; border: 5px solid var(--lavado); box-shadow: 0 14px 26px rgba(5,12,30,.4); }
.revista img { width: 100%; height: auto; transition: transform .7s; }
.revista a:hover img { transform: scale(1.05); }
.revista figcaption { padding: .7rem .2rem 0; color: var(--suave); font-size: .95rem; }
.revista figcaption b { color: #fff; font-size: 1.15rem; display: block; font-variation-settings: "wdth" 75; }

/* Visor con flechas */
.visor .flecha {
  position: absolute; z-index: 3; top: 50%; translate: 0 -50%; font-size: 3.4rem; line-height: 1;
  color: var(--hilo); padding: 0 1.2rem;
}
.visor .flecha.ant { left: 0; } .visor .flecha.sig { right: 0; }
.visor .leyenda { position: absolute; z-index: 3; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--lavado); font-weight: 600; }

/* ---------- Texto + imagen ---------- */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dos-col.invertida > :first-child { order: 2; }
.dos-col h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
.dos-col p { color: var(--suave); margin-bottom: 1rem; font-size: 1.08rem; max-width: 56ch; }
.seccion-clara .dos-col p { color: #3d4c6b; }
.marco { position: relative; border-radius: 6px; overflow: hidden; border: 6px solid var(--lavado); box-shadow: 0 20px 36px rgba(5,12,30,.45); rotate: 1.4deg; aspect-ratio: 4 / 5; background: var(--indigo); }
.invertida .marco { rotate: -1.4deg; }
.marco img { width: 100%; height: 100%; object-fit: cover; }

/* Línea de proceso */
.proceso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; counter-reset: p; }
.proceso article { counter-increment: p; }
.proceso .foto-art { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; outline: 2px dashed var(--hilo); outline-offset: 5px; margin-bottom: 1.2rem; background: var(--indigo); }
.proceso img { width: 100%; height: 100%; object-fit: cover; }
.proceso h3 { font-size: 2rem; margin-bottom: .4rem; }
.proceso h3::before { content: counter(p) ". "; color: var(--hilo); }
.proceso p { color: var(--suave); }

/* ---------- Artículos largos (tendencias) ---------- */
.nota { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; padding: 3.2rem 0; border-top: 2px dashed rgba(244,166,42,.5); scroll-margin-top: 90px; }
.nota:nth-child(even) .nota-foto { order: 2; }
.nota-foto { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; border: 6px solid var(--lavado); box-shadow: 0 18px 32px rgba(5,12,30,.45); background: var(--indigo); }
.nota-foto img { width: 100%; height: 100%; object-fit: cover; }
.nota small { color: var(--hilo); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.nota h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: .4rem 0 1rem; }
.nota p { color: var(--suave); margin-bottom: .9rem; max-width: 60ch; }
.nota ul { margin: .4rem 0 1rem; display: grid; gap: .4rem; }
.nota li { padding-left: 1.6rem; position: relative; color: var(--suave); }
.nota li::before { content: "✦"; position: absolute; left: 0; color: var(--hilo); }

/* ---------- Tablas de tallas ---------- */
.tablas { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.tabla-wrap { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1.6rem; outline: 2px dashed var(--denim); outline-offset: -8px; overflow-x: auto; }
.tabla-wrap h3 { font-size: 2.2rem; margin-bottom: .8rem; }
table { width: 100%; border-collapse: collapse; min-width: 320px; }
th, td { padding: .6rem .7rem; text-align: center; border-bottom: 1px dashed #9fb2d2; }
th { font-variation-settings: "wdth" 75; font-weight: 800; font-size: 1.05rem; background: var(--denim); color: #fff; }
tbody th { background: transparent; color: var(--tinta); text-align: left; }
tbody tr:hover td { background: rgba(244,166,42,.22); }
.consejo { margin-top: .9rem; font-size: .92rem; color: #3d4c6b; }

.medir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; gap: .9rem; max-width: 820px; }
.faq details { border: 2px dashed var(--hilo); border-radius: 8px; padding: 0 1.3rem; background: rgba(13,23,48,.35); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-size: 1.35rem; font-weight: 800; font-variation-settings: "wdth" 75; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--hilo); font-size: 1.8rem; line-height: 1; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--suave); padding-bottom: 1.2rem; }

/* ---------- Boletín ---------- */
.boletin { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.boletin form { padding: 1.6rem; }
.boletin h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.boletin p { color: var(--suave); margin-top: .8rem; }
.boletin .campo { display: flex; gap: .7rem; flex-wrap: wrap; }
.boletin .campo input { flex: 1 1 200px; }

/* ---------- Contacto: extras ---------- */
.tarjetas-contacto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tarjeta-contacto { background: #fff; color: var(--tinta); border-radius: 4px; padding: 1.5rem 1.3rem; outline: 2px dashed var(--denim); outline-offset: -8px; box-shadow: 0 8px 18px rgba(13,23,48,.14); }
.tarjeta-contacto h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.tarjeta-contacto p { color: #3d4c6b; }
.foto-contacto { aspect-ratio: 16 / 7; border-radius: 6px; overflow: hidden; border: 6px solid var(--lavado); background: var(--indigo); margin-bottom: 1.6rem; }
.foto-contacto img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pie de página ampliado ---------- */
.pie-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.pie-redes { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.pie-redes a { border: 2px dashed var(--hilo); border-radius: 99px; padding: .15rem .8rem; font-size: .9rem; }

/* ---------- Volver arriba ---------- */
.subir {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--hilo); color: var(--tinta); font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.subir.on { opacity: 1; pointer-events: auto; }
.subir:hover { transform: translateY(-3px); }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .articulos, .proceso, .medir, .tarjetas-contacto { grid-template-columns: repeat(2, 1fr); }
  .revista { columns: 2; }
  .cifras ul { grid-template-columns: repeat(2, 1fr); }
  .pie-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .dos-col, .nota, .tablas, .boletin { grid-template-columns: 1fr; gap: 2rem; }
  .dos-col.invertida > :first-child, .nota:nth-child(even) .nota-foto { order: 0; }
  .mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mosaico a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaico a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaico a:nth-child(6) { grid-column: span 2; }
  .banner { min-height: 280px; }
  .menu { justify-content: center; }
}
@media (max-width: 560px) {
  .articulos, .proceso, .medir, .tarjetas-contacto, .pie-grid { grid-template-columns: 1fr; }
  .revista { columns: 1; }
  .cifras ul { gap: 1.8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cinta-pista { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Filtro extra del catálogo: accesorios */
#f-accesorios:checked ~ .filtros label[for="f-accesorios"] { background: var(--hilo); color: var(--tinta); border-style: solid; }
#f-accesorios:checked ~ .productos .card:not([data-cat~="accesorios"]) { display: none; }

/* ==========================================================
   TIENDA (servidor local): carrito, producto, buscador, admin
   ========================================================== */
.saltar { position: absolute; left: -999px; top: .5rem; z-index: 200; background: var(--hilo); color: var(--tinta); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; }
.saltar:focus { left: .5rem; }
html.sin-scroll { overflow: hidden; }

/* Cabecera: carrito y hamburguesa */
.acciones { display: flex; align-items: center; gap: .8rem; }
.btn-carrito, .hamb {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 99px; font: inherit; font-weight: 700; color: #fff;
  background: transparent; border: 2px dashed var(--hilo); cursor: pointer; transition: background .2s, color .2s;
}
.btn-carrito:hover, .hamb:hover { background: var(--hilo); color: var(--tinta); }
.btn-carrito .cuenta {
  position: absolute; top: -8px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px;
  background: var(--hilo); color: var(--tinta); font-size: .78rem; display: grid; place-items: center; border: 2px solid var(--indigo);
}
.btn-carrito .cuenta[hidden] { display: none; }
.hamb { display: none; }
.hamb span, .hamb span::before, .hamb span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.hamb span::before, .hamb span::after { content: ""; position: absolute; left: 0; }
.hamb span::before { top: -6px; } .hamb span::after { top: 6px; }
.cabecera .fila { flex-wrap: nowrap; }
.cabecera .menu { margin-left: auto; margin-right: 1rem; }

/* Panel del carrito */
.carrito-fondo { position: fixed; inset: 0; z-index: 140; background: rgba(8,16,38,.7); opacity: 0; pointer-events: none; transition: opacity .3s; }
.carrito-fondo.abierto { opacity: 1; pointer-events: auto; }
.carrito {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(440px, 100%); display: flex; flex-direction: column;
  background: var(--lavado); color: var(--tinta); transform: translateX(105%); transition: transform .35s ease;
  border-left: 3px dashed var(--denim); box-shadow: -14px 0 30px rgba(0,0,0,.4);
}
.carrito.abierto { transform: none; }
.carrito-cab { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 2px dashed #9fb2d2; }
.carrito-cab h2 { font-size: 2.4rem; }
.carrito-cerrar { font-size: 2.6rem; line-height: 1; background: none; border: 0; color: var(--tinta); cursor: pointer; }
.carrito-lineas { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; display: grid; gap: 1rem; align-content: start; }
.carrito-vacio { color: #3d4c6b; }
.carrito-vacio a { text-decoration: underline; font-weight: 700; }
.linea { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px dashed #9fb2d2; }
.linea-foto { aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; border: 2px solid #fff; background: var(--indigo); }
.linea-foto img { width: 100%; height: 100%; object-fit: cover; }
.linea-info { display: grid; gap: .2rem; }
.linea-info strong { line-height: 1.15; }
.linea-info span { color: #3d4c6b; font-size: .88rem; }
.linea-precio { font-weight: 800; }
.cant { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; flex-wrap: wrap; }
.cant button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--denim); background: #fff; color: var(--tinta); font: inherit; font-weight: 800; cursor: pointer; }
.cant button:hover { background: var(--hilo); }
.cant .quitar { width: auto; height: auto; border: 0; background: none; text-decoration: underline; font-weight: 600; font-size: .85rem; padding: 0 .3rem; }
.cant.grande button { width: 42px; height: 42px; font-size: 1.3rem; }
.cant.grande b { font-size: 1.3rem; min-width: 2ch; text-align: center; }
.carrito-pie { padding: 1rem 1.3rem 1.4rem; border-top: 2px dashed #9fb2d2; background: #dfe6f1; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; }
.total strong { font-size: 2rem; font-variation-settings: "wdth" 75; }
.carrito-form { background: transparent; outline: 0; padding: 0; gap: .7rem; }
.carrito-form label { font-size: .9rem; }
.carrito-form .btn { text-align: center; }
.carrito-form .btn-borde { color: var(--tinta); border-color: var(--denim); }
.carrito-error { color: #9b1c1c; font-weight: 600; font-size: .9rem; }
.carrito-ok { padding: 1rem 0; display: grid; gap: .9rem; }
.carrito-ok h3 { font-size: 2.4rem; }

/* Favoritos */
.card { position: relative; }
.fav {
  position: absolute; z-index: 4; top: .7rem; right: .7rem; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--lavado); background: rgba(13,23,48,.75); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: transform .2s, background .2s;
}
.fav:hover { transform: scale(1.12); }
.fav.activo { background: var(--hilo); color: #b3122c; }
.fav.grande { position: static; width: 52px; height: 52px; font-size: 1.6rem; background: transparent; }
.fav.grande.activo { background: var(--hilo); }

/* Catálogo: barra de herramientas */
.herramientas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 1rem; }
.herramientas input[type="search"], .herramientas select {
  padding: .7rem 1rem; border-radius: 99px; border: 2px dashed var(--hilo); background: rgba(13,23,48,.55); color: #fff; font: inherit;
}
.herramientas input[type="search"] { flex: 1 1 240px; min-width: 0; }
.herramientas select option { color: var(--tinta); }
.herramientas input::placeholder { color: var(--suave); }
.filtros button {
  padding: .5rem 1.4rem; border: 2px dashed var(--hilo); border-radius: 99px; font: inherit; font-weight: 700; color: #fff; background: transparent; cursor: pointer;
  transition: background .2s, color .2s;
}
.filtros button:hover { background: rgba(244,166,42,.2); }
.filtros button.activo { background: var(--hilo); color: var(--tinta); border-style: solid; }
.filtros { margin: 0 0 1rem; }
.contador { color: var(--suave); margin-bottom: 2rem; }
.vacio { padding: 3rem 0; color: var(--suave); font-size: 1.15rem; }

/* Página de producto */
.producto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; padding: 3rem 0 4rem; align-items: start; }
.marco-prod { border: 6px solid var(--lavado); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 36px rgba(5,12,30,.45); background: var(--indigo); aspect-ratio: 2 / 3; max-width: 520px; }
.marco-prod img { width: 100%; height: 100%; object-fit: cover; }
.prod-info small { color: var(--hilo); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.prod-info h1 { font-size: clamp(3rem, 6vw, 5rem); margin: .3rem 0 .8rem; }
.prod-precio { font-size: 2.6rem; font-weight: 800; font-variation-settings: "wdth" 75; color: var(--hilo); }
.prod-desc { color: var(--suave); font-size: 1.1rem; margin: .6rem 0 1.6rem; max-width: 52ch; }
.opcion { margin-bottom: 1.4rem; }
.opcion h3 { font-size: 1.35rem; margin-bottom: .6rem; line-height: 1; }
.opcion h3 a { font-size: .9rem; font-weight: 600; text-decoration: underline; color: var(--suave); font-variation-settings: normal; letter-spacing: 0; }
.muestras, .tallas-sel { display: flex; gap: .6rem; flex-wrap: wrap; }
.muestra { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid var(--lavado); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; }
.muestra.activo { outline-color: var(--hilo); }
.talla { min-width: 52px; padding: .55rem .9rem; border-radius: 6px; border: 2px dashed var(--hilo); background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.talla.activo { background: var(--hilo); color: var(--tinta); border-style: solid; }
.prod-botones { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; }
.prod-nota { color: var(--hilo); margin-top: 1rem; min-height: 1.5rem; }
.no-encontrado { grid-column: 1 / -1; text-align: center; padding: 4rem 0; }
.no-encontrado h2 { margin-bottom: 1.5rem; }
.migas { padding-top: 1.6rem; color: var(--suave); font-size: .95rem; }
.migas a { text-decoration: underline; }

/* Mensajes de formularios */
.form-msg { font-weight: 600; min-height: 1.4rem; }
.form-msg.ok { color: #1c6b36; }
.form-msg.error { color: #9b1c1c; }
.seccion-oscura .form-msg.ok { color: #9be6b0; }
.seccion-oscura .form-msg.error { color: #ffb4b4; }

/* Panel de administración */
.admin-barra { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: 1.5rem 0; }
.admin-barra button { padding: .5rem 1.3rem; border: 2px dashed var(--hilo); border-radius: 99px; font: inherit; font-weight: 700; color: #fff; background: transparent; cursor: pointer; }
.admin-barra button.activo { background: var(--hilo); color: var(--tinta); border-style: solid; }
.admin-barra .espacio { flex: 1; }
.resumen-admin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.resumen-admin div { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1rem 1.2rem; outline: 2px dashed var(--denim); outline-offset: -7px; }
.resumen-admin strong { display: block; font-size: 2.4rem; line-height: 1; font-variation-settings: "wdth" 75; }
.caja-admin { display: grid; gap: 1.2rem; }
.pedido-admin { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1.2rem 1.4rem; outline: 2px dashed var(--denim); outline-offset: -8px; display: grid; gap: .5rem; }
.pedido-admin header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.pedido-admin h3 { font-size: 1.8rem; }
.pedido-admin ul { list-style: disc; padding-left: 1.2rem; }
.pedido-admin select { padding: .4rem .7rem; border-radius: 6px; border: 1.5px solid #9fb2d2; font: inherit; }
.estado-nuevo { color: #b35c00; } .estado-confirmado { color: #1e3b6f; } .estado-entregado { color: #1c6b36; } .estado-cancelado { color: #9b1c1c; }
.admin-tabla td, .admin-tabla th { text-align: left; }

/* 404 */
.pagina-404 { text-align: center; padding: 6rem 0 7rem; }
.pagina-404 h1 { font-size: clamp(7rem, 26vw, 18rem); line-height: .8; color: var(--hilo); }
.pagina-404 p { color: var(--suave); margin: 1.2rem 0 2rem; font-size: 1.15rem; }

@media (max-width: 1000px) { .resumen-admin { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .hamb { display: inline-flex; }
  .cabecera .fila { flex-wrap: wrap; }
  .cabecera .menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: .6rem 0 .4rem; gap: 0; }
  .cabecera .menu.abierto { display: flex; }
  .cabecera .menu a { padding: .8rem .3rem; border-bottom: 1px dashed rgba(244,166,42,.4); font-size: 1.1rem; }
  .cabecera .acciones { margin-left: auto; }
  .fila { justify-content: space-between; }
  .producto { grid-template-columns: 1fr; gap: 2rem; }
  .marco-prod { max-width: 380px; }
}
@media (max-width: 560px) {
  .resumen-admin { grid-template-columns: 1fr 1fr; }
  .linea { grid-template-columns: 56px 1fr; } .linea-precio { grid-column: 2; }
}
@media (max-width: 820px) {
  .marca span { font-size: 1.35rem; }
  .marca img { width: 44px; height: 44px; }
  .cabecera .fila { gap: .5rem; }
}

/* ==========================================================
   CUENTAS, OFERTAS, RULETA, PANEL, MODO CLARO, CARGADOR
   ========================================================== */

/* ---------- Campos que faltaban (contraseña, número, búsqueda, color) ---------- */
input[type="password"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"] {
  width: 100%; padding: .75rem .9rem; background: #fff; color: var(--tinta);
  border: 1.5px solid #9fb2d2; border-radius: 6px; font: inherit; font-weight: 400;
}
input[type="password"]:focus, input[type="number"]:focus { outline: 3px solid var(--hilo); border-color: var(--tinta); }
input[type="color"] { width: 64px; height: 42px; padding: 2px; border: 1.5px solid #9fb2d2; border-radius: 6px; background: #fff; }
.check { display: flex !important; align-items: center; gap: .6rem; }
.check input { width: auto; }
.ayuda { color: var(--suave); font-size: .92rem; }
form .ayuda, .tabla-wrap .ayuda { color: #3d4c6b; }
form small { font-weight: 400; color: #3d4c6b; }

/* ---------- Cargador de costura ---------- */
.cargador {
  position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: .6rem;
  background: var(--indigo); transition: opacity .5s, visibility .5s;
}
.cargador p { color: var(--suave); font-weight: 700; letter-spacing: .04em; }
.cargador.fin { opacity: 0; visibility: hidden; }
.sin-cargador .cargador { display: none; }
.puntada { fill: none; stroke: var(--hilo); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 10; animation: coser 1.1s ease-in-out infinite; clip-path: inset(0 100% 0 0); }
.aguja { fill: var(--lavado); animation: aguja 1.1s ease-in-out infinite; }
@keyframes coser { 0% { clip-path: inset(0 100% 0 0); } 85%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes aguja { 0% { transform: translate(8px, 70px); } 25% { transform: translate(80px, 60px); } 50% { transform: translate(150px, 76px); } 75% { transform: translate(225px, 62px); } 100% { transform: translate(296px, 70px); } }

/* ---------- Transición entre páginas ---------- */
main, .pie { transition: opacity .22s ease, transform .22s ease; }
html.saliendo main, html.saliendo .pie { opacity: 0; transform: translateY(8px); }
.banner > img { will-change: transform; transform: scale(1.15); }

/* ---------- Avisos y barra sin servidor ---------- */
#avisos { position: fixed; z-index: 350; left: 50%; bottom: 1.2rem; translate: -50% 0; display: grid; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
.aviso { background: var(--tinta); color: #fff; padding: .8rem 1.1rem; border-radius: 8px; border: 2px dashed var(--hilo); box-shadow: 0 10px 24px rgba(0,0,0,.35); animation: subir .3s; font-weight: 600; }
.aviso.error { background: #7a1020; }
.aviso.fuera { opacity: 0; transition: opacity .4s; }
@keyframes subir { from { opacity: 0; transform: translateY(12px); } }
#sin-servidor { background: #b3122c; color: #fff; padding: .7rem 1.2rem; text-align: center; font-size: .95rem; }
#sin-servidor code { background: rgba(0,0,0,.25); padding: .1rem .4rem; border-radius: 4px; }

/* ---------- Cabecera: usuario, tema ---------- */
.btn-tema { min-width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--hilo); background: transparent; color: #fff; font-size: 1.15rem; cursor: pointer; }
.btn-tema:hover { background: var(--hilo); color: var(--tinta); }
.usuario-enlace { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .9rem 0 .35rem; border-radius: 99px; border: 2px dashed var(--hilo); font-weight: 700; transition: background .2s, color .2s; }
.usuario-enlace:hover { background: var(--hilo); color: var(--tinta); }
.usuario-enlace.entrar { padding: 0 1.1rem; }
.usuario-punto { width: 30px; height: 30px; border-radius: 50%; background: var(--hilo); color: var(--tinta); display: grid; place-items: center; font-weight: 800; }
@media (max-width: 480px) { .usuario-nombre { display: none; } .usuario-enlace { padding: 0 .4rem; } .usuario-enlace.entrar { padding: 0 .8rem; } .btn-carrito { padding: 0 .6rem; } }

/* ---------- Ofertas ---------- */
.oferta-sello { background: #b3122c !important; color: #fff !important; }
.precio .tachado { opacity: .7; font-size: .8em; margin-right: .35rem; font-weight: 500; }
.cuenta-regresiva { font-variant-numeric: tabular-nums; color: var(--hilo); }
.oferta-caja { display: inline-block; background: rgba(179,18,44,.2); border: 2px dashed #ff6b81; border-radius: 8px; padding: .5rem .9rem; margin-bottom: .8rem; }
.nota-mini { display: block; color: #7a4a00; font-size: .85rem; margin-bottom: .3rem; }
.en-oferta { color: #b3122c; }

/* ---------- Producto: galería, zoom, reseñas ---------- */
.prod-foto { min-width: 0; }
button.marco-prod { display: block; position: relative; width: 100%; padding: 0; cursor: zoom-in; font: inherit; color: inherit; }
.lupa { position: absolute; right: .7rem; bottom: .7rem; background: rgba(13,23,48,.82); color: #fff; padding: .25rem .8rem; border-radius: 99px; font-size: .85rem; font-weight: 700; }
.miniaturas { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; max-width: 520px; }
.mini { width: 74px; aspect-ratio: 2 / 3; padding: 0; border-radius: 6px; overflow: hidden; border: 3px solid var(--lavado); cursor: pointer; background: var(--indigo); opacity: .7; transition: opacity .2s, transform .2s; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini:hover, .mini.activo { opacity: 1; transform: translateY(-3px); }
.mini.activo { border-color: var(--hilo); }
.zoom-caja { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: .6rem; background: rgba(8,16,38,.96); padding: 1rem; }
.zoom-vista { overflow: auto; max-width: 94vw; max-height: 84vh; cursor: zoom-in; border: 5px solid var(--lavado); border-radius: 6px; background: #000; }
.zoom-vista img { max-height: 82vh; width: auto; max-width: 94vw; margin: auto; transition: width .25s; }
.acercado .zoom-vista { cursor: zoom-out; }
.acercado .zoom-vista img { max-height: none; max-width: none; width: 190%; }
.zoom-cerrar { position: absolute; top: .6rem; right: 1rem; font-size: 3rem; line-height: 1; color: var(--hilo); background: none; border: 0; cursor: pointer; z-index: 2; }
.zoom-ayuda { color: #cfdcf0; font-size: .9rem; }
.prod-estrellas { color: var(--hilo); margin-bottom: .3rem; font-weight: 600; }
.estrellas { color: var(--hilo); letter-spacing: .08em; }
.resenas-seccion { padding: 1rem 0 3rem; border-top: 2px dashed rgba(244,166,42,.5); }
.resenas-seccion h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.4rem; }
.lista-resenas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 1.6rem; }
.resena { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1.1rem 1.2rem; outline: 2px dashed var(--denim); outline-offset: -7px; }
.resena .estrellas { color: #b36b00; }
.resena small { color: #3d4c6b; }
.sin-resenas { color: var(--suave); }
.sin-resenas a { text-decoration: underline; }
.form-resena { max-width: 560px; }

/* ---------- Entrar ---------- */
.entrar-caja { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.entrar-lado h1 { font-size: clamp(3.5rem, 8vw, 6rem); margin-bottom: 1rem; }
.beneficios { display: grid; gap: .7rem; margin-top: .8rem; }
.beneficios li { padding-left: 1.7rem; position: relative; color: var(--suave); }
.beneficios li::before { content: "✦"; position: absolute; left: 0; color: var(--hilo); }
.entrar-form form { margin-top: 0; }
.tabs { display: flex; gap: .6rem; margin-bottom: 1rem; }
.tabs button { flex: 1; padding: .7rem 1rem; border: 2px dashed var(--hilo); border-radius: 99px; font: inherit; font-weight: 800; color: inherit; background: transparent; cursor: pointer; }
.tabs button.activo { background: var(--hilo); color: var(--tinta); border-style: solid; }

/* ---------- Mi cuenta ---------- */
.aviso-cuenta { background: rgba(244,166,42,.18); border: 2px dashed var(--hilo); border-radius: 8px; padding: .8rem 1.1rem; margin: 1rem 0; }
.aviso-cuenta a { text-decoration: underline; font-weight: 700; }
.cifras-cuenta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0; }
.cifras-cuenta div { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1rem 1.2rem; outline: 2px dashed var(--denim); outline-offset: -7px; }
.cifras-cuenta strong { display: block; font-size: 2.6rem; line-height: 1; font-variation-settings: "wdth" 75; }
.panel-cuenta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.panel-cuenta .contenido { display: grid; gap: 1rem; }
.panel-cuenta .contenido.productos { display: grid; }
.vacio-cuenta { color: var(--suave); }
.vacio-cuenta a { text-decoration: underline; }
.tarjeta-pedido, .cupon { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1.1rem 1.3rem; outline: 2px dashed var(--denim); outline-offset: -7px; }
.tarjeta-pedido header { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; margin-bottom: .4rem; }
.tarjeta-pedido h3 { font-size: 1.8rem; }
.tarjeta-pedido time, .linea-tiempo time { color: #51618a; font-size: .85rem; margin-left: auto; }
.tarjeta-pedido ul { list-style: disc; padding-left: 1.2rem; margin: .4rem 0; }
.total-linea { margin-top: .5rem; }
.gratis { color: #1c6b36; }
.chip { display: inline-block; padding: .1rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 800; background: #dfe6f1; color: var(--tinta); }
.chip.estado-nuevo { background: #ffe3b0; color: #6b3d00; } .chip.estado-confirmado { background: #cfe0ff; color: #12306b; }
.chip.estado-entregado { background: #c9efd5; color: #14502a; } .chip.estado-cancelado { background: #ffd0d0; color: #7a1020; }
.chip.tipo { background: var(--hilo); color: var(--tinta); }
.cupon { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cupon strong { display: block; font-size: 1.4rem; font-variation-settings: "wdth" 75; }
.cupon span, .cupon small { display: block; color: #3d4c6b; }
.cupon code, .resultado-ruleta code { background: var(--tinta); color: var(--hilo); padding: .4rem .9rem; border-radius: 6px; font-size: 1.1rem; font-weight: 800; letter-spacing: .06em; }
.cupon.inactivo { opacity: .55; }
.nota-cuenta { color: var(--suave); font-size: .92rem; }
.linea-tiempo { display: grid; gap: .5rem; }
.linea-tiempo li { background: rgba(255,255,255,.06); border-left: 4px solid var(--hilo); padding: .6rem .9rem; border-radius: 0 6px 6px 0; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.form-editor { margin: 1rem 0; max-width: 640px; }
.form-editor h3 { font-size: 1.9rem; }
.form-inline { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; margin: 1rem 0; max-width: none; }
.form-inline label { flex: 1 1 160px; }

/* ---------- Ruleta ---------- */
.ruleta-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.rueda-caja { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.rueda-caja canvas { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(5,12,30,.5)); }
.rueda-puntero { position: absolute; z-index: 2; left: 50%; top: -6px; translate: -50% 0; width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 44px solid var(--hilo); filter: drop-shadow(0 3px 2px rgba(0,0,0,.5)); }
.ruleta-info h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.pasos-ruleta { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .5rem; margin-bottom: 1.6rem; color: var(--suave); }
.btn-grande { font-size: 1.35rem; padding: 1rem 2.2rem; }
.btn:disabled, button.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
#estado-ruleta { margin: 1rem 0; font-weight: 600; }
#estado-ruleta a { text-decoration: underline; }
.resultado-ruleta { background: var(--lavado); color: var(--tinta); border-radius: 8px; padding: 1.4rem; margin: 1rem 0; outline: 2px dashed var(--denim); outline-offset: -8px; display: grid; gap: .6rem; }
.resultado-ruleta.ganaste { background: var(--hilo); outline-color: var(--tinta); }
.resultado-ruleta h2 { font-size: 3rem; margin: 0; }
.premio-nombre { font-size: 1.7rem; font-weight: 800; font-variation-settings: "wdth" 75; }
.resultado-ruleta .btn-borde { color: var(--tinta); border-color: var(--tinta); }
.lista-premios { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .4rem .8rem; margin: .6rem 0 1rem; }
.lista-premios li { display: flex; align-items: center; gap: .5rem; }
.punto { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--tinta); flex: none; }
.legal { color: var(--suave); font-size: .88rem; }
.mini-rueda-caja { position: relative; width: min(340px, 80%); aspect-ratio: 1; margin-inline: auto; }
.mini-rueda { width: 100%; height: 100%; border-radius: 50%; border: 6px solid var(--lavado); box-shadow: 0 18px 30px rgba(5,12,30,.45);
  background: conic-gradient(#f4a62a 0 12.5%, #3a4f7e 0 25%, #e8edf5 0 37.5%, #a9753f 0 50%, #f4a62a 0 62.5%, #3a4f7e 0 75%, #e8edf5 0 87.5%, #b3122c 0 100%); animation: girar 14s linear infinite; }
.mini-puntero { position: absolute; left: 50%; top: -8px; translate: -50% 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 30px solid var(--hilo); }
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- Ubicación ---------- */
.datos-lugar { display: grid; gap: 1rem; margin: 1.4rem 0 2rem; }
.datos-lugar p { display: grid; gap: .1rem; }
.datos-lugar strong { color: var(--hilo); font-variation-settings: "wdth" 75; font-size: 1.2rem; }
.mapa-caja { border: 6px solid var(--lavado); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 36px rgba(5,12,30,.45); aspect-ratio: 4 / 3; background: var(--indigo); }
.mapa-caja iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Panel de la dueña ---------- */
.acceso-admin { max-width: 460px; margin: 2rem 0; display: grid; gap: 1rem; }
.acceso-admin h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.cajas-resumen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.caja-resumen { background: var(--lavado); color: var(--tinta); border-radius: 6px; padding: 1.1rem 1.3rem; outline: 2px dashed var(--denim); outline-offset: -7px; }
.caja-resumen h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.caja-resumen ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .3rem; }
.resumen-admin { grid-template-columns: repeat(3, 1fr); }
.resumen-admin div { font-weight: 600; }
.pedido-admin.sin-leer { border-left: 8px solid var(--hilo); }
.pedido-admin .sel-estado { margin-left: .3rem; }
.barra-filtro { margin: .6rem 0 1rem; }
.barra-filtro select { padding: .5rem .8rem; border-radius: 6px; border: 1.5px solid #9fb2d2; font: inherit; background: #fff; color: var(--tinta); }
.enlace-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: #12306b; }
.detalle-cliente { background: var(--lavado); color: var(--tinta); border-radius: 8px; padding: 1.4rem; margin-top: 1.6rem; outline: 2px dashed var(--denim); outline-offset: -8px; display: grid; gap: .6rem; }
.detalle-cliente header { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.detalle-cliente h3 { font-size: 2.2rem; }
.detalle-cliente h4 { font-size: 1.4rem; margin-top: .6rem; font-variation-settings: "wdth" 75; }
.detalle-cliente .btn-borde { color: var(--tinta); border-color: var(--tinta); margin-left: auto; }
.detalle-cliente .linea-tiempo li { background: #eef3fb; }
.admin-barra [role="tab"][aria-selected="true"] { background: var(--hilo); color: var(--tinta); }

/* ---------- Tablas apilables en móvil ---------- */
@media (max-width: 680px) {
  table.apilable { min-width: 0; }
  table.apilable thead { position: absolute; left: -9999px; }
  table.apilable, table.apilable tbody, table.apilable tr, table.apilable td, table.apilable th { display: block; width: 100%; }
  table.apilable tr { border: 2px dashed var(--denim); border-radius: 8px; margin-bottom: .8rem; padding: .3rem .8rem; background: #fff; }
  table.apilable td, table.apilable tbody th { display: flex; justify-content: space-between; gap: 1rem; text-align: right; border: 0; border-bottom: 1px dashed #c3d0e6; padding: .45rem 0; background: transparent; }
  table.apilable tr > :last-child { border-bottom: 0; }
  table.apilable td::before, table.apilable tbody th[data-label]::before { content: attr(data-label); font-weight: 800; text-align: left; color: #12306b; }
  table.apilable tbody th { font-size: 1.1rem; }
  .tabla-wrap { overflow-x: visible; }
}

/* ---------- Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--hilo); outline-offset: 3px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.cuenta-regresiva, .estrellas { forced-color-adjust: none; }

/* ---------- Menú compacto hasta 1100px ---------- */
@media (max-width: 1100px) {
  .hamb { display: inline-flex; }
  .cabecera .fila { flex-wrap: wrap; }
  .cabecera .menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: .6rem 0 .4rem; gap: 0; }
  .cabecera .menu.abierto { display: flex; }
  .cabecera .menu a { padding: .8rem .3rem; border-bottom: 1px dashed rgba(244,166,42,.4); font-size: 1.1rem; }
  .cabecera .acciones { margin-left: auto; }
  .cifras-cuenta { grid-template-columns: repeat(2, 1fr); }
  .cajas-resumen { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .entrar-caja, .ruleta-layout { grid-template-columns: 1fr; gap: 2rem; }
  .resumen-admin { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .resumen-admin { grid-template-columns: 1fr; } .cifras-cuenta { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .puntada, .aguja, .mini-rueda { animation: none; }
  .puntada { clip-path: none; }
  html.saliendo main, html.saliendo .pie { opacity: 1; transform: none; }
  main, .pie { transition: none; }
}

/* ==========================================================
   MODO CLARO
   ========================================================== */
html[data-tema="claro"] { color-scheme: light; --indigo: #dbe6f6; --lavado: #ffffff; --suave: #3e5381; --hilo-t: #8f5300; }
html[data-tema="claro"] body {
  color: var(--tinta); background-color: #eef3fb;
  background-image: repeating-linear-gradient(135deg, rgba(30,59,111,.035) 0 1px, transparent 1px 4px);
}
html[data-tema="claro"] .cabecera { background: rgba(238,243,251,.95); }
html[data-tema="claro"] .cargador { background: #dbe6f6; }
html[data-tema="claro"] .seccion-oscura { color: var(--tinta); }
html[data-tema="claro"] .seccion-clara { background: #fff; }
html[data-tema="claro"] .btn-borde, html[data-tema="claro"] .btn-tema, html[data-tema="claro"] .btn-carrito, html[data-tema="claro"] .hamb,
html[data-tema="claro"] .filtros button, html[data-tema="claro"] .talla, html[data-tema="claro"] .admin-barra button, html[data-tema="claro"] .tabs button,
html[data-tema="claro"] .usuario-enlace, html[data-tema="claro"] .herramientas input[type="search"], html[data-tema="claro"] .herramientas select { color: var(--tinta); }
html[data-tema="claro"] .btn-borde:hover, html[data-tema="claro"] .btn-tema:hover, html[data-tema="claro"] .btn-carrito:hover, html[data-tema="claro"] .hamb:hover,
html[data-tema="claro"] .usuario-enlace:hover { color: var(--tinta); }
html[data-tema="claro"] .herramientas input[type="search"], html[data-tema="claro"] .herramientas select { background: #fff; }
html[data-tema="claro"] .btn-carrito .cuenta { border-color: #eef3fb; }
html[data-tema="claro"] .revista figcaption b { color: var(--tinta); }
html[data-tema="claro"] .faq details { background: rgba(255,255,255,.7); }
html[data-tema="claro"] .linea-tiempo li { background: rgba(255,255,255,.8); }
html[data-tema="claro"] .menu a:hover, html[data-tema="claro"] .menu a.activo, html[data-tema="claro"] .cifras strong, html[data-tema="claro"] .proceso h3::before,
html[data-tema="claro"] .nota small, html[data-tema="claro"] .nota li::before, html[data-tema="claro"] .faq summary::after, html[data-tema="claro"] .prod-info small,
html[data-tema="claro"] .prod-precio, html[data-tema="claro"] .prod-nota, html[data-tema="claro"] .pagina-404 h1, html[data-tema="claro"] .pie a:hover,
html[data-tema="claro"] .prod-estrellas, html[data-tema="claro"] .estrellas, html[data-tema="claro"] .cuenta-regresiva, html[data-tema="claro"] .datos-lugar strong,
html[data-tema="claro"] .beneficios li::before { color: var(--hilo-t); }
html[data-tema="claro"] .menu a:hover, html[data-tema="claro"] .menu a.activo { border-color: var(--hilo-t); }
html[data-tema="claro"] .resena .estrellas { color: #8f5300; }
html[data-tema="claro"] .oferta-caja { background: rgba(179,18,44,.1); border-color: #b3122c; }
html[data-tema="claro"] .aviso-cuenta { background: rgba(244,166,42,.22); }
html[data-tema="claro"] .banner h1 { color: #fff; }
html[data-tema="claro"] .pie { background: #dbe6f6; }
html[data-tema="claro"] .titulo-pagina p, html[data-tema="claro"] .encabezado p { color: var(--suave); }
html[data-tema="claro"] .llamado, html[data-tema="claro"] .cinta { color: var(--tinta); }
html[data-tema="claro"] .cuerda path { stroke: var(--hilo-t); }

/* Accesibilidad: contraste del texto pequeño sobre tarjetas claras */
.articulo .cuerpo small{color:#7a4f1f}
html[data-tema="claro"] .articulo .cuerpo small{color:#7a4f1f}
