/* =====================================================================
   ESTILOS DE EMOJISTORE
   Colores del logo: rosado, azul marino y detalles arcoíris.
   ===================================================================== */
:root {
  --navy: #14213D;
  --navy-2: #22325a;
  --rosa: #E6176F;
  --rosa-claro: #FF8EC2;
  --rubor: #FFF7FA;
  --lavanda: #F3EEFC;
  --amarillo: #F3B90F;
  --turquesa: #04C4B7;
  --tinta: #14213D;
  --gris: #5b6478;
  --linea: #f1d9e4;
  --blanco: #fff;
  --radio: 18px;
  --sombra: 0 4px 14px rgba(20, 33, 61, .08);
  --sombra-fuerte: 0 18px 50px rgba(20, 33, 61, .28);
  --ancho: 1160px;
  --f-titulo: 'Pacifico', cursive;
  --f-encabezado: 'Poppins', system-ui, sans-serif;
  --f-texto: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--rubor); color: var(--tinta); font: 16px/1.5 var(--f-texto); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--rosa); }
h1, h2, h3 { font-family: var(--f-encabezado); line-height: 1.2; margin: 0 0 .5em; }
button { font: inherit; }
[hidden] { display: none !important; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; background: var(--rosa); color: #fff; font: 600 15px var(--f-encabezado); padding: 11px 18px; cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #d9d4de; color: #6d6677; cursor: not-allowed; filter: none; }
.btn-chico { padding: 8px 14px; font-size: 14px; }
.btn-ancho { width: 100%; }
.btn-navy { background: var(--navy); }
.btn-borde { background: #fff; color: var(--rosa); box-shadow: inset 0 0 0 2px var(--rosa); }
.btn-suave { background: var(--lavanda); color: var(--navy); }
.btn-peligro { background: #fff; color: #c0263d; box-shadow: inset 0 0 0 2px #f2c2cb; }
.btn-wa { background: #25D366; }
.btn-ig { background: linear-gradient(90deg, #f58529, #dd2a7b 50%, #8134af); }
.enlace { background: none; border: 0; color: var(--rosa); text-decoration: underline; cursor: pointer; padding: 0; font-size: 14px; }

/* ---------- Cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 30; background: var(--navy); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.cab-in { max-width: var(--ancho); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 18px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 400 22px var(--f-titulo); }
.marca img { width: 40px; height: 40px; border-radius: 50%; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { color: #dfe4f0; text-decoration: none; font: 500 15px var(--f-encabezado); padding: 8px 12px; border-radius: 10px; }
.menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.acciones { display: flex; align-items: center; gap: 10px; }
.btn-carro { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.1); text-decoration: none; font-size: 20px; }
.burbuja { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--amarillo); color: var(--navy); font: 700 12px/20px var(--f-encabezado); text-align: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--rosa-claro); background: var(--rosa); color: #fff; font: 600 16px var(--f-encabezado); padding: 0; cursor: pointer; overflow: hidden; display: grid; place-items: center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.zona-usuario { position: relative; }
.menu-usuario { position: absolute; right: 0; top: 50px; width: 250px; background: #fff; color: var(--tinta); border-radius: 14px; box-shadow: var(--sombra-fuerte); padding: 8px; display: flex; flex-direction: column; z-index: 40; }
.menu-usuario a, .menu-usuario button { text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 10px; color: var(--tinta); text-decoration: none; cursor: pointer; font-size: 15px; }
.menu-usuario a:hover, .menu-usuario button:hover { background: var(--lavanda); }
.mu-nombre { padding: 8px 12px 10px; border-bottom: 1px solid var(--linea); margin-bottom: 4px; font: 600 15px var(--f-encabezado); }
.mu-nombre small { display: block; font: 400 13px var(--f-texto); color: var(--gris); overflow: hidden; text-overflow: ellipsis; }
.aviso-config { background: #fff3cd; color: #6b4e00; text-align: center; padding: 8px 12px; font-size: 14px; }

/* ---------- Portada (Inicio) ---------- */
.portada { background: radial-gradient(1200px 400px at 50% -10%, #2b3f72 0%, var(--navy) 60%); color: #fff; text-align: center; padding: 56px 20px 64px; }
.portada-logo { width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; box-shadow: 0 10px 40px rgba(255, 142, 194, .35); }
.portada h1 { font: 400 clamp(44px, 7vw, 72px)/1.1 var(--f-titulo); color: var(--rosa-claro); margin: 0 0 8px; }
.portada .lema { letter-spacing: .14em; font: 500 14px var(--f-encabezado); color: #dfe4f0; margin: 0 0 6px; }
.portada .sub { font-size: 20px; margin: 0 0 26px; }
.portada .btn { font-size: 17px; padding: 14px 26px; }

.seccion { padding: 56px 0; }
.seccion.lavanda { background: var(--lavanda); }
.seccion.navy { background: var(--navy); color: #fff; }
.seccion-titulo { font-size: clamp(26px, 4vw, 34px); color: var(--rosa); }
.seccion.lavanda .seccion-titulo { color: var(--navy); }
.seccion.navy .seccion-titulo { color: var(--rosa-claro); }
.seccion-sub { color: var(--gris); margin: -4px 0 26px; max-width: 640px; }
.seccion.navy .seccion-sub { color: #c9cfdd; }

.pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: paso; }
.paso { background: #fff; border-radius: var(--radio); padding: 22px 18px; box-shadow: var(--sombra); text-align: center; }
.paso-icono { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, #ffd6e7, #efe4ff 55%, #d9f6f3); }
.paso h3 { font-size: 17px; margin-bottom: 6px; }
.paso h3::before { counter-increment: paso; content: counter(paso) ". "; color: var(--rosa); }
.paso p { margin: 0; color: var(--gris); font-size: 15px; }

.beneficios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.beneficio { padding: 4px 0; }
.beneficio h3 { font-size: 17px; }
.beneficio p { margin: 0; color: var(--gris); }

.contacto p { margin: 0 0 10px; font-size: 17px; }
.contacto a { color: #fff; }

.centro { text-align: center; margin-top: 26px; }

/* ---------- Tienda ---------- */
.tienda-cab { background: var(--navy); color: #fff; padding: 34px 0 30px; }
.tienda-cab h1 { font: 400 clamp(36px, 6vw, 52px)/1.15 var(--f-titulo); color: var(--rosa-claro); margin: 0 0 6px; }
.tienda-cab p { margin: 0; color: #dfe4f0; }
.barra-tienda { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.pestanas { display: flex; gap: 8px; flex-wrap: wrap; }
.pestana { border: 2px solid var(--rosa); background: #fff; color: var(--rosa); font: 600 14px var(--f-encabezado); padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.pestana:hover { background: #ffe6f0; }
.pestana[aria-selected="true"] { background: var(--rosa); color: #fff; }
.buscador { margin-left: auto; position: relative; }
.buscador input { border: 2px solid var(--linea); border-radius: 999px; padding: 8px 14px 8px 36px; font: inherit; width: 220px; background: #fff; }
.buscador::before { content: '🔎'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; }

.grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 40px; }
.tarjeta { background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.foto { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #ffd6e7, #efe4ff 55%, #d9f6f3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gris); font-size: 13px; position: relative; }
.foto .emo { font-size: 46px; line-height: 1; margin-bottom: 6px; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.etiqueta { position: absolute; top: 10px; left: 10px; z-index: 1; font: 700 12px var(--f-encabezado); padding: 4px 10px; border-radius: 999px; }
.etiqueta.agotado { background: var(--navy); color: #fff; }
.etiqueta.disponible { background: var(--turquesa); color: #fff; }
.etiqueta.pocas { background: var(--amarillo); color: var(--navy); }
.tarjeta-cuerpo { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.tarjeta-nombre { font: 600 15px var(--f-encabezado); margin: 0; }
.tarjeta-color { color: var(--gris); font-size: 14px; }
.tarjeta-precio { font: 700 17px var(--f-encabezado); color: var(--rosa); margin-top: 2px; }
.tarjeta-stock { font-size: 13px; color: var(--gris); }
.tarjeta-stock b { color: var(--navy); }
.tarjeta .btn { margin-top: 10px; }
.vacio { grid-column: 1 / -1; text-align: center; color: var(--gris); padding: 50px 10px; }
.vacio .grande { font-size: 44px; }
.cargando { grid-column: 1 / -1; text-align: center; color: var(--gris); padding: 50px 0; }

/* ---------- Panel lateral del carrito ---------- */
.fondo-oscuro { position: fixed; inset: 0; background: rgba(20, 33, 61, .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fondo-oscuro.ver { opacity: 1; pointer-events: auto; }
.cajon { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff; z-index: 51; transform: translateX(105%); transition: transform .25s; display: flex; flex-direction: column; }
.cajon.ver { transform: none; }
.cajon-cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--linea); }
.cajon-cab h2 { margin: 0; font: 400 26px var(--f-titulo); color: var(--rosa); }
.cerrar { border: 0; background: var(--lavanda); width: 36px; height: 36px; border-radius: 50%; font-size: 17px; cursor: pointer; color: var(--navy); }
.cajon-items { flex: 1; overflow: auto; padding: 6px 18px; }
.linea { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--linea); align-items: center; }
.linea-foto { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #ffd6e7, #efe4ff); display: grid; place-items: center; font-size: 26px; grid-row: span 2; }
.linea-foto img { width: 100%; height: 100%; object-fit: cover; }
.linea-nombre { font: 600 14px var(--f-encabezado); }
.linea-detalle { color: var(--gris); font-size: 13px; }
.linea-precio { font: 700 14px var(--f-encabezado); color: var(--rosa); text-align: right; }
.linea.no-disp { opacity: .55; }
.linea-aviso { grid-column: 2 / -1; color: #c0263d; font-size: 13px; }
.cantidad { display: flex; align-items: center; gap: 6px; }
.cantidad button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--linea); background: #fff; cursor: pointer; font-size: 16px; color: var(--navy); }
.cantidad button:disabled { opacity: .4; cursor: not-allowed; }
.cantidad span { min-width: 18px; text-align: center; font-weight: 700; }
.quitar { border: 0; background: none; color: var(--gris); text-decoration: underline; cursor: pointer; font-size: 12px; justify-self: end; }
.cajon-pie { padding: 14px 18px 18px; border-top: 1px solid var(--linea); display: flex; flex-direction: column; gap: 10px; }
.total { display: flex; justify-content: space-between; font: 700 18px var(--f-encabezado); }
.envio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nota { font-size: 13px; color: var(--gris); text-align: center; margin: 0; }
.exito { text-align: center; padding: 30px 8px; }
.exito .grande { font-size: 52px; }
.exito h3 { color: var(--rosa); }

.linea-nombre { color: var(--tinta); text-decoration: none; }
.linea-nombre:hover { color: var(--rosa); }
.linea-botones { display: flex; align-items: center; gap: 8px; justify-self: end; }
.lista-titulo { font: 600 16px var(--f-encabezado); margin: 6px 0 0; }

/* ---------- Subcategorías y tarjetas ---------- */
.subpestanas { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 18px; }
.subpestana { border: 0; background: var(--lavanda); color: var(--navy); font: 600 13px var(--f-encabezado); padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.subpestana:hover { background: #e7dcfa; }
.subpestana[aria-pressed="true"] { background: var(--navy); color: #fff; }
a.foto, a.tarjeta-nombre, .enlace-tarjeta { text-decoration: none; color: inherit; }
a.tarjeta-nombre:hover { color: var(--rosa); }
a.foto:hover img { transform: scale(1.03); }
.foto img { transition: transform .25s; }
.foto { overflow: hidden; }
.mas-fotos { position: absolute; top: 10px; right: 10px; z-index: 1; background: rgba(255,255,255,.9); color: var(--navy); font: 700 12px var(--f-encabezado); padding: 3px 8px; border-radius: 999px; }
.tarjeta-tallas { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tarjeta-tallas span { font: 600 11px var(--f-encabezado); border: 1px solid var(--linea); border-radius: 6px; padding: 2px 6px; color: var(--navy); }
.tarjeta-tallas span.sin { color: #b3adbb; text-decoration: line-through; }

/* ---------- Ofertas y cupones ---------- */
.precio-antes { color: var(--gris); font-weight: 400; font-size: .82em; margin-right: 4px; }
.etiqueta-oferta { position: absolute; bottom: 10px; left: 10px; z-index: 1; background: #ff4d2e; color: #fff; font: 700 13px var(--f-encabezado); padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(255, 77, 46, .35); }
.etiqueta-oferta.en-linea { position: static; vertical-align: middle; font-size: 14px; margin-left: 6px; }
.pestana.oferta { border-color: #ff4d2e; color: #ff4d2e; }
.pestana.oferta:hover { background: #fff0ec; }
.pestana.oferta[aria-selected="true"] { background: #ff4d2e; color: #fff; }
.form-cupon { display: flex; gap: 8px; }
.form-cupon input { padding: 8px 12px; text-transform: uppercase; }
.form-cupon input::placeholder { text-transform: none; }
.cupon-aplicado { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #e9faf3; color: #0b6b4b; border-radius: 12px; padding: 9px 12px; font-size: 14px; }
.cupon-aplicado.no-sirve { background: #fff3cd; color: #6b4e00; }
.resumen-cupon { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 15px; color: var(--gris); margin: 4px 0; }
.resumen-cupon span:nth-child(4) { color: #0b6b4b; font-weight: 700; }

/* ---------- Lista de prendas de un pedido (con botón "Ver") ---------- */
.lista-pedido, .pedido ul.lista-pedido, .pedido-admin ul.lista-pedido { list-style: none; margin: 10px 0; padding: 0; }
.lista-pedido li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--linea); }
.lista-pedido li:last-child { border-bottom: 0; }
.lp-foto { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #ffd6e7, #efe4ff); display: grid; place-items: center; font-size: 20px; text-decoration: none; }
.lp-foto img { width: 100%; height: 100%; object-fit: cover; }
.lp-info { min-width: 0; }
.lp-info b { display: block; font: 600 14px var(--f-encabezado); color: var(--tinta); }
.lp-info small { color: var(--gris); font-size: 13px; }
.lp-precio { font: 700 14px var(--f-encabezado); color: var(--rosa); }

/* ---------- Página de una prenda ---------- */
.prenda-pagina { width: 100%; padding-top: 18px; padding-bottom: 30px; }
.migas { font-size: 14px; color: var(--gris); margin-bottom: 16px; }
.migas a { color: var(--gris); text-decoration: none; }
.migas a:hover { color: var(--rosa); }
.prenda { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.foto-principal { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radio); overflow: hidden; background: linear-gradient(135deg, #ffd6e7, #efe4ff 55%, #d9f6f3); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gris); box-shadow: var(--sombra); touch-action: pan-y; }
.foto-principal .emo { font-size: 70px; }
.foto-principal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--sombra); z-index: 1; }
.flecha.izq { left: 10px; }
.flecha.der { right: 10px; }
.contador-fotos { position: absolute; bottom: 10px; right: 10px; background: rgba(20,33,61,.7); color: #fff; font: 600 12px var(--f-encabezado); padding: 3px 9px; border-radius: 999px; }
.miniaturas { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.miniaturas button { flex: 0 0 68px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; }
.miniaturas button[aria-pressed="true"] { border-color: var(--rosa); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.prenda-nombre { font: 600 clamp(24px, 3.4vw, 32px) var(--f-encabezado); margin: 0 0 4px; }
.prenda-color { color: var(--gris); margin: 0 0 8px; font-size: 17px; }
.prenda-precio { font: 700 28px var(--f-encabezado); color: var(--rosa); margin: 0 0 10px; }
.etiqueta-linea { display: inline-block; font: 700 12px var(--f-encabezado); padding: 4px 10px; border-radius: 999px; }
.etiqueta-linea.agotado { background: var(--navy); color: #fff; }
.etiqueta-linea.disponible { background: var(--turquesa); color: #fff; }
.etiqueta-linea.pocas { background: var(--amarillo); color: var(--navy); }
.rotulo { font: 600 14px var(--f-encabezado); color: var(--navy); margin: 0 0 8px; }
.bloque-tallas { margin: 20px 0 6px; }
.tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.talla { min-width: 52px; height: 44px; padding: 0 12px; border: 2px solid #e3e6ee; background: #fff; border-radius: 12px; font: 600 15px var(--f-encabezado); color: var(--navy); cursor: pointer; }
.talla:hover:not(:disabled) { border-color: var(--rosa-claro); }
.talla[aria-pressed="true"] { border-color: var(--rosa); background: var(--rosa); color: #fff; }
.talla:disabled { color: #b3adbb; text-decoration: line-through; cursor: not-allowed; background: #f7f6f9; }
.comprar { display: flex; gap: 12px; align-items: center; margin: 18px 0 8px; flex-wrap: wrap; }
.comprar .btn { flex: 1; min-width: 200px; padding: 13px 18px; font-size: 16px; }
.grande-cant button { width: 40px; height: 44px; border-radius: 12px; font-size: 18px; }
.grande-cant span { min-width: 26px; font-size: 17px; }
.nota-izq { font-size: 14px; color: var(--gris); margin: 4px 0 0; }
.descripcion { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linea); }
.descripcion h2 { font-size: 17px; margin-bottom: 6px; }
.descripcion p { white-space: pre-line; color: #3b4459; margin: 0; }
.enlace-consulta { display: inline-block; margin-top: 18px; font-weight: 600; }
.relacionadas { padding: 40px 0 0; }

/* ---------- Ventana emergente y login ---------- */
.modal-fondo { position: fixed; inset: 0; background: rgba(20, 33, 61, .5); z-index: 60; display: grid; place-items: center; padding: 16px; overflow: auto; }
.modal { position: relative; background: #fff; border-radius: 22px; width: min(440px, 100%); padding: 26px 24px 22px; box-shadow: var(--sombra-fuerte); }
.modal > .cerrar { position: absolute; top: 12px; right: 12px; }
.modal.ancho { width: min(620px, 100%); }
.login-titulo { font: 400 28px var(--f-titulo); color: var(--rosa); text-align: center; margin: 4px 0 8px; }
.login-motivo { text-align: center; color: var(--gris); margin: 0 0 14px; font-size: 15px; }
.btn-google { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid #e3e6ee; background: #fff; border-radius: 12px; padding: 11px; font: 600 15px var(--f-encabezado); color: var(--tinta); cursor: pointer; }
.btn-google:hover { background: #f8f9fc; }
.separador { display: flex; align-items: center; gap: 10px; color: var(--gris); font-size: 13px; margin: 16px 0; }
.separador::before, .separador::after { content: ''; flex: 1; height: 1px; background: #e3e6ee; }
.login form, .formulario { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 5px; font: 600 14px var(--f-encabezado); color: var(--navy); }
input, select, textarea { font: 400 15px var(--f-texto); color: var(--tinta); border: 2px solid #e3e6ee; border-radius: 12px; padding: 10px 12px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rosa-claro); }
.login-error { background: #fdecef; color: #a3162c; border-radius: 10px; padding: 8px 12px; margin: 0; font-size: 14px; }
.login .enlace { display: block; margin: 12px auto 0; }
.login-cambiar { text-align: center; margin: 14px 0 0; color: var(--gris); font-size: 14px; }
.login-cambiar .enlace { display: inline; margin: 0; }

/* ---------- Mi cuenta ---------- */
.tarjeta-blanca { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 22px; }
.perfil { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.perfil .avatar { width: 64px; height: 64px; font-size: 26px; cursor: default; }
.perfil-datos { flex: 1; min-width: 200px; }
.perfil-datos h2 { margin: 0; }
.perfil-datos p { margin: 2px 0 0; color: var(--gris); }
.pedido { border: 1px solid var(--linea); border-radius: 14px; padding: 14px 16px; margin-top: 12px; background: #fff; }
.pedido-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pedido-cab strong { font-family: var(--f-encabezado); }
.pedido ul { margin: 8px 0; padding-left: 18px; color: var(--gris); font-size: 15px; }
.estado { font: 700 12px var(--f-encabezado); padding: 4px 10px; border-radius: 999px; }
.est-nuevo { background: #fff3cd; color: #6b4e00; }
.est-confirmado { background: #dff7f5; color: #036d66; }
.est-entregado { background: #e6f4ea; color: #1e6b34; }
.est-cancelado { background: #f1f1f4; color: #6d6677; }
.aviso { background: #fff3cd; color: #6b4e00; border-radius: 12px; padding: 12px 14px; margin: 14px 0 0; }

/* ---------- Pie ---------- */
.pie { background: var(--navy); color: #c9cfdd; margin-top: auto; }
.pie-in { max-width: var(--ancho); margin: 0 auto; padding: 26px 20px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.pie-in p { margin: 2px 0 0; }
.pie-marca { font: 400 22px var(--f-titulo); color: var(--rosa-claro); }
.pie-links { display: flex; gap: 16px; flex-wrap: wrap; }
.pie-links a { color: #fff; text-decoration: none; }
.pie-chico { width: 100%; font-size: 13px; color: #9aa3b8; }

/* ---------- Aviso flotante ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 11px 12px 11px 18px; border-radius: 14px; font-size: 15px; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 24px); box-shadow: var(--sombra-fuerte); }
.toast span { min-width: 0; }
.toast.ver { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; border-radius: 10px; background: var(--rosa); color: #fff; font: 600 13px var(--f-encabezado); padding: 7px 11px; cursor: pointer; white-space: nowrap; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prenda { grid-template-columns: 1fr; gap: 18px; }
  .subpestanas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .lista-pedido li { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .lista-pedido li .lp-precio { grid-column: 2; grid-row: 2; }
  .lista-pedido li .btn { grid-column: 3; grid-row: 1 / span 2; }
  .beneficios { grid-template-columns: 1fr; }
  .solo-pc { display: none; }
  .buscador { margin-left: 0; width: 100%; }
  .buscador input { width: 100%; }
  .pestanas { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .pestanas::-webkit-scrollbar { display: none; }
}
@media (max-width: 520px) {
  .cab-in { padding: 8px 12px; gap: 8px; }
  .marca span { display: none; }
  .menu a { padding: 7px 9px; font-size: 14px; }
  .contenedor { padding: 0 12px; }
  .pasos { grid-template-columns: 1fr; }
  .tarjeta-cuerpo { padding: 10px; }
  .tarjeta-nombre { font-size: 14px; }
  .tarjeta-precio { font-size: 15px; }
  .tarjeta .btn { padding: 9px; font-size: 14px; }
  .seccion { padding: 40px 0; }
  .portada { padding: 40px 16px 48px; }
  .portada-logo { width: 120px; height: 120px; }
}
