.aok-was{color:#9a9a9a;text-decoration:line-through;font-weight:400;margin-inline-end:6px;opacity:.8}
.aok-now{font-weight:700}
.aok-free-tag{color:#1a7f4b;font-weight:700;text-transform:uppercase;font-size:.85em;letter-spacing:.02em}
/* Positioned in the image or appended to Razzi's existing column by PHP. */
.aok-promotion-badge,.woocommerce-badges>.aok-promotion-badge{--aok-badge-font:14px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:max-content;max-width:100%;height:24px;padding:5px 11px;border:0;border-radius:0;box-shadow:none;background:linear-gradient(135deg,#f00,#c00);color:#fff;font-size:var(--aok-badge-font);font-weight:500;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;pointer-events:none}
@media(max-width:479px){.aok-promotion-badge,.woocommerce-badges>.aok-promotion-badge{--aok-badge-font:12px;height:22px}}
.aok-promotion-badge>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.aok-promotion-badge.aok-badge-combined,.woocommerce-badges>.aok-badge-combined{height:auto;min-height:24px;white-space:normal}
.aok-badge-combined>span{display:flex;flex-wrap:wrap;justify-content:center}
.aok-badge-combined>span>bdi,.aok-badge-alternative{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aok-badge-connector{font-weight:400;opacity:.85;margin-inline:.35em}
.aok-promotion-badge.aok-badge-b{background:#111}
.aok-promotion-badge.aok-badge-c{background:#c19452}
.aok-badge-direct,.aok-badge-d{position:absolute;inset-block-start:20px;z-index:2}
.aok-badge-direct:not(.aok-badge-d){inset-inline-start:0}
.aok-badge-d{inset-inline-end:0;max-width:100%}
:has(>.aok-badge-d)>.woocommerce-badges{inset-inline-start:0;inset-inline-end:auto;max-width:calc(50% - 3px)}
:has(>.woocommerce-badges)>.aok-badge-d{max-width:calc(50% - 3px)}
:has(>.aok-badge-d)>.woocommerce-badges>span{overflow-wrap:anywhere}
.woocommerce-badges:has(>.aok-promotion-badge){max-width:100%}
.woocommerce-badges:has(>.aok-promotion-badge)>.aok-promotion-badge{width:100%}
.woocommerce ul.products li.product,.woocommerce div.product div.images,.woocommerce ul.products li.product a:first-child,.aok-badge-preview{position:relative}
ul.products:is(.product-loop-layout-2,.product-loop-layout-9) li.product:has(.aok-badge-d) .product-loop__buttons{top:29px}
ul.products:is(.product-loop-layout-2,.product-loop-layout-9) li.product:has(.aok-badge-d.aok-badge-combined) .product-loop__buttons{top:44px}
ul.products:is(.product-loop-layout-2,.product-loop-layout-9) li.product .aok-badge-direct:not(.aok-badge-d),
ul.products:is(.product-loop-layout-2,.product-loop-layout-9) li.product .product-thumbnail>.woocommerce-badges:has(>.aok-promotion-badge){max-width:calc(100% - 54px)}

/* The legacy hooks print beside the image, not inside it. */
:is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(>.aok-badge-direct){position:relative;anchor-scope:--aok-badge-image,--aok-badge-column}
:is(.product-inner,li.product,div.product,.product-gallery-summary):has(>.aok-badge-direct)>:is(.product-thumbnail,.product-thumbnails--slider,.woocommerce-product-gallery),
div.product:has(>.aok-badge-direct)>.product-gallery-summary>.woocommerce-product-gallery{anchor-name:--aok-badge-image}
:is(.product-inner,li.product,div.product,.product-gallery-summary):has(>.aok-badge-direct)>:is(.product-thumbnail,.product-thumbnails--slider,.woocommerce-product-gallery)>.woocommerce-badges,
div.product:has(>.aok-badge-direct)>.product-gallery-summary>.woocommerce-product-gallery>.woocommerce-badges,
.product-thumbnail:has(>.aok-badge-direct)>.woocommerce-badges{anchor-name:--aok-badge-column}
:is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(>.aok-badge-direct:not(.aok-badge-d)):has(.woocommerce-badges)>.aok-badge-direct:not(.aok-badge-d){inset-block-start:calc(35px + var(--aok-badge-font))}
:is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(>.aok-badge-direct.aok-badge-d) .woocommerce-badges{max-width:42%;overflow-wrap:anywhere}
:is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(.woocommerce-badges)>.aok-badge-direct.aok-badge-d{max-width:calc(58% - 6px)}
@media(min-width:992px){.single-product div.product:has(>.product-gallery-summary)>.aok-badge-direct.aok-badge-d{--aok-badge-end:51.3%;inset-inline-end:var(--aok-badge-end)}}
@supports(inset-inline-end:anchor(--aok-badge-image end,0px)){
    .aok-badge-direct{inset-block-start:calc(anchor(--aok-badge-image start,0px) + 20px)}
    .aok-badge-direct.aok-badge-d,.single-product div.product:has(>.product-gallery-summary)>.aok-badge-direct.aok-badge-d{inset-inline-end:anchor(--aok-badge-image end,var(--aok-badge-end,0px))}
    .aok-badge-direct:not(.aok-badge-d){inset-inline-start:anchor(--aok-badge-image start,0px)}
    :is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(>.aok-badge-direct:not(.aok-badge-d)):has(.woocommerce-badges)>.aok-badge-direct:not(.aok-badge-d){inset-block-start:calc(anchor(--aok-badge-column bottom,calc(30px + var(--aok-badge-font))) + 5px)}
    :is(.product-inner,li.product,div.product,.product-thumbnail,.product-gallery-summary):has(.woocommerce-badges)>.aok-badge-direct.aok-badge-d{max-width:calc(anchor-size(--aok-badge-image inline,100%) - anchor-size(--aok-badge-column inline,42%) - 6px)}
}
.razzi-products-showcase:not(.show-badges) .woocommerce-badges:has(>.aok-promotion-badge),
.razzi-products-masonry:not(.show-badges) .woocommerce-badges:has(>.aok-promotion-badge),
.razzi-products-with-banner:not(.show-badges) .woocommerce-badges:has(>.aok-promotion-badge){display:block!important}
:is(.razzi-products-showcase,.razzi-products-masonry,.razzi-products-with-banner):not(.show-badges) .woocommerce-badges:has(>.aok-promotion-badge)>span:not(.aok-promotion-badge){display:none}

:is(li.product,.aok-display-choice):nth-child(4n + 2){--aok-motion-delay:.18s}
:is(li.product,.aok-display-choice):nth-child(4n + 3){--aok-motion-delay:.36s}
:is(li.product,.aok-display-choice):nth-child(4n + 4){--aok-motion-delay:.54s}
.woocommerce-badges>.aok-motion-shine{position:relative}
.aok-promotion-badge.aok-motion-shine{overflow:hidden}
.aok-motion-shine::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 26%,#ffffff36 50%,transparent 74%);animation:aok-badge-shine 4s ease-in-out var(--aok-motion-delay,0s) infinite}
.aok-motion-pulse{transform-origin:left top;animation:aok-badge-pulse 4s ease-in-out var(--aok-motion-delay,0s) infinite}
.aok-motion-pulse:dir(rtl),.aok-badge-d.aok-motion-pulse{transform-origin:right top}
.aok-badge-d.aok-motion-pulse:dir(rtl){transform-origin:left top}
@keyframes aok-badge-shine{
    0%{transform:translateX(-100%)}
    20%,100%{transform:translateX(100%)}
}
@keyframes aok-badge-pulse{
    0%,30%,100%{transform:scale(1)}
    15%{transform:scale(1.04)}
}
@media(prefers-reduced-motion:reduce){.aok-motion-shine::after,.aok-motion-pulse{animation:none}.aok-motion-shine::after{content:none}}

.aok-applied-discount-tag{display:inline-flex;align-items:center;max-width:100%;margin-block:2px;margin-inline-start:7px;padding:3px 8px;border-radius:999px;background:#b60000;color:#fff;font-size:.7em;font-weight:700;line-height:1.25;white-space:nowrap;vertical-align:middle;box-sizing:border-box}
body.rtl .aok-applied-discount-tag{margin-inline-start:7px;margin-inline-end:0}
@media (max-width:480px){.aok-applied-discount-tag{padding:2px 7px;font-size:.66em;white-space:normal;text-align:center}}
.aok-mixed-line{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;width:100%;max-width:100%;min-width:0;font-size:.86em;line-height:1.35;text-align:start;box-sizing:border-box}
.aok-mixed-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;gap:.65em;min-width:0}
.aok-mixed-original{display:block;color:inherit}
.aok-mixed-label{min-width:0;white-space:normal;overflow-wrap:anywhere;font-weight:400}
.aok-mixed-value{white-space:nowrap}
.aok-mixed-discount{color:#b60000}
.aok-mixed-total{color:inherit}
.aok-mixed-total .aok-mixed-value{font-weight:700}
.aok-mini-cart-breakdown{display:grid;width:100%;margin-block:7px 0;font-size:.8em;gap:2px;color:initial;text-decoration:none}
.woocommerce-cart-form .aok-mixed-line{font-size:.86em}
.woocommerce-checkout-review-order-table .aok-mixed-line{font-size:.82em}
