/* Kampanya badge */
.woocommerce-badge.ibc-campaign {
    width: auto !important;
    height: auto !important;
    border-radius: 4px !important;
    background-color: #e53935 !important;
    padding: 5px 10px !important;
    white-space: nowrap;
    margin-bottom: 6px;
}
.woocommerce-badge.ibc-campaign span {
    display: inline !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    white-space: nowrap;
}

/* TÜKENDİ badge — çok yüksek özgüllük ile yeşili ezip gri yap */
span.woocommerce-badge.ibc-soldout,
ul.products span.woocommerce-badge.ibc-soldout,
.product-inner span.woocommerce-badge.ibc-soldout {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #888888 !important;
    background-color: #888888 !important;
    padding: 0 !important;
    margin-bottom: 6px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
span.woocommerce-badge.ibc-soldout span,
ul.products span.woocommerce-badge.ibc-soldout span,
.product-inner span.woocommerce-badge.ibc-soldout span {
    display: block !important;
    position: static !important;
    top: auto !important;
    transform: none !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    padding: 4px !important;
}

/* Stokta olmayan — liste sayfasında siyah-beyaz */
ul.products li.product.outofstock .product-thumbnail img {
    filter: grayscale(100%) !important;
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}
ul.products li.product.outofstock .product-thumbnail:hover img {
    filter: grayscale(60%) !important;
    opacity: 0.9;
}
