@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

@media (min-width: 1280px) {
    .container {
         max-width: 100%; 
    }
}

@media (max-width: 640px) {
    .s-block {
        margin-bottom: 3rem; 
    }
}

@media (min-width: 641px) {
    .s-block {
        margin-bottom: 3rem; 
    }
}


.s-block {
     margin-top: .5rem; 
}

.custom-banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    padding: 0 10px;
}

.banner-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: clamp(25px, 5vw, 48px);
    line-height: 1.4;
    margin-bottom: 15px;
    white-space: nowrap;
}

.banner-text {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 20px);
    line-height: 1.4;
    margin-bottom: 10px;
    white-space: white;
}

.custom-banner-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 40px;
    background: #184241;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.1s ease;
}

.custom-banner-btn:hover {
    background: #226a5d;
}

#app > div.app-inner.flex.flex-col.min-h-full > section:nth-child(4) > div > a > img {
    height: 700px !important;
    display: block;
    object-fit: cover;
}

/* كوبون الخصم - مدمج مع التصميم الموجود */
.discount-coupon {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(100deg, #226a5d, #184241);
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.discount-coupon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.discount-coupon::before {
    content: '🎯';
    font-size: 18px;
    animation: bounce 2s infinite;
}

.coupon-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.coupon-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 2px;
}

.coupon-code {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* تأثير النبض للكوبون */
.discount-coupon.pulse {
    animation: pulse 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* رسالة النسخ */
.copied-message {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.copied-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* تصميم متجاوب للكوبون */
@media (max-width: 640px) {
    .discount-coupon {
        bottom: 15px;
        left: 15px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .discount-coupon::before {
        font-size: 16px;
    }
    
    .coupon-code {
        font-size: 12px;
        padding: 3px 8px;
    }
}










/* إظهار مربع إدخال الكوبون بالقوة */
.coupon, 
#coupon, 
input[name="coupon"], 
.apply-coupon, 
.has-coupon {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 10px 0 !important;
}