/* WooCustom 1.65: scoped cart-savings defaults. */
.woocommerce ul.products li.product{position: relative}
.woocustom-savings-tr{background: transparent !important;border: none !important}
.woocustom-savings-tr td{padding: 12px 0 4px !important;border: none !important;background: transparent !important}
.woocustom-savings-wrapper{position: relative;margin: 12px 0;border-radius: var(--woocustom-radius-lg, 18px);overflow: hidden;background: linear-gradient(135deg, var(--woocustom-color-primary) 0%, var(--woocustom-color-primary) 40%, var(--woocustom-success, #22c55e) 100%);box-shadow:none;animation: woocustom-slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;direction: rtl}
.woocustom-savings-wrapper::before{content: "";position: absolute;top: 0;left: 0;right: 0;height: 2px;background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.8) 30%,
        var(--woocustom-primary-soft-strong, rgba(var(--woocustom-primary-rgb), .18)) 60%,
        transparent 100%
    );z-index: 2}
.woocustom-savings-wrapper::after{content: "";position: absolute;inset: 0;background-image: radial-gradient(
        circle,
        rgba(255,255,255,0.08) 1px,
        transparent 1px
    );background-size: 20px 20px;z-index: 0;pointer-events: none}
.woocustom-savings-inner{position: relative;z-index: 1;display: flex;align-items: center;gap: 12px;padding: 14px 16px}
.woocustom-savings-badge{position: relative;width: 48px;height: 48px;flex-shrink: 0;display: flex;align-items: center;justify-content: center;background: rgba(255, 255, 255, 0.18);border-radius: 50%;border: 2px solid rgba(255, 255, 255, 0.35);backdrop-filter: blur(4px);animation: woocustom-pulse 2.5s ease-in-out infinite}
.woocustom-savings-badge-glow{position: absolute;inset: -4px;border-radius: 50%;background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);animation: woocustom-glow 2.5s ease-in-out infinite alternate}
.woocustom-savings-icon{display: flex;align-items: center;justify-content: center;color: #fff;position: relative;z-index: 1;filter: drop-shadow(0 1px 3px rgba(0,0,0,0.2))}
.woocustom-savings-icon svg{display: block;stroke: #fff}
.woocustom-savings-content{flex: 1;display: flex;flex-direction: column;gap: 2px;min-width: 0}
.woocustom-savings-title{display: block;font-size: 0.95rem;font-weight: 700;color: #fff;line-height: 1.3;text-shadow: 0 1px 3px rgba(0,0,0,0.2);white-space: nowrap}
.woocustom-savings-subtitle{display: block;font-size: 0.72rem;color: rgba(255, 255, 255, 0.8);line-height: 1.3;white-space: nowrap;overflow: hidden;text-overflow: ellipsis}
.woocustom-savings-amount-wrapper{flex-shrink: 0}
.woocustom-savings-amount{display: inline-flex;align-items: center;justify-content: center;background: rgba(255, 255, 255, 0.95);color: var(--woocustom-color-primary);font-weight: 700;font-size: 1rem;padding: 6px 14px;border-radius: 50px;box-shadow:none;white-space: nowrap;transition: transform 0.2s ease, box-shadow 0.2s ease;animation: woocustom-bounceAmount 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both}
.woocustom-savings-amount:hover{transform: scale(1.05);box-shadow:none}
.woocustom-savings-amount .woocommerce-Price-amount{color: var(--woocustom-color-primary) !important;font-weight: 700 !important}
.woocustom-savings-amount .woocommerce-Price-currencySymbol{color: var(--woocustom-color-primary) !important;font-size: 0.8em;margin-right: 2px}
.woocustom-savings-confetti{position: absolute;inset: 0;pointer-events: none;overflow: hidden;z-index: 0}
.woocustom-savings-confetti span{position: absolute;display: block;width: 6px;height: 6px;border-radius: 50%;opacity: 0.25;animation: woocustom-float 4s ease-in-out infinite}
.woocustom-savings-confetti span:nth-child(1){background: var(--woocustom-surface, #fff);top: 20%;left: 10%;animation-delay: 0s;animation-duration: 3.5s}
.woocustom-savings-confetti span:nth-child(2){background: var(--woocustom-primary-soft-strong, rgba(var(--woocustom-primary-rgb), .18));top: 60%;left: 25%;animation-delay: 0.5s;animation-duration: 4s;width: 4px;height: 4px}
.woocustom-savings-confetti span:nth-child(3){background: var(--woocustom-surface, #fff);top: 30%;left: 50%;animation-delay: 1s;animation-duration: 4.5s;width: 8px;height: 8px}
.woocustom-savings-confetti span:nth-child(4){background: var(--woocustom-primary-soft-strong, rgba(var(--woocustom-primary-rgb), .18));top: 70%;left: 65%;animation-delay: 1.5s;animation-duration: 3s;width: 5px;height: 5px}
.woocustom-savings-confetti span:nth-child(5){background: var(--woocustom-surface, #fff);top: 15%;left: 80%;animation-delay: 0.8s;animation-duration: 5s;width: 4px;height: 4px}
.woocustom-savings-confetti span:nth-child(6){background: var(--woocustom-primary-soft-strong, rgba(var(--woocustom-primary-rgb), .18));top: 55%;left: 90%;animation-delay: 2s;animation-duration: 3.8s;width: 7px;height: 7px}
.woocustom-savings-standalone{margin: 16px 0;width: 100%}
@keyframes woocustom-slideDown{
from{opacity: 0;transform: translateY(-12px) scale(0.97)}
to{opacity: 1;transform: translateY(0) scale(1)}
}
@keyframes woocustom-bounceAmount{
from{opacity: 0;transform: scale(0.7)}
to{opacity: 1;transform: scale(1)}
}
@keyframes woocustom-pulse{
0%, 100%{box-shadow:none}
50%{box-shadow:none}
}
@keyframes woocustom-glow{
from{opacity: 0.5;transform: scale(0.9)}
to{opacity: 1;transform: scale(1.1)}
}
@keyframes woocustom-float{
0%, 100%{transform: translateY(0) rotate(0deg);opacity: 0.2}
33%{transform: translateY(-8px) rotate(120deg);opacity: 0.35}
66%{transform: translateY(4px) rotate(240deg);opacity: 0.15}
}
@media (max-width: 480px){
.woocustom-savings-inner{padding: 12px;gap: 8px}
.woocustom-savings-badge{width: 38px;height: 38px}
.woocustom-savings-badge svg{width: 18px;height: 18px}
.woocustom-savings-title{font-size: 0.82rem}
.woocustom-savings-subtitle{display: none}
.woocustom-savings-amount{font-size: 0.88rem;padding: 5px 10px}
}
[dir="ltr"] .woocustom-savings-wrapper,
.ltr .woocustom-savings-wrapper{direction: ltr}
.e-loop-nothing-found-message__text{display: flex;flex-direction: column;justify-content: center;align-items: center;gap: 10px}
.woocustom-hidden{display: none}
button[class*="woocustom"],
a[class*="woocustom"]{transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease}
.woocustom-savings-wrapper,
.woocustom-savings-wrapper.woocustom-savings-cart,
.woocustom-savings-wrapper.woocustom-savings-checkout,
.woocustom-savings-wrapper.woocustom-savings-standalone,
.woocustom-savings-wrapper.woocustom-savings-order{position: relative;margin: 10px 0;padding: 0;border: 1px solid #BBF7D0 !important;border-radius: 14px !important;background: #F0FDF4 !important;background-image: none !important;box-shadow:none !important;color: #166534 !important;overflow: hidden;animation: none !important;direction: rtl}
.woocustom-savings-wrapper::before,
.woocustom-savings-wrapper::after,
.woocustom-savings-confetti,
.woocustom-savings-badge-glow{display: none !important;content: none !important}
.woocustom-savings-inner{position: relative;z-index: 1;display: flex;align-items: center;justify-content: space-between;gap: 10px;min-height: 0 !important;padding: 10px 12px !important}
.woocustom-savings-badge,
.woocustom-savings-icon{display: inline-flex;align-items: center;justify-content: center;flex: 0 0 auto;width: 34px !important;height: 34px !important;min-width: 34px !important;min-height: 34px !important;border: 1px solid #BBF7D0 !important;border-radius: 10px !important;background: #DCFCE7 !important;color: #166534 !important;box-shadow:none !important;backdrop-filter: none !important;filter: none !important;animation: none !important}
.woocustom-savings-icon svg{display: block;width: 17px;height: 17px;stroke: currentColor !important}
.woocustom-savings-content{display: flex;flex: 1 1 auto;flex-direction: column;gap: 1px;min-width: 0}
.woocustom-savings-title{display: block;margin: 0;color: #166534 !important;font-size: 13px;font-weight: 600;line-height: 1.5;text-shadow: none !important;white-space: normal}
.woocustom-savings-subtitle{display: block;margin: 0;color: #15803D !important;font-size: 11.5px;font-weight: 400;line-height: 1.5;white-space: normal;overflow: visible;text-overflow: clip}
.woocustom-savings-amount-wrapper{flex: 0 0 auto}
.woocustom-savings-amount{display: inline-flex;align-items: center;justify-content: center;padding: 5px 10px;border: 1px solid #BBF7D0 !important;border-radius: 999px !important;background: #DCFCE7 !important;color: #166534 !important;box-shadow:none !important;font-size: 13px;font-weight: 700;line-height: 1.4;white-space: nowrap;animation: none !important;transition: none !important}
.woocustom-savings-amount:hover{transform: none !important;box-shadow:none !important}
.woocustom-savings-amount .woocommerce-Price-amount,
.woocustom-savings-amount .woocommerce-Price-currencySymbol{color: #166534 !important;font-weight: 700 !important}
.wcc-btn-icon svg{display: block;width: 1em;height: 1em}
body.modal-open{overflow: hidden}
.woocustom-savings-tr .woocustom-savings-cell{padding: 0 !important;border: none !important;background: transparent !important}
