/* Agorajeux: shared SVG "new product" flag across product cards and product page. */
.product-card.js-product-miniature,
.product-miniature.js-product-miniature,
.product-cover {
    position: relative;
}

.ag-product-card-new-flag,
.product-badge.product-badge--new,
.product-flags .product-flag.new {
    position: absolute !important;
    z-index: 24 !important;
    display: block !important;
    width: 82px !important;
    min-width: 82px !important;
    height: 47px !important;
    min-height: 47px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent url("../img/ag-new-flag-20260728.svg") center / contain no-repeat !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    text-indent: -9999px !important;
    text-shadow: none !important;
    text-transform: none !important;
    transform: none !important;
    pointer-events: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

.ag-product-card-new-flag::before,
.ag-product-card-new-flag::after,
.product-badge.product-badge--new::before,
.product-badge.product-badge--new::after,
.product-flags .product-flag.new::before,
.product-flags .product-flag.new::after {
    display: none !important;
    content: none !important;
}

.ag-product-card-new-flag {
    top: 8px !important;
    left: 9px !important;
}

body#index .elementor-widget-product-carousel .ag-product-card-new-flag,
body#product .product-slider-wrapper .ag-product-card-new-flag {
    top: 8px !important;
    left: 9px !important;
}

.product-badge.product-badge--new,
.product-flags .product-flag.new {
    top: 16px !important;
    left: 16px !important;
}

body#product .product-badge.product-badge--new,
body#product .product-flags .product-flag.new {
    width: 96px !important;
    min-width: 96px !important;
    height: 56px !important;
    min-height: 56px !important;
    top: 14px !important;
    left: 20px !important;
}

@media (max-width: 767px) {
    .ag-product-card-new-flag,
    .product-badge.product-badge--new,
    .product-flags .product-flag.new {
        width: 70px !important;
        min-width: 70px !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .ag-product-card-new-flag,
    body#index .elementor-widget-product-carousel .ag-product-card-new-flag,
    body#product .product-slider-wrapper .ag-product-card-new-flag {
        top: 6px !important;
        left: 8px !important;
    }

    .product-badge.product-badge--new,
    .product-flags .product-flag.new,
    body#product .product-badge.product-badge--new,
    body#product .product-flags .product-flag.new {
        width: 78px !important;
        min-width: 78px !important;
        height: 45px !important;
        min-height: 45px !important;
        top: 10px !important;
        left: 10px !important;
    }
}
