/* WooCommerce Advanced Product Labels 1.3.0 */

/* --------------------------------------------------
 * HIDE ALL DEFAULT WC / THEME SALE BADGES
 * Only plugin labels are shown.
 * Covers classic templates, themes, and WooCommerce
 * Blocks product grids.
 * -------------------------------------------------- */
.woocommerce span.onsale,
span.onsale,
.wc-block-components-product-sale-badge,
.wc-block-grid__product-onsale {
    display: none !important;
}

/* --------------------------------------------------
 * POSITIONING CONTEXTS
 * -------------------------------------------------- */
.woocommerce ul.products li.product {
    position: relative;
}

/* Single product: labels overlay the gallery
   (.woocommerce-product-gallery is position:relative in WC core) */
.single-product div.product {
    position: relative;
}

.woocommerce-product-gallery .wc-label {
    z-index: 60;
}

/* --------------------------------------------------
 * BASE LABEL
 * -------------------------------------------------- */
.wc-label {
    position: absolute;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 50;
    line-height: 1;
}

/* --------------------------------------------------
 * POSITIONS
 * -------------------------------------------------- */
.pos-top-left     { top: 10px;    left: 10px; }
.pos-top-right    { top: 10px;    right: 10px; }
.pos-bottom-left  { bottom: 10px; left: 10px; }
.pos-bottom-right { bottom: 10px; right: 10px; }

/* --------------------------------------------------
 * ANIMATIONS
 * -------------------------------------------------- */
.anim-fade   { animation: wcFade 1.5s ease-in-out infinite alternate; }
.anim-slide  { animation: wcSlide 0.6s ease-out; }
.anim-pulse  { animation: wcPulse 1.5s infinite; }
.anim-bounce { animation: wcBounce 1.2s infinite; }

@keyframes wcFade {
    from { opacity: .5; }
    to   { opacity: 1; }
}

@keyframes wcSlide {
    from { transform: translateY(-8px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes wcPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes wcBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
