/* =====================================================================
   PANEL DE TIENDAS (Wave Store + Arvel)
   Estilo sobrio tipo app de iPhone. El color de acento (--acento) cambia
   según la tienda elegida: rojo Wave Store / negro-marfil Arvel.
   ===================================================================== */
:root {
    --fondo: #F2F2F7;
    --superficie: #FFFFFF;
    --texto: #000000;
    --texto-2: #636366;
    --texto-3: #8E8E93;
    --linea: #E5E5EA;
    --linea-2: #D1D1D6;
    --azul: #0A84FF;
    --verde: #1F6B3A;
    --verde-fondo: #E8F5EC;
    --ambar: #8A5300;
    --ambar-fondo: #FFF4E0;
    --rojo-error: #D70015;
    --acento: #E30613;
    --acento-texto: #FFFFFF;
    --radio: 14px;
    color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    background: var(--fondo);
    color: var(--texto);
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
}
h1 { margin: 4px 0 14px; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
h2 { margin: 0; font-size: 1.05rem; font-weight: 700; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Arranque ---------- */
.arranque { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--texto-2); }
.arranque__barra { width: 140px; height: 4px; border-radius: 2px; background: var(--linea); overflow: hidden; }
.arranque__barra span { display: block; width: 40%; height: 100%; background: #000; animation: carga 1.1s ease-in-out infinite; }
@keyframes carga { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
#blazor-error-ui { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; padding: 12px 16px; background: #FFF4E0; box-shadow: 0 -1px 4px rgba(0,0,0,.15); }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

/* ---------- Estructura ---------- */
.app { min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.barra-sup {
    position: sticky; top: 0; z-index: 20;
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--linea);
    display: flex; flex-direction: column; gap: 10px;
}
.barra-sup__fila { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.barra-sup__titulo { font-weight: 800; font-size: .95rem; }
.barra-sup__usuario { font-size: .8rem; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contenido { max-width: 760px; margin: 0 auto; padding: 16px 16px 24px; }

.selector-tienda { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--fondo); }
.selector-tienda__op {
    min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--texto-2);
    font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.selector-tienda__op--activa { background: var(--superficie); color: var(--texto); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.selector-tienda__punto { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }

.barra-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
    background: rgba(249,249,249,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--linea-2);
}
.barra-nav__item {
    min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: .68rem; color: var(--texto-2); text-decoration: none; text-align: center; line-height: 1.1;
}
.barra-nav__item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.barra-nav__item--activo { color: var(--texto); font-weight: 700; }
.barra-nav__item--activo svg { stroke-width: 2.2; }

/* ---------- Encabezados y bloques ---------- */
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cabecera h1 { margin-bottom: 10px; }
.volver { display: inline-flex; align-items: center; min-height: 40px; font-size: 1rem; text-decoration: none; }
.bloque { background: var(--superficie); border-radius: var(--radio); padding: 16px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 14px; }
.bloque__titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bloque--permisos p { margin: 0; font-size: .9rem; color: var(--texto-2); }
.ayuda { margin: 0; font-size: .82rem; color: var(--texto-3); }
.cargando, .vacio { color: var(--texto-2); text-align: center; padding: 30px 10px; }
.vacio { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dia { margin: 18px 4px 8px; font-size: .82rem; font-weight: 700; color: var(--texto-2); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--linea-2);
    background: var(--superficie); color: var(--texto); font: inherit; font-size: .95rem; font-weight: 600;
    cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: default; }
.btn--primario { background: #000; color: #fff; border-color: #000; }
.btn--acento { background: var(--acento); color: var(--acento-texto); border-color: var(--acento); }
.btn--peligro { background: var(--rojo-error); color: #fff; border-color: var(--rojo-error); }
.btn--peligro-texto { color: var(--rojo-error); }
.btn--quieto { background: var(--fondo); border-color: transparent; }
.btn--bloque { width: 100%; }
.btn--chico { min-height: 36px; padding: 0 12px; font-size: .85rem; border-radius: 10px; }
.btn input[type=file] { display: none; }
.fila-botones { display: flex; gap: 8px; flex-wrap: wrap; }
.barra-guardar { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 10px 0; background: linear-gradient(transparent, var(--fondo) 30%); }

/* ---------- Campos ---------- */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label, .campo__etiqueta { font-size: .88rem; font-weight: 600; }
.campo input, .campo select, .campo textarea, .buscador, .selector-categoria, .campo__con-boton input, .fila__input {
    width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--linea-2);
    background: var(--superficie); color: var(--texto); font: inherit; font-size: 16px;
}
.campo textarea { resize: vertical; line-height: 1.45; }
.campo input:disabled { background: var(--fondo); color: var(--texto-2); }
.campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.campo__con-boton { display: flex; gap: 8px; }
.campo__con-boton input { flex: 1; min-width: 0; }
.campo__ojo { border: 0; background: none; color: var(--azul); font: inherit; font-weight: 600; cursor: pointer; padding: 0 6px; }
.buscador { margin-bottom: 10px; background: var(--superficie); }
.selector-categoria { margin-bottom: 12px; }

.segmentos { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--fondo); }
.segmentos__op { flex: 1; min-height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--texto-2); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.segmentos__op--activa { background: var(--superficie); color: var(--texto); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.interruptor { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.interruptor > span { flex: 1; display: flex; flex-direction: column; }
.interruptor small { color: var(--texto-2); font-size: .82rem; }
.interruptor input {
    appearance: none; -webkit-appearance: none; flex-shrink: 0;
    width: 51px; height: 31px; border-radius: 16px; background: var(--linea); position: relative; cursor: pointer; transition: background .2s;
}
.interruptor input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.interruptor input:checked { background: #34C759; }
.interruptor input:checked::after { transform: translateX(20px); }

/* ---------- Chips y estados ---------- */
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 10px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 36px; padding: 0 14px; border-radius: 18px; border: 0; background: var(--superficie); color: var(--texto); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.chip--activo { background: #000; color: #fff; }
.estado { flex-shrink: 0; min-height: 34px; padding: 0 12px; border-radius: 17px; border: 0; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.estado--disp { background: var(--verde-fondo); color: var(--verde); }
.estado--pedido { background: var(--ambar-fondo); color: var(--ambar); }
.estado--agotado { background: #EFEFF4; color: var(--texto-2); }
.etiqueta { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #EFEFF4; color: var(--texto-2); font-size: .72rem; font-weight: 700; }
.etiqueta--acento { background: var(--acento); color: var(--acento-texto); }

/* ---------- Listas ---------- */
.lista { list-style: none; margin: 0 0 12px; padding: 0 12px; border-radius: var(--radio); background: var(--superficie); }
.fila { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; border-top: 1px solid var(--fondo); }
.fila:first-child { border-top: 0; }
.fila--apagada { opacity: .55; }
.fila__enlace { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.fila__texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fila__texto strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila__texto small, .fila__texto p small { color: var(--texto-2); font-size: .82rem; }
.fila__texto p { margin: 0; }
.fila__acciones { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fila--usuario { flex-wrap: wrap; }
.fila--usuario .fila__acciones { width: 100%; justify-content: flex-start; padding-left: 52px; }
.fila--categoria { flex-wrap: wrap; }
.fila--historial { align-items: flex-start; }
.fila__input { flex: 1; min-width: 140px; }
.miniatura { position: relative; width: 56px; height: 56px; flex-shrink: 0; border-radius: 10px; background: var(--fondo); overflow: hidden; }
.miniatura img { width: 100%; height: 100%; object-fit: cover; display: block; }
.miniatura__conteo { position: absolute; right: 3px; bottom: 3px; padding: 0 4px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: .65rem; font-weight: 700; }
.avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; text-transform: uppercase; }
.ordenar { display: flex; flex-direction: column; gap: 2px; }
.ordenar button { width: 32px; height: 26px; border: 1px solid var(--linea-2); border-radius: 6px; background: var(--superficie); font-size: .7rem; cursor: pointer; }
.ordenar button:disabled { opacity: .3; cursor: default; }
.historial__detalle { font-size: .9rem; }
.historial__detalle s { color: var(--texto-3); }
.historial__restaurado { color: var(--verde); font-weight: 700; }
.fila--historial .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Galería de fotos ---------- */
.galeria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.galeria__foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--fondo); }
.galeria__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galeria__foto--principal { box-shadow: 0 0 0 2px #000; }
.galeria__etiqueta { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 6px; background: #fff; font-size: .7rem; font-weight: 700; }
.galeria__etiqueta--pendiente { background: var(--ambar-fondo); color: var(--ambar); }
.galeria__principal { position: absolute; left: 4px; bottom: 4px; min-height: 28px; padding: 0 8px; border: 0; border-radius: 6px; background: rgba(255,255,255,.92); font: inherit; font-size: .7rem; font-weight: 600; cursor: pointer; }
.galeria__quitar { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 1.1rem; cursor: pointer; }
.galeria__agregar {
    position: relative; aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #AEAEB2; background: var(--superficie);
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px;
    color: var(--azul); font-size: .85rem; font-weight: 600; cursor: pointer;
}
.galeria__agregar input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.galeria__agregar--ocupado { opacity: .6; }

/* ---------- Opciones (tallas, colores, sabores) ---------- */
.opciones { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border-radius: 10px; background: var(--fondo); }
.opcion--agotada .opcion__valor { text-decoration: line-through; color: var(--texto-3); }
.opcion__valor { font-weight: 600; }
.opcion__color { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.opcion__estado { min-height: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: var(--superficie); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.opcion__quitar { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; font-size: 1.1rem; cursor: pointer; }

/* ---------- Portada ---------- */
.segmentos--pagina { margin: 0 0 14px; background: var(--linea-2); }
.bloque__titulo--suelto { margin: 6px 4px 4px; }
.bloque__titulo h2 small { font-size: .8rem; font-weight: 600; color: var(--texto-2); margin-left: 6px; }
.bloque__titulo h3 { margin: 0; font-size: 1rem; }
.ayuda--arriba { margin: 0 4px 12px; }
.ordenar--fila { flex-direction: row; }
.fila-botones--extremos { justify-content: space-between; }
.campo-nota { width: 100%; min-height: 42px; margin-top: -6px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--linea-2); background: var(--fondo); color: var(--texto); font: inherit; font-size: 16px; }

/* Vista previa de una portada: imagen con el texto encima, como en la página */
.portada-vista { position: relative; height: 170px; border-radius: 12px; background: #000 center / cover no-repeat; color: #fff; display: flex; align-items: flex-end; padding: 14px; overflow: hidden; }
.portada-vista__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 100%; }
.portada-vista__texto > span:first-child:not(:only-child) { color: #AEAEB2; font-size: .85rem; }
.portada-vista__texto strong { font-size: 1.25rem; line-height: 1.15; overflow-wrap: anywhere; }
.portada-vista__texto span { font-size: .85rem; opacity: .9; overflow-wrap: anywhere; }
.portada-vista__texto em { margin-top: 6px; padding: 6px 12px; border-radius: 999px; font-style: normal; font-size: .8rem; font-weight: 700; }
.portada-ficha--apagada .portada-vista { opacity: .45; }

/* Barra de aviso y vista al compartir */
.aviso-vista { padding: 9px 12px; border-radius: 8px; text-align: center; font-size: .85rem; font-weight: 600; overflow-wrap: anywhere; }
/* Vista de la cinta (una línea que se corta, como en la página) y de la portada del logo */
.cinta-vista { padding: 8px 12px; border-radius: 8px; font-size: .85rem; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: rotate(-1deg); }
.frase-vista { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; border-radius: 8px; background: #000; color: #C9A96E; text-align: center; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; }
.frase-vista small { color: #9C9488; font-size: .7rem; letter-spacing: .04em; text-transform: none; }
.marca-vista { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; border-radius: 12px; background: radial-gradient(ellipse at 50% 35%, #2A0306, #000 70%); color: #fff; text-align: center; }
.marca-vista strong { font-size: 1.4rem; font-style: italic; text-transform: uppercase; }
.marca-vista span { font-size: .85rem; color: #E5E5EA; }
.marca-vista em { padding: 6px 14px; font-style: normal; font-size: .82rem; font-weight: 700; }
/* Arvel: nombre grabado en dorado, frase en mayúsculas espaciadas, botón como enlace subrayado */
.marca-vista--grabado { background: radial-gradient(ellipse at 50% 45%, #2A2118, #000 70%); }
.marca-vista--grabado strong { font-family: "Bodoni Moda", Georgia, serif; font-style: normal; font-weight: 400; letter-spacing: .3em; padding-left: .3em; background: linear-gradient(180deg, #F0DDB0, #C9A96E 45%, #9C7A44 70%, #D9BD86); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marca-vista--grabado span { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #CFC6B8; }
.marca-vista--grabado em { padding: 4px 0; border-bottom: 1px solid #EFE6D8; color: #EFE6D8; font-weight: 400; }
.compartir-vista { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--fondo); border: 1px solid var(--linea-2); }
.compartir-vista img { width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; display: block; }
.compartir-vista div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; }
.compartir-vista small { color: var(--texto-3); font-size: .78rem; }
.compartir-vista strong { font-size: .95rem; }
.compartir-vista span { color: var(--texto-2); font-size: .85rem; }

/* ---------- Avisos ---------- */
.aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #FDE8E9; color: #A3040D; font-size: .92rem; }
.aviso__icono { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #D70015; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.avisos { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); }
.aviso-flotante {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 14px;
    background: #1C1C1E; color: #fff; font: inherit; font-size: .92rem; text-align: left; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: aviso-entra .25s ease both;
}
.aviso-flotante--error { background: #D70015; }
.aviso-flotante--sale { animation: aviso-sale .26s ease both; }
.aviso-flotante__icono { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 800; }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(-10px); } }
@keyframes aviso-sale { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- Ventana de confirmación ---------- */
.modal__fondo { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.4); }
.modal {
    position: fixed; z-index: 71; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: min(90vw, 380px); padding: 20px; border-radius: 18px; background: var(--superficie);
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.modal h2 { font-size: 1.15rem; }
.modal__texto { margin: 8px 0 0; color: var(--texto-2); }
.modal__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }

/* ---------- Ingreso: "Dos marcas" ----------
   Fondo dividido en diagonal (Wave a la izquierda / arriba, Arvel a la derecha / abajo)
   y una tarjeta oscura sobre la costura. */
.ingreso { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow: hidden; background: #0A0807; color: #F2F2F7; }
.ingreso__lado { position: absolute; inset: 0; pointer-events: none; }
/* Wave: negro con franja roja y olas */
.ingreso__lado--wave { background: #000; clip-path: polygon(0 0, 100% 0, 100% 36%, 0 50%); animation: ingreso-funde .8s ease both; }
.ingreso__franja { position: absolute; left: -10%; top: 18%; width: 70%; height: 46px; background: #E30613; transform: skewX(-18deg) rotate(-8deg); transform-origin: left; animation: ingreso-franja .8s .1s cubic-bezier(.2, .9, .2, 1) both; }
.ingreso__olas { position: absolute; left: 0; top: 2%; width: 200%; height: 110px; fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; animation: ingreso-deriva 18s linear infinite; }
.ingreso__olas path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: ingreso-traza 1.2s .2s ease forwards; }
/* Arvel: negro cálido con luz tenue y línea dorada */
.ingreso__lado--arvel { background: radial-gradient(ellipse 70% 60% at 70% 85%, #2A2118 0%, #0A0807 70%); clip-path: polygon(0 50%, 100% 36%, 100% 100%, 0 100%); animation: ingreso-funde .8s .1s ease both; }
.ingreso__dorada { position: absolute; left: 0; right: 0; top: 43%; height: 1px; background: linear-gradient(90deg, transparent, #C9A96E 30%, #C9A96E 70%, transparent); transform: rotate(-4.6deg) scaleX(0); animation: ingreso-dorada 1.1s .3s cubic-bezier(.2, .7, .2, 1) forwards; }

.ingreso__tarjeta {
    position: relative; z-index: 1; width: min(100%, 400px); padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 14px;
    border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(22,22,24,.92); box-shadow: 0 24px 60px rgba(0,0,0,.55);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: ingreso-sube .7s .45s cubic-bezier(.2, .9, .2, 1) both;
}
.ingreso__logos { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 4px; }
.ingreso__logos img { display: block; width: auto; }
.ingreso__logo-wave { height: 44px; }
.ingreso__logo-arvel { height: 15px; }
.ingreso__logos span { width: 1px; height: 26px; background: rgba(255,255,255,.2); }
.ingreso__titulo { margin: 4px 0 0; text-align: center; font-size: 1.55rem; color: #fff; }
.ingreso__sub { margin: -8px 0 4px; text-align: center; font-size: .9rem; color: #A1A1A6; }

.ingreso__campo { display: flex; flex-direction: column; gap: 6px; }
.ingreso__campo label { font-size: .85rem; font-weight: 600; color: #D1D1D6; }
.ingreso__campo input {
    width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #3A3A3C; background: #0E0E10; color: #fff;
    font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.ingreso__campo input::placeholder { color: #6C6C70; }
.ingreso__campo input:focus { outline: none; border-color: #8E8E93; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.ingreso__clave { position: relative; }
.ingreso__clave input { padding-right: 50px; }
.ingreso__ojo { position: absolute; right: 4px; top: 50%; width: 42px; height: 42px; margin-top: -21px; padding: 0; border: 0; border-radius: 10px; background: none; color: #A1A1A6; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ingreso__ojo:hover { color: #fff; }
.ingreso__ojo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ingreso__mayus { display: flex; align-items: center; gap: 6px; color: #FFD60A; font-size: .8rem; font-weight: 600; }
.ingreso__mayus::before { content: "⇪"; font-size: .95rem; }
.ingreso__mayus[hidden] { display: none; }

.ingreso__boton {
    margin-top: 4px; min-height: 50px; border: 0; border-radius: 12px; background: #fff; color: #000; display: flex; align-items: center; justify-content: center; gap: 10px;
    font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform .15s, opacity .2s;
}
.ingreso__boton:hover { transform: translateY(-1px); }
.ingreso__boton:disabled { opacity: .75; cursor: default; transform: none; }
.ingreso__boton:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ingreso__girando { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); border-top-color: #000; animation: ingreso-gira .7s linear infinite; }
.ingreso__ayuda { margin: 2px 0 0; text-align: center; font-size: .78rem; color: #8E8E93; }
/* Mensaje de error sobre la tarjeta oscura */
.ingreso .aviso { background: rgba(215,0,21,.16); color: #FF8A8F; }

/* Si la clave o el correo están mal, la tarjeta se sacude apenas */
.ingreso__tarjeta--sacude-a { animation: ingreso-sacude-a .42s ease; }
.ingreso__tarjeta--sacude-b { animation: ingreso-sacude-b .42s ease; }
@keyframes ingreso-sacude-a { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
@keyframes ingreso-sacude-b { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

@keyframes ingreso-funde { from { opacity: 0; } }
@keyframes ingreso-franja { from { transform: skewX(-18deg) rotate(-8deg) scaleX(0); } }
@keyframes ingreso-traza { to { stroke-dashoffset: 0; } }
@keyframes ingreso-deriva { to { transform: translateX(-50%); } }
@keyframes ingreso-dorada { to { transform: rotate(-4.6deg) scaleX(1); } }
@keyframes ingreso-sube { from { opacity: 0; transform: translateY(18px); } }
@keyframes ingreso-gira { to { transform: rotate(360deg); } }

/* PC: la división pasa a ser vertical en diagonal (Wave a la izquierda, Arvel a la derecha) */
@media (min-width: 900px) {
    .ingreso__lado--wave { clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); }
    .ingreso__lado--arvel { background: radial-gradient(ellipse 50% 60% at 82% 55%, #2A2118 0%, #0A0807 70%); clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); }
    .ingreso__franja { left: -6%; top: 58%; width: 42%; height: 60px; }
    .ingreso__olas { top: auto; bottom: 8%; width: 100%; height: 140px; animation: none; }
    .ingreso__dorada { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, transparent, #C9A96E 30%, #C9A96E 70%, transparent); transform: translateX(-50%) rotate(9deg) scaleY(0); transform-origin: center; animation-name: ingreso-dorada-pc; }
    @keyframes ingreso-dorada-pc { to { transform: translateX(-50%) rotate(9deg) scaleY(1); } }
    .ingreso__tarjeta { width: 420px; padding: 34px 32px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .ingreso *, .ingreso__tarjeta { animation: none !important; }
    .ingreso__olas path { stroke-dashoffset: 0; }
    .ingreso__dorada { transform: rotate(-4.6deg); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
    .ingreso__dorada { transform: translateX(-50%) rotate(9deg); }
}

@media (min-width: 900px) {
    .barra-nav { left: 50%; right: auto; transform: translateX(-50%); width: 560px; bottom: 12px; border: 1px solid var(--linea-2); border-radius: 18px; padding-bottom: 6px; }
    .app { padding-bottom: 100px; }
    .barra-guardar { bottom: 90px; }
}

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

/* ---------- Categorías en cuadros (pantalla Productos) ---------- */
.cuadros { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cuadros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cuadro { display: flex; flex-direction: column; height: 100%; border-radius: var(--radio); background: var(--superficie); overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.cuadro__foto { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #E5E5EA, #F2F2F7); display: block; }
.cuadro__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cuadro__texto { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.cuadro__texto strong { font-size: 1rem; }
.cuadro__texto small { color: var(--texto-2); font-size: .8rem; }
.cuadro--oculto { opacity: .6; }
.cuadro--sin .cuadro__foto { background: repeating-linear-gradient(45deg, #F2F2F7, #F2F2F7 10px, #E5E5EA 10px, #E5E5EA 20px); }

/* ---------- Herramientas de la lista (elegir varios, ordenar) ---------- */
.barra-herramientas { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.barra-herramientas__texto { flex: 1; min-width: 140px; font-size: .88rem; color: var(--texto-2); }
.fila--seleccionada { background: #EAF3FF; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.fila__check input { width: 22px; height: 22px; accent-color: #000; }
.acciones-grupo {
    position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 25;
    max-width: 736px; margin: 0 auto; padding: 12px; border-radius: 16px; background: var(--superficie);
    box-shadow: 0 10px 30px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 8px;
}
.acciones-grupo__titulo { font-size: .85rem; font-weight: 700; }
.acciones-grupo__botones { display: flex; flex-wrap: wrap; gap: 6px; }
.acciones-grupo .estado:not([class*="estado--"]) { background: var(--fondo); color: var(--texto); }

/* ---------- Formulario de producto ---------- */
.fila-botones--arriba { margin: -6px 0 12px; }
.galeria__item { display: flex; flex-direction: column; gap: 6px; list-style: none; }
.galeria__color { width: 100%; min-height: 34px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--linea-2); background: var(--superficie); font: inherit; font-size: .8rem; }
.tallas { display: flex; flex-wrap: wrap; gap: 8px; }
.talla {
    min-width: 52px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px dashed var(--linea-2);
    background: var(--superficie); color: var(--texto-3); font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
}
.talla--hay { border: 1.5px solid #000; background: #000; color: #fff; }
.talla--agotada { border: 1.5px solid var(--linea-2); background: var(--fondo); color: var(--texto-3); text-decoration: line-through; }
.colores-rapidos { display: flex; flex-wrap: wrap; gap: 6px; }
.color-rapido { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 6px; border-radius: 17px; border: 1px solid var(--linea-2); background: var(--superficie); font: inherit; font-size: .82rem; cursor: pointer; }
.color-rapido__muestra { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }

/* ---------- Configurar formulario de una categoría ---------- */
.config-categoria { list-style: none; margin: 0 -12px; padding: 12px; background: #F7F7FA; border-top: 1px solid var(--linea); display: flex; flex-direction: column; gap: 12px; }
.config-categoria__tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border-radius: 10px; background: var(--superficie); font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: #000; }

/* ---------- Color: círculo con el tono (la paleta del sistema se abre al tocarlo) ---------- */
.opcion__color, .nuevo-color__paleta input { -webkit-appearance: none; appearance: none; border: 0; padding: 0; background: none; cursor: pointer; }
.opcion__color { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); flex-shrink: 0; }
.opcion__color::-webkit-color-swatch-wrapper { padding: 0; }
.opcion__color::-webkit-color-swatch { border: 0; border-radius: 50%; }
.opcion__color::-moz-color-swatch { border: 0; border-radius: 50%; }
.nuevo-color { display: flex; align-items: center; gap: 8px; }
.nuevo-color__paleta { position: relative; width: 46px; height: 46px; flex-shrink: 0; cursor: pointer; }
.nuevo-color__paleta input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.nuevo-color__muestra { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 0 0 3px #fff, 0 0 0 4px var(--linea-2); pointer-events: none; }
.nuevo-color__nombre { flex: 1; min-width: 0; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--linea-2); font: inherit; font-size: 16px; }
.ayuda--arriba { margin: -4px 2px 12px; }

/* ---------- Categorías como lista de rectángulos apilados (reemplaza los cuadros) ---------- */
.cuadros, .cuadros { grid-template-columns: 1fr !important; gap: 8px; }
.cuadro { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; min-height: 76px; position: relative; }
.cuadro__foto { width: 56px; height: 56px; aspect-ratio: auto; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.cuadro__texto { flex: 1; min-width: 0; padding: 0 22px 0 0; }
.cuadro__texto strong { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cuadro::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid #C7C7CC; border-top: 2px solid #C7C7CC; transform: rotate(45deg); }


/* =====================================================================
   TEMAS POR TIENDA
   Todo el panel toma los colores y la letra de la tienda elegida.
   El tema se aplica con la clase .tema-wave / .tema-arvel en .app
   (Layout/MainLayout.razor). Los colores de estado NO cambian.
   ===================================================================== */
.tema-wave {
    --fondo: #F4F4F6; --superficie: #FFFFFF; --texto: #000000; --texto-2: #5E5E63; --texto-3: #6E6E73;
    --linea: #E6E6EA; --linea-2: #CFCFD4; --azul: #0A6CD6;
    --acento: #E30613; --acento-texto: #FFFFFF; --rojo-error: #A3000E; --foco: #0A84FF;
    --f-texto: "Barlow", -apple-system, system-ui, sans-serif;
    --f-tit: "Barlow Condensed", "Barlow", sans-serif; --w-tit: 900; --s-tit: italic; --tt-tit: uppercase; --t-tit: 2.1rem; --t-sub: 1.25rem;
    --sup-fondo: #000000; --sup-borde: #E30613; --avatar-fondo: #E30613; --avatar-texto: #FFFFFF; --logo-alto: 52px;
    --linea-tit: #E30613; --linea-tit-alto: 6px; --linea-tit-giro: skewX(-24deg);
    --radio: 14px; --radio-chico: 12px; --radio-chip: 18px; --nav-activo: #E30613;
}
.tema-arvel {
    --fondo: #EFE6D8; --superficie: #F9F5EE; --texto: #1C1A17; --texto-2: #5C564E; --texto-3: #6B6358;
    --linea: #DDD2C1; --linea-2: #C8BBA6; --azul: #6B4E22;
    --acento: #1C1A17; --acento-texto: #EFE6D8; --rojo-error: #A3040D; --foco: #8C6A35;
    --f-texto: "Jost", system-ui, sans-serif;
    --f-tit: "Bodoni Moda", Didot, Georgia, serif; --w-tit: 400; --s-tit: normal; --tt-tit: none; --t-tit: 2.05rem; --t-sub: 1.3rem;
    --sup-fondo: #1C1A17; --sup-borde: #1C1A17; --avatar-fondo: #EFE6D8; --avatar-texto: #1C1A17; --logo-alto: 18px;
    --linea-tit: #8C6A35; --linea-tit-alto: 1px; --linea-tit-giro: none;
    --radio: 4px; --radio-chico: 3px; --radio-chip: 2px; --nav-activo: #1C1A17;
}
.app { background: var(--fondo); color: var(--texto); font-family: var(--f-texto, inherit); }
.app :focus-visible { outline-color: var(--foco); }

/* Cambio de tienda: los colores pasan suavemente */
.app, .barra-sup, .barra-nav, .bloque, .lista, .cuadro, .btn, .chip, .estado, .campo input, .campo select, .campo textarea, .buscador, .fab {
    transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* Títulos con la letra de la tienda y su marca (raya roja inclinada / línea dorada fina) */
.app h1 {
    font-family: var(--f-tit); font-weight: var(--w-tit); font-style: var(--s-tit); text-transform: var(--tt-tit);
    font-size: var(--t-tit); letter-spacing: 0; line-height: 1.05; margin: 2px 0 16px;
}
.app h1::after { content: ""; display: block; width: 44px; height: var(--linea-tit-alto); margin-top: 9px; background: var(--linea-tit); transform: var(--linea-tit-giro); transform-origin: left; }
.app .bloque h2, .app .bloque__titulo--suelto h2 { font-family: var(--f-tit); font-weight: var(--w-tit); font-style: var(--s-tit); text-transform: var(--tt-tit); font-size: var(--t-sub); }

/* Encabezado: logo (tocar = cambiar de tienda) y la inicial del usuario */
.barra-sup { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0 8px; background: var(--sup-fondo); border-bottom: 3px solid var(--sup-borde); backdrop-filter: none; -webkit-backdrop-filter: none; }
.barra-sup__logo { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 8px; border: 0; border-radius: 10px; background: none; color: #fff; font: inherit; cursor: pointer; }
.barra-sup__logo img { display: block; height: var(--logo-alto); width: auto; }
.barra-sup__logo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.barra-sup__logo small { font-size: .72rem; opacity: .7; }
.barra-sup__avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--avatar-fondo); color: var(--avatar-texto); font-weight: 700; text-decoration: none; text-transform: uppercase; }
.barra-sup :focus-visible { outline-color: #fff; }

/* Barra de abajo: 4 secciones, la activa con el color de la tienda */
.barra-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--superficie); border-top-color: var(--linea); }
.barra-nav__item { font-size: .72rem; }
.barra-nav__item--activo { color: var(--nav-activo); }

/* En "editar producto" no hay barra de abajo: Guardar queda fijo abajo */
.app--sin-nav { padding-bottom: 0; }
.app--sin-nav .barra-guardar { bottom: 0; margin: 14px -16px -24px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--superficie); border-top: 1px solid var(--linea); }
@media (min-width: 900px) { .app--sin-nav .barra-guardar { bottom: 0; } }

/* Botones con la forma y el color de la tienda */
.btn { border-radius: var(--radio-chico); }
.btn--chico { border-radius: var(--radio-chico); }
.btn--primario { background: var(--acento); color: var(--acento-texto); border-color: var(--acento); }
.tema-arvel .btn--primario, .tema-arvel .btn--acento { letter-spacing: .05em; font-weight: 500; }
.campo input, .campo select, .campo textarea, .buscador, .selector-categoria, .campo__con-boton input, .fila__input, .nuevo-color__nombre, .campo-nota { border-radius: var(--radio-chico); }
.campo input:focus, .campo select:focus, .campo textarea:focus, .buscador:focus { border-color: var(--acento); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 18%, transparent); }
.bloque, .lista, .cuadro { border: 1px solid var(--linea); }
.tema-wave .bloque, .tema-wave .lista, .tema-wave .cuadro { border-color: transparent; }
.chip { border-radius: var(--radio-chip); border: 1px solid var(--linea); }
.chip--activo { background: var(--acento); border-color: var(--acento); color: var(--acento-texto); }
.segmentos, .segmentos__op { border-radius: var(--radio-chico); }
.interruptor input:checked { background: var(--acento); }
.check input, .fila__check input { accent-color: var(--acento); }
.talla { border-radius: var(--radio-chico); }
.talla--hay { border-color: var(--acento); background: var(--acento); color: var(--acento-texto); }
.galeria__foto, .galeria__agregar, .miniatura, .cuadro__foto, .portada-vista { border-radius: var(--radio-chico); }
.galeria__foto--principal { box-shadow: 0 0 0 2px var(--acento); }
.galeria__agregar { color: var(--texto); border-color: var(--linea-2); }
.avatar { background: var(--acento); color: var(--acento-texto); }
.etiqueta { background: var(--fondo); }
.etiqueta.etiqueta--acento { background: var(--acento); color: var(--acento-texto); }
.app .volver { color: var(--texto); font-weight: 500; }
.config-categoria { background: var(--fondo); }
.fila--seleccionada { background: color-mix(in srgb, var(--acento) 9%, var(--superficie)); }
.cuadro::after { border-color: var(--texto-3); }
.cuadro__foto { background: var(--fondo); }
.estado--agotado { background: #E6E6EA; color: #4F4F55; }
.aviso-flotante--error { background: var(--rojo-error); }
.modal { border-radius: calc(var(--radio) + 4px); }

/* Botón flotante "Nuevo producto" */
.fab {
    position: fixed; z-index: 22; right: max(16px, calc(50% - 364px)); bottom: calc(86px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 20px 0 16px; border-radius: 28px;
    background: var(--acento); color: var(--acento-texto); font-weight: 600; font-size: 1rem; text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.tema-arvel .fab { border-radius: var(--radio-chico); letter-spacing: .04em; font-weight: 500; }
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.espacio-fab { height: 76px; }
@media (min-width: 900px) { .fab { bottom: 96px; } }

/* Título con acciones al lado (Ordenar, Elegir) */
.cabecera--acciones { align-items: flex-end; }
.cabecera--acciones h1 { margin-bottom: 14px; }
.cabecera__acciones { display: flex; gap: 2px; padding-bottom: 14px; }
.btn-texto { min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--texto); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.btn-texto--peligro { color: var(--rojo-error); }
.arriba { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.arriba .volver { color: var(--texto); font-weight: 500; }
.acciones-pie { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 0; }

/* Menú "⋯" de una categoría (sale desde abajo) */
.fila__mas { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: var(--radio-chico); background: none; color: var(--texto-2); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hoja {
    position: fixed; z-index: 71; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto;
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); border-radius: calc(var(--radio) + 6px) calc(var(--radio) + 6px) 0 0;
    background: var(--superficie); color: var(--texto); box-shadow: 0 -10px 30px rgba(0,0,0,.2); animation: hoja-sube .22s ease both;
    display: flex; flex-direction: column;
}
.hoja__titulo { margin: 6px 8px 8px; font-size: .85rem; color: var(--texto-2); }
.hoja__op { min-height: 52px; padding: 0 12px; border: 0; border-top: 1px solid var(--linea); background: none; color: var(--texto); font: inherit; font-size: 1rem; font-weight: 500; text-align: left; cursor: pointer; }
.hoja__op--peligro { color: var(--rojo-error); }
.hoja__op--cancelar { margin-top: 6px; border-radius: var(--radio-chico); border: 0; background: var(--fondo); text-align: center; font-weight: 600; }
@keyframes hoja-sube { from { transform: translateY(100%); } }


/* ---------- Precio por opción y combos ---------- */
.opcion__precio { display: inline-flex; align-items: center; gap: 2px; padding: 0 6px; min-height: 30px; border-radius: 8px; background: var(--superficie); font-size: .78rem; color: var(--texto-3); }
.opcion__precio input { width: 58px; min-width: 0; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--texto); padding: 4px 2px; outline: none; }
.opcion__precio:focus-within { box-shadow: 0 0 0 2px var(--acento, #2F6FD6); }
.opciones--filas { flex-direction: column; flex-wrap: nowrap; }
.opciones--filas .opcion { width: 100%; }
.opciones--filas .opcion__valor { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.nuevo-combo .nuevo-combo__precio { flex: 0 0 80px; }

/* ---------- Portada tipo afiche (vista previa) ---------- */
.portada-vista--afiche { height: auto; min-height: 120px; padding: 0; justify-content: center; align-items: center; }
.portada-vista--afiche img { display: block; width: 100%; max-height: 360px; object-fit: contain; }
.portada-vista--afiche span { padding: 40px 14px; color: #AEAEB2; font-size: .9rem; }
