/* 3.3 · Correcciones del consolidado (bugs reportados con sesión en byethost, desktop y móvil). Se carga al final. */
/* 5) Vender › Resumen: etiqueta arriba, valor abajo (antes "Ventas0") */
body.v32 .card.stat{display:flex;flex-direction:column;gap:4px}
body.v32 .card.stat>span,body.v32 .card.stat>.muted{display:block;font-size:.9rem!important;font-weight:600;line-height:1.3}
body.v32 .card.stat>b{display:block;font-size:1.5rem!important;line-height:1.2}
/* 6) Pestañas de Mi perfil: en escritorio se acomodan en filas; en móvil scroll horizontal sin desbordar la página */
.ptabs33{max-width:100%;box-sizing:border-box}
@media (min-width:880px){.ptabs33{flex-wrap:wrap;overflow:visible}}
/* 7) Contraste AA: textos de ayuda, placeholders y botón Copiar */
body.v32 .muted,body.v32 .small.muted,body.v32 .hint,body.v32 label .muted{color:#4A5568!important}            /* 7,5:1 sobre blanco */
body.v32 input::placeholder,body.v32 textarea::placeholder{color:#5F6B7A!important;opacity:1}                  /* 5,3:1 */
body.v32 button.copy,body.v32 [data-copy]{background:#1E2A3B!important;color:#FFFFFF!important;border:1px solid #1E2A3B!important} /* 14:1 */
body.v32 button.copy:hover,body.v32 [data-copy]:hover{background:#B5500D!important;border-color:#B5500D!important}  /* 5,1:1 */
body.v32 button.copy:focus-visible,body.v32 [data-copy]:focus-visible{outline:3px solid #B5500D;outline-offset:2px}
/* 8) Móvil: encabezado y barra inferior más compactos */
@media (max-width:879px){
  body.tema-condor-azul .topbar.az-top{min-height:48px;padding:4px 10px;gap:6px}
  body.tema-condor-azul .az-loc{min-height:40px;padding:0 6px}
  body.tema-condor-azul .az-loc-k{display:none}
  .az-search{position:static!important;padding:6px 10px 8px!important}
  body.v32 .az-search .az-sf input[type=search]{min-height:44px}
  body.v32 .az-search .az-go{min-height:36px!important}
  .bottom33,.bottom33.bb-azul{padding:2px 4px calc(2px + env(safe-area-inset-bottom,0px))!important}
  .bottom33 .bb-item,.bottom33.bb-azul .bb-item{min-height:48px;font-size:11px;gap:1px}
  .bottom33 .bb-ic,.bottom33.bb-azul .bb-ic{font-size:19px}
  .bottom33 .bb-pay,.bottom33.bb-azul .bb-pay{margin-top:-12px;font-size:11px}
  .bottom33 .bb-pay-ic,.bottom33.bb-azul .bb-pay-ic{width:46px!important;height:46px!important}
  body{--bb-h:56px}
}
/* 9) Un solo "Comprar ahora" visible: barra fija en móvil, botón en la ficha en escritorio */
.buy-sticky{display:none}
@media (max-width:879px){
  body.v32 .buy-sticky{display:flex;position:sticky;bottom:calc(var(--bb-h,56px) + env(safe-area-inset-bottom,0px));z-index:35;gap:10px;align-items:center;justify-content:space-between;padding:8px 12px;margin:12px -4px}
  body.v32 .buy-sticky button{flex:1;min-height:46px;font-weight:800}
  body.v32 .buy-actions .pay33{display:none}
}
body.v32 .pd-off{display:inline-block;background:#B5500D;color:#fff;border-radius:6px;padding:1px 6px;font-size:.8rem;font-weight:700;vertical-align:middle}
/* 1) Directorio de tiendas */
.shopdir{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.shopdir .shopcard{display:flex;gap:12px;align-items:center;text-decoration:none;color:inherit;margin:0}
.shopdir .shoplogo{width:56px;height:56px;flex:0 0 56px;border-radius:12px;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:28px}
/* 4) Placeholder de producto sin foto */
img.noimg-ph{object-fit:contain;background:#F4F5F7}
/* 12) Historial: el selector de cuenta y la búsqueda no se cortan */
body.v32 form.card.noprint .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}
body.v32 form.card.noprint select,body.v32 form.card.noprint input{width:100%;min-width:0;box-sizing:border-box;text-overflow:ellipsis}
