/* OX Swim CR — estilos de la tienda y el panel */
:root {
  --ink: #0A1628; --ink2: #12213A; --ink3: #16284A; --line-dark: #22314D;
  --volt: #D4FF3A; --pool: #0057FF; --pool-dark: #0047D6; --pool-soft: #F0F5FF;
  --gris: #4A5568; --gris2: #C9D3E3; --borde: #C5CED9; --linea: #E2E8F0; --fondo: #F2F5F9;
  --ok: #0A7A3E; --ok-bg: #DDF5E6; --ok-tx: #0A6634; --mal: #B42318; --mal-bg: #FDE2E0; --mal-tx: #9A1C12;
  --aviso-bg: #FFF4CC; --aviso-tx: #6B4E00; --info-bg: #E3ECFF; --info-tx: #0040B8;
  --disp: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --txt: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cont: 1280px; --pad: clamp(20px, 4vw, 48px); --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--txt); color: var(--ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--pool-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--volt); padding: 10px 14px; font-weight: 700; }
.saltar:focus { left: 8px; }
.cont { max-width: var(--cont); margin: 0 auto; padding: 0 var(--pad); }
.disp { font-family: var(--disp); font-weight: 400; text-transform: uppercase; line-height: .95; letter-spacing: .005em; }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pool); }
.sobre-oscuro .eyebrow, .eyebrow.volt { color: var(--volt); }
h1, h2, h3 { margin: 0; }
.h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(40px, 6vw, 80px); }
.lead { font-size: 17px; line-height: 1.6; color: var(--gris); max-width: 520px; }
.sobre-oscuro .lead { color: var(--gris2); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 4px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; background: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-volt { background: var(--volt); color: var(--ink); }
.btn-volt:hover { color: var(--ink); background: #c6f21f; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #13264a; }
.btn-pool { background: var(--pool); color: #fff; }
.btn-pool:hover { color: #fff; background: var(--pool-dark); }
.btn-borde { border-color: var(--ink); color: var(--ink); }
.btn-borde-claro { border-color: #fff; color: #fff; }
.btn-borde-claro:hover { color: var(--volt); border-color: var(--volt); }
.btn-borde-volt { border-color: var(--volt); color: var(--volt); }
.btn-borde-volt:hover { background: var(--volt); color: var(--ink); }
.btn-mal { border-color: var(--mal); color: var(--mal); }
.btn-chico { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-ancho { width: 100%; }
.link { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--pool); padding-bottom: 2px; }
.link-volt { border-color: var(--volt); color: #fff; }

/* formularios */
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo label, .etq { font-size: 14px; font-weight: 600; }
.fld { width: 100%; min-height: 48px; padding: 12px 14px; font-size: 16px; border: 1.5px solid var(--borde); border-radius: 4px; background: #fff; }
.fld:focus { border-color: var(--pool); outline: none; box-shadow: 0 0 0 3px rgba(0,87,255,.18); }
textarea.fld { min-height: 96px; resize: vertical; }
.fld[aria-invalid="true"] { border-color: var(--mal); }
.error-campo { color: var(--mal); font-size: 13px; font-weight: 600; margin: 0; }
.ayuda { font-size: 13px; color: var(--gris); margin: 0; line-height: 1.5; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pool); flex: none; }
.fila-tel { display: flex; gap: 8px; }
.prefijo { display: flex; align-items: center; padding: 0 14px; background: var(--fondo); border: 1.5px solid var(--borde); border-radius: 4px; font-weight: 600; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.opcion { display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--borde); border-radius: var(--r); padding: 16px; cursor: pointer; }
.opcion:has(input:checked) { border-color: var(--pool); background: var(--pool-soft); }
.opcion input { width: 20px; height: 20px; accent-color: var(--pool); }

/* aviso flotante */
.aviso { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; max-width: min(560px, calc(100% - 32px));
  padding: 14px 20px; border-radius: 8px; font-weight: 600; box-shadow: 0 10px 30px rgba(10,22,40,.25); }
.aviso-ok { background: var(--ink); color: #fff; }
.aviso-error { background: var(--mal); color: #fff; }

/* =================================================================== TIENDA */
.anuncio { background: var(--volt); text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; padding: 10px 16px; text-transform: uppercase; }
.cab { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.cab .cont { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo b { font-family: var(--disp); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: .02em; }
.logo span { font-size: 11px; font-weight: 700; letter-spacing: .12em; border: 1.5px solid var(--volt); color: var(--volt); padding: 3px 6px; border-radius: 3px; }
.nav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav a { color: #fff; text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--volt), var(--volt)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: #fff; }
.cab-acc { display: flex; gap: 6px; align-items: center; }
.ico-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none; }
.ico-btn:hover { background: rgba(255,255,255,.08); color: #fff; }
.burbuja { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--volt); color: var(--ink); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav.abierta { display: flex; position: fixed; inset: 0; top: 0; z-index: 60; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 28px; font-size: 26px; }
  .nav .cerrar-menu { position: absolute; top: 16px; right: 16px; }
}
.nav .cerrar-menu { display: none; }
.nav.abierta .cerrar-menu { display: inline-flex; }

.hero { position: relative; min-height: min(780px, calc(100vh - 110px)); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.hero-fotos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.hero-fotos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,40,.05) 0%, rgba(10,22,40,.25) 35%, rgba(10,22,40,.92) 100%); }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(10,22,40,.9); }
.hero .cont { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; color: #fff; animation: subir .7s ease both; }
.hero h1 { font-size: clamp(60px, 10vw, 152px); }
.hero p.lead { color: #E3E9F2; font-size: 19px; margin: 26px 0 0; }
.hero .acciones { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,22,40,.15) 0%, rgba(10,22,40,.85) 30%, rgba(10,22,40,.96) 70%); }
  .hero .cont { padding-bottom: 56px; }
  .hero .acciones .btn { width: 100%; }
}
@keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.franja { background: var(--pool); color: #fff; overflow: hidden; white-space: nowrap; padding: 18px 0; font-family: var(--disp); font-size: 24px; text-transform: uppercase; letter-spacing: .04em; }
.franja span { padding: 0 20px; }
.franja i { font-style: normal; color: var(--volt); }

.sec { padding: 104px 0; }
.sec-oscura { background: var(--ink); color: #fff; }
.sec-gris { background: var(--fondo); }
.sec-pool { background: var(--pool); color: #fff; }
.sec-volt { background: var(--volt); }
.sec-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
@media (max-width: 640px) { .sec { padding: 72px 0; } }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cat { position: relative; display: block; height: 600px; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; transition: transform .2s; }
.cat:hover { transform: translateY(-2px); color: #fff; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s; }
.cat:hover img { transform: scale(1.03); }
.cat-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; background: linear-gradient(180deg, rgba(10,22,40,0), rgba(10,22,40,.85)); }
.cat-txt h3 { font-family: var(--disp); font-weight: 400; font-size: 44px; text-transform: uppercase; }
.cat-txt p { margin: 8px 0 16px; color: #E3E9F2; max-width: 380px; }
.cat-txt span { font-weight: 700; border-bottom: 2px solid var(--volt); padding-bottom: 3px; }
@media (max-width: 640px) { .cat { height: 440px; } }

.grid-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
.prod { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); transition: transform .2s; }
.prod:hover { transform: translateY(-2px); color: var(--ink); }
.prod-foto { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: #DDE4EE; }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s; }
.prod:hover .prod-foto img { transform: scale(1.03); }
.chip { position: absolute; top: 12px; left: 12px; background: var(--volt); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.chip-ink { background: var(--ink); color: #fff; }
.prod h3 { font-size: 18px; font-weight: 700; }
.prod p { margin: 4px 0 0; color: var(--gris); font-size: 15px; }
.sec-oscura .prod { color: #fff; }
.sec-oscura .prod p { color: var(--gris2); }

.drop-card { background: var(--ink2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: #fff; }
.drop-card .prod-foto { border-radius: 0; aspect-ratio: 3 / 3.6; }
.drop-card .cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.drop-card h3 { font-family: var(--disp); font-weight: 400; font-size: 30px; text-transform: uppercase; }
.precios { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--gris2); }
.precios div { display: flex; justify-content: space-between; }
.precios strong { color: #fff; }
.drop-card .btn { margin-top: auto; }

.pilares { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; border-top: 2px solid var(--ink); padding-top: 40px; }
.pilares b { font-family: var(--disp); font-weight: 400; font-size: 48px; color: var(--pool); }
.pilares h3 { margin: 10px 0; font-size: 22px; }
.pilares p { margin: 0; color: var(--gris); line-height: 1.6; }

.split { display: flex; flex-wrap: wrap; min-height: 680px; }
.split > img { flex: 1 1 520px; min-height: 460px; object-fit: cover; object-position: 50% 30%; width: 100%; }
.split .txt { flex: 1 1 440px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(20px, 5vw, 96px); }
.split .txt .btn { align-self: flex-start; margin-top: 32px; }

.lado { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lado > div { flex: 1 1 420px; }
.lado > img { flex: 1 1 520px; height: 580px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); width: 100%; }
@media (max-width: 640px) { .lado > img { height: 420px; } }

.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 48px 0 40px; }
.tarjetas > div { background: rgba(10,22,40,.28); border-radius: var(--r); padding: 30px; }
.tarjetas h3 { font-size: 21px; margin-bottom: 8px; }
.tarjetas p { margin: 0; color: #E3E9F2; line-height: 1.6; }

.comunidad { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.comunidad img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 4px; width: 100%; }

.club { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.club > div { flex: 1 1 420px; }
.club form { flex: 1 1 440px; min-width: 0; background: #fff; border-radius: 8px; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.club h2 { font-size: clamp(54px, 7vw, 104px); }
.ventajas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; font-weight: 600; padding: 0; list-style: none; }
.ventajas li { display: flex; gap: 12px; align-items: center; }
.exito { background: var(--ok-bg); color: var(--ok-tx); border-radius: 6px; padding: 16px; font-weight: 600; }

.pie { background: var(--ink); color: var(--gris2); padding: 80px 0 36px; }
.pie-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.pie h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.pie nav { display: flex; flex-direction: column; gap: 10px; }
.pie a { color: var(--gris2); text-decoration: none; }
.pie a:hover { color: var(--volt); }
.pie-base { border-top: 1px solid var(--line-dark); margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* filtros tienda */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.pill { min-height: 40px; padding: 8px 16px; border-radius: 20px; border: 1.5px solid var(--borde); background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ficha producto */
.ficha { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding: 48px 0 104px; }
@media (max-width: 860px) { .ficha { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; } }
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.galeria img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 4px; width: 100%; }
.galeria img:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .galeria { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; }
  .galeria img { flex: 0 0 86%; scroll-snap-align: start; }
}
.ficha-info { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.ficha-info h1 { font-size: clamp(44px, 5vw, 72px); }
.precio-grande { font-size: 28px; font-weight: 700; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.op { min-width: 56px; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--borde); border-radius: 4px; background: #fff; cursor: pointer; font-weight: 600; }
.op[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.op:disabled { color: #9AA6B6; text-decoration: line-through; cursor: not-allowed; background: var(--fondo); }
.op small { display: block; font-size: 11px; font-weight: 600; color: var(--mal); text-decoration: none; }
.op[aria-pressed="true"] small { color: var(--volt); }
.caja-aviso { background: var(--fondo); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }

/* bolsa (panel lateral) */
.velo { position: fixed; inset: 0; background: rgba(10,22,40,.5); z-index: 80; }
.bolsa { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 90; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(10,22,40,.2); }
.bolsa-cab { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--linea); }
.bolsa-cuerpo { flex: 1; overflow-y: auto; padding: 8px 22px; }
.bolsa-pie { border-top: 1px solid var(--linea); padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.linea { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); align-items: center; }
.linea img { width: 72px; height: 96px; object-fit: cover; border-radius: 4px; flex: none; background: #DDE4EE; }
.linea .info { flex: 1; min-width: 0; }
.linea .info p { margin: 2px 0 0; font-size: 14px; color: var(--gris); }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--borde); border-radius: 4px; margin-top: 8px; }
.cantidad button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.cantidad span { min-width: 28px; text-align: center; font-weight: 600; }
.vacia { text-align: center; padding: 56px 12px; color: var(--gris); }

/* checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding: 40px 0 96px; }
.checkout > section { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: 8px; padding: clamp(22px, 4vw, 40px); }
.checkout > aside { flex: 1 1 320px; background: #fff; border-radius: 8px; padding: 28px; }
.pagina-gris { background: var(--fondo); min-height: 70vh; }
.pasos { list-style: none; display: flex; gap: 8px; padding: 32px 0 0; margin: 0; flex-wrap: wrap; }
.pasos li { flex: 1 1 140px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--gris); }
.pasos li::before { content: ''; height: 4px; border-radius: 2px; background: var(--borde); }
.pasos li.hecho::before { background: var(--pool); }
.pasos li.actual { color: var(--ink); font-weight: 700; }
.resumen-filas { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.resumen-filas div { display: flex; justify-content: space-between; gap: 12px; }
.total { border-top: 2px solid var(--ink); margin-top: 16px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-family: var(--disp); font-weight: 400; font-size: 32px; }
.sinpe { background: var(--ink); color: #fff; border-radius: 8px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.sinpe .k { margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris2); }
.sinpe .v { margin: 0; font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sinpe .monto { font-family: var(--disp); font-weight: 400; font-size: 40px; color: var(--volt); }
.copiar { min-height: 32px; padding: 4px 10px; font-size: 12px; font-weight: 700; border: 1.5px solid var(--volt); color: var(--volt); background: none; border-radius: 4px; cursor: pointer; }
.subir { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--borde); border-radius: 6px; min-height: 130px; padding: 16px; text-align: center; cursor: pointer; }
.subir.listo { border-color: var(--pool); background: var(--pool-soft); }
.linea-tiempo { list-style: none; padding: 0; margin: 20px 0 0; }
.linea-tiempo li { display: flex; gap: 16px; padding-bottom: 22px; }
.punto { width: 26px; height: 26px; border-radius: 13px; border: 2px solid var(--borde); flex: none; background: #fff; }
.punto.hecho { background: var(--pool); border-color: var(--pool); }
.punto.actual { background: var(--volt); border-color: var(--ink); }
.linea-tiempo b { display: block; }
.linea-tiempo small { color: var(--gris); font-size: 14px; }
.alerta { border-radius: 8px; padding: 14px 18px; font-weight: 600; }
.alerta-mal { background: var(--mal-bg); color: var(--mal-tx); }
.alerta-ok { background: var(--ok-bg); color: var(--ok-tx); }
.alerta-info { background: var(--aviso-bg); color: var(--aviso-tx); }

.cargando { padding: 80px 0; text-align: center; color: var(--gris); }
.demo-banda { background: var(--aviso-bg); color: var(--aviso-tx); text-align: center; font-size: 13px; font-weight: 600; padding: 8px 12px; }
.demo-banda a { color: inherit; }

/* =================================================================== PANEL */
.panel { display: flex; flex-wrap: wrap; min-height: 100vh; background: var(--fondo); }
.lateral { flex: 1 1 240px; max-width: 100%; background: var(--ink); color: var(--gris2); padding: 24px 14px; display: flex; flex-direction: column; gap: 4px; }
.lateral .logo { padding: 0 10px 22px; }
.lateral .logo b { font-size: 24px; }
.lateral a, .lateral button.item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 6px; color: var(--gris2); text-decoration: none; font-size: 15px; min-height: 44px; border: 0; background: none; cursor: pointer; text-align: left; width: 100%; }
.lateral a:hover, .lateral button.item:hover { background: var(--ink3); color: #fff; }
.lateral a[aria-current="page"] { background: var(--ink3); color: #fff; font-weight: 600; }
.lateral .cuenta { margin-top: auto; border-top: 1px solid var(--line-dark); padding: 14px 12px 0; font-size: 13px; }
.lateral .cuenta b { color: #fff; display: block; font-size: 14px; }
.lateral .grupo { margin: 18px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8FA3BF; }
.contador { margin-left: auto; background: var(--volt); color: var(--ink); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.principal { flex: 999 1 560px; min-width: 0; padding: 30px clamp(18px, 3vw, 40px) 64px; }
@media (max-width: 820px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi b { font-size: 22px; }
  .lateral { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 10px; gap: 4px; align-items: center; }
  .lateral .logo, .lateral .grupo { display: none; }
  .lateral a, .lateral button.item { flex: none; width: auto; font-size: 14px; }
  .lateral a svg { display: none; }
  .lateral .cuenta { margin: 0 0 0 auto; border: 0; padding: 0 6px; white-space: nowrap; }
}
.p-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.p-cab h1 { font-family: var(--disp); font-weight: 400; font-size: 42px; text-transform: uppercase; line-height: 1; }
.p-cab .sub { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.tarjeta { background: #fff; border-radius: 8px; padding: 22px; }
.tarjeta h2 { font-size: 17px; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi p { margin: 0; font-size: 14px; color: var(--gris); }
.kpi b { display: block; font-size: 28px; margin: 8px 0 4px; letter-spacing: -.01em; }
.kpi small { font-size: 13px; font-weight: 600; }
.sube { color: var(--ok); } .baja { color: var(--mal); } .neutra { color: var(--gris); }
.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 220px; border-bottom: 1.5px solid var(--ink); }
.barras div { flex: 1; background: var(--pool); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.barras div:hover { opacity: .8; }
.barras-et { display: flex; gap: 6px; margin-top: 6px; }
.barras-et span { flex: 1; text-align: center; font-size: 11px; color: var(--gris); }
.hbar { margin: 10px 0; }
.hbar .l { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; gap: 10px; }
.hbar .t { height: 10px; background: #E9EEF5; border-radius: 5px; }
.hbar .t div { height: 10px; background: var(--pool); border-radius: 5px; }
.tabla-caja { overflow-x: auto; }
table.tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla th { text-align: left; font-weight: 600; color: var(--gris); padding: 12px 10px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.tabla td { padding: 12px 10px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tr.clic { cursor: pointer; }
.tabla tr.clic:hover td { background: #F7F9FC; }
.der { text-align: right !important; }
.estado { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 10px; white-space: nowrap; }
.e-espera, .e-pendiente_pago, .e-proximamente { background: var(--info-bg); color: var(--info-tx); }
.e-comprobante { background: var(--aviso-bg); color: var(--aviso-tx); }
.e-aprobado, .e-preparando, .e-enviado, .e-entregado, .e-publicado, .e-si { background: var(--ok-bg); color: var(--ok-tx); }
.e-rechazado, .e-cancelado, .e-agotado { background: var(--mal-bg); color: var(--mal-tx); }
.e-expirado, .e-borrador, .e-oculto, .e-no { background: #EEF1F5; color: var(--gris); }
.dos-col { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.dos-col > :first-child { flex: 1 1 420px; min-width: 0; }
.dos-col > :last-child { flex: 1.3 1 480px; min-width: 0; }
.lista-ped button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--linea); border-left: 4px solid transparent; background: #fff; cursor: pointer; min-height: 68px; }
.lista-ped button:hover { background: #F7F9FC; }
.lista-ped button[aria-pressed="true"] { background: var(--pool-soft); border-left-color: var(--pool); }
.lista-ped small { color: var(--gris); font-size: 13px; display: block; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; margin: 0; }
.dl dt { color: var(--gris); }
.dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.compro { min-height: 280px; border-radius: 6px; background: #E9EEF5; border: 1px solid #D5DDE8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.compro img { max-height: 520px; width: 100%; object-fit: contain; background: #fff; }
.vacio-panel { padding: 48px 20px; text-align: center; color: var(--gris); }
.fotos-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.foto-ed { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #DDE4EE; border: 2px solid transparent; }
.foto-ed.portada { border-color: var(--pool); }
.foto-ed img { width: 100%; height: 100%; object-fit: cover; }
.foto-ed .tag { position: absolute; top: 6px; left: 6px; background: var(--volt); font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 3px; }
.foto-ed .acc { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 6px; background: linear-gradient(transparent, rgba(10,22,40,.7)); }
.foto-ed .acc button { width: 32px; height: 32px; border-radius: 16px; border: 0; background: rgba(255,255,255,.92); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.subir-foto { aspect-ratio: 3 / 4; border: 2px dashed #9AAAC0; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px; cursor: pointer; font-size: 14px; font-weight: 600; background: #F7F9FC; }
.tipo-caja { border: 1px solid var(--linea); border-radius: 6px; padding: 16px; margin-top: 14px; }
.tallas-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 12px; }
.talla-ed { border: 1.5px solid var(--linea); border-radius: 4px; padding: 6px; text-align: center; }
.talla-ed.cero { border-color: #F3B8B2; background: #FFF5F4; }
.talla-ed label { font-size: 12px; color: var(--gris); display: block; }
.talla-ed input { width: 100%; border: 0; text-align: center; font-size: 18px; font-weight: 700; padding: 2px; background: transparent; }
.estados-prod label { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--linea); border-radius: 6px; padding: 12px; cursor: pointer; margin-bottom: 8px; }
.estados-prod label:has(input:checked) { border-color: var(--pool); background: var(--pool-soft); }
.estados-prod input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pool); }
.super-caja { background: var(--ink); color: #fff; border-radius: 8px; padding: 22px; }
.super-caja .fld { background: var(--ink2); border-color: #34466A; color: #fff; }
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: 20px; }
.login form { width: min(420px, 100%); background: #fff; border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.barra-acc { position: sticky; bottom: 0; background: rgba(242,245,249,.96); padding: 12px 0; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; z-index: 5; }

/* ---------------- Próximamente (antes del lanzamiento) ---------------- */
.pronto-capa { display: none; }
body.pronto { overflow: hidden; }
body.pronto > :not(#pronto) { filter: blur(14px) saturate(.9); pointer-events: none; user-select: none; }
body.pronto .pronto-capa { position: fixed; inset: 0; z-index: 200; display: flex; padding: var(--pad); overflow-y: auto;
  background: rgba(10, 22, 40, .62); color: #fff; text-align: center; }
.pronto-caja { width: 100%; max-width: 720px; margin: auto; animation: pronto-entra .7s ease-out both; }
.pronto-logo { justify-content: center; margin: 0 0 28px; }
.pronto-logo b { font-size: 40px; }
.pronto-titulo { margin: 0 0 28px; font-size: clamp(40px, 6.5vw, 76px); color: #fff; }
.pronto-titulo span { color: var(--volt); white-space: nowrap; }
.pronto-conteo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 auto 28px; max-width: 560px; }
.pronto-conteo div { padding: 18px 8px 14px; border: 1.5px solid rgba(255,255,255,.22); border-radius: var(--r); background: rgba(10, 22, 40, .55); }
.pronto-conteo b { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(40px, 7vw, 64px); line-height: 1; color: var(--volt); font-variant-numeric: tabular-nums; }
.pronto-conteo span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris2); }
.pronto-texto { margin: 0 auto 22px; max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--gris2); }
.pronto-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; max-width: 560px; margin: 0 auto; text-align: left; }
.pronto-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--gris2); }
.pronto-form .fld, .pronto-form .prefijo { color: var(--ink); }
.pronto-form .error-campo, .pronto-form .btn, .pronto-legal { grid-column: 1 / -1; }
.pronto-form .error-campo { color: #FFB4AB; }
.pronto-legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--gris2); text-align: center; }
.pronto-ok { max-width: 560px; margin: 0 auto; padding: 18px; border-radius: var(--r); background: var(--volt); color: var(--ink); font-weight: 600; }
.pronto-ig { display: inline-block; margin-top: 26px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.pronto-ig:hover { color: var(--volt); }
@keyframes pronto-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .pronto-form { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pronto-conteo { gap: 8px; } .pronto-conteo div { padding: 14px 4px 10px; } .pronto-logo b { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { .pronto-caja { animation: none; } }
