* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --primary-color: #fbc500;
    --secondary-color: #f39c12;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #e0e0e0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --facebook-color: #1877f2;
    --instagram-color: #e4405f;
    --tiktok-color: #000000;
    --offer-gradient: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); */
    --primary-color: #fbc500;
    --secondary-color: #f39c12;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-color: #ecf0f1;
    --text-secondary: #95a5a6;
    --border-color: #404040;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.4);
    --tiktok-color: #ffffff;
    --offer-gradient: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
}

[data-theme="dark"] {
    --primary-color: #fbc500;
    --secondary-color: #f39c12;
    --bg-color: #1a1a1a;
    --card-bg: #2d2d2d;
    --text-color: #ecf0f1;
    --text-secondary: #95a5a6;
    --border-color: #404040;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.4);
    --tiktok-color: #ffffff;
    --offer-gradient: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* ===== تحسينات الأنيميشن للأزرار ===== */


/* أنيميشن لأزرار التبويب (Category Tabs) */

.tab-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}


/* تأثير الموجة عند النقر */

.tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

#tab-disabled {
    opacity: 0.3;
    pointer-events: none;
    /* لمنع الضغط فقط */
}

.tab-btn:active::before {
    width: 300px;
    height: 300px;
}


/* تأثير التحويم للأزرار */

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/* أيقونة متحركة للزر النشط */

.tab-btn.active::after {
    content: '▼';
    position: absolute;
    bottom: -1px;
    left: 45%;
    /* transform: translateX(-50%); */
    animation: bounce 1s ease infinite;
    font-size: 12px;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}


/* أنيميشن لزر إضافة للسلة */

.add-to-cart-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-to-cart-btn::before {
    content: '🛒';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 18px;
}

.add-to-cart-btn:hover::before {
    left: 10px;
    opacity: 1;
}

.add-to-cart-btn:hover {
    padding-left: 40px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}


/* أنيميشن لزر السلة في الهيدر */

.cart-btn {
    position: relative;
    transition: transform 0.3s ease;
}

.cart-btn:hover {
    transform: scale(1.1) rotate(5deg);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%,
    100% {
        transform: scale(1.1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}


/* أنيميشن لعداد السلة */

.cart-count {
    transition: all 0.3s ease;
}

.cart-btn:hover .cart-count {
    transform: scale(1.2);
    animation: pulse 0.6s ease;
}

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


/* أنيميشن لأزرار الثيم واللغة */

.theme-toggle,
.lang-toggle,
.feedback-btn {
    transition: all 0.3s ease;
}

.theme-toggle:hover,
.lang-toggle:hover,
.feedback-btn:hover {
    transform: rotate(180deg) scale(1.1);
}


/* أنيميشن لأزرار الكمية */

.quantity-btn {
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quantity-btn:active {
    transform: scale(0.95);
}


/* أنيميشن لزر الحذف */

.remove-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.remove-btn::before {
    content: '🗑️';
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.remove-btn:hover::before {
    left: 8px;
    opacity: 1;
}

.remove-btn:hover {
    padding-left: 35px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}


/* أنيميشن لزر الدفع */

.checkout-btn,
.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.checkout-btn::after,
.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.checkout-btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.checkout-btn:active::after,
.submit-btn:active::after {
    width: 400px;
    height: 400px;
}


/* أنيميشن للبطاقات */

.menu-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}


/* أنيميشن لأزرار الراديو (اختيار الحجم) */

.size-radio-label {
    transition: all 0.3s ease;
    cursor: pointer;
}

.size-radio-label:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.size-radio-label input:checked+span {
    animation: selectPulse 0.4s ease;
}

@keyframes selectPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


/* أنيميشن لأزرار السلايدر */

.slider-btn {
    transition: all 0.3s ease;
}

.slider-btn:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.95);
}

.slider-btn:active {
    transform: scale(1.1);
}


/* أنيميشن للنقاط */

.dot {
    transition: all 0.3s ease;
}

.dot:hover {
    transform: scale(1.3);
}

.dot.active {
    animation: dotPulse 1.5s ease infinite;
}

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


/* أنيميشن لأزرار الإغلاق */

.close-cart,
.close-modal {
    transition: all 0.3s ease;
}

.close-cart:hover,
.close-modal:hover {
    transform: rotate(90deg) scale(1.2);
    color: #f5576c;
}


/* أنيميشن لزر التمرير للأعلى */

.scroll-to-top {
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}


/* تأثير التحميل للأزرار المعطلة */

.checkout-btn:disabled,
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    animation: none;
}


/* أنيميشن لخيارات الفرع */

.branch-option {
    transition: all 0.3s ease;
}

.branch-option:hover {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 8px;
}


/* تأثير النبض للعناصر النشطة */

@keyframes activePulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.tab-btn.active {
    animation: activePulse 2s ease infinite;
}


/* أنيميشن للبحث */

.search-input:focus {
    animation: searchFocus 0.3s ease;
}

@keyframes searchFocus {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}


/* تحسين الانتقالات العامة */

* {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    user-select: none;
}

button:focus {
    outline: 2px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}


/* أنيميشن للعناصر عند الظهور */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    animation: fadeInUp 0.5s ease;
}


/* تأخير متدرج للعناصر */

.menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.menu-item:nth-child(5) {
    animation-delay: 0.5s;
}

.menu-item:nth-child(6) {
    animation-delay: 0.6s;
}


/* Smooth language transition */

.container,
.main-content,
.menu-section,
.menu-item,
.cart-sidebar,
.modal-content {
    transition: direction 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Header - Always LTR */

.header {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(231, 76, 60, 0.03) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    direction: ltr !important;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    gap: 8px;
    direction: ltr !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.logo-container img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo h5 {
    font-size: 1.15rem;
    color: var(--primary-color);
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: cursive;
}

.nav {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gotop {
    position: fixed;
    right: 2%;
    bottom: 5%;
    z-index: 2;
    width: 50px;
    height: 50px;
    cursor: pointer;
    object-fit: cover;
}


/* Scroll to Top Button */

.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    z-index: 98;
    transition: all 0.3s ease;
}

[lang="ar"] .scroll-to-top {
    right: auto;
    left: 20px;
}

.scroll-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Social Media Links - Improved Design */

.social-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 50px;
    align-items: center;
    position: fixed;
    bottom: 0px;
    left: 13%;
    width: 74%;
    padding: 10px;
    direction: ltr;
    background: linear-gradient(91deg, #fbc50085, #fbc50085);
    backdrop-filter: blur(10px);
    border-top: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99;
    bottom: 10px;
    border-radius: 50px;
    margin-bottom: 0;
}

.social-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}


/* ===== SCROLL TO TOP BUTTON ===== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 150;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}


/* RTL Support for scroll button */

html[dir="rtl"] .scroll-to-top {
    left: auto;
    right: 30px;
}


/* Dark mode support */

html[data-theme="dark"] .scroll-to-top {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

html[data-theme="dark"] .scroll-to-top:hover {
    background: linear-gradient(135deg, #ee5a6f, #ff6b6b);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}


/* Mobile responsive */

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        left: 20px;
    }
    html[dir="rtl"] .scroll-to-top {
        left: auto;
        right: 20px;
    }
}


/* Ensure scroll button doesn't overlap with social links */

@media (max-width: 768px) {
    .social-links {
        margin-bottom: 80px;
    }
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c5dbf 100%);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

[data-theme="dark"] .social-btn.tiktok {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
}

.social-btn.facebook:hover {
    background: linear-gradient(135deg, #0c5dbf 0%, #084a99 100%);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #d87e2c 0%, #c55531 25%, #b81f36 50%, #a81c55 75%, #9a1370 100%);
}

.social-btn.tiktok:hover {
    background: linear-gradient(135deg, #ff0050 0%, #cc0040 100%);
}

[data-theme="dark"] .social-btn.tiktok:hover {
    background: linear-gradient(135deg, #e6e6e6 0%, #b3b3b3 100%);
}

.social_p {
    font-family: 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.feedback-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.feedback-btn:hover {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle,
.lang-toggle {
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.theme-toggle:hover,
.lang-toggle:hover {
    transform: scale(1.1) translateY(-1px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .theme-toggle .sun {
    display: none;
}

[data-theme="light"] .theme-toggle .moon,
.theme-toggle .moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon {
    display: inline;
}

.cart-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cart-btn:hover {
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Hero Slider - Improved */

.hero-slider {
    position: relative;
    height: 45vh;
    min-height: 350px;
    overflow: hidden;
    margin-bottom: 10px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 30px 20px;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-content .price {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}


/* Improved Dots Navigation */

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
    border-color: rgba(231, 76, 60, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* Search Bar */

.search-container {
    padding: 0px 0;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.95rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

[lang="ar"] .search-icon {
    right: auto;
    left: 18px;
}


/* Search Suggestions */

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    box-shadow: var(--shadow);
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 10px 18px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: var(--bg-color);
}

.suggestion-item .highlight {
    color: var(--primary-color);
    font-weight: bold;
}


/* Main Content */

.main-content {
    padding: 40px 0 100px 0;
}


/* Category Tabs with Navigation */

.category-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0 5px;
}

.tab-nav-btn {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    min-width: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
    z-index: 2;
    flex-shrink: 0;
}

.tab-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.tab-nav-btn:active {
    transform: scale(0.95);
}

.tab-nav-btn i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.tab-nav-next i {
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.category-tabs {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px;
    border-radius: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}


/* Special styling for Offers tab */

.tab-btn.offer-tab {
    background: var(--offer-gradient);
    color: white;
    border: 2px solid transparent;
    animation: pulse 2s infinite;
    font-weight: 700;
}

.tab-btn.offer-tab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.tab-btn.offer-tab.active {
    animation: none;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    }
}


/* Menu Section */

.menu-section {
    display: none;
}

.menu-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.popular-section .menu-grid {
    display: -webkit-box;
    overflow-x: auto;
}

.popular-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
}


/* Special grid for offers */

.offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


/* Menu Item Card */

.menu-item {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: grid;
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}


/* Offer Item Special Styling */

.offer-item {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 142, 83, 0.1) 100%);
    border: 2px solid rgba(255, 107, 107, 0.3);
    padding: 12px;
}

.offer-item:hover {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.offer-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--offer-gradient);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    z-index: 2;
    animation: wiggle 3s infinite;
}

[lang="ar"] .offer-badge {
    right: auto;
    left: -6px;
}

@keyframes wiggle {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.offer-image {
    font-size: 2.8rem !important;
    height: 100px !important;
}

.item-image {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 6px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.menu-item h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-color);
    line-height: 1.2;
}

.offer-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.menu-item p {
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-size: 0.75rem;
    line-height: 1.2;
}

.size-selector-compact {
    display: flex;
    gap: 3px;
    margin-bottom: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 5px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    font-size: 0.7rem;
}

.size-radio-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(231, 76, 60, 0.1);
}

.size-radio-label input[type="radio"] {
    display: none;
}

.size-radio-label input[type="radio"]:checked+span {
    font-weight: bold;
}

.size-radio-label input[type="radio"]:checked~span,
.size-radio-label:has(input[type="radio"]:checked) {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.size-radio-label span {
    font-size: 0.7rem;
    font-weight: 600;
}

.item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 0.8rem;
}

.price-lbp {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.price-usd {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.add-to-cart-btn:hover {
    background-color: #c0392b;
    transform: scale(1.02);
}

.offer-item .add-to-cart-btn {
    background: var(--offer-gradient);
    font-weight: 700;
}

.offer-item .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff4757 0%, #ff6348 100%);
}


/* Cart Sidebar */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--card-bg);
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 200;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

[lang="ar"] .cart-sidebar {
    right: auto;
    left: -100%;
    transition: left 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
    overflow-y: auto;
}

[lang="ar"] .cart-sidebar.open {
    right: auto;
    left: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 2px solid var(--border-color);
}

.cart-header h2 {
    font-size: 1.4rem;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.close-cart:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 20px;
}

.cart-item {
    background-color: var(--bg-color);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.cart-item-image {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.cart-item-content {
    flex: 1;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.cart-item-info h4 {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cart-item-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #c0392b;
}

.quantity {
    font-weight: bold;
    min-width: 22px;
    text-align: center;
}

.remove-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    border-top: 2px solid var(--border-color);
    padding: 15px;
    overflow-y: auto;
}

.cart-total {
    margin-bottom: 12px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.total-row:last-child {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.branch-selector {
    margin-bottom: 12px;
}

.branch-selector label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.branch-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.branch-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.branch-option:hover {
    border-color: var(--primary-color);
}

.branch-option input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.branch-option label {
    cursor: pointer;
    flex: 1;
    margin: 0;
}

.checkout-btn {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background-color: #e67e22;
    transform: scale(1.02);
}

.checkout-btn:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 2px solid var(--border-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-color);
}

.close-modal:hover {
    color: var(--primary-color);
}


/* Checkout Form */

.checkout-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.submit-btn {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #128C7E;
    transform: scale(1.02);
}


/* Cart Animation */

.cart-animation {
    position: fixed;
    background-color: var(--secondary-color);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    pointer-events: none;
    opacity: 0;
    z-index: 400;
}


/* Popular Items Section Styles */

.popular-section {
    background: linear-gradient(135deg, #fbc500 0%, #ee5a6f 140%);
    padding: 8px 0;
    margin: 8px 15px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.popular-section-header {
    text-align: center;
    margin-bottom: 10px;
    color: white;
}

.popular-section-header h4 {
    font-size: 20px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.popular-section-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
    z-index: 10;
    animation: pulse-badge 2s infinite;
    display: none;
}

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

.popular-item {
    position: relative;
    border: 3px solid #ff0000;
    box-shadow: 0 5px 13px rgb(0 0 0 / 59%);
    transform: translateY(0);
    transition: all 0.3s ease;
    width: 23%;
}

.popular-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5);
}

.cart-animation.show {
    animation: cartPop 0.6s ease;
}

@keyframes cartPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}


/* Loading Overlay */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    background-color: #000000;
}

.loading-overlay.show {
    display: none;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Responsive Design for Tablets */

@media (max-width: 768px) {
    .hero-slider {
        height: 35vh;
        min-height: 280px;
    }
    .slide-content h2 {
        font-size: 1.8rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .social-links {
        gap: 30px;
        padding: 12px 15px;
    }
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .social_p {
        font-size: 10px;
    }
    .slider-dots {
        bottom: 15px;
        gap: 8px;
        padding: 6px 12px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .dot.active {
        width: 28px;
    }
}


/* Responsive Design for Mobile Phones */

@media (max-width: 480px) {
    .main-content {
        padding: 10px 0 100px 0;
    }
    .hero-slider {
        height: 30vh;
        min-height: 250px;
    }
    .slide-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    .popular-item {
        position: relative;
        border: 3px solid #ff0000;
        box-shadow: 0 5px 13px rgb(0 0 0 / 59%);
        transform: translateY(0);
        transition: all 0.3s ease;
        width: 75%;
    }
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    .slide-content .price {
        font-size: 0.95rem;
        padding: 6px 18px;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .social-links {
        gap: 50px;
        padding: 10px;
        bottom: 10px;
        border-radius: 50px;
        backdrop-filter: blur(10px);
        margin-bottom: 0;
    }
    .social-item {
        gap: 3px;
    }
    .social-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .social_p {
        font-size: 9px;
    }
    .slider-dots {
        bottom: 12px;
        gap: 6px;
        padding: 5px 10px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
    .dot.active {
        width: 24px;
    }
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .popular-section .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        border-radius: 13px;
    }
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-nav-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.9rem;
    }
    .category-tabs-wrapper {
        gap: 6px;
    }
    .tab-btn {
        padding: 4px 16px;
        font-size: 0.85rem;
        height: 45px;
    }
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        bottom: 85px;
        right: 15px;
    }
    [lang="ar"] .scroll-to-top {
        right: auto;
        left: 15px;
    }
}


/* Very Small Screens */

@media (max-width: 360px) {
    .social-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .social_p {
        font-size: 8px;
    }
    .menu-item h3 {
        font-size: 0.85rem;
    }
    .menu-item p {
        font-size: 0.7rem;
    }
    .item-price {
        font-size: 0.75rem;
    }
}


/* Scrollbar Styling */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}


/* Firefox Scrollbar */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
}


/* ===== زينة رمضان المباركة ===== */


/* خلفية متحركة مع نجوم */

.ramadan-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ramadan-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 20% 30%, rgba(255, 215, 0, 0.8), transparent), radial-gradient(1px 1px at 60% 70%, rgba(255, 215, 0, 0.8), transparent), radial-gradient(1px 1px at 50% 50%, rgba(255, 215, 0, 0.6), transparent), radial-gradient(1px 1px at 80% 10%, rgba(255, 215, 0, 0.8), transparent), radial-gradient(1px 1px at 90% 60%, rgba(255, 215, 0, 0.7), transparent), radial-gradient(1px 1px at 33% 80%, rgba(255, 215, 0, 0.6), transparent);
    background-size: 200% 200%;
    animation: ramadanTwinkle 3s ease-in-out infinite;
}

@keyframes ramadanTwinkle {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}


/* هلال رمضان المتوهج */

.ramadan-moon {
    position: fixed;
    top: 5%;
    right: 5%;
    width: 60px;
    height: 60px;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    animation: ramadanMoonGlow 4s ease-in-out infinite;
}

[lang="ar"] .ramadan-moon {
    right: auto;
    left: 5%;
}

@keyframes ramadanMoonGlow {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1));
    }
}


/* فوانيس رمضان الطائرة */

.ramadan-lanterns {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.ramadan-lantern {
    position: absolute;
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    animation: ramadanFloat 6s ease-in-out infinite;
}

.ramadan-lantern:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.ramadan-lantern:nth-child(2) {
    top: 25%;
    right: 12%;
    animation-delay: 1.5s;
}

.ramadan-lantern:nth-child(3) {
    top: 45%;
    left: 3%;
    animation-delay: 3s;
}

.ramadan-lantern:nth-child(4) {
    top: 65%;
    right: 8%;
    animation-delay: 4.5s;
}

@keyframes ramadanFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-3deg);
    }
}


/* شريط رمضان العلوي */

.ramadan-banner {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 50%, rgba(255, 215, 0, 0.15) 100%);
    backdrop-filter: blur(5px);
    padding: 8px 0;
    text-align: center;
    z-index: 98;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    animation: ramadanBannerPulse 3s ease-in-out infinite;
}

@keyframes ramadanBannerPulse {
    0%,
    100% {
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 50%, rgba(255, 215, 0, 0.15) 100%);
    }
    50% {
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 165, 0, 0.25) 50%, rgba(255, 215, 0, 0.25) 100%);
    }
}

.ramadan-banner-text {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ramadanGradientShift 3s ease infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes ramadanGradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* زينة الزوايا */

.ramadan-corner-decoration {
    position: fixed;
    font-size: 2.5rem;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.ramadan-corner-top-left {
    top: 80px;
    left: 10px;
    animation: ramadanRotate 8s linear infinite;
}

.ramadan-corner-top-right {
    top: 80px;
    right: 10px;
    animation: ramadanRotate 8s linear infinite reverse;
}

[lang="ar"] .ramadan-corner-top-left {
    left: auto;
    right: 10px;
}

[lang="ar"] .ramadan-corner-top-right {
    right: auto;
    left: 10px;
}

@keyframes ramadanRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* تأثير توهج على البطاقات */

.menu-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 215, 0, 0.1) 25%, transparent 50%, rgba(255, 215, 0, 0.1) 75%, transparent 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: ramadanShine 3s linear infinite;
}

.menu-item:hover::before {
    opacity: 1;
}

@keyframes ramadanShine {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}


/* كونفيتي رمضاني */

.ramadan-confetti {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 3;
}

.ramadan-confetti::before {
    content: '⭐';
    position: absolute;
    font-size: 12px;
    animation: ramadanFall 8s linear infinite;
}

.ramadan-confetti:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.ramadan-confetti:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
}

.ramadan-confetti:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
}

.ramadan-confetti:nth-child(4) {
    left: 55%;
    animation-delay: 1s;
}

.ramadan-confetti:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
}

.ramadan-confetti:nth-child(6) {
    left: 85%;
    animation-delay: 5s;
}

@keyframes ramadanFall {
    0% {
        top: -10px;
        opacity: 1;
        transform: rotate(0deg);
    }
    100% {
        top: 100vh;
        opacity: 0;
        transform: rotate(360deg);
    }
}


/* تأثير رمضاني على الأزرار */

.add-to-cart-btn::after,
.checkout-btn::after,
.submit-btn::after {
    content: '✨';
    position: absolute;
    right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

[lang="ar"] .add-to-cart-btn::after,
[lang="ar"] .checkout-btn::after,
[lang="ar"] .submit-btn::after {
    right: auto;
    left: 10px;
}

.add-to-cart-btn:hover::after,
.checkout-btn:hover::after,
.submit-btn:hover::after {
    opacity: 1;
    right: 5px;
}

[lang="ar"] .add-to-cart-btn:hover::after,
[lang="ar"] .checkout-btn:hover::after,
[lang="ar"] .submit-btn:hover::after {
    right: auto;
    left: 5px;
}


/* إضاءة رمضانية للهيدر */

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.6) 25%, rgba(255, 165, 0, 0.8) 50%, rgba(255, 215, 0, 0.6) 75%, transparent 100%);
    animation: ramadanHeaderGlow 3s linear infinite;
}

@keyframes ramadanHeaderGlow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.bulb {
    position: absolute;
    top: 30px;
    width: 10px;
    height: 10px;
    background: gold;
    border-radius: 50%;
    box-shadow: 0 0 15px gold;
    animation: blink 1s infinite alternate;
}


/* تأثير رمضاني على السلايدر */

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(255, 215, 0, 0.05) 50%, transparent 100%);
    pointer-events: none;
    animation: ramadanSliderGlow 4s ease-in-out infinite;
}

@keyframes ramadanSliderGlow {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}


/* نجوم صغيرة متحركة */

.ramadan-mini-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ramadan-mini-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    animation: ramadanMiniStarTwinkle 2s ease-in-out infinite;
}

.ramadan-mini-star:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.ramadan-mini-star:nth-child(2) {
    top: 40%;
    left: 30%;
    animation-delay: 0.5s;
}

.ramadan-mini-star:nth-child(3) {
    top: 60%;
    left: 45%;
    animation-delay: 1s;
}

.ramadan-mini-star:nth-child(4) {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.ramadan-mini-star:nth-child(5) {
    top: 70%;
    right: 35%;
    animation-delay: 2s;
}

.ramadan-mini-star:nth-child(6) {
    top: 50%;
    right: 50%;
    animation-delay: 2.5s;
}

@keyframes ramadanMiniStarTwinkle {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}


/* تأثير رمضاني على روابط السوشيال ميديا */


/* .social-links::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2), rgba(255, 215, 0, 0.2));
} */


/* Responsive adjustments */

@media (max-width: 768px) {
    .ramadan-moon {
        width: 40px;
        height: 40px;
        top: 3%;
        right: 3%;
    }
    [lang="ar"] .ramadan-moon {
        right: auto;
        left: 3%;
    }
    .ramadan-lantern {
        font-size: 1.5rem;
    }
    .ramadan-banner-text {
        font-size: 0.85rem;
    }
    .ramadan-corner-decoration {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .ramadan-moon {
        width: 35px;
        height: 35px;
    }
    .ramadan-lantern {
        font-size: 1.2rem;
    }
    .ramadan-banner-text {
        font-size: 0.75rem;
    }
    .ramadan-corner-decoration {
        font-size: 1.5rem;
    }
}