.bh-scope .bh-head{
position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.bh-scope .bh-head .label{ color:#222; font-weight:600; }
.bh-scope .bh-head .sep{ opacity:.5; }
/* === Estilos encapsulados SOLO para este bloque === */
.bh-scope{line-height:1.6;color:#333}
.bh-scope h2{
color:#800000;margin:40px 0 15px;border-bottom:2px solid #eee;padding-bottom:5px;
font-weight:600;font-size:1.5em
}
.bh-scope h3{
color:#800000;font-style:italic;font-size:1.2em;font-weight:600;margin:20px 0
}
.bh-scope .specs{
width:100%;border-collapse:collapse;margin-bottom:20px;font-size:1em;border:1px solid #ddd
}
.bh-scope .specs td{
border:1px solid #ddd;vertical-align:top;padding:12px 15px;text-align:left
}
.bh-scope .specs td:first-child{font-weight:600;width:30%;background:#f8f8f8}
.bh-scope .bullets{list-style:none;padding:0;margin:0 0 30px}
.bh-scope .bullets li{
padding:8px 0;border-bottom:1px dotted #eee;display:flex;align-items:center;font-size:1.05em
}
.bh-scope .bullets li:last-child{border-bottom:none}
.bh-scope .bullets .dot{display:inline-block;width:1em;margin-left:-1em;color:#C28E7D;font-weight:bold}
.bh-scope .icon-row{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:15px;padding:15px 0}
.bh-scope .icon-row img{display:block;border:0;outline:0;width:45px;height:45px}
/* Swatch circular básico (el JS lo convertirá en tooltip burbuja) */
.bh-scope .color-swatch{
display:inline-block;width:25px;height:25px;border-radius:50%;
border:1px solid rgba(0,0,0,.25); /* antes #ccc */
vertical-align:middle;margin-right:8px;margin-bottom:6px; /* + margen inferior para saltos de línea bonitos */
}
/* Tooltip burbuja reutilizable (para iconos y colores) */
.bh-scope .tooltip{position:relative;display:inline-flex;flex-direction:column;align-items:center}
.bh-scope .tooltiptext{
visibility:hidden;max-width:260px;background:#444;color:#fff;text-align:center;border-radius:5px;
padding:8px 12px;position:absolute;z-index:9999;bottom:110%;left:50%;transform:translateX(-50%);
opacity:0;transition:opacity .2s ease,bottom .2s ease;white-space:normal;overflow-wrap:break-word;
font-size:.9em;box-shadow:0 2px 8px rgba(0,0,0,.2);pointer-events:none
}
.bh-scope .tooltip:hover .tooltiptext,
.bh-scope .tooltip:focus .tooltiptext{visibility:visible;opacity:1;bottom:125%}
.bh-scope .tooltiptext::after{
content:»»;position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;
border-color:#444 transparent transparent transparent
}
·
Marca: Blaumann
·
Promintra
Características Principales
| Color |
Plata |
| Material |
Acero inoxidable |
| Capacidad |
350 g; 2,5 tazas |
| Tamaño |
10,5×9 cm |
/* Unifica tooltips de COLOR con los de iconos:
– Si el Python ya genera estructura con .tooltip/.tooltiptext, no hacemos nada.
– Si genera solo , lo envolvemos en .tooltip y creamos .tooltiptext.
*/
(function(){
var scopes = document.querySelectorAll(‘.bh-scope’);
scopes.forEach(function(scope){
var swatches = scope.querySelectorAll(‘.color-swatch’);
swatches.forEach(function(swatch){
// Evita duplicar si ya está dentro de un tooltip
if (swatch.closest(‘.tooltip’)) return;
var label = swatch.getAttribute(‘aria-label’) || swatch.getAttribute(‘title’) || »;
if (!label) return;
// Crea contenedor tooltip
var wrap = document.createElement(‘span’);
wrap.className = ‘tooltip’;
wrap.setAttribute(‘tabindex’,’0′); // accesible por teclado
swatch.parentNode.insertBefore(wrap, swatch);
wrap.appendChild(swatch);
// Crea burbuja
var tip = document.createElement(‘span’);
tip.className = ‘tooltiptext’;
tip.textContent = label;
wrap.appendChild(tip);
// Evita tooltip nativo del navegador
swatch.removeAttribute(‘title’);
});
});
})();







Valoraciones
No hay valoraciones aún.