/**
 * LuxaLife v0.16.0 — configureerbare inline SVG DEAL met live Customizer-preview.
 *
 * Echte SVG-contouren (schuine banier / gevouwen rechterzijde / gekoppelde
 * witte kortingscapsule); WooCommerce levert het percentage.
 * Rood en goud worden nog steeds per product geselecteerd.
 * Buiten de aanbieding blijft de normale productprijs ongemoeid.
 */

body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
    --luxa-deal-main: #e32a35;
    --luxa-deal-fold: #a80010;
    --luxa-deal-price: #ce0b1c;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 42%);
    grid-template-areas: "price badge";
    align-items: center;
    column-gap: clamp(.25rem, 1vw, .8rem);
    width: 100%;
    margin: .65rem 0 .8rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal.luxalife-deal--gold {
    --luxa-deal-main: #cda957;
    --luxa-deal-fold: #92703a;
    --luxa-deal-price: #ad8232;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal.luxalife-deal--red {
    --luxa-deal-main: #e32a35;
    --luxa-deal-fold: #a80010;
    --luxa-deal-price: #ce0b1c;
}

/* Het volledige badge-silhouet is één SVG in plaats van twee CSS-vormen. */
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art {
    display: block;
    grid-area: badge;
    align-self: center;
    justify-self: stretch;
    min-width: 0;
    width: 100%;
    line-height: 0;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__fold {
    fill: var(--luxa-deal-fold);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__banner {
    fill: var(--luxa-deal-main);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__title {
    fill: #fff;
    font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
    font-size: 120px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -1px;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__pill {
    fill: #fff;
    stroke: var(--luxa-deal-main);
    stroke-width: 6px;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__saving {
    fill: #101010;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 84px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

/* Native oude en nieuwe WooCommerce-prijs links van de SVG. */
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal > p.price,
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal > .price {
    display: flex;
    grid-area: price;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .3rem;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--luxa-deal-price);
    line-height: 1.07;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price del {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: .24rem;
    margin: 0;
    color: #7a7a7a;
    font-size: clamp(.83rem, 1.1vw, 1.05rem);
    font-weight: 500;
    line-height: 1.25;
    text-decoration: line-through;
    opacity: 1;
    white-space: nowrap;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price del::before {
    content: 'Van';
    display: inline;
    color: inherit;
    text-decoration: inherit;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .12rem;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: none;
    color: var(--luxa-deal-price);
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -.047em;
    line-height: 1.04;
    text-decoration: none;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins::before {
    content: 'VOOR';
    color: var(--luxa-deal-price);
    font-size: clamp(.79rem, 1.17vw, .95rem);
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins .woocommerce-Price-amount {
    color: var(--luxa-deal-price);
    font-weight: 900;
    white-space: nowrap;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price del .woocommerce-Price-amount {
    color: #7a7a7a;
    font-weight: 500;
}

/* Koopknop: massief diep antraciet, vlakke afwerking en klein goud accent.
   Verander niets aan de WooCommerce-actie, disabled-status of aantallen. */
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button,
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    background: #20201e;
    border: 1px solid #20201e;
    border-bottom: 3px solid #c5a35f;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgb(25 23 19 / .13);
    color: #fff;
    font-size: .94rem;
    font-weight: 750;
    letter-spacing: .005em;
    line-height: 1.2;
    text-align: center;
    text-shadow: none;
    transform: none;
    transition: background-color .17s ease, box-shadow .17s ease, border-color .17s ease;
}
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button::before {
    content: '';
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6b66d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16l-1.4 13H5.4L4 7Z'/%3E%3Cpath d='M9 10V6a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E");
}
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button:not(:disabled):not(.disabled):hover,
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button:not(:disabled):not(.disabled):focus-visible {
    background: #34322d;
    border-color: #34322d;
    border-bottom-color: #d3b573;
    box-shadow: 0 5px 13px rgb(25 23 19 / .18);
    color: #fff;
    transform: none;
}
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button.disabled,
body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button:disabled {
    opacity: .5;
    box-shadow: none;
    cursor: not-allowed;
}
/* De aantalkiezer is optisch één set met de luxe koopknop. */
body.single-product .site-main .luxalife-product-hero .summary form.cart .quantity {
    border-color: #d9d2c7;
    border-radius: 7px;
}


/* Middenbrede productkolommen: compacter bedrag en correcte badgeverhouding. */
@media (min-width: 851px) and (max-width: 1100px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(122px, 42%);
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins {
        font-size: clamp(1.65rem, 2.65vw, 2.5rem);
    }
}
@media (max-width: 850px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(125px, 38%);
        margin: .65rem 0;
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins {
        font-size: clamp(2.1rem, 6vw, 3rem);
    }
}
@media (max-width: 480px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(105px, 38%);
        column-gap: .3rem;
        margin: .55rem 0 .7rem;
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal .price ins {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
    }
    body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button,
    body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button.button {
        gap: .3rem;
        padding: .6rem .4rem;
        font-size: .8rem;
    }
    body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button::before {
        flex-basis: 15px;
        width: 15px;
        height: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.single-product .site-main .luxalife-product-hero .summary form.cart .single_add_to_cart_button {
        transition: none;
    }
}


/*
 * v0.15.6 — desktop DEAL: dichter op de tekst, zonder de mobiele badge te wijzigen.
 * Het originele SVG en de dynamische kortingsgegevens blijven ongewijzigd.
 * De achtergrondcontour wordt iets smaller, terwijl de woorden meer ruimte
 * binnen de contour innemen. De badge wordt ook als geheel minder breed/hoog.
 */
@media (min-width: 851px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(122px, 36%);
        column-gap: .55rem;
    }

    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__banner,
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__fold,
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__pill {
        transform-box: fill-box;
        transform-origin: center;
        transform: scaleX(.89);
    }

    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__title {
        transform-box: fill-box;
        transform-origin: center;
        transform: scaleX(1.38);
    }

    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__saving {
        transform-box: fill-box;
        transform-origin: center;
        transform: scaleX(1.10);
    }
}

/* LuxaLife v0.16.0 — centrale DEAL-designer overrides */
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
    /* Fallbacks are replaced by sanitized Customizer theme mods after this file. */
    --luxa-deal-red-main: #e32a35;
    --luxa-deal-red-fold: #a80010;
    --luxa-deal-gold-main: #cda957;
    --luxa-deal-gold-fold: #92703a;
    --luxa-deal-title-font: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
    --luxa-deal-saving-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --luxa-deal-title-size-desktop: 120px;
    --luxa-deal-saving-size-desktop: 84px;
    --luxa-deal-title-size-mobile: 120px;
    --luxa-deal-saving-size-mobile: 84px;
    --luxa-deal-title-scale-desktop: 1;
    --luxa-deal-saving-scale-desktop: 1;
    --luxa-deal-title-scale-mobile: 1;
    --luxa-deal-saving-scale-mobile: 1;
    --luxa-deal-width-desktop: 36%;
    --luxa-deal-width-mobile: 38%;
    --luxa-deal-svg-height-desktop: 490;
    --luxa-deal-svg-height-mobile: 490;
    --luxa-deal-outline: 6;
    --luxa-deal-main: var(--luxa-deal-red-main);
    --luxa-deal-fold: var(--luxa-deal-red-fold);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal.luxalife-deal--gold {
    --luxa-deal-main: var(--luxa-deal-gold-main);
    --luxa-deal-fold: var(--luxa-deal-gold-fold);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal.luxalife-deal--red {
    --luxa-deal-main: var(--luxa-deal-red-main);
    --luxa-deal-fold: var(--luxa-deal-red-fold);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art {
    position: relative;
    aspect-ratio: 890 / var(--luxa-deal-svg-height-desktop);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__title {
    font-family: var(--luxa-deal-title-font);
    font-size: var(--luxa-deal-title-size-desktop);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__saving {
    font-family: var(--luxa-deal-saving-font);
    font-size: var(--luxa-deal-saving-size-desktop);
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__pill {
    stroke-width: var(--luxa-deal-outline);
}
@media (min-width: 851px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(122px, var(--luxa-deal-width-desktop));
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__title {
        transform: scaleX(calc(1.38 * var(--luxa-deal-title-scale-desktop)));
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__saving {
        transform: scaleX(calc(1.10 * var(--luxa-deal-saving-scale-desktop)));
    }
}
@media (max-width: 850px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(125px, var(--luxa-deal-width-mobile));
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art {
        aspect-ratio: 890 / var(--luxa-deal-svg-height-mobile);
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__title {
        font-size: var(--luxa-deal-title-size-mobile);
        transform-box: fill-box;
        transform-origin: center;
        transform: scaleX(var(--luxa-deal-title-scale-mobile));
    }
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-deal-art__saving {
        font-size: var(--luxa-deal-saving-size-mobile);
        transform-box: fill-box;
        transform-origin: center;
        transform: scaleX(var(--luxa-deal-saving-scale-mobile));
    }
}
@media (max-width: 480px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-product-price-row--deal {
        grid-template-columns: minmax(0, 1fr) minmax(105px, var(--luxa-deal-width-mobile));
    }
}
