/* رونق الحياة - Extended Styles */

/* السلايدر الأوسط */
.sld--middle {
    margin: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
}

/* السلايدر السفلي */
.sld--bottom {
    margin: 40px 0 20px;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 16px;
}

/* شارة العروض */
.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* تحسين عرض اللوجو */
.hdr__logo img {
    max-height: 60px;
    object-fit: contain;
}

/* تحسين السلايدرات على الموبايل */
@media (max-width: 768px) {
    .sld--middle,
    .sld--bottom {
        margin: 20px 0;
        border-radius: 12px;
    }
    
    .offer-badge {
        font-size: 10px;
        padding: 4px 8px;
        top: 8px;
        right: 8px;
    }
}

/* تحسينات للصور في السلايدرات */
.sld__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.sld__cont {
    position: relative;
    z-index: 1;
}

/* تأثيرات hover للسلايدرات */
.sld__item:hover .sld__inner {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* شارة "جديد" للمنتجات الحديثة */
.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 800;
    z-index: 10;
}

/* تحسين عرض تواريخ العروض في صفحة المنتج */
.offer-timer {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    padding: 12px;
    margin: 16px 0;
    text-align: center;
}

.offer-timer__title {
    font-size: 14px;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 8px;
}

.offer-timer__date {
    font-size: 12px;
    color: #666;
}

.offer-timer__countdown {
    font-size: 24px;
    font-weight: 900;
    color: #ff6b6b;
    margin: 8px 0;
}

/* تحسينات responsive */
@media (max-width: 480px) {
    .offer-timer {
        padding: 10px;
    }
    
    .offer-timer__countdown {
        font-size: 20px;
    }
}
