/* Lavastica product Loop Cart & Quote — v1.2.3. */
.elementor-widget-shortcode:has(.lv-loop-cart,.lv-loop-quote){width:100%!important;max-width:100%!important;min-width:0}
.lv-loop-cart,.lv-loop-quote{
    --lv-loop-orange:var(--lv-loop-cart-color,#F58320);
    --lv-loop-radius:var(--lv-loop-cart-radius,25px);
    display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:0
}
.lv-loop-cart .lv-loop-cart-button,.lv-loop-quote a.add-request-quote-button,
.lv-loop-cart .lv-loop-view,.lv-loop-quote .lv-loop-view{
    display:flex;align-items:center;justify-content:center;gap:10px;
    box-sizing:border-box;width:100%!important;max-width:100%;min-height:44px!important;
    margin:0!important;padding:8px 16px!important;
    border:1px solid var(--lv-loop-orange)!important;
    border-radius:var(--lv-loop-radius)!important;
    color:#fff!important;background:var(--lv-loop-orange)!important;
    font-family:inherit;font-size:16px!important;font-weight:600;line-height:1.3!important;
    letter-spacing:normal!important;text-transform:none!important;text-align:center;
    text-decoration:none!important;white-space:nowrap;box-shadow:none!important;
    cursor:pointer;transition:background-color .24s ease,color .24s ease,border-color .24s ease,box-shadow .24s ease
}
.lv-loop-cart .lv-loop-cart-button:not(:disabled):is(:hover,:focus-visible),
.lv-loop-quote:not(.lv-loop-is-added) a.add-request-quote-button:is(:hover,:focus-visible){
    background:transparent!important;color:var(--lv-loop-orange)!important
}
.lv-loop-quote.lv-loop-quote-outline:not(.lv-loop-is-added) a.add-request-quote-button{
    background:transparent!important;color:var(--lv-loop-orange)!important
}
.lv-loop-quote.lv-loop-quote-outline:not(.lv-loop-is-added) a.add-request-quote-button:is(:hover,:focus-visible){
    background:var(--lv-loop-orange)!important;color:#fff!important
}
.lv-loop-cart .lv-loop-cart-button:focus-visible,.lv-loop-cart .lv-loop-view:focus-visible,
.lv-loop-quote a.add-request-quote-button:focus-visible,.lv-loop-quote .lv-loop-view:focus-visible{
    outline:2px solid #252c34;outline-offset:2px
}
.lv-loop-cart .lv-loop-cart-button:disabled{cursor:wait;opacity:.75}
.lv-loop-cart .lv-loop-cart-icon{
    display:block;width:17px!important;height:17px!important;flex:0 0 17px;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease
}
.lv-loop-cart .lv-loop-cart-button:not(:disabled):is(:hover,:focus-visible) .lv-loop-cart-icon{transform:translateY(-3px)}
.lv-loop-cart .lv-loop-cart-status{
    position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
.lv-loop-cart .lv-loop-cart-status[data-error]{
    position:static;width:auto;height:auto;overflow:visible;clip-path:none;
    white-space:normal;margin-top:5px;font-size:13px;line-height:1.4
}
.lv-loop-cart .lv-loop-cart-status a{color:inherit;text-decoration:underline}
/* YITH must keep its untouched native button and AJAX handlers until the add succeeds. */
.lv-loop-quote .yith-ywraq-add-to-quote,.lv-loop-quote .yith-ywraq-add-button{
    box-sizing:border-box;width:100%;margin:0!important;padding:0!important
}
.lv-loop-quote:not(.lv-loop-is-added) a.add-request-quote-button::after,
.lv-loop-quote.lv-loop-is-adding:not(.lv-loop-is-added) > .lv-loop-quote-loading::after{
    content:"";display:block;position:static;flex:0 0 17px;width:17px;height:17px;
    margin:0;padding:0;border:0;opacity:1;background:currentColor;animation:none;
    transform:translateY(0);transition:transform .25s ease;
    -webkit-mask:url("https://www.lavastica.com/wp-content/uploads/2023/04/RFQ2-02.svg") center/contain no-repeat;
    mask:url("https://www.lavastica.com/wp-content/uploads/2023/04/RFQ2-02.svg") center/contain no-repeat
}
.lv-loop-quote:not(.lv-loop-is-added) a.add-request-quote-button:is(:hover,:focus-visible)::after{transform:translateY(-3px)}
.lv-loop-quote:not(.lv-loop-is-added) :is(.yith_ywraq_add_item_product_message,.yith_ywraq_add_item_response_message,.yith_ywraq_add_item_browse_message),
.lv-loop-quote:not(.lv-loop-is-added) :is(.yith_ywraq_add_item_product_message,.yith_ywraq_add_item_response_message,.yith_ywraq_add_item_browse_message) a{
    background:transparent!important;box-shadow:none;color:#252c34!important
}
/* Inside the Lavastica loop widget, YITH's detached success and browse elements
   are implementation details. Never let them push the card layout around or
   replace our single accessible View Quote Cart link. The native YITH button
   stays present to handle its own AJAX transaction. */
.lv-loop-quote :is(
    .yith_ywraq_add_item_product_message,
    .yith_ywraq_add_item_response_message,
    .yith_ywraq_add_item_browse_message
){display:none!important;}

/* Finished state: one link per card, no detached YITH messages underneath. */
.lv-loop-cart:not(.lv-loop-is-added) .lv-loop-view,
.lv-loop-quote:not(.lv-loop-is-added) .lv-loop-view{display:none!important}
.lv-loop-cart.lv-loop-is-added .lv-loop-cart-button,
.lv-loop-quote.lv-loop-is-added > :not(.lv-loop-view){display:none!important}
.lv-loop-cart.lv-loop-is-added .lv-loop-view{
    display:flex!important;background:transparent!important;color:var(--lv-loop-orange)!important;
    border-color:var(--lv-loop-orange)!important
}
/* Both completed actions use the same orange outline, text and green check. */
.lv-loop-quote.lv-loop-is-added .lv-loop-view{
    display:flex!important;background:transparent!important;color:var(--lv-loop-orange)!important;
    border-color:var(--lv-loop-orange)!important;
    font-family:inherit!important;font-size:16px!important;font-weight:500!important;
    letter-spacing:normal!important;font-style:normal!important
}
.lv-loop-quote .lv-loop-view-text,
.lv-loop-quote a.add-request-quote-button{
    font-family:inherit!important;font-size:16px!important;font-weight:500!important;
    letter-spacing:normal!important;font-style:normal!important
}
.lv-loop-quote .lv-loop-view-text{color:inherit!important;font-weight:inherit!important}
.lv-loop-cart.lv-loop-is-added .lv-loop-view:is(:hover,:focus-visible),
.lv-loop-quote.lv-loop-is-added .lv-loop-view:is(:hover,:focus-visible){
    background:#fff3e9!important;color:var(--lv-loop-orange)!important;
    border-color:var(--lv-loop-orange)!important
}
.lv-loop-check{
    display:block;width:17px!important;height:17px!important;flex:0 0 17px;
    fill:none!important;stroke:#178a28!important;stroke-width:2.6;
    stroke-linecap:round;stroke-linejoin:round
}
/* The spinner is YITH's separate img, so removing it prevents any layout shift.
   This is scoped only to our loop Quote widget: single-product buttons are untouched. */
.lv-loop-quote :is(img.ajax-loading,.ajax-loading,.ywraq-loader,.yith-ywraq-loading,.yith_ywraq_loader){
    display:none!important;visibility:hidden!important;width:0!important;height:0!important;
    margin:0!important;padding:0!important
}
/* A visual loading layer retains the button's exact size, without altering YITH's native link or handlers. */
.lv-loop-quote{position:relative;min-height:44px}
.lv-loop-quote > .lv-loop-quote-loading{display:none!important}
.lv-loop-quote.lv-loop-is-adding:not(.lv-loop-is-added) > :not(.lv-loop-quote-loading):not(.lv-loop-view){
    visibility:hidden!important
}
.lv-loop-quote.lv-loop-is-adding:not(.lv-loop-is-added) > .lv-loop-quote-loading{
    position:absolute;z-index:3;inset:0;box-sizing:border-box;width:100%;min-height:44px;
    display:flex!important;align-items:center;justify-content:center;gap:10px;
    border:1px solid var(--lv-loop-orange);border-radius:var(--lv-loop-radius);
    background:var(--lv-loop-orange);color:#fff;font-family:inherit;font-size:16px;
    font-weight:500;line-height:1.3;text-align:center;pointer-events:auto;cursor:wait
}
.lv-loop-quote.lv-loop-quote-outline.lv-loop-is-adding:not(.lv-loop-is-added) > .lv-loop-quote-loading{
    background:#fff;color:var(--lv-loop-orange)
}
.lv-loop-just-added .lv-loop-view .lv-loop-check{animation:lv-loop-check-pop .43s cubic-bezier(.2,1.6,.45,1) both}
.lv-loop-just-added .lv-loop-view .lv-loop-view-text{animation:lv-loop-label-in .27s ease both}
@keyframes lv-loop-check-pop{
    0%{opacity:0;transform:rotate(-30deg) scale(.25)}
    60%{opacity:1;transform:rotate(7deg) scale(1.18)}
    100%{opacity:1;transform:rotate(0) scale(1)}
}
@keyframes lv-loop-label-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
    .lv-loop-cart .lv-loop-cart-button,.lv-loop-cart .lv-loop-cart-icon,
    .lv-loop-quote a.add-request-quote-button,.lv-loop-quote a.add-request-quote-button::after,
    .lv-loop-view{transition:none!important}
    .lv-loop-just-added .lv-loop-view .lv-loop-check,
    .lv-loop-just-added .lv-loop-view .lv-loop-view-text{animation:none!important}
}
