/* Arma tu sistema (web): mismo lenguaje Dark & Gold de la pantalla tactil, adaptado a raton y celular */
.as { --gold: #c9a96e; --gold-soft: rgba(201,169,110,.35); --paper: #f3efe6; --muted: rgba(243,239,230,.6); --ease: cubic-bezier(.22,.61,.36,1);
    position: relative; min-height: 80vh; padding: clamp(96px, 12vh, 140px) clamp(16px, 4vw, 56px) 64px; color: var(--paper); font-family: 'Outfit', system-ui, sans-serif;
    background: radial-gradient(60% 40% at 70% 0%, #24262b 0%, transparent 70%), linear-gradient(180deg, #121316 0%, #08080a 100%); }
.as button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.as-hero { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.as-eyebrow { margin: 0; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: var(--gold); }
.as-h1 { margin: 14px 0 12px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1; color: var(--paper); }
.as-lead { margin: 0; font-size: clamp(15px, 1.4vw, 18px); font-weight: 300; line-height: 1.6; color: var(--muted); }

.as-tabs { position: sticky; top: 70px; z-index: 5; display: flex; justify-content: center; gap: 10px; padding: 14px 0; margin: 0 auto 18px; overflow-x: auto; scrollbar-width: none;
    background: linear-gradient(180deg, rgba(10,10,12,.95) 70%, rgba(10,10,12,0)); }
.as-tabs::-webkit-scrollbar { display: none; }
.as-tab { flex: 0 0 auto; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(243,239,230,.14) !important; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted) !important; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.as-tab small { margin-left: 6px; font-size: 10px; opacity: .6; }
.as-tab:hover { border-color: var(--gold-soft) !important; color: var(--paper) !important; }
.as-tab.is-on { background: var(--gold) !important; border-color: var(--gold) !important; color: #120e08 !important; }
.as-tab.is-done:not(.is-on)::after { content: '✓'; margin-left: 8px; color: var(--gold); }
.as-tab:active { transform: scale(.97); }

.as-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; max-width: 1480px; margin: 0 auto; }
.as-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.as-search { flex: 0 1 280px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(243,239,230,.16); background: rgba(255,255,255,.04); color: var(--paper); font-size: 15px; outline: none; transition: border-color .2s; }
.as-search:focus { border-color: var(--gold); }
.as-search::placeholder { color: rgba(243,239,230,.4); }
.as-brands { flex: 1; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.as-brands::-webkit-scrollbar { display: none; }
.as-brand { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; border: 1px solid transparent !important; transition: color .2s, border-color .2s; }
.as-brand:hover, .as-brand.is-on { color: var(--gold) !important; border-color: var(--gold-soft) !important; }

.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.as-item { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 14px 16px; text-align: center; border-radius: 16px;
    background: linear-gradient(180deg, #222327 0%, #17181b 100%); border: 1px solid rgba(243,239,230,.06) !important; transition: transform .2s var(--ease), border-color .25s, box-shadow .25s; animation: as-in .45s var(--ease) both; }
@keyframes as-in { from { opacity: 0; transform: translateY(14px); } }
.as-item:hover { transform: translateY(-3px); border-color: var(--gold-soft) !important; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.as-item:active { transform: scale(.98); }
.as-item.is-sel { border-color: var(--gold) !important; box-shadow: 0 0 0 1px var(--gold), 0 18px 40px rgba(201,169,110,.15); }
.as-item.is-sel::before { content: '✓'; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #120e08; font-size: 15px; line-height: 28px; }
.as-item-photo { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; }
.as-item-photo img { max-width: 92%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.5)); }
.is-flat img { mix-blend-mode: multiply; filter: none !important; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 70%, transparent 100%); }
.as-item-brand { margin-top: 14px; font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: rgba(201,169,110,.9); }
.as-item-model { margin-top: 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.1; color: var(--paper); }
.as-item-line { margin-top: 8px; font-size: 12px; font-weight: 300; line-height: 1.45; color: rgba(243,239,230,.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.as-item-link { margin-top: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold) !important; text-decoration: none !important; opacity: .75; }
.as-item-link:hover { opacity: 1; }
.as-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }
.as-more { grid-column: 1 / -1; justify-self: center; min-height: 48px; padding: 12px 32px; border-radius: 999px; border: 1px solid var(--gold-soft) !important; color: var(--gold) !important; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }

.as-cart { position: sticky; top: 140px; align-self: start; }
.as-cart-toggle { display: none; }
.as-cart-inner { display: flex; flex-direction: column; padding: 22px 18px; border: 1px solid rgba(200,169,106,.22); border-radius: 18px; background: rgba(0,0,0,.3); }
.as-cart-title { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: var(--gold); text-align: center; }
.as-slots { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 18px 0; padding: 0; }
.as-slot { display: flex; align-items: center; gap: 12px; padding: 10px; min-height: 68px; border-radius: 12px; border: 1px dashed rgba(243,239,230,.14); cursor: pointer; transition: border-color .2s, background .2s; }
.as-slot:hover { border-color: var(--gold-soft); }
.as-slot.is-full { border-style: solid; border-color: var(--gold-soft); background: rgba(201,169,110,.05); animation: as-in .35s var(--ease); }
.as-slot-img { flex: 0 0 52px; height: 48px; display: flex; align-items: center; justify-content: center; }
.as-slot-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.as-slot-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.as-slot-txt small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(201,169,110,.85); }
.as-slot-txt span { margin-top: 3px; font-size: 14px; color: rgba(243,239,230,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-slot.is-full .as-slot-txt span { color: var(--paper); }
.as-slot-x { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; color: rgba(243,239,230,.5) !important; font-size: 20px !important; }
.as-slot-x:hover { background: rgba(255,255,255,.06) !important; }
.as-done, .as-btn--gold { min-height: 54px; padding: 14px 20px; border-radius: 999px; background: linear-gradient(135deg, #e3c88f 0%, #b8925a 50%, #8a6a3c 100%) !important; color: #120e08 !important;
    font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 21px; letter-spacing: .05em; box-shadow: 0 10px 28px rgba(201,169,110,.22); transition: opacity .3s, transform .12s, box-shadow .2s; }
.as-done:not(:disabled):hover, .as-btn--gold:hover { box-shadow: 0 14px 34px rgba(201,169,110,.35); }
.as-done:not(:disabled):active, .as-btn:active { transform: scale(.97); }
.as-done:disabled { opacity: .3; cursor: default; }
.as-reset { margin-top: 10px; min-height: 42px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(243,239,230,.5) !important; }
.as-reset:hover { color: var(--paper) !important; }

.as-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5,5,6,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.as-modal.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
.as-modal-box { position: relative; width: min(1000px, 100%); max-height: 92vh; overflow-y: auto; padding: 40px clamp(18px, 4vw, 48px); border: 1px solid var(--gold-soft); border-radius: 22px; background: linear-gradient(180deg, #1c1d21, #0d0d0f); text-align: center;
    transform: translateY(16px) scale(.98); transition: transform .5s var(--ease); }
.as-modal.is-on .as-modal-box { transform: none; }
.as-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; font-size: 30px !important; color: var(--muted) !important; }
.as-result-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 28px 0; }
.as-r { flex: 0 1 200px; display: flex; flex-direction: column; align-items: center; }
.as-r-photo { width: 100%; height: 170px; display: flex; align-items: center; justify-content: center; }
.as-r-photo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.6)); }
.as-r small { margin-top: 12px; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: rgba(201,169,110,.85); }
.as-r b { margin-top: 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 22px; color: var(--paper); }
.as-r span { margin-top: 4px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(243,239,230,.45); }
.as-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(200,169,106,.18); }
.as-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none !important; }
.as-btn--line { min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--gold-soft); color: var(--gold) !important; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: background .2s; }
.as-btn--line:hover { background: rgba(201,169,110,.1); }

/* Celular y tableta: el sistema queda como barra inferior desplegable */
@media (max-width: 991px) {
    .as { padding-top: 96px; padding-bottom: 110px; }
    .as-body { grid-template-columns: 1fr; }
    .as-tabs { justify-content: flex-start; top: 56px; }
    .as-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .as-item { padding: 12px 8px 12px; }
    .as-item-photo { height: 130px; }
    .as-item-model { font-size: 18px; }
    .as-item-line { display: none; }
    .as-cart { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1050; background: #0d0d0f; border-top: 1px solid var(--gold-soft); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 30px rgba(0,0,0,.5); }
    .as-cart-toggle { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px; font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold) !important; }
    .as-cart-toggle span { flex: 1; text-align: left; }
    .as-cart-toggle b { min-width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #120e08; line-height: 28px; text-align: center; letter-spacing: 0; }
    .as-cart-toggle i { transition: transform .3s; }
    .as-cart.is-open .as-cart-toggle i { transform: rotate(180deg); }
    .as-cart-inner { max-height: 0; overflow: hidden; padding: 0 16px; border: 0; border-radius: 0; background: none; transition: max-height .45s var(--ease), padding .45s var(--ease); }
    .as-cart.is-open .as-cart-inner { max-height: 80vh; padding: 0 16px 20px; overflow-y: auto; }
    .as-cart-title { display: none; }
    .as-slots { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .as *, .as *::before { animation: none !important; transition: none !important; } }
/* Pedestal marfil detras de cada foto para que los equipos negros (audifonos, electronica) resalten */
.as-item-photo, .as-slot-img, .as-r-photo { background: radial-gradient(120% 100% at 50% 35%, #fbf9f4 0%, #efeae0 70%, #e4ddcf 100%); border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(201,169,110,.25); }
.as-item-photo { padding: 12px; }
.as-slot-img { padding: 4px; border-radius: 8px; }
.as-r-photo { padding: 14px; }
.as-item-photo img, .as-r-photo img { filter: drop-shadow(0 10px 10px rgba(0,0,0,.25)) !important; }
.as-item-photo.is-flat img, .as-r-photo.is-flat img, .as-slot-img.is-flat img { mix-blend-mode: multiply; filter: none !important; -webkit-mask-image: none; mask-image: none; }
/* Etiqueta (En stock / Open Box / Sobre pedido), separador y boton del catalogo sobre pedido */
.as-item-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--gold-soft); background: rgba(10,10,12,.75); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.as-item-tag.is-order { color: rgba(243,239,230,.75); border-color: rgba(243,239,230,.25); }
.as-sep { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.as-sep::before, .as-sep::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,110,.5), transparent); }
.as-order { grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 14px 0 6px; padding: 16px 34px; min-height: 64px;
    border-radius: 999px; border: 1px solid var(--gold) !important; background: linear-gradient(180deg, rgba(201,169,110,.14), rgba(201,169,110,.04)) !important; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .12s, background .2s; }
.as-order:hover { background: rgba(201,169,110,.2) !important; }
.as-order:active { transform: scale(.97); }
.as-order-label { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: var(--paper); }
.as-order small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(201,169,110,.85); }
.as-item.is-order { opacity: .96; }
@media (max-width: 991px) { .as-item-tag { top: 8px; left: 8px; font-size: 8.5px; letter-spacing: .12em; } .as-order-label { font-size: 18px; } }
/* Subfiltros (segunda linea bajo las pestañas) */
.as-subs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -6px auto 22px; max-width: 1100px; }
.as-sub { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(201,169,110,.28) !important; background: rgba(255,255,255,.02) !important; color: rgba(243,239,230,.8) !important; font-size: 12.5px; letter-spacing: .06em; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.as-sub small { font-size: 10.5px; color: rgba(201,169,110,.85); }
.as-sub:hover { border-color: var(--gold) !important; color: var(--paper) !important; }
.as-sub.is-on { background: rgba(201,169,110,.16) !important; border-color: var(--gold) !important; color: var(--gold) !important; }
.as-sub.is-on small { color: var(--gold); }
.as-sub:active { transform: scale(.97); }
@media (max-width: 991px) {
    .as-subs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: -4px 0 16px; padding-bottom: 2px; }
    .as-subs::-webkit-scrollbar { display: none; }
    .as-sub { flex: 0 0 auto; min-height: 36px; padding: 6px 13px; font-size: 12px; }
}
/* Mostrar mas equipos: boton dorado con contador; ademas carga sola al llegar al final */
.as-count { grid-column: 1 / -1; margin: 18px 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; color: rgba(243,239,230,.55); }
.as-more { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 60px; padding: 14px 40px !important; margin: 8px 0 4px;
    border: 1px solid var(--gold) !important; background: linear-gradient(180deg, rgba(201,169,110,.16), rgba(201,169,110,.04)) !important;
    font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px !important; letter-spacing: .04em !important; text-transform: none !important; color: var(--paper) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: background .2s, transform .12s; }
.as-more small { font-family: 'Outfit', system-ui, sans-serif; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(201,169,110,.9); }
.as-more:hover { background: rgba(201,169,110,.22) !important; }
.as-more:active { transform: scale(.97); }
/* "Tu sistema": textos legibles (marfil y dorado brillante) sobre el fondo oscuro */
html body main.as .as-slot-txt small, html.nl-dg body main.as .as-slot-txt small { color: #f0d79c !important; font-weight: 600; letter-spacing: .26em; }
html body main.as .as-slot-txt span, html.nl-dg body main.as .as-slot-txt span { color: #ece7dc !important; font-weight: 400; }
html body main.as .as-slot.is-full .as-slot-txt span, html.nl-dg body main.as .as-slot.is-full .as-slot-txt span { color: #ffffff !important; font-weight: 500; }
html body main.as .as-slot, html.nl-dg body main.as .as-slot { border-color: rgba(240,215,156,.35); }
html body main.as .as-cart-title, html.nl-dg body main.as .as-cart-title { color: #f0d79c !important; }
html body main.as .as-reset, html.nl-dg body main.as .as-reset { color: rgba(236,231,220,.8) !important; }
html body main.as .as-slot-x, html.nl-dg body main.as .as-slot-x { color: rgba(236,231,220,.85) !important; }

/* Fotos del armador: siempre completas dentro del marco */
.as-item-photo img, .as-r-photo img, .as-slot-img img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain !important; }

/* Guardar en PDF / Compartir */
.as-result-actions--tools { border-top: 0 !important; padding-top: 12px !important; }
.as-result-actions--tools .as-btn { min-height: 46px; padding: 10px 22px; font-size: 12px; }
.as-toast { position: fixed; left: 50%; bottom: 28px; z-index: 3000; transform: translate(-50%, 20px); opacity: 0; padding: 12px 22px; border-radius: 999px; background: #1c1d21; border: 1px solid #c9a96e; color: #f3efe6; font-size: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: opacity .3s, transform .3s; }
.as-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* ===== Sala de "Ver mi sistema" ===== */
.as-room { margin: 22px 0 6px; }
.as-room-stage { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: #0d0d0f; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(201,169,110,.3); }
.as-room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.as-room-it { position: absolute; height: auto; max-width: none !important; pointer-events: none; animation: as-room-in .6s cubic-bezier(.22,.61,.36,1) both; }
.as-room-it.is-rack { filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); z-index: 3; } /* sombra de contacto nitida: sin halo difuso */
.as-room-it.is-onrack { z-index: 5; }
.as-room-it.is-floor { filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); z-index: 4; }
@keyframes as-room-in { from { opacity: 0; } }
.as-room-shadow { position: absolute; height: 2.6%; z-index: 2; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); }
/* pedestal de metal oscuro: placa superior, columna y base */
.as-room-standpole { position: absolute; z-index: 3; }
.as-room-standpole::before { content: ''; position: absolute; left: 38%; right: 38%; top: 3%; bottom: 4%; background: linear-gradient(90deg, #121214, #3a3a3e 45%, #18181b); }
.as-room-standpole::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5%; border-radius: 2px; background: linear-gradient(180deg, #2c2c30, #0e0e10); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.as-room-standpole { background: linear-gradient(180deg, #2c2c30, #111113) top / 100% 3.5% no-repeat; }
.as-room-picker { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.as-room-chip { min-height: 38px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(201,169,110,.3) !important; color: rgba(243,239,230,.85) !important; font-size: 12px; letter-spacing: .08em; transition: background .2s, border-color .2s; }
.as-room-chip:hover { border-color: #c9a96e !important; }
.as-room-chip.is-on { background: rgba(201,169,110,.18) !important; border-color: #c9a96e !important; color: #f0d79c !important; }
.as-room-note { margin: 10px 0 0; font-size: 11px; color: rgba(243,239,230,.45); text-align: center; }
.as-result-more { margin: 22px 0 0; font-size: 11px; letter-spacing: .35em; text-transform: uppercase; color: #c9a96e; text-align: center; }
.as-modal-box { width: min(1100px, 100%) !important; }
@media (max-width: 700px) {
    .as-room-chip { flex: 1 1 calc(50% - 8px); font-size: 11px; padding: 6px 8px; }
    .as-room-stage { border-radius: 10px; }
}
/* "Subir foto de mi sala" */
.as-room-upload { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border-style: dashed !important; border-color: #c9a96e !important; color: #f0d79c !important; }
.as-room-upload::before { content: '+'; font-size: 16px; line-height: 1; }
.as-room-upload:hover { background: rgba(201,169,110,.12); }
.as-room-tools { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: #ece7dc; text-align: center; }
.as-room-tools label { display: flex; align-items: center; gap: 10px; color: #f0d79c; }
.as-room-tools input[type=range] { width: 220px; accent-color: #c9a96e; }
.as-room-tools small { color: rgba(243,239,230,.5); font-size: 11px; }
.as-room-it.is-drag { pointer-events: auto; cursor: grab; touch-action: none; }
.as-room-it.is-drag:active { cursor: grabbing; filter: drop-shadow(0 0 6px rgba(240,215,156,.8)); }

/* varias fuentes, subwoofer x1/x2 y preamplificador requerido */
.as-slot.is-add { min-height: 44px; padding: 6px 10px; }
.as-slot.is-add .as-slot-img { display: none; }
.as-slot.is-add .as-slot-txt span { font-size: 13px; color: rgba(201,169,110,.8); }
.as-slot.is-req { border-color: rgba(214,120,90,.75); background: rgba(214,120,90,.07); }
.as-slot.is-req .as-slot-txt span { color: #e9a58f; }
.as-slot-q { display: flex; gap: 4px; flex: 0 0 auto; }
.as-slot-q button { min-width: 34px; height: 28px; padding: 0 6px; border-radius: 14px; border: 1px solid rgba(201,169,110,.35); background: none; color: rgba(243,239,230,.6); font-size: 12px; cursor: pointer; }
.as-slot-q button.is-on { border-color: var(--gold-soft); background: rgba(201,169,110,.18); color: var(--paper); }

/* rack de aluminio audiofilo: repisas de aluminio cepillado, postes pulidos y puntas de desacoplamiento */
.as-alrack { position: absolute; z-index: 4; pointer-events: none; animation: as-room-in .6s ease both; }
.as-alrack-shelf { position: absolute; left: 0; right: 0; border-radius: 2px;
    background: linear-gradient(180deg, #f4f4f2 0%, #c9cacb 18%, #9a9c9f 55%, #6e7073 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 3px rgba(0,0,0,.45); }
.as-alrack-shelf::before, .as-alrack-shelf::after { content: ''; position: absolute; bottom: 100%; width: 5%; height: 70%; border-radius: 40% 40% 0 0;
    background: linear-gradient(90deg, #2a2a2c, #7d7f82 50%, #2a2a2c); } /* conos de desacoplamiento bajo cada equipo */
.as-alrack-shelf::before { left: 18%; }
.as-alrack-shelf::after { right: 18%; }
.as-alrack-shelf.is-top::before, .as-alrack-shelf.is-top::after { display: none; }
.as-alrack-post { position: absolute; top: 0; bottom: 3%; width: 4%; border-radius: 3px;
    background: linear-gradient(90deg, #6d6f72 0%, #f2f2f0 35%, #b9bbbd 55%, #5c5e61 100%); box-shadow: 0 0 2px rgba(0,0,0,.35); }
.as-alrack-post.is-l { left: 2.5%; }
.as-alrack-post.is-r { right: 2.5%; }
.as-alrack-post.is-bl, .as-alrack-post.is-br { width: 2.4%; background: linear-gradient(90deg, #3c3d3f, #8a8b8d 40%, #2e2f31); box-shadow: none; }
.as-alrack-post.is-bl { left: 13%; }
.as-alrack-post.is-br { right: 13%; }
.as-alrack-puck { position: absolute; width: 7%; border-radius: 2px; background: linear-gradient(90deg, #111, #4a4a4c 50%, #111); }
.as-alrack-puck.is-l { left: 1%; }
.as-alrack-puck.is-r { right: 1%; }
.as-alrack-spike { position: absolute; bottom: 0; width: 5.5%; clip-path: polygon(0 0, 100% 0, 50% 100%);
    background: linear-gradient(90deg, #4a4c4f, #e6e6e4 45%, #55575a); }
.as-alrack-spike.is-l { left: 1.35%; }
.as-alrack-spike.is-r { right: 1.35%; }
.as-room-bases { flex-basis: 100%; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.as-room-bases-l { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(201,169,110,.85); margin-right: 4px; }

/* "Ver mi sistema" siempre a la vista: carrito con scroll propio y boton fijo abajo; en movil, boton en la barra */
@media (min-width: 992px) {
    .as-cart-inner { max-height: calc(100vh - 160px); overflow-y: auto; }
    .as-done { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -10px 18px rgba(13,13,15,.85); }
}
.as-cart-go { display: none; }
@media (max-width: 991px) {
    .as-cart { position: fixed; }
    .as-cart-go { display: block; position: absolute; top: 11px; right: 92px; height: 38px; padding: 0 16px; border-radius: 999px; border: 0; z-index: 2;
        background: linear-gradient(135deg, #e3c88f 0%, #b8925a 50%, #8a6a3c 100%); color: #120e08; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
    .as-cart-go:disabled { opacity: .35; }
}

/* rack audiofilo v2: columnas gruesas de acero pulido, marco negro por nivel, granito flotando sobre conos y puntas con plato */
.as-alrack > span { position: absolute; }
.as-alrack-col { width: 6.5%; border-radius: 40% 40% 0 0 / 6% 6% 0 0;
    background: linear-gradient(90deg, #7a7c7f 0%, #fbfbfa 30%, #c7c9cb 50%, #8e9093 80%, #55575a 100%); }
.as-alrack-col.is-l { left: 1.5%; }
.as-alrack-col.is-r { right: 1.5%; }
.as-alrack-col.is-rear { width: 4.5%; background: linear-gradient(90deg, #4a4b4d, #a4a5a7 40%, #3a3b3d); }
.as-alrack-col.is-bl { left: 9%; }
.as-alrack-col.is-br { right: 9%; }
.as-alrack-frame { left: 3%; right: 3%; background: linear-gradient(180deg, #2a2a2d, #0e0e10); border-radius: 1px; }
.as-alrack-collar { width: 7.2%; background: linear-gradient(90deg, #050506, #2c2c2f 50%, #050506); border-radius: 1px; }
.as-alrack-collar.is-l { left: 1.15%; }
.as-alrack-collar.is-r { right: 1.15%; }
.as-alrack-cone { width: 4%; background: #2b2b2e; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.as-alrack-cone.is-l { left: 22%; }
.as-alrack-cone.is-r { right: 22%; }
.as-alrack-slab { left: 10%; right: 10%; border-radius: 1px; box-shadow: 0 2px 3px rgba(0,0,0,.5);
    background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px) 0 0 / 5px 5px, linear-gradient(180deg, #3a3a3c 0%, #17171a 25%, #0b0b0c 100%); }
.as-alrack-spike { width: 5%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(90deg, #6a6c6f, #f0f0ee 40%, #6a6c6f); }
.as-alrack-spike.is-l { left: 2.25%; }
.as-alrack-spike.is-r { right: 2.25%; }
.as-alrack-disc { width: 7%; border-radius: 50% / 40%; background: linear-gradient(180deg, #c9cacb, #6e7073); }
.as-alrack-disc.is-l { left: 1.25%; }
.as-alrack-disc.is-r { right: 1.25%; }

/* Guardar en PDF: accion principal destacada en dorado */
.as-btn--pdf { min-height: 54px; padding: 12px 26px; border-radius: 999px; border: 2px solid #d4b06a !important; background: rgba(212,176,106,.14) !important;
    color: #f0d79c !important; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 0 22px rgba(212,176,106,.28); transition: background .2s, box-shadow .2s; }
.as-btn--pdf small { font-size: 10px; letter-spacing: .08em; text-transform: none; opacity: .8; }
.as-btn--pdf:hover { background: rgba(212,176,106,.24) !important; box-shadow: 0 0 30px rgba(212,176,106,.45); }
/* "Ve el sistema en TU sala": pulso dorado suave y etiqueta Nuevo hasta que el cliente sube su foto */
.as-room-upload { position: relative; }
.as-room-upload.is-invite { border-style: solid !important; background: rgba(212,176,106,.12) !important; animation: as-invite 2.2s ease-in-out infinite; }
@keyframes as-invite { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,176,106,.55); } 55% { box-shadow: 0 0 0 9px rgba(212,176,106,0); } }
.as-room-new { position: absolute; top: -9px; right: -6px; padding: 2px 7px; border-radius: 999px; background: #d4b06a; color: #120e08; font-style: normal;
    font-size: 9px; letter-spacing: .12em; text-transform: uppercase; animation: as-blink 1.6s ease-in-out infinite; }
@keyframes as-blink { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .as-room-upload.is-invite, .as-room-new { animation: none; } }

/* barra inferior movil: "Tu sistema", contador, chevron y boton dorado sin encimarse; burbuja de WhatsApp por encima de la barra */
@media (max-width: 991px) {
    .as-cart-toggle { gap: 8px; padding: 0 14px; letter-spacing: .14em; font-size: 12px; }
    .as-cart-toggle span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 150px; }
    .as-cart-go { right: 74px; top: 12px; height: 36px; padding: 0 14px; font-size: 10.5px; letter-spacing: .1em; white-space: nowrap; }
    body .omnes-chat-bubble { bottom: 84px !important; }
}
@media (max-width: 380px) {
    .as-cart-toggle span { padding-right: 132px; font-size: 11px; }
    .as-cart-go { padding: 0 10px; font-size: 9.5px; right: 68px; }
}

/* FIX movil: la columna del catalogo nunca puede ser mas ancha que la pantalla (los nombres largos la ensanchaban
   y la foto quedaba fuera de vista a la derecha); tarjetas y textos se ajustan al ancho */
.as-body > * { min-width: 0; }
.as-item { min-width: 0; }
.as-item-brand, .as-item-model { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 991px) {
    .as-body { grid-template-columns: minmax(0, 1fr) !important; }
    main.as { overflow-x: hidden; }
    .as-item-model { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    /* boton dorado de la barra: ".as button" le quitaba el fondo */
    .as .as-cart-go { background: linear-gradient(135deg, #e3c88f 0%, #b8925a 50%, #8a6a3c 100%) !important; color: #120e08 !important; font-weight: 600; }
    .as .as-cart-go:disabled { opacity: .45; }
    /* botones flotantes (WhatsApp y bolsa) por encima de la barra inferior, sin taparla */
    #omnes-chat-bubble { bottom: 86px !important; }
    #sp-cart-fab { bottom: 156px !important; }
}

/* vista previa en vivo al final del catalogo */
.as-live { margin: 34px 0 10px; padding: 22px 18px 20px; border: 1px solid rgba(201,169,110,.28); border-radius: 18px; background: rgba(0,0,0,.28); text-align: center; animation: as-in .4s var(--ease); }
.as-live .as-eyebrow { margin-bottom: 14px; }
.as-live .as-room { margin: 0; }
.as .as-live-go { margin-top: 16px; min-height: 50px; padding: 12px 26px; border-radius: 999px; background: linear-gradient(135deg, #e3c88f 0%, #b8925a 50%, #8a6a3c 100%) !important;
    color: #120e08 !important; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.as .as-live-go:disabled { opacity: .4; }
@media (max-width: 991px) { .as-live { margin-top: 24px; padding: 16px 10px; } .as .as-live-go { width: 100%; font-size: 12px; } }

/* la regla global "main img { height: auto; max-width: 100% }" del tema no debe tocar la sala */
html body main.as .as-room-bg { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
html body main.as .as-room-it { height: auto !important; max-width: none !important; max-height: none !important; }

/* Registro de propuesta (leads) */
.as-lead { position: fixed; inset: 0; z-index: 2100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5,5,6,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.as-lead.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.as-lead-box { position: relative; width: min(440px, 100%); max-height: 92vh; overflow-y: auto; padding: 34px 28px 24px; border: 1px solid var(--gold-soft, rgba(184,146,60,.45)); border-radius: 20px; background: linear-gradient(180deg, #1c1d21, #0d0d0f); color: #f3f1ea; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.as-lead-x { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: #aaa; font-size: 28px; line-height: 1; cursor: pointer; }
.as-lead-eyebrow { margin: 0 0 6px; color: #b8923c; font-size: 11px; letter-spacing: .18em; }
.as-lead-box h3 { margin: 0 0 8px; font-size: 24px; color: #fff; }
.as-lead-sub { margin: 0 0 18px; color: #b9b6ad; font-size: 14px; line-height: 1.5; }
.as-lead-box label { display: block; margin: 0 0 12px; font-size: 13px; color: #d6d3ca; font-weight: 500; }
.as-lead-box label small { color: #8d8a82; font-weight: 400; }
.as-lead-box input[name] { display: block; width: 100%; margin-top: 5px; padding: 11px 13px; border: 1px solid #3a3a40; border-radius: 10px; background: #121215; color: #fff; font-size: 15px; }
.as-lead-box input[name]:focus { outline: none; border-color: #b8923c; }
.as-lead-box .as-lead-ok { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #a7a49b; font-weight: 400; line-height: 1.45; }
.as-lead-box .as-lead-ok input { width: auto; margin: 2px 0 0; display: inline-block; padding: 0; }
.as-lead-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.as-lead-err { margin: 0 0 10px; color: #ff8a80; font-size: 13px; }
.as-lead-box .as-btn { width: 100%; justify-content: center; }
.as-lead-skip { display: block; width: 100%; margin-top: 10px; border: 0; background: none; color: #8d8a82; font-size: 13px; text-decoration: underline; cursor: pointer; }
