/* IDAZ Woo Product Badges - basic styles */
.idaz-wpb-badge {
    position: absolute;
    z-index: 9;
    pointer-events: none;
}
/* Loop product: ensure container positioning */
ul.products li.product, .woocommerce div.product div.images, .woocommerce div.product .images {
    position: relative;
}

/* positions */
.idaz-wpb-badge.idaz-pos-top-left { top: 8px; left: 8px; }
.idaz-wpb-badge.idaz-pos-top-right { top: 8px; right: 8px; }
.idaz-wpb-badge.idaz-pos-bottom-left { bottom: 8px; left: 8px; }
.idaz-wpb-badge.idaz-pos-bottom-right { bottom: 8px; right: 8px; }

.idaz-wpb-badge .idaz-wpb-label {
    display: inline-block;
    padding: 6px 10px;
    line-height: 1;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* shapes */
.idaz-shape-pill .idaz-wpb-label { border-radius: 999px; }
.idaz-shape-circle .idaz-wpb-label { border-radius: 50%; padding: 10px; min-width: 44px; min-height: 44px; display:flex; align-items:center; justify-content:center; }
.idaz-shape-ribbon .idaz-wpb-label {
    position: relative;
    border-radius: 6px;
    padding: 8px 12px;
}
.idaz-shape-ribbon .idaz-wpb-label:before,
.idaz-shape-ribbon .idaz-wpb-label:after{
    content:"";
    position:absolute;
    top:100%;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: rgba(0,0,0,.1) transparent transparent transparent;
}
.idaz-shape-ribbon.idaz-pos-top-left .idaz-wpb-label:before { left:8px; }
.idaz-shape-ribbon.idaz-pos-top-right .idaz-wpb-label:after { right:8px; }

.idaz-shape-image img{
    display:block;
    max-width: 72px;
    height: auto;
}

/* single product wrapper to ensure position works even if theme changes image wrapper */
.woocommerce div.product .idaz-wpb-single-wrap{
    position: relative;
}
