/* Asistente de colores (lo usan la tienda y la bodega). Celular primero: ocupa toda la pantalla; en computador es una tarjeta centrada. */
.ac-velo { margin: 0 !important; position: fixed; inset: 0; z-index: 460; background: rgba(10,42,94,.78); display: flex; align-items: stretch; justify-content: center; }
.ac { width: 100%; max-width: 520px; height: 100dvh; background: #fffaf0; display: flex; flex-direction: column; font-family: inherit; color: #0a2a5e; }
@media (min-width: 700px) { .ac-velo { align-items: center; } .ac { height: min(92dvh, 860px); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45); } }
.ac-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0a2a5e; color: #fff; }
.ac-top b { flex: 1; font-size: 1rem; } .ac-n { font-weight: 700; font-size: .85rem; opacity: .9; }
.ac-x { min-height: 40px; border: 0; border-radius: 99px; padding: 0 16px; background: #d81e8f; color: #fff; font: 800 .85rem inherit; font-family: inherit; cursor: pointer; }
.ac-bar { height: 5px; background: #e2d2b2; } .ac-bar i { display: block; height: 100%; background: #12a150; transition: width .25s; }
.ac-tira { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; flex: none; background: #f3e8d3; }
.ac-tira::-webkit-scrollbar { display: none; }
.ac-th { position: relative; flex: none; width: 44px; height: 54px; border: 2px solid transparent; border-radius: 9px; padding: 0; background: #fff; cursor: pointer; overflow: visible; }
.ac-th img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; display: block; }
.ac-th.on { border-color: #d81e8f; }
.ac-th i { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; font-style: normal; font-size: .62rem; font-weight: 800; line-height: 14px; text-align: center; color: #a39a82; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.ac-foto { position: relative; flex: 1 1 auto; min-height: 220px; background: #f3e8d3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ac-foto > img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.ac-g1, .ac-g2 { position: absolute; bottom: 10px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(10,42,94,.82); color: #fff; font-size: 1.4rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.ac-g1 { left: 10px; } .ac-g2 { right: 10px; } .ac-g1:active, .ac-g2:active { background: #d81e8f; }
.ac-est { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: .82rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ac-abajo { flex: none; max-height: 46%; overflow-y: auto; padding: 10px 12px 4px; background: #fffaf0; border-top: 1px solid #e2d2b2; }
.ac-igual { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px solid #12a150; background: #e9f8ef; color: #0a5a2e; border-radius: 14px; font: 700 .9rem inherit; font-family: inherit; cursor: pointer; margin-bottom: 8px; }
.ac-igual:active { background: #cfeedd; }
.ac-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ac-mas { grid-column: 1 / -1; min-height: 40px; border: 1.5px dashed #0a4aa0; background: #fff; color: #0a4aa0; border-radius: 12px; font: 800 .8rem inherit; font-family: inherit; cursor: pointer; }
.ac-c { min-height: 56px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; border: 2px solid #e2d2b2; background: #fff; color: #0a2a5e; border-radius: 12px; padding: 4px 2px; font: 600 .7rem inherit; font-family: inherit; cursor: pointer; text-align: center; min-width: 0; }
.ac-c span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-c:active { border-color: #d81e8f; background: #fff0f8; } .ac-c.on { border-color: #0a2a5e; background: #eef5ff; } .ac-c:disabled { opacity: .35; cursor: not-allowed; }
.ac-sw { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.25); display: inline-block; box-sizing: border-box; }
.ac-otro { display: flex; gap: 6px; margin-top: 8px; }
.ac-otro input { flex: 1; min-width: 0; min-height: 46px; border: 2px solid #e2d2b2; border-radius: 12px; padding: 0 12px; font: 500 .88rem inherit; font-family: inherit; background: #fff; }
.ac-otro button { min-height: 46px; border: 0; border-radius: 12px; padding: 0 18px; background: #0a4aa0; color: #fff; font: 800 .85rem inherit; font-family: inherit; cursor: pointer; }
.ac-msg { margin: 6px 2px 0; color: #b42318; font-size: .78rem; font-weight: 600; }
.ac-pie { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fffaf0; flex: none; border-top: 1px solid #e2d2b2; }
.ac-b { flex: 1; min-height: 50px; border: 2px solid #d9c9a8; background: #fff; color: #0a2a5e; border-radius: 14px; font: 800 .88rem inherit; font-family: inherit; cursor: pointer; }
.ac-b:disabled { opacity: .4; cursor: not-allowed; } .ac-b.ok { flex: 2; border: 0; background: #12a150; color: #fff; }
.ac-res { flex: 1; overflow-y: auto; padding: 22px 16px; text-align: center; }
.ac-ok { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; background: #12a150; color: #fff; font-size: 2rem; line-height: 64px; }
.ac-res h3 { margin: 4px 0; font-size: 1.15rem; } .ac-res p { margin: 6px 0 14px; color: #6f6a5c; font-size: .86rem; }
.ac-gr { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.ac-g { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; background: #fff; border: 1.5px solid #e2d2b2; border-radius: 12px; padding: 8px 12px; }
.ac-g b { font-size: .9rem; } .ac-g > span { font-weight: 800; color: #0a4aa0; }
.ac-gt { grid-column: 1 / -1; display: flex; gap: 4px; } .ac-gt img { width: 34px; height: 42px; object-fit: cover; border-radius: 6px; }

.ac-port { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; border: 2px solid #d81e8f; background: #fff5fa; color: #b0156f; border-radius: 14px; padding: 6px 12px; font-family: inherit; cursor: pointer; text-align: left; margin-bottom: 8px; } .ac-port i { font-style: normal; font-size: 1.5rem; } .ac-port span { display: flex; flex-direction: column; } .ac-port b { font-size: .92rem; } .ac-port small { font-size: .72rem; color: #6f6a5c; } .ac-port.on { background: #d81e8f; color: #fff; } .ac-port.on small { color: #ffe3f3; }
.ac-sug { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 2px dashed #0a4aa0; background: #eef5ff; color: #0a2a5e; border-radius: 14px; font: 600 .86rem inherit; font-family: inherit; cursor: pointer; margin-bottom: 8px; }
.ac-sw-p { display: inline-flex; align-items: center; justify-content: center; background: #d81e8f !important; color: #fff; font-size: .7rem; font-style: normal; }

.ac-ed { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; } .ac-ed button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 99px; background: rgba(10,42,94,.88); color: #fff; font: 700 .8rem inherit; font-family: inherit; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.35); } .ac-ed button:active { background: #d81e8f; }

.ac-ed button.ac-quitar { background: #d81e8f; }

.ac-th { position: relative; } .ac-mej { position: absolute; left: 3px; top: 3px; z-index: 2; font-style: normal; font-size: .72rem; line-height: 1; background: #d81e8f; color: #fff; border-radius: 99px; padding: 3px 4px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
