.nassery-sc-products .desktop-card.sn-has-discount,
.nassery-sc-products .mobile-card.sn-has-discount {
    position: relative !important;
}

.sn-discount-badge {
    position: absolute;
    top: 6px;
    inset-inline-start: 6px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 12px);
    padding: 3px 7px 3px 5px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    line-height: 1;
}

.sn-discount-badge img {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    object-fit: contain;
}

.sn-discount-badge__text {
    font-family: 'AbarMid', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #ed1b24;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.sn-sale-price del,
.nassery-card-price:has(del):has(ins) del,
.nassery-card-price .price:has(del):has(ins) del,
.my-product-price:has(del):has(ins) del,
.my-product-price .price:has(del):has(ins) del,
.nassery-var-modal__price:has(del):has(ins) del,
.nassery-var-modal__price .price:has(del):has(ins) del,
.woocommerce div.product p.price:has(del):has(ins) del,
.woocommerce div.product p.price .price:has(del):has(ins) del {
    order: 2;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.sn-sale-price del .woocommerce-Price-amount,
.nassery-card-price:has(del):has(ins) del .woocommerce-Price-amount,
.nassery-card-price .price:has(del):has(ins) del .woocommerce-Price-amount,
.my-product-price:has(del):has(ins) del .woocommerce-Price-amount,
.my-product-price .price:has(del):has(ins) del .woocommerce-Price-amount,
.nassery-var-modal__price:has(del):has(ins) del .woocommerce-Price-amount,
.nassery-var-modal__price .price:has(del):has(ins) del .woocommerce-Price-amount,
.woocommerce div.product p.price:has(del):has(ins) del .woocommerce-Price-amount,
.woocommerce div.product p.price .price:has(del):has(ins) del .woocommerce-Price-amount {
    text-decoration: line-through !important;
    text-decoration-color: #ed1b24 !important;
    text-decoration-thickness: 1.5px !important;
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.sn-sale-price ins,
.nassery-card-price:has(del):has(ins) ins,
.nassery-card-price .price:has(del):has(ins) ins,
.my-product-price:has(del):has(ins) ins,
.my-product-price .price:has(del):has(ins) ins,
.nassery-var-modal__price:has(del):has(ins) ins,
.nassery-var-modal__price .price:has(del):has(ins) ins,
.woocommerce div.product p.price:has(del):has(ins) ins,
.woocommerce div.product p.price .price:has(del):has(ins) ins {
    order: 1;
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    text-decoration: none !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.sn-sale-price,
.nassery-card-price:has(del):has(ins),
.nassery-card-price:has(.price:has(del):has(ins)),
.my-product-price:has(del):has(ins),
.my-product-price:has(.price:has(del):has(ins)),
.nassery-var-modal__price:has(del):has(ins),
.nassery-var-modal__price:has(.price:has(del):has(ins)),
.woocommerce div.product p.price:has(del):has(ins),
.woocommerce div.product p.price:has(.price:has(del):has(ins)) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    text-align: center !important;
}

.sn-sale-price .price:has(del):has(ins),
.nassery-card-price .price:has(del):has(ins),
.my-product-price .price:has(del):has(ins),
.nassery-var-modal__price .price:has(del):has(ins),
.woocommerce div.product p.price .price:has(del):has(ins) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    margin: 0 !important;
    gap: 0 !important;
}

.sn-sale-price .screen-reader-text,
.nassery-card-price:has(del):has(ins) .screen-reader-text,
.my-product-price:has(del):has(ins) .screen-reader-text,
.nassery-var-modal__price:has(del):has(ins) .screen-reader-text,
.woocommerce div.product p.price:has(del):has(ins) .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.nassery-sc-products .nassery-card-price:has(del):has(ins) ins,
.nassery-sc-products .nassery-card-price .price:has(del):has(ins) ins {
    font-size: 17px !important;
}

.nassery-sc-products .nassery-card-price:has(del):has(ins) del .woocommerce-Price-amount,
.nassery-sc-products .nassery-card-price .price:has(del):has(ins) del .woocommerce-Price-amount {
    font-size: 13px !important;
}

.nassery-var-modal__price:has(del):has(ins) ins,
.nassery-var-modal__price .price:has(del):has(ins) ins {
    color: #000 !important;
    font-size: 17px !important;
}

.my-product-price:has(del):has(ins) ins .woocommerce-Price-amount,
.my-product-price:has(del):has(ins) ins .woocommerce-Price-amount bdi,
.my-product-price .price:has(del):has(ins) ins .woocommerce-Price-amount,
.my-product-price .price:has(del):has(ins) ins .woocommerce-Price-amount bdi {
    font-size: 22px !important;
}

.my-product-price:has(del):has(ins) del .woocommerce-Price-amount,
.my-product-price:has(del):has(ins) del .woocommerce-Price-amount bdi,
.my-product-price .price:has(del):has(ins) del .woocommerce-Price-amount,
.my-product-price .price:has(del):has(ins) del .woocommerce-Price-amount bdi {
    font-size: 15px !important;
}

@media (max-width: 768px) {
    .nassery-sc-products .sn-discount-badge {
        top: 4px;
        inset-inline-start: 4px;
        gap: 3px;
        padding: 2px 6px 2px 4px;
    }

    .nassery-sc-products .sn-discount-badge img {
        width: 12px;
        height: 12px;
    }

    .nassery-sc-products .sn-discount-badge__text {
        font-size: 9px;
    }

    .nassery-sc-products li.nassery-product-item .nassery-card-price:has(del):has(ins),
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price:has(del):has(ins),
    .nassery-sc-products li.nassery-product-item .nassery-card-price .price:has(del):has(ins),
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price .price:has(del):has(ins) {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        text-align: right !important;
        gap: 0 !important;
    }

    .nassery-sc-products li.nassery-product-item .nassery-card-price:has(del):has(ins) ins,
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price:has(del):has(ins) ins,
    .nassery-sc-products li.nassery-product-item .nassery-card-price .price:has(del):has(ins) ins,
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price .price:has(del):has(ins) ins {
        font-size: clamp(13px, 3.6vw, 15px) !important;
        margin-bottom: 3px !important;
    }

    .nassery-sc-products li.nassery-product-item .nassery-card-price:has(del):has(ins) del .woocommerce-Price-amount,
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price:has(del):has(ins) del .woocommerce-Price-amount,
    .nassery-sc-products li.nassery-product-item .nassery-card-price .price:has(del):has(ins) del .woocommerce-Price-amount,
    .nassery-sc-products li.nassery-product-item .mobile-dark-7.nassery-card-price .price:has(del):has(ins) del .woocommerce-Price-amount {
        font-size: clamp(10px, 3vw, 12px) !important;
    }
}
