/* Escenas de Tiendas Online.
   Las piezas comunes (.esc, .ui, la posada, los iconos) están en
   paginas-servicio.css; este archivo lo encola mdd-ajustes.php solo en
   las páginas que lo usan (MDD_ESCENAS_PAGINA). */

/* ---------- Escenas de Tiendas Online (2026-09-24) ----------
   Los productos de ejemplo son de acá: yerba, mate, termo. */

/* Tienda mayorista: la misma ficha, antes y después de aprobar la cuenta */
.tm-ficha { top: 16px; width: 44%; padding: 7px; display: grid; gap: 4px; }
.tm-a { left: 14px; top: 26px; opacity: .92; }
.tm-b { right: 14px; outline: 1.5px solid var(--c); outline-offset: 0; }
.tm-foto { height: 40px; border-radius: 4px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 12%, #fff); }
.tm-foto svg { height: 32px; width: auto; }
.tm-nom { font-size: 7.5px; font-weight: 700; line-height: 1.2; }
.tm-borroso { font-size: 11px; font-weight: 800; filter: blur(3px); opacity: .55; }
.tm-lock { display: flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 700; background: #F2F5F7; border-radius: 99px; padding: 2px 6px; color: #475569; justify-self: start; }
.tm-lock svg { width: 7px; height: 7px; }
.tm-precio { font-size: 12px; font-weight: 800; line-height: 1; }
.tm-lista { font-size: 6.5px; font-weight: 800; color: var(--c); text-transform: uppercase; letter-spacing: .06em; }
.tm-btn { font-size: 7px; font-weight: 700; color: #fff; background: var(--c); border-radius: 3px; padding: 3px 0; text-align: center; }
.tm-ok { position: absolute; right: 8px; top: -8px; display: flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 800; background: #fff; border-radius: 99px; padding: 2px 7px 2px 3px; box-shadow: 0 4px 10px -3px rgba(15,23,42,.35); animation: tm-ok 5s ease-in-out infinite; }
@keyframes tm-ok { 0%, 12% { transform: scale(.6); opacity: 0; } 22%, 88% { transform: none; opacity: 1; } 100% { transform: scale(.6); opacity: 0; } }

/* Tienda minorista: el carrito con el cupón aplicado */
.tn-cart { inset: 12px 14px; padding: 9px 11px; display: grid; gap: 6px; align-content: start; }
.tn-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 7px; align-items: center; font-size: 8px; }
.tn-item i { width: 22px; height: 22px; border-radius: 4px; display: grid; place-items: center; }
.tn-item i svg { width: 15px; height: 15px; }
.tn-item b { font-weight: 700; }
.tn-item span { font-weight: 800; }
.tn-cupon { display: flex; align-items: center; justify-content: space-between; font-size: 7.5px; padding-top: 6px; border-top: 1px solid #EEF2F6; }
.tn-cupon u { text-decoration: none; font-weight: 800; letter-spacing: .06em; border: 1px dashed var(--c); color: var(--c); border-radius: 3px; padding: 1px 5px; animation: tn-cupon 5s ease-in-out infinite; }
.tn-cupon b { color: var(--c); font-weight: 800; }
@keyframes tn-cupon { 0%, 15% { background: transparent; } 25%, 100% { background: color-mix(in srgb, var(--c) 12%, #fff); } }
.tn-total { display: flex; align-items: center; gap: 6px; }
.tn-total s { font-size: 8px; color: #94a3b8; }
.tn-total b { font-size: 13px; font-weight: 800; margin-right: auto; }
.tn-total span { font-size: 7.5px; font-weight: 700; color: #fff; background: var(--c); border-radius: 4px; padding: 4px 8px; }

/* Carga masiva: la planilla con la columna de precios renovada */
.cm-hoja { inset: 12px 14px; padding: 8px 10px; display: grid; gap: 6px; align-content: start; }
.cm-bar { display: flex; align-items: center; gap: 5px; font-size: 7.5px; font-weight: 700; }
.cm-bar svg { width: 11px; height: 11px; color: #217346; }
.cm-bar em { margin-left: auto; font-style: normal; color: var(--c); font-weight: 800; }
.cm-tabla { display: grid; grid-template-columns: 38px 1fr 50px; font-size: 7px; border: 1px solid #E2E8EE; border-radius: 3px; overflow: hidden; position: relative; }
/* Alto de fila fijo: el barrido baja de a 13 px y tiene que caer justo, sea cual sea la tipografía */
.cm-tabla span { box-sizing: border-box; height: 13px; line-height: 12px; padding: 0 5px; border-bottom: 1px solid #EEF2F6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-tabla .cm-h { background: #F2F5F7; font-weight: 800; color: #475569; }
.cm-tabla .cm-p { background: color-mix(in srgb, var(--c) 10%, #fff); font-weight: 800; text-align: right; }
.cm-tabla .cm-h.cm-p { background: color-mix(in srgb, var(--c) 22%, #fff); color: #1E293B; }
.cm-tabla::after { content: ""; position: absolute; left: 0; right: 0; height: 13px; top: 13px; background: color-mix(in srgb, var(--c) 18%, transparent); animation: cm-barrido 3.2s steps(4) infinite; }
@keyframes cm-barrido { from { transform: translateY(0); } to { transform: translateY(52px); } }
.cm-prog { display: flex; align-items: center; gap: 5px; font-size: 7.5px; font-weight: 800; }
.cm-prog i { flex: 1; height: 4px; border-radius: 2px; background: #EEF2F6; position: relative; overflow: hidden; }
.cm-prog i::after { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: left; animation: cm-prog 3.2s ease-in-out infinite; }
@keyframes cm-prog { 0% { transform: scaleX(.05); } 80%, 100% { transform: scaleX(1); } }

/* Administración a tu medida: los dos caminos llegan al mismo banner.
   A la izquierda el cliente lo cambia en el panel; a la derecha lo pide
   por WhatsApp y lo hacemos nosotros. Un solo ciclo de 6 s para los dos.
   ⚠ Prefijo gx-, NUNCA ad-: los bloqueadores de publicidad esconden
   .ad-panel, .ad-banner y parecidos (pasó el 2026-09-24: la escena salía
   vacía para cualquiera con bloqueador). */
.gx-panel, .gx-chat { top: 12px; bottom: 26px; overflow: hidden; }
.gx-panel { left: 12px; width: 49%; display: grid; grid-template-columns: 13px 1fr; }
.gx-lat { background: #1E293B; border-radius: 7px 0 0 7px; display: grid; align-content: start; justify-items: center; gap: 6px; padding-top: 8px; }
.gx-lat i { width: 5px; height: 5px; border-radius: 1.5px; background: rgba(255,255,255,.3); }
.gx-lat i.is-act { background: var(--c); }
.gx-main { padding: 6px 7px; display: grid; gap: 5px; align-content: start; position: relative; }
.gx-tit { font-size: 7px; font-weight: 800; white-space: nowrap; }
.gx-banner { position: relative; height: 40px; border-radius: 4px; overflow: hidden; }
.gx-banner span { position: absolute; inset: 0; display: grid; align-content: center; padding-left: 8px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em; line-height: 1.1; }
.gx-banner small { font-size: 6px; font-weight: 600; letter-spacing: 0; opacity: .9; }
.gx-b1 { background: linear-gradient(120deg, #FF1632, #FF7A45); }
.gx-b2 { background: linear-gradient(120deg, #1FB8CD, #8E75B2); animation: gx-nuevo 6s infinite; }
@keyframes gx-nuevo { 0%, 36% { opacity: 0; } 42%, 94% { opacity: 1; } 100% { opacity: 0; } }
.gx-acc { display: flex; gap: 4px; justify-content: flex-end; }
.gx-acc span { font-size: 6.5px; font-weight: 800; border-radius: 3px; padding: 3px 6px; white-space: nowrap; }
.gx-sub { border: 1px solid #E2E8EE; color: #475569; }
.gx-pub { background: #1E293B; color: #fff; position: relative; }
.gx-pub::before { content: ""; position: absolute; inset: -4px; border-radius: 6px; border: 1.5px solid var(--c); opacity: 0; animation: gx-clic 6s ease-out infinite; }
@keyframes gx-clic { 0%, 30% { opacity: 0; transform: scale(.8); } 34% { opacity: 1; } 46%, 100% { opacity: 0; transform: scale(1.3); } }
.gx-cur { position: absolute; width: 11px; height: 11px; right: 8px; bottom: 0; animation: gx-cur 6s ease-in-out infinite; }
@keyframes gx-cur { 0%, 6% { transform: translate(-44px, -40px); } 30%, 100% { transform: none; } }
.gx-toast { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 800; background: #fff; border-radius: 99px; padding: 2px 7px 2px 3px; box-shadow: 0 4px 12px -3px rgba(15,23,42,.45); white-space: nowrap; animation: gx-toast 6s ease-out infinite; }
@keyframes gx-toast { 0%, 40% { opacity: 0; margin-top: 4px; } 46%, 88% { opacity: 1; margin-top: 0; } 96%, 100% { opacity: 0; } }
.gx-o { position: absolute; left: calc(12px + 49% + 3px); top: 50%; width: 16px; height: 16px; margin-top: -15px; border-radius: 50%; display: grid; place-items: center; font-size: 7px; font-weight: 800; background: var(--c); color: #fff; z-index: 2; }
.gx-chat { right: 12px; width: calc(51% - 34px); background: #EFEAE2; display: grid; grid-template-rows: auto 1fr; }
.gx-wa { display: flex; align-items: center; gap: 4px; padding: 4px 6px; background: #075E54; color: #fff; font-size: 6.5px; font-weight: 800; white-space: nowrap; overflow: hidden; }
.gx-wa svg { width: 9px; height: 9px; color: #25D366; flex: none; }
.gx-msgs { display: grid; grid-template-rows: auto auto; align-content: start; gap: 4px; padding: 5px; }
.gx-msg { font-size: 6.5px; line-height: 1.3; padding: 3px 5px; border-radius: 5px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.gx-msg.es-in { background: #fff; justify-self: start; max-width: 92%; border-top-left-radius: 1px; }
.gx-msg.es-out, .gx-escribe { grid-row: 2; grid-column: 1; justify-self: end; }
.gx-msg.es-out { background: #D9FDD3; max-width: 92%; border-top-right-radius: 1px; animation: gx-resp 6s ease-out infinite; }
.gx-msg.es-out small { color: #53BDEB; font-weight: 800; margin-left: 2px; }
.gx-mini { display: block; height: 14px; border-radius: 3px; margin-bottom: 3px; background: linear-gradient(120deg, #1FB8CD, #8E75B2); color: #fff; font-size: 5.5px; font-weight: 800; letter-spacing: .06em; padding: 4px 0 0 4px; }
@keyframes gx-resp { 0%, 40% { opacity: 0; transform: translateY(4px); } 46%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.gx-escribe { display: flex; gap: 2px; background: #D9FDD3; border-radius: 5px; padding: 4px 6px; animation: gx-escribe 6s infinite; }
.gx-escribe i { width: 3px; height: 3px; border-radius: 50%; background: #64748b; animation: gx-punto .9s ease-in-out infinite; }
.gx-escribe i:nth-child(2) { animation-delay: .15s; }
.gx-escribe i:nth-child(3) { animation-delay: .3s; }
@keyframes gx-escribe { 0%, 10% { opacity: 0; } 14%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes gx-punto { 0%, 100% { transform: none; opacity: .5; } 50% { transform: translateY(-2px); opacity: 1; } }
.gx-rot { position: absolute; bottom: 9px; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; text-align: center; white-space: nowrap; }
.is-dark .gx-rot { color: #94a3b8; }
.gx-rot.es-izq { left: 12px; width: 49%; }
.gx-rot.es-der { right: 12px; width: calc(51% - 34px); }

/* Envíos: el seguimiento del pedido, con el camión andando */
.en-seg { inset: 14px; padding: 10px 12px; display: grid; gap: 10px; align-content: start; }
.en-cab { display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; font-weight: 800; }
/* Selector largo a propósito: la regla de imágenes de Elementor (height: auto) pisaba
   una más corta y el logo salía a su tamaño real, 800 px. */
.mdpd-svc .esc .en-cab img { height: 12px; width: 68px; max-width: none; object-fit: contain; }
.en-linea { position: relative; height: 22px; margin: 0 8px; }
.en-linea::before, .en-linea::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 3px; border-radius: 2px; background: #EEF2F6; }
.en-linea::after { right: 50%; background: var(--c); }
.en-linea i { position: absolute; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid #CBD5E1; transform: translateX(-50%); z-index: 1; }
.en-linea i.es-hecho { background: var(--c); border-color: var(--c); }
.en-camion { position: absolute; top: -1px; width: 20px; height: 13px; color: var(--c); transform: translateX(-50%); animation: en-camion 4.5s ease-in-out infinite; z-index: 2; }
@keyframes en-camion { 0% { left: 4%; } 60%, 100% { left: 50%; } }
.en-pasos { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 7px; font-weight: 700; color: #64748b; text-align: center; margin-top: -6px; }
.en-pasos b { color: #1E293B; font-weight: 800; }
.en-llega { display: flex; align-items: center; gap: 6px; font-size: 8px; background: color-mix(in srgb, var(--c) 8%, #fff); border-radius: 5px; padding: 5px 8px; }
.en-llega b { font-weight: 800; }

/* Pagos: elegir cómo pagar, y el aviso de pago aprobado */
.pg-caja { inset: 12px 14px; padding: 8px 10px; display: grid; gap: 5px; align-content: start; }
.pg-op { display: flex; align-items: center; gap: 6px; font-size: 7.5px; font-weight: 700; padding: 4px 6px; border: 1px solid #E2E8EE; border-radius: 4px; }
.pg-op.is-sel { border-color: #009EE3; background: #F2FAFE; }
.pg-op i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #CBD5E1; flex: none; }
.pg-op.is-sel i { border: 2.5px solid #009EE3; }
.pg-op svg { height: 11px; width: auto; flex: none; }
.pg-ok { position: absolute; right: 22px; bottom: 16px; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 7px; background: #fff; border-radius: 7px; font-size: 8px; font-weight: 800; box-shadow: 0 10px 22px -8px rgba(15,23,42,.5); animation: pg-ok 5s cubic-bezier(.16,1,.3,1) infinite; }
.pg-ok .ok-v { width: 16px; height: 16px; }
.pg-ok .ok-v svg { width: 9px; height: 9px; }
.pg-ok small { display: block; font-size: 7px; font-weight: 600; color: #64748b; }
@keyframes pg-ok { 0%, 25% { opacity: 0; transform: translateY(14px); } 35%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px); } }

/* Instagram: la publicación con la etiqueta de producto */
.ig-post { left: 50%; top: 10px; bottom: 10px; width: 64%; transform: translateX(-50%); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.ig-cab { display: flex; align-items: center; gap: 5px; padding: 5px 7px; font-size: 7.5px; font-weight: 800; }
.ig-cab i { width: 13px; height: 13px; border-radius: 50%; background: conic-gradient(#FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); padding: 1.5px; }
.ig-cab i::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 1.5px solid #fff; box-sizing: border-box; background-clip: padding-box; }
.ig-cab svg { width: 10px; height: 10px; margin-left: auto; color: #FF0069; }
.ig-foto { position: relative; background: linear-gradient(160deg, #F6E9DA, #E6C9A8); display: grid; place-items: center; }
.ig-foto > svg { height: 58px; width: auto; }
.ig-tag { position: absolute; left: 56%; top: 16%; display: flex; flex-direction: column; font-size: 7px; font-weight: 800; background: rgba(15,23,42,.82); color: #fff; padding: 3px 6px; border-radius: 4px; animation: ig-tag 5s ease-in-out infinite; }
.ig-tag small { font-weight: 600; opacity: .8; }
.ig-tag::before { content: ""; position: absolute; left: 8px; top: -3px; border: 3px solid transparent; border-top: 0; border-bottom-color: rgba(15,23,42,.82); }
@keyframes ig-tag { 0%, 12% { opacity: 0; transform: translateY(4px); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ig-pie { display: flex; align-items: center; justify-content: space-between; padding: 5px 7px; font-size: 7.5px; font-weight: 800; border-top: 1px solid #EEF2F6; }
.ig-pie span { color: #0095F6; }

/* Google Shopping: la tira de fichas, con la tuya primera */
.gs-cab { position: absolute; left: 14px; top: 11px; display: flex; align-items: center; gap: 5px; font-size: 7.5px; font-weight: 700; color: #64748b; }
.is-dark .gs-cab { color: #94a3b8; }
.gs-cab svg { width: 11px; height: 11px; }
.gs-fila { position: absolute; left: 14px; right: 14px; top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gs-fila .ui { position: relative; padding: 5px; display: grid; gap: 2px; }
.gs-fila .ui.is-tuya { outline: 1.5px solid var(--c); }
.gs-img { height: 44px; border-radius: 3px; display: grid; place-items: center; margin-bottom: 2px; }
.gs-img svg { height: 34px; width: auto; }
.gs-fila b { font-size: 7px; font-weight: 700; line-height: 1.2; }
.gs-fila strong { font-size: 9px; font-weight: 800; }
.gs-fila small { font-size: 6.5px; color: #64748b; font-weight: 600; }
.gs-tuya { position: absolute; top: -7px; left: 5px; font-size: 6.5px; font-weight: 800; color: #fff; background: var(--c); border-radius: 99px; padding: 1px 6px; }

/* Facturación: la venta entra al sistema como factura */
.fa-venta { left: 14px; top: 34px; width: 38%; padding: 8px 9px; display: grid; gap: 3px; }
.fa-venta small, .fa-fact small { font-size: 6.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.fa-venta b { font-size: 12px; font-weight: 800; }
.fa-venta span { display: flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 800; color: #0B8A63; }
.fa-flecha { position: absolute; left: calc(14px + 38%); right: calc(14px + 42%); top: 64px; height: 10px; }
.fa-flecha path { fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; }
.fa-flecha .fa-flujo { stroke-dasharray: 3 4; animation: fa-flujo 1s linear infinite; }
@keyframes fa-flujo { to { stroke-dashoffset: -14; } }
.fa-fact { right: 14px; top: 14px; bottom: 14px; width: 42%; padding: 9px 10px; display: grid; gap: 4px; align-content: start; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.fa-fact::after { content: ""; position: absolute; right: 0; top: 0; width: 12px; height: 12px; background: linear-gradient(225deg, transparent 50%, #E2E8EE 50%); }
.fa-fact b { font-size: 11px; font-weight: 800; }
.fa-fact code { font-family: inherit; font-size: 7.5px; font-weight: 700; color: #475569; }
.fa-fact i { display: block; height: 3px; border-radius: 2px; background: #EEF2F6; }
.fa-fact i.es-corta { width: 60%; }
.fa-fact span { display: flex; align-items: center; gap: 3px; font-size: 7px; font-weight: 800; margin-top: 2px; }
.fa-fact em { font-style: normal; font-size: 7px; font-weight: 800; color: var(--c); }
