/**
 * Final, authoritative product CTA styles.
 * These selectors deliberately outrank the older product-deal.css rules for
 * both regular and hover states, without affecting WooCommerce cart mechanics.
 */
body.single-product {
    --luxa-cta-bg: #E2B34F;
    --luxa-cta-text: #202020;
    --luxa-cta-hover-bg: #CAA03F;
    --luxa-cta-hover-text: #202020;
}
body.single-product .site-main .luxalife-product-hero .summary .luxa-delivery-widget:not(.luxa-delivery-widget--below) {
    margin-bottom: 1.2rem;
}
body.single-product .site-main .luxalife-product-hero .summary form.cart {
    margin-top: .55rem;
    margin-bottom: 1.05rem;
}
body.single-product .site-main .luxalife-product-hero .summary .luxalife-trust {
    margin-top: 1.25rem;
    padding-top: 1.05rem;
}

/* Keep native form, disabled state and stock rules. Use a stronger selector
   than the legacy dark/hover skin in product-deal.css. */
body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button {
    background: var(--luxa-cta-bg, #E2B34F);
    background-image: none;
    border-color: var(--luxa-cta-bg, #E2B34F);
    border-bottom-color: var(--luxa-cta-bg, #E2B34F);
    color: var(--luxa-cta-text, #202020);
    box-shadow: 0 5px 13px rgb(74 55 20 / .14);
    text-shadow: none;
    transform: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button:not(:disabled):not(.disabled):hover,
body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button:not(:disabled):not(.disabled):focus-visible {
    background: var(--luxa-cta-hover-bg, #CAA03F);
    background-image: none;
    border-color: var(--luxa-cta-hover-bg, #CAA03F);
    border-bottom-color: var(--luxa-cta-hover-bg, #CAA03F);
    color: var(--luxa-cta-hover-text, #202020);
    box-shadow: 0 7px 16px rgb(74 55 20 / .17);
    transform: none;
}
body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button:focus-visible {
    outline: 3px solid #876522;
    outline-offset: 3px;
}
/* The previous hard-coded golden SVG disappeared against a golden button.
   Use an SVG as a mask so the icon always inherits the current text color. */
body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button::before {
    background-image: none;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' 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") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' 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") center / contain no-repeat;
}

/* Opt-in, per simple product: hide only the selector, never the native form.
   The quantity field still posts the value 1 through WooCommerce. */
body.single-product .site-main div.product .luxalife-product-hero--cta-only .summary form.cart:not(.variations_form):not(.grouped_form) .quantity {
    display: none;
}
body.single-product .site-main div.product .luxalife-product-hero--cta-only .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button.button {
    width: 100%;
    flex: 1 1 100%;
    min-height: 58px;
    font-size: 1rem;
}
body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy {
    background: var(--luxa-cta-bg, #E2B34F);
    border-color: var(--luxa-cta-bg, #E2B34F);
    border-bottom-color: var(--luxa-cta-bg, #E2B34F);
    color: var(--luxa-cta-text, #202020);
}
body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy svg {
    color: currentColor;
}
body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy:hover,
body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy:focus-visible {
    background: var(--luxa-cta-hover-bg, #CAA03F);
    border-color: var(--luxa-cta-hover-bg, #CAA03F);
    border-bottom-color: var(--luxa-cta-hover-bg, #CAA03F);
    color: var(--luxa-cta-hover-text, #202020);
}
body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy:focus-visible {
    outline: 3px solid #876522;
    outline-offset: 3px;
}
@media (max-width: 520px) {
    body.single-product .site-main .luxalife-product-hero .summary .luxalife-trust {
        margin-top: 1.05rem;
        padding-top: 1rem;
    }
    body.single-product .site-main div.product .luxalife-product-hero--cta-only .summary form.cart:not(.variations_form):not(.grouped_form) button.single_add_to_cart_button.button {
        min-height: 56px;
        font-size: .94rem;
        white-space: nowrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.single-product .site-main div.product .luxalife-product-hero .summary form.cart button.single_add_to_cart_button.button,
    body.single-product .luxalife-sticky-cart button.luxalife-sticky-cart__buy {
        transition: none;
    }
}
