.popover-inner {background:#fff; border-radius: 20px; padding:min(20px,5%);}

/* Container für das Popover */
.popover-content {
    color: #333;
    line-height: 1.4;
    text-align: left;
}


.pop-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e8e8e8;
}

.pop-img-box {width: 45px; height: 45px; flex-shrink: 0; background: #f9f9f9; border-radius: 4px; overflow: hidden; transition: all .3s ease;}


.pop-product-row:hover .pop-img-box {scale:1.2;}

/* Die Produkt-Liste im Smarty-Template */
.pop-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    & .pop-product-row:last-child {border:0; margin:0;}
}

.pop-product-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.pop-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.pop-img-wrapper img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.pop-details {
    display: flex;
    flex-direction: column;
}

.pop-title {
    font-weight: bold;
    font-size: 13px;
    display: block;
}

.pop-price-box {
    font-size: 12px;
    color: #666;
}

#hotspot-popover {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
    pointer-events: none;
    position: absolute;
    z-index: 1000;
}

/* Positionierung oberhalb des Punktes */
#hotspot-popover.pos-top {
    transform: translate(-50%, -105%); 
}

/* Positionierung unterhalb des Punktes */
#hotspot-popover.pos-bottom {
    transform: translate(-50%, 10%); 
}

#hotspot-popover.active, /* Falls du eine Klasse nutzt */
#hotspot-popover[style*="display: block"] {
    pointer-events: all;
}