.elementor-13120 .elementor-element.elementor-element-1e81303{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}#elementor-popup-modal-13120 .dialog-widget-content{animation-duration:1.2s;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-13120 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-13120{justify-content:flex-start;align-items:flex-end;pointer-events:all;}#elementor-popup-modal-13120 .dialog-close-button{display:flex;}@media(max-width:767px){.elementor-13120 .elementor-element.elementor-element-646ffce{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}}/* Start custom CSS for html, class: .elementor-element-646ffce *//* تنظیمات کلی باکس شناور */
.discount-floating-banner {
    position: fixed;
    bottom: 65px;
    right: 25px;
    max-width: 280px;
    background: linear-gradient(135deg, #4a00e0, #8e2de2, #ff0055);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite, floatBanner 4s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.4), 0 0 20px rgba(142, 45, 226, 0.6);
    padding: 20px 15px;
    color: #fff;
    font-family: Tahoma, Arial, sans-serif; /* در صورت داشتن فونت وزیر آن را اینجا جایگزین کنید */
    direction: rtl;
    z-index: 99999;
    border: 2px solid #ffde00;
}

/* دکمه بستن بنر */
.close-banner {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #ff0055;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s;
}

.close-banner:hover {
    background: #ffde00;
    color: #000;
}

/* محتوای داخلی */
.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* آیکون متحرک بالا */
.pulse-icon {
    font-size: 35px;
    margin-bottom: 5px;
    animation: pulseIcon 1.5s infinite;
}

.text-content h4 {
    margin: 0;
    font-size: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* متن تخفیف چشمک‌زن */
.text-content h3.blink-text {
    margin: 8px 0;
    font-size: 22px;
    font-weight: 900;
    color: #ffde00;
    text-shadow: 0 0 10px #ffde00, 0 0 20px #ff0055;
    animation: blinkFast 1s infinite alternate;
}

.text-content p {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* دکمه خرید */
.shop-now-btn {
    display: inline-block;
    background: #ffde00;
    color: #4a00e0;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 222, 0, 0.5);
    animation: pulseBtn 2s infinite;
}

.shop-now-btn:hover {
    transform: scale(1.08) translateY(-2px);
    background: #fff;
    color: #ff0055;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}

/* --------- انیمیشن‌ها --------- */

/* حرکت گرادیان پس‌زمینه */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* شناور بودن کل بنر */
@keyframes floatBanner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* چشمک زدن متن تخفیف */
@keyframes blinkFast {
    0% { opacity: 0.8; transform: scale(1); text-shadow: 0 0 5px #ffde00, 0 0 10px #ff0055; }
    100% { opacity: 1; transform: scale(1.03); text-shadow: 0 0 20px #ffde00, 0 0 30px #fff; }
}

/* تپش آیکون هدیه */
@keyframes pulseIcon {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* موج نوری دکمه خرید */
@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 222, 0, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(255, 222, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 222, 0, 0); }
}

/* --------- ریسپانسیو برای موبایل --------- */
@media (max-width: 480px) {
    .discount-floating-banner {
        max-width: 240px;
        right: 15px;
        bottom: 100px;
        padding: 15px 12px;
    }
    .text-content h3.blink-text {
        font-size: 19px;
    }
    .text-content p {
        font-size: 11px;
    }
    .shop-now-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}/* End custom CSS */