#saveMessage, #copyMessage {
    transition: opacity 0.3s ease;
    z-index: 9999;
    direction: rtl;
    text-align: center;
    min-width: 250px;
}

.share-btn, .save-btn {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.share-btn:hover svg, .save-btn:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* حذف استایل پیش‌فرض دکمه */
button {
    background: none;
    border: none;
    cursor: pointer;
}


#saveMessage, #copyMessage {
    transition: opacity 0.3s ease;
    z-index: 9999;
    direction: rtl;
    text-align: center;
    min-width: 250px;
}

.share-btn, .save-btn {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.share-btn:hover svg, .save-btn:hover svg {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}


/* استایل مدرن برای pagination - تمام قرمز */
.swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* دایره‌های عادی (غیرفعال) - قرمز */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #f87171 !important;  /* قرمز روشن */
    opacity: 0.5;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 !important;
}

/* دایره فعال - قرمز پررنگ‌تر و بزرگتر */
.swiper-pagination-bullet-active {
    background-color: #dc2626 !important;  /* قرمز تند */
    opacity: 1;
    width: 28px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
}

.swiper-pagination-bullet:hover {
    opacity: 0.8;
    transform: scale(1.1);
    background-color: #ef4444 !important;
}



/* دکمه next (بعدی) */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* دکمه next - سمت چپ (برای RTL) */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #dc2626;  /* قرمز */
    transition: all 0.3s ease;
}

/* افکت hover روی دکمه‌ها */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #dc2626;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.3);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: white;
}

/* موقعیت دکمه‌ها */
.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* برای موبایل کوچیک‌تر */
@media (max-width: 640px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

#copyMessage {
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    border: 2px solid #dc2626;
    color: #dc2626;
    font-weight: bold;
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    z-index: 9999;
    font-family: inherit;
    direction: rtl;
}

#copyMessage .border-b-white {
    border-bottom-color: #fff;
}

/* انیمیشن برای پیام */
#copyMessage {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* ======================== استایل فوق‌العاده ویژه ======================== */

/* کانتینر اصلی تایمر محصول */
.timerProduct {
    border-radius: 32px !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

/* استایل اسلایدها - با گرادیانت لوکس */
.timerProduct .swiper-slide {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

/* افکت خط نورانی هنگام هاور */
.timerProduct .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.timerProduct .swiper-slide:hover::before {
    left: 100%;
}

.timerProduct .swiper-slide:hover {
    background: linear-gradient(145deg, #ffffff 0%, #ffe8e8 100%);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(220, 38, 38, 0.25);
}

/* ========== استایل تصویر ========== */
.timerProduct img {
    transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-radius: 20px;
}

.timerProduct .swiper-slide:hover img {
    transform: scale(1.08) rotate(1deg);
}

/* ========== استایل عنوان ========== */
.timerProduct .text-zinc-800.text-lg {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

/* ========== استایل قیمت ========== */
.timerProduct .text-xl.font-semibold {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    display: inline-block;
}

/*افکت داغ شدن قیمت*/
.timerProduct .text-xl.font-semibold::after {
    content: '🔥';
    font-size: 1.2rem;
    margin-right: 5px;
    display: inline-block;
    animation: shake 0.5s ease infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

/* قیمت خط خورده */
.timerProduct .line-through {
    color: #9ca3af !important;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========== ویژگی‌ها - با کارت‌های شیشه‌ای ========== */
.timerProduct .flex.gap-x-1 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 14px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.timerProduct .flex.gap-x-1:hover {
    background: white;
    transform: translateX(8px) scale(1.02);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
}

/* آیکون‌های ویژگی */
.timerProduct svg {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.2));
}

.timerProduct .flex.gap-x-1:hover svg {
    transform: scale(1.15) rotate(5deg);
    fill: #dc2626;
}

/* ========== تایمر فوق‌العاده حرفه‌ای ========== */
.offer-timer-wrapper {
    position: relative;
    margin-top: 20px !important;
}

.product-offer-timer {
    background: linear-gradient(135deg, #dc2626, #ef4444, #b91c1c);
    background-size: 200% 200%;
    animation: gradientMove 1.8s ease infinite, float 2s ease-in-out infinite;
    border-radius: 60px;
    padding: 12px 24px;
    font-weight: 900;
    letter-spacing: 3px;
    box-shadow: 0 15px 30px -8px rgba(220, 38, 38, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.product-offer-timer span {
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 12px;
    border-radius: 50px;
    font-family: 'Courier New', 'Monaco', monospace;
    font-weight: 900;
    min-width: 55px;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.product-offer-timer span:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

/* ========== استایل آفر تمام شد ========== */
.bg-gray-400 {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    border-radius: 60px !important;
    padding: 10px 25px !important;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========== انیمیشن ورود اسلایدها ========== */
@keyframes slideGlow {
    from {
        opacity: 0;
        transform: translateX(30px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.timerProduct .swiper-slide {
    animation: slideGlow 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

/* ========== استایل دکمه‌های ناوبری Swiper ========== */
.timerProduct .swiper-button-prev,
.timerProduct .swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.timerProduct .swiper-button-prev:hover,
.timerProduct .swiper-button-next:hover {
    background: #dc2626 !important;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}

.timerProduct .swiper-button-prev::after,
.timerProduct .swiper-button-next::after {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #dc2626 !important;
    transition: all 0.3s ease !important;
}

.timerProduct .swiper-button-prev:hover::after,
.timerProduct .swiper-button-next:hover::after {
    color: white !important;
}

.timerProduct .swiper-button-prev:active,
.timerProduct .swiper-button-next:active {
    transform: scale(0.95);
}

/* ========== استایل صفحه‌بندی (دات‌ها) ========== */
.timerProduct .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #cbd5e1 !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.timerProduct .swiper-pagination-bullet-active {
    background: #dc2626 !important;
    width: 24px !important;
    border-radius: 20px !important;
    opacity: 1 !important;
}

.timerProduct .swiper-pagination {
    bottom: 15px !important;
}

/* ========== اسکرول بار سفارشی ========== */
.timerProduct::-webkit-scrollbar {
    height: 5px;
}

.timerProduct::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 20px;
}

.timerProduct::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #dc2626, #ef4444);
    border-radius: 20px;
}

.timerProduct::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #b91c1c, #dc2626);
}

/* ========== ریسپانسیو کامل ========== */
@media (max-width: 1024px) {
    .product-offer-timer {
        font-size: 1.3rem;
        padding: 10px 18px;
        gap: 10px;
    }
    
    .product-offer-timer span {
        min-width: 45px;
        padding: 4px 8px;
    }
    
    .timerProduct .text-xl.font-semibold {
        font-size: 1.5rem !important;
    }
    
    .timerProduct .swiper-button-prev,
    .timerProduct .swiper-button-next {
        width: 38px !important;
        height: 38px !important;
    }
    
    .timerProduct .swiper-button-prev::after,
    .timerProduct .swiper-button-next::after {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .timerProduct .swiper-slide {
        flex-direction: column !important;
        text-align: center;
    }
    
    .product-offer-timer {
        font-size: 1.1rem;
        padding: 8px 15px;
        gap: 8px;
    }
    
    .product-offer-timer span {
        min-width: 38px;
        padding: 3px 6px;
    }
    
    .timerProduct .text-xl.font-semibold {
        font-size: 1.3rem !important;
    }
    
    .timerProduct .flex.gap-x-1 {
        justify-content: center;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .timerProduct .flex.gap-x-1:hover {
        transform: translateY(-3px) scale(1.01);
    }
    
    .timerProduct .swiper-button-prev,
    .timerProduct .swiper-button-next {
        width: 32px !important;
        height: 32px !important;
    }
    
    .timerProduct .swiper-button-prev::after,
    .timerProduct .swiper-button-next::after {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .product-offer-timer {
        font-size: 0.9rem;
        padding: 6px 12px;
        gap: 5px;
    }
    
    .product-offer-timer span {
        min-width: 30px;
        padding: 2px 4px;
    }
    
    .timerProduct .swiper-button-prev,
    .timerProduct .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
    }
    
    .timerProduct .swiper-button-prev::after,
    .timerProduct .swiper-button-next::after {
        font-size: 12px !important;
    }
}