/* استيراد خط Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

:root {
    --mainColor: #7a2b35;
    --seconderyColor: #ffe8ce;
    --primary-gold: #C89933;
    --dark-green: #21463c;
    --dark-blue: #11284b;
    --dark-brown: #3e2021;
    --maroon: #582838;
}

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

body {
    font-family: 'Source Sans Pro', 'Inter', sans-serif;
    background: var(--seconderyColor);
    color: #333;
    line-height: 1.6;
    direction: ltr;
    text-align: left;
}

/* إعدادات RTL للعربية */
html[dir="rtl"] body {
    font-family: "Cairo", 'Source Sans Pro', 'Inter', sans-serif;
    direction: rtl;
    /* text-align: right; */
    line-height: 1.8;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

/* تحسين العناوين للعربية */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    line-height: 1.6;
    /* text-align: right; */
}

/* تحسين الفقرات */
html[dir="rtl"] p {
    font-family: "Cairo", sans-serif;
    font-weight: 400;
    line-height: 1.9;
    /* text-align: right; */
}

/* إصلاحات الاتجاه */
[dir="ltr"] {
    direction: ltr;
}

[dir="rtl"] {
    direction: rtl;
}

.header-right {
    display: flex;
}

/* إصلاح header-right للـ RTL */
html[dir="rtl"] .header-right {
    flex-direction: row-reverse;
}

/* Header */
.main-header {
    background: var(--seconderyColor);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(200, 153, 51, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}



.logo img {
    max-width: 100px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

/* إصلاح خط تحت الرابط للـ RTL */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mainColor);
    transition: width 0.3s ease;
}

html[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a.active::after {
    width: 100%;
}

.order-btn {
    background: var(--mainColor);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 153, 51, 0.3);
}

.order-btn:hover {
    background: #b8872e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 153, 51, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--mainColor);
    cursor: pointer;
}

/* Main Container */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    gap: 40px;
}

/* إصلاح shop-container للـ RTL */
html[dir="rtl"] .shop-container {
    flex-direction: row-reverse;
}

/* Sidebar */
.sidebar {
    width: 350px;
    min-width: 350px;
    background: #7a2b35;
    border-radius: 20px;
    padding: 30px 25px;
    height: fit-content;
    top: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* إصلاح sidebar للـ RTL */
html[dir="rtl"] .sidebar {
    text-align: right;
}

.sidebar h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.special-offers {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.special-offers h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
}

.special-offers p {
    color: white;
    margin: 0;
    font-size: 16px;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item a {
    color: white;
    text-decoration: none;
    padding: 14px 18px;
    border-radius: 12px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    border: none;
    outline: none;
    display: flex;
}

.category-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-main i {
    transition: transform 0.3s ease;
    font-size: 14px;
    margin-left: 10px;
}

/* إصلاح margin للـ RTL */
html[dir="rtl"] .category-main i {
    margin-left: 0;
    margin-right: 10px;
}

.category-main.active i {
    transform: rotate(180deg);
}

.category-item a:hover,
.category-item a.active {
    background: var(--mainColor);
    transform: translateX(-5px);
}

/* إصلاح transform للـ RTL */
html[dir="rtl"] .category-item a:hover,
html[dir="rtl"] .category-item a.active {
    transform: translateX(5px);
}

/* Sub Categories */
.sub-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 10px;
}

.sub-category-list.active {
    max-height: 350px;
    padding: 12px 0;
}

.sub-category {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    border-radius: 8px !important;
    margin: 4px 12px !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.sub-category:hover,
.sub-category.active {
    background: rgba(200, 153, 51, 0.8) !important;
    color: white !important;
    transform: translateX(-3px) !important;
}

/* إصلاح transform للـ RTL */
html[dir="rtl"] .sub-category:hover,
html[dir="rtl"] .sub-category.active {
    transform: translateX(3px) !important;
}

/* Search Bar */
.search-container {
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

/* إصلاح search للـ RTL */
html[dir="rtl"] .search-container {
    flex-direction: row-reverse;
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 45px;
    background: transparent;
    width: 100%;
}

/* إصلاح text-align للـ RTL */
html[dir="rtl"] .search-input {
    text-align: right;
    font-family: "Cairo", sans-serif;
}

.search-btn {
    background: var(--mainColor);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #b8872e;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.product-card {
    border-radius: 20px;
    /* padding: 30px 25px; */
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.product-image {
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
}

.product-image img {
    width: 133px;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--mainColor);
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-left: 10px;
}

/* إصلاح margin للـ RTL */
html[dir="rtl"] .old-price {
    margin-left: 0;
    margin-right: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-wishlist,
.btn-cart {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-wishlist {
    background: rgba(200, 153, 51, 0.1);
    color: var(--mainColor);
}

.btn-wishlist:hover {
    background: var(--mainColor);
    color: white;
}

.btn-cart {
    background: var(--mainColor);
    color: white;
}

.btn-cart:hover {
    background: #b8872e;
    transform: scale(1.1);
}

/* Badges */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .product-badge {
    right: auto;
    left: 20px;
}

.badge-new {
    background: #e74c3c;
}

.badge-sale {
    background: #f39c12;
}

.badge-featured {
    background: var(--dark-green);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

/* إصلاح mobile menu للـ RTL */
html[dir="rtl"] .mobile-menu {
    left: auto;
    right: -350px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    left: 0;
}

html[dir="rtl"] .mobile-menu.active {
    right: 0;
}

.mobile-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* إصلاح mobile header للـ RTL */
html[dir="rtl"] .mobile-header {
    flex-direction: row-reverse;
}

.mobile-nav {
    padding: 20px 0;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

/* إصلاح mobile nav للـ RTL */
html[dir="rtl"] .mobile-nav a {
    text-align: right;
    font-family: "Cairo", sans-serif;
}

.mobile-nav a:hover {
    background: #f8f9fa;
    color: var(--mainColor);
}

.mobile-contact {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mainColor);
    color: white;
    padding: 20px;
    text-align: center;
}

/* ستايل مبدل اللغة */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 80px;
    justify-content: center;
}

/* أيقونة الكرة الأرضية */
.lang-switcher-btn::before {
    content: "🌐";
    font-size: 18px;
    filter: invert(0) brightness(100);
}

/* سهم للقائمة المنسدلة */
.lang-switcher-btn::after {
    content: "▼";
    font-size: 10px;
    margin-right: -4px;
    transition: transform 0.3s ease;
}

/* إصلاح margin للـ RTL */
html[dir="rtl"] .lang-switcher-btn::after {
    margin-right: 0;
    margin-left: -4px;
}

.lang-switcher-btn:hover {
    background-color: transparent;
    transform: translateY(-2px);
}

.lang-switcher:hover .lang-switcher-btn::after {
    transform: rotate(180deg);
}

/* قائمة خيارات اللغات */
.lang-options {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--seconderyColor);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .lang-options {
    left: auto;
    right: 0;
}

/* إظهار القائمة عند الهوفر */
.lang-switcher:hover .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ستايل روابط اللغات */
.lang-options a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--mainColor);
    font-size: 14px;
    background-color: var(--seconderyColor);
}

/* إصلاح text-align للـ RTL */
html[dir="rtl"] .lang-options a {
    text-align: right;
    font-family: "Cairo", sans-serif;
}

.lang-options a:last-child {
    border-bottom: none;
}

.lang-options a:hover {
    background-color: var(--seconderyColor);
    color: var(--seconderyColor);
    padding-right: 20px;
}

/* إصلاح padding للـ RTL */
html[dir="rtl"] .lang-options a:hover {
    padding-right: 16px;
    padding-left: 20px;
}

/* ستايل اللغة النشطة */
.lang-options a.active {
    color: var(--mainColor);
    font-weight: 600;
}

.lang-options a.active::after {
    content: "✓";
    margin-right: 8px;
    font-weight: bold;
}

/* إصلاح margin للـ RTL */
html[dir="rtl"] .lang-options a.active::after {
    margin-right: 0;
    margin-left: 8px;
}

.lang-options a.active:hover {
    background-color: var(--mainColor);
    color: white;
}

/* إصلاحات إضافية للـ RTL */

/* النصوص والحقول */
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    font-family: "Cairo", sans-serif;
    text-align: right;
    direction: rtl;
}

/* الأزرار */
html[dir="rtl"] button,
html[dir="rtl"] .btn {
    font-family: "Cairo", sans-serif;
}

/* القوائم */
html[dir="rtl"] ul,
html[dir="rtl"] ol {
    padding-right: 2rem;
    padding-left: 0;
}

/* الجداول */
html[dir="rtl"] table {
    font-family: "Cairo", sans-serif;
    direction: rtl;
}

html[dir="rtl"] th,
html[dir="rtl"] td {
    text-align: right;
}

/* الأيقونات */
html[dir="rtl"] .icon-left {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .icon-right {
    margin-right: 8px;
    margin-left: 0;
}

/* إصلاحات الهوامش للـ RTL */
html[dir="rtl"] .mr-1 { margin-right: 0; margin-left: 0.25rem; }
html[dir="rtl"] .mr-2 { margin-right: 0; margin-left: 0.5rem; }
html[dir="rtl"] .mr-3 { margin-right: 0; margin-left: 1rem; }
html[dir="rtl"] .mr-4 { margin-right: 0; margin-left: 1.5rem; }
html[dir="rtl"] .mr-5 { margin-right: 0; margin-left: 3rem; }

html[dir="rtl"] .ml-1 { margin-left: 0; margin-right: 0.25rem; }
html[dir="rtl"] .ml-2 { margin-left: 0; margin-right: 0.5rem; }
html[dir="rtl"] .ml-3 { margin-left: 0; margin-right: 1rem; }
html[dir="rtl"] .ml-4 { margin-left: 0; margin-right: 1.5rem; }
html[dir="rtl"] .ml-5 { margin-left: 0; margin-right: 3rem; }

/* إصلاحات Padding للـ RTL */
html[dir="rtl"] .pr-1 { padding-right: 0; padding-left: 0.25rem; }
html[dir="rtl"] .pr-2 { padding-right: 0; padding-left: 0.5rem; }
html[dir="rtl"] .pr-3 { padding-right: 0; padding-left: 1rem; }
html[dir="rtl"] .pr-4 { padding-right: 0; padding-left: 1.5rem; }
html[dir="rtl"] .pr-5 { padding-right: 0; padding-left: 3rem; }

html[dir="rtl"] .pl-1 { padding-left: 0; padding-right: 0.25rem; }
html[dir="rtl"] .pl-2 { padding-left: 0; padding-right: 0.5rem; }
html[dir="rtl"] .pl-3 { padding-left: 0; padding-right: 1rem; }
html[dir="rtl"] .pl-4 { padding-left: 0; padding-right: 1.5rem; }
html[dir="rtl"] .pl-5 { padding-left: 0; padding-right: 3rem; }

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .lang-options {
        min-width: 150px;
        right: 0;
        left: auto;
    }
    
    html[dir="rtl"] .lang-options {
        right: auto;
        left: 0;
    }
    
    .lang-switcher-btn {
        padding: 10px 12px;
        min-width: 70px;
    }
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--mainColor);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-container {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 40px 20px;
}

/* Logo Animation */
.loading-logo {
    margin-bottom: 40px;
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-logo img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

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

/* Coffee Cup Animation */
.loading-animation {
    margin-bottom: 30px;
}

.coffee-cup {
    position: relative;
    display: inline-block;
}

.cup {
    width: 60px;
    height: 60px;
    background: #C89933;
    border-radius: 0 0 40px 40px;
    position: relative;
    animation: cupBounce 1.5s ease-in-out infinite;
}

.cup-handle {
    position: absolute;
    right: -15px;
    top: 15px;
    width: 20px;
    height: 25px;
    border: 3px solid #C89933;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: transparent;
}

/* إصلاح handle للـ RTL */
html[dir="rtl"] .cup-handle {
    right: auto;
    left: -15px;
    border-left: 3px solid #C89933;
    border-right: none;
    border-radius: 10px 0 0 10px;
}

.saucer {
    width: 80px;
    height: 8px;
    background: #e6b654;
    border-radius: 40px;
    margin: 5px auto 0;
    animation: saucerShake 1.5s ease-in-out infinite;
}

/* Steam Animation */
.steam {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.steam-line {
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    display: inline-block;
    margin: 0 2px;
    animation: steamRise 1s ease-in-out infinite;
}

.steam-line:nth-child(1) {
    animation-delay: 0s;
}

.steam-line:nth-child(2) {
    animation-delay: 0.3s;
}

.steam-line:nth-child(3) {
    animation-delay: 0.6s;
}

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

@keyframes saucerShake {
    0%,
    100% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

@keyframes steamRise {
    0% {
        opacity: 0.8;
        transform: translateY(0px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-15px) scale(0.8);
    }
}

/* Loading Text */
.loading-text {
    margin-bottom: 30px;
}

.loading-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #C89933;
    animation: textGlow 2s ease-in-out infinite alternate;
}

/* إصلاح النص للـ RTL */
html[dir="rtl"] .loading-text h2 {
    font-family: "Cairo", sans-serif;
}

.loading-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

html[dir="rtl"] .loading-text p {
    font-family: "Cairo", sans-serif;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 5px rgba(200, 153, 51, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(200, 153, 51, 0.8), 0 0 30px rgba(200, 153, 51, 0.6);
    }
}

/* Loading Progress Bar */
.loading-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #C89933, #e6b654);
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

/* إصلاح gradient للـ RTL */
html[dir="rtl"] .progress-fill {
    background: linear-gradient(270deg, #C89933, #e6b654);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 1.5s ease-in-out infinite;
}

html[dir="rtl"] .progress-fill::after {
    right: auto;
    left: 0;
    background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes progressShine {
    0% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(20px);
    }
}

.loading-percentage {
    font-size: 14px;
    color: #C89933;
    font-weight: 600;
}

html[dir="rtl"] .loading-percentage {
    font-family: "Cairo", sans-serif;
}

/* Loading Dots */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #C89933;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

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

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%,
    60%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    30% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* Language Switcher - Fixed Bottom Left */
.language-switcher {
    position: fixed;
    top: 90%;
    left: 30px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(200, 153, 51, 0.2);
    width: max-content;
    height: max-content;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .language-switcher {
    left: auto;
    right: 30px;
}

.language-switcher button {
    background: transparent;
    border: none;
    padding: 10px 18px;
    border-radius: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 50px;
}

html[dir="rtl"] .language-switcher button {
    font-family: "Cairo", sans-serif;
}

.language-switcher button.active {
    background: var(--mainColor);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 153, 51, 0.4);
}

.language-switcher button:not(.active) {
    color: #666;
}

.language-switcher button:hover:not(.active) {
    background: rgba(200, 153, 51, 0.1);
    color: var(--mainColor);
    transform: translateY(-2px);
}

/* Header للصفحات الأخرى */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(200, 153, 51, 0.2);
    height: max-content;
    padding: 10px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--mainColor);
    text-decoration: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

html[dir="rtl"] .nav-links a {
    font-family: "Cairo", sans-serif;
}

.order-btn {
    background: var(--mainColor);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 153, 51, 0.3);
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    min-width: 13%;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .order-btn {
    right: auto;
    left: 0;
}

/* Sections */
.section {
    position: relative;
}

/* Section 1: Video */
.video-section {
    height: 100vh;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

html[dir="rtl"] .video-content {
    font-family: "Cairo", sans-serif;
}

.video-year {
    font-size: 120px;
    font-weight: 700;
    color: var(--mainColor);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.video-year img {
    max-width: 60%;
}

.video-subtitle {
    font-size: 28px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Section 2: Coffee */
.coffee-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.coffee-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .coffee-container {
    flex-direction: row-reverse;
}

.coffee-left {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.coffee-cup {
    position: relative;
    z-index: 2;
}

.coffee-cup img {
    width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.coffee-pour {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.coffee-pour img {
    width: 180px;
    height: auto;
}

.coffee-right {
    flex: 1;
    text-align: center;
    padding: 0 50px;
}

html[dir="rtl"] .coffee-right {
    text-align: right;
}

.coffee-title {
    font-size: 72px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

html[dir="rtl"] .coffee-title {
    font-family: "Cairo", sans-serif;
}

.coffee-subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

html[dir="rtl"] .coffee-subtitle {
    font-family: "Cairo", sans-serif;
}

.discover-btn {
    display: inline-block;
    background: transparent;
    color: var(--mainColor);
    border: 3px solid var(--mainColor);
    padding: 18px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
}

html[dir="rtl"] .discover-btn {
    font-family: "Cairo", sans-serif;
}

.discover-btn:hover {
    background: var(--mainColor);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(200, 153, 51, 0.4);
}

/* Section 3: Products */
.products-section {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.products-content {
    text-align: center;
    color: white;
    z-index: 3;
    position: relative;
}

html[dir="rtl"] .products-content {
    font-family: "Cairo", sans-serif;
}

.products-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
}

.products-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.products-btn {
    display: inline-block;
    background: var(--mainColor);
    color: white;
    padding: 18px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(200, 153, 51, 0.3);
}

html[dir="rtl"] .products-btn {
    font-family: "Cairo", sans-serif;
}

.products-btn:hover {
    background: #b8872e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(200, 153, 51, 0.4);
}

.person-img {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    z-index: 1;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .person-img {
    right: auto;
    left: 100px;
}

.person-img img {
    width: 350px;
    height: auto;
    border-radius: 20px;
}

.side-cup {
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    z-index: 2;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .side-cup {
    left: auto;
    right: 100px;
}

.side-cup img {
    width: 250px;
    height: auto;
}

/* Section 4: Showcase */
.showcase-section {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.showcase-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 0 50px;
}

.showcase-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

html[dir="rtl"] .showcase-title {
    font-family: "Cairo", sans-serif;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

html[dir="rtl"] .product-name {
    font-family: "Cairo", sans-serif;
}

.shop-btn {
    background: var(--mainColor);
    color: white;
    padding: 18px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(200, 153, 51, 0.3);
    position: relative;
    z-index: 2;
}

html[dir="rtl"] .shop-btn {
    font-family: "Cairo", sans-serif;
}

.shop-btn:hover {
    background: #b8872e;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(200, 153, 51, 0.4);
}

/* fullPage Navigation */
#fp-nav {
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] #fp-nav {
    right: auto;
    left: 30px;
}

/* Content Translation Classes */
.lang-content {
    display: none;
}

.lang-content.active {
    display: inline;
}

/* Main Content للصفحات الأخرى */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

html[dir="rtl"] .menu-container {
    text-align: right;
}

.page-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

html[dir="rtl"] .page-title {
    font-family: "Cairo", sans-serif;
}

.page-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

html[dir="rtl"] .page-subtitle {
    font-family: "Cairo", sans-serif;
}

/* Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto 50px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 30px;
    border-radius: 45px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

html[dir="rtl"] .tab-btn {
    font-family: "Cairo", sans-serif;
}

.tab-btn.active {
    background: var(--mainColor);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 153, 51, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(200, 153, 51, 0.1);
    color: var(--mainColor);
}

/* Menu Sections */
.menu-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--mainColor);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

html[dir="rtl"] .section-title {
    font-family: "Cairo", sans-serif;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--mainColor);
    border-radius: 2px;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.menu-item {
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.menu-item:hover {
    text-decoration: none;
}

.item-image {
    margin: 0 auto 20px;
    overflow: hidden;
}

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

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

html[dir="rtl"] .item-name {
    font-family: "Cairo", sans-serif;
}

.item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

html[dir="rtl"] .item-description {
    font-family: "Cairo", sans-serif;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--mainColor);
}

/* New Badge */
.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* إصلاح position للـ RTL */
html[dir="rtl"] .new-badge,
html[dir="rtl"] .hot-badge {
    right: auto;
    left: 15px;
}

/* Hot Badge */
.hot-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* About Page Styles */
.hero-section {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--mainColor) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

html[dir="rtl"] .hero-content {
    font-family: "Cairo", sans-serif;
}

.hero-title {
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.8;
}

/* Story Section */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .story-content {
    grid-template-columns: 1fr 1fr;
    text-align: right;
}

.story-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

html[dir="rtl"] .story-text {
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.story-text p {
    margin-bottom: 20px;
}

/* Footer Styles */
.main-footer {
    background: var(--mainColor);
    color: white;
    /* margin-top: 80px; */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} */

/* إصلاح للـ RTL */
html[dir="rtl"] .footer-top {
    text-align: right;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

html[dir="rtl"] .footer-description {
    font-family: "Cairo", sans-serif;
}

.social-links {
    display: flex;
    gap: 15px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #C89933;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 153, 51, 0.3);
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

html[dir="rtl"] .footer-title {
    font-family: "Cairo", sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #C89933;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
}

html[dir="rtl"] .footer-links a {
    font-family: "Cairo", sans-serif;
}

.footer-links a:hover {
    color: #C89933;
    padding-left: 5px;
}

/* إصلاح padding للـ RTL */
html[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

html[dir="rtl"] .contact-item {
    font-family: "Cairo", sans-serif;

}

.contact-item i {
    width: 20px;
    color: #C89933;
    font-size: 16px;
}

.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}



.copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

html[dir="rtl"] .copyright {
    font-family: "Cairo", sans-serif;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .footer-bottom-links {
    flex-direction: row-reverse;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

html[dir="rtl"] .footer-bottom-links a {
    font-family: "Cairo", sans-serif;
}

.footer-bottom-links a:hover {
    color: #C89933;
}

/* Contact Page */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
}

html[dir="rtl"] .contact-container {
    font-family: "Cairo", sans-serif;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

/* Contact Info */
.contact-main .contact-info {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

html[dir="rtl"] .contact-main .contact-info {
    text-align: right;
}

.contact-main .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .contact-main .contact-item {
    /* flex-direction: row-reverse; */
    text-align: right;
}

.contact-main .contact-item:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(200, 153, 51, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), #e6b654);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-main .contact-item:hover .contact-icon {
    background: white;
    color: var(--primary-gold);
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    transition: color 0.3s ease;
}

html[dir="rtl"] .contact-details h3 {
    font-family: "Cairo", sans-serif;
}

.contact-main .contact-item:hover .contact-details h3 {
    color: white;
}

.contact-details p {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

html[dir="rtl"] .contact-details p {
    font-family: "Cairo", sans-serif;
}

.contact-main .contact-item:hover .contact-details p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .contact-form {
    text-align: right;
}

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

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

html[dir="rtl"] .form-label {
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

html[dir="rtl"] .form-input,
html[dir="rtl"] .form-textarea,
html[dir="rtl"] .form-select {
    font-family: "Cairo", sans-serif;
    text-align: right;
    direction: rtl;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(200, 153, 51, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-gold), #e6b654);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

html[dir="rtl"] .submit-btn {
    font-family: "Cairo", sans-serif;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #b8872e, var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 153, 51, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Office Hours */
.office-hours {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-blue));
    color: white;
    padding: 50px 40px;
    border-radius: 30px;
    margin-bottom: 60px;
    text-align: center;
}

html[dir="rtl"] .office-hours {
    font-family: "Cairo", sans-serif;
}

.office-hours h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.hour-item {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: start;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .hour-item {
    flex-direction: row-reverse;
    text-align: right;
}

.hour-day {
    font-weight: 600;
}

.hour-time {
    opacity: 0.9;
}

/* Map Section */
.map-section {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

html[dir="rtl"] .map-section {
    font-family: "Cairo", sans-serif;
}

.map-placeholder {
    background: #f0f0f0;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.map-placeholder span {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 10px;
}

html[dir="rtl"] .map-placeholder span {
    font-family: "Cairo", sans-serif;
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
}

.faq-container {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .faq-container {
    text-align: right;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

html[dir="rtl"] .faq-question {
    font-family: "Cairo", sans-serif;
    text-align: right;
    /* flex-direction: row-reverse; */
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #666;
    line-height: 1.6;
}

html[dir="rtl"] .faq-answer {
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 20px;
}

/* Single Product Page */
.product-container.singleProduct {
    max-width: 1400px;
    margin: 20px auto;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 20px auto;
    background: var(--seconderyColor);
}

.breadcrumb-container .breadcrumb {
    background: var(--seconderyColor);
    gap: 10px;
    font-size: 14px;
}

html[dir="rtl"] .breadcrumb-container .breadcrumb {
    font-family: "Cairo", sans-serif;
    flex-direction: row-reverse;
}

.breadcrumb-container .breadcrumb a {
    color: var(--mainColor);
    font-size: 14px;
}

html[dir="rtl"] .breadcrumb-container .breadcrumb a {
    font-family: "Cairo", sans-serif;
}

.story-image img {
    width: 100%;
    height: 400px !important;
    object-fit: cover;
}

.singleProduct .product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
}

.singleProduct .product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .product-main {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.singleProduct .product-images {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.singleProduct .main-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.singleProduct .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.singleProduct .product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--dark-green);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .product-badge {
    right: auto;
    left: 20px;
}

.singleProduct .thumbnail-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .thumbnail-images {
    flex-direction: row-reverse;
}

.singleProduct .thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.singleProduct .thumbnail.active {
    border-color: var(--primary-gold);
}

.singleProduct .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.singleProduct .thumbnail:hover {
    border-color: var(--primary-gold);
}

.singleProduct .product-info {
    padding: 20px 0;
}

html[dir="rtl"] .singleProduct .product-info {
    text-align: right;
}

.singleProduct .product-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

html[dir="rtl"] .singleProduct .product-title {
    font-family: "Cairo", sans-serif;
}

.singleProduct .product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .product-rating {
    flex-direction: row-reverse;
}

.singleProduct .stars {
    display: flex;
    gap: 3px;
}

.singleProduct .star {
    color: #ffc107;
    font-size: 18px;
}

.singleProduct .star.empty {
    color: #ddd;
}

.singleProduct .rating-text {
    color: #666;
    font-size: 14px;
}

html[dir="rtl"] .singleProduct .rating-text {
    font-family: "Cairo", sans-serif;
}

.singleProduct .product-price {
    margin-bottom: 25px;
}

html[dir="rtl"] .singleProduct .product-price {
    text-align: right;
}

.singleProduct .current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-right: 15px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .current-price {
    margin-right: 0;
    margin-left: 15px;
}

.singleProduct .old-price {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
}

.singleProduct .savings {
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .savings {
    margin-left: 0;
    margin-right: 10px;
    font-family: "Cairo", sans-serif;
}

.singleProduct .product-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

html[dir="rtl"] .singleProduct .product-description {
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.singleProduct .product-options {
    margin-bottom: 40px;
}

.singleProduct .option-group {
    margin-bottom: 25px;
}

.singleProduct .option-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

html[dir="rtl"] .singleProduct .option-label {
    font-family: "Cairo", sans-serif;
    text-align: right;
}

.singleProduct .size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .size-options {
    flex-direction: row-reverse;
}

.singleProduct .size-option {
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

html[dir="rtl"] .singleProduct .size-option {
    font-family: "Cairo", sans-serif;
}

.singleProduct .size-option:hover,
.singleProduct .size-option.active {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: white;
}

.singleProduct .quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .quantity-selector {
    flex-direction: row-reverse;
}

.singleProduct .quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.singleProduct .quantity-btn {
    background: white;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.singleProduct .quantity-btn:hover {
    background: var(--primary-gold);
    color: white;
}

.singleProduct .quantity-input {
    border: none;
    padding: 12px 15px;
    text-align: center;
    width: 60px;
    font-weight: 600;
    background: #f8f9fa;
}

.singleProduct .product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .product-actions {
    flex-direction: row-reverse;
}

.singleProduct .btn-add-cart {
    flex: 1;
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

html[dir="rtl"] .singleProduct .btn-add-cart {
    font-family: "Cairo", sans-serif;
    flex-direction: row-reverse;
}

.singleProduct .btn-add-cart:hover {
    background: #b8872e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 153, 51, 0.3);
}

.singleProduct .btn-wishlist {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
}

.singleProduct .btn-wishlist:hover,
.singleProduct .btn-wishlist.active {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: white;
}

.singleProduct .product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.singleProduct .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .feature-item {
    flex-direction: row-reverse;
    text-align: right;
}

.singleProduct .feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), #e6b654);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.singleProduct .feature-text {
    flex: 1;
}

.singleProduct .feature-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

html[dir="rtl"] .singleProduct .feature-title {
    font-family: "Cairo", sans-serif;
}

.singleProduct .feature-description {
    font-size: 14px;
    color: #666;
}

html[dir="rtl"] .singleProduct .feature-description {
    font-family: "Cairo", sans-serif;
}

.singleProduct .product-tabs {
    margin-top: 80px;
}

.singleProduct .tab-navigation {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.singleProduct .tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

html[dir="rtl"] .singleProduct .tab-btn {
    font-family: "Cairo", sans-serif;
}

.singleProduct .tab-btn.active {
    background: var(--primary-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 153, 51, 0.3);
}

.singleProduct .tab-content {
    display: none;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

html[dir="rtl"] .singleProduct .tab-content {
    text-align: right;
}

.singleProduct .tab-content.active {
    display: block;
}

.singleProduct .tab-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

html[dir="rtl"] .singleProduct .tab-content h3 {
    font-family: "Cairo", sans-serif;
}

.singleProduct .tab-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

html[dir="rtl"] .singleProduct .tab-content p {
    font-family: "Cairo", sans-serif;
}

.singleProduct .Allergens-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.singleProduct .Allergens-table th,
.singleProduct .Allergens-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .singleProduct .Allergens-table th,
html[dir="rtl"] .singleProduct .Allergens-table td {
    text-align: right;
    font-family: "Cairo", sans-serif;
}

.singleProduct .Allergens-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.singleProduct .related-products {
    margin-top: 100px;
}

.singleProduct .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

html[dir="rtl"] .singleProduct .section-title {
    font-family: "Cairo", sans-serif;
}

.singleProduct .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.singleProduct .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.singleProduct .related-product {
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.singleProduct .related-image img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.singleProduct .related-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

html[dir="rtl"] .singleProduct .related-name {
    font-family: "Cairo", sans-serif;
}

.singleProduct .related-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
}

html[dir="rtl"] .success-message {
    font-family: "Cairo", sans-serif;
    text-align: right;
}
html[dir="rtl"] .close-btn,
html[dir="rtl"] .product-image{
    right: auto;
    left: 0;
}

html[dir="rtl"] .close-btn{
    left: 20px;
}
.success-message.show {
    display: block;
}

/* Mobile Image/Video Sections */
.video-section.mobileVideo,
.video-section.mobileImage,
.about-container .image.mobileImage {
    display: none;
}

/* Responsive Design المطلوب للجوال */
@media (max-width: 767px) {
    .video-section.mobileVideo,
    .video-section.mobileImage,
    .about-container .image.mobileImage {
        display: block;
    }
    
    .video-section.desktopVideo,
    .video-section.desktopImage,
    .about-container .image.desktopImage {
        display: none;
    }
    
    .video-section.mobileVideo .video-bg {
        height: 80vh;
    }
}

@media (max-width: 1024px) {
    .order-btn {
        position: relative !important;
    }

    .main-footer {
        /* margin-top: 30px; */
    }

    .section {
        height: auto !important;
    }

    .product-card {
        padding: 0;
        height: auto;
    }

    .product-img {
        margin: 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .showcase-section {
        padding: 30px 0;
    }

    .main-header {
        height: 100px;
    }

    .video-overlay,
    .video-section,
    .video-bg {
        height: auto;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .footer-title::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .menu-item {
        padding: 10px;
    }

    .items-grid {
        gap: 10px;
    }

    .contact-main .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .contact-main .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .video-section video {
        position: relative;
    }

    .h-100 {
        height: auto !important;
    }

    .video-bg {
        width: 100%;
        object-fit: cover !important;
        -webkit-background-size: cover;
        background-size: cover;
    }

    .section.py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    .pattern-bg {
        display: none;
    }
}

/* إضافة الـ RTL للجوال */
@media (max-width: 768px) {
    /* Header للجوال */
    .main-header {
        height: auto;
        padding: 10px 0;
    }

    .logo img {
        max-width: 80px;
    }

    .header-right {
        flex-direction: row;
        gap: 10px;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .header-right {
        flex-direction: row-reverse;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-container {
        padding: 0 15px;
    }


    .shop-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .page-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .sidebar {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .sidebar h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .special-offers {
        padding: 15px;
        margin-bottom: 20px;
    }

    .special-offers h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .search-container {
        margin-bottom: 20px;
        padding: 6px;
    }

    .search-input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .search-btn {
        width: 40px;
        height: 40px;
    }

    .category-main {
        padding: 10px 12px;
        font-size: 14px;
    }

    .sub-category {
        padding: 8px 15px !important;
        font-size: 13px !important;
        margin: 3px 8px !important;
    }

    .sub-category-list.active {
        max-height: 200px;
        padding: 8px 0;
    }

    .product-card {
        /* padding: 15px 10px; */
        border-radius: 15px;
    }

    .product-image {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .product-name {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .product-description {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .product-price {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .old-price {
        font-size: 14px;
    }

    .btn-wishlist,
    .btn-cart {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .product-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 10px;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .product-badge {
        right: auto;
        left: 10px;
    }

    .product-card {
        min-height: auto;
    }

    /* Language switcher للجوال */
    .language-switcher {
        bottom: 20px;
        left: 20px;
        padding: 6px;
        border-radius: 20px;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .language-switcher {
        left: auto;
        right: 20px;
    }

    .language-switcher button {
        padding: 8px 14px;
        font-size: 13px;
        min-width: 45px;
    }

    .lang-options {
        min-width: 150px;
        right: 0;
        left: auto;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .lang-options {
        right: auto;
        left: 0;
    }

    .lang-switcher-btn {
        padding: 10px 12px;
        min-width: 70px;
    }

    /* Hero section للجوال */
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    /* About page للجوال */
    .about-container {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .story-content {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .values-section,
    .mission-section,
    .stats-section {
        padding: 40px 30px;
        margin-bottom: 60px;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .mission-title {
        font-size: 28px;
    }

    .mission-text {
        font-size: 16px;
    }

    /* Menu page للجوال */
    .menu-toggle {
        display: block;
    }

    .menu-container {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 36px;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .menu-tabs {
        max-width: 300px;
        margin: 0 auto 40px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .item-image {
        width: 100px;
        height: 100px;
    }

    .menu-item {
        padding: 20px 15px;
    }

    /* Contact page للجوال */
    .contact-container {
        padding: 40px 15px;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-main .contact-info,
    .contact-form,
    .office-hours,
    .map-section,
    .faq-container {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-main .contact-item {
        padding: 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    /* Video sections للجوال */
    .video-year img {
        max-width: 90%;
    }

    .showcase-section {
        height: auto;
    }

    .video-year {
        font-size: 80px;
    }

    .video-subtitle {
        font-size: 20px;
    }

    .coffee-container {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] .coffee-container {
        flex-direction: column;
        text-align: right;
    }

    .coffee-left {
        margin-bottom: 40px;
    }

    .coffee-cup img {
        width: 300px;
    }

    .coffee-pour img {
        width: 120px;
    }

    .coffee-title {
        font-size: 48px;
    }

    .coffee-subtitle {
        font-size: 18px;
    }

    .products-title {
        font-size: 48px;
    }

    .showcase-title {
        font-size: 36px;
    }

    .showcase-container {
        padding: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }

    .person-img,
    .side-cup {
        display: none;
    }

    #fp-nav {
        right: 15px;
        scale: 0.8;
    }

    /* إصلاح للـ RTL في الجوال */
    html[dir="rtl"] #fp-nav {
        left: 15px;
        right: auto;
    }
}

@media (max-width: 480px) {
    .video-year {
        font-size: 60px;
    }

    .coffee-title {
        font-size: 36px;
    }

    .products-title {
        font-size: 36px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .coffee-cup img {
        width: 250px;
    }

    .product-card {
        /* padding: 30px 15px; */
    }

    /* Shop container للجوال الصغير */
    .shop-container {
        padding: 15px 10px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sidebar {
        padding: 15px 12px;
    }

    .sidebar h2 {
        font-size: 16px;
    }

    .special-offers {
        padding: 12px;
    }

    .special-offers h3 {
        font-size: 14px;
    }

    .category-main {
        padding: 8px 10px;
        font-size: 13px;
    }

    .sub-category {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .product-card {
        /* padding: 12px 8px; */
    }

    .product-image {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .product-description {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .btn-wishlist,
    .btn-cart {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .product-actions {
        gap: 8px;
    }

    /* Language switcher للجوال الصغير */
    .language-switcher {
        bottom: 15px;
        left: 15px;
        scale: 0.9;
    }

    /* إصلاح للـ RTL في الجوال الصغير */
    html[dir="rtl"] .language-switcher {
        left: auto;
        right: 15px;
    }

    /* About page للجوال الصغير */
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Menu page للجوال الصغير */
    .items-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    /* Contact page للجوال الصغير */
    .section-title {
        font-size: 24px;
    }

    .contact-main .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .map-placeholder {
        height: 250px;
    }

    /* Single product للجوال الصغير */
    .singleProduct .product-title {
        font-size: 24px;
    }

    .singleProduct .main-image {
        height: 300px;
    }

    .singleProduct .thumbnail {
        width: 60px;
        height: 60px;
    }

    .singleProduct .section-title {
        font-size: 28px;
    }
}

a.cart-link.MobileLink{
    display: none;
}
/* Loading screen للجوال */
@media (max-width: 768px) {
    a.cart-link.MobileLink{
        display: block;
    }
    .loading-container {
        padding: 30px 15px;
        max-width: 300px;
    }

    .loading-logo img {
        max-width: 100px;
    }

    .loading-text h2 {
        font-size: 24px;
    }

    .loading-text p {
        font-size: 14px;
    }

    .cup {
        width: 50px;
        height: 50px;
    }

    .saucer {
        width: 70px;
    }
    .sidebar{
        width: 100%;
    }
    .cart-link{
        font-size: 20px;
        margin: 0 10px;
        color: var(--mainColor);
    }
}

@media (max-width: 480px) {
    .loading-text h2 {
        font-size: 20px;
    }

    .cup {
        width: 40px;
        height: 40px;
    }

    .saucer {
        width: 60px;
        height: 6px;
    }
}

/* Alternative Simple Spinner */
.simple-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid #C89933;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* إصلاح للـ RTL */
html[dir="rtl"] .simple-spinner {
    border-left: 4px solid rgba(255, 255, 255, 0.2);
    border-right: 4px solid #C89933;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* كلاسات مساعدة للنص العربي */
.text-arabic {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    text-align: right;
}

.text-arabic-center {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    text-align: center;
}

/* تحسين التباعد بين الأحرف للنصوص الطويلة */
html[dir="rtl"] .long-text {
    letter-spacing: 0.01em;
    word-spacing: 0.05em;
    line-height: 2;
}

/* تحسين التنسيق للمحتوى المختلط (عربي وإنجليزي) */
html[dir="rtl"] .mixed-content {
    unicode-bidi: embed;
}

/* إصلاح مشاكل عرض الأرقام العربية */
html[dir="rtl"] .arabic-numbers {
    font-feature-settings: "lnum";
    direction: ltr;
    unicode-bidi: embed;
}

/* تحسين عرض التواريخ والأوقات */
html[dir="rtl"] .datetime {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

/* أوزان الخط للعربية */
.font-light { 
    font-weight: 300; 
}
.font-normal { 
    font-weight: 400; 
}
.font-medium { 
    font-weight: 500; 
}
.font-semibold { 
    font-weight: 600; 
}
.font-bold { 
    font-weight: 700; 
}
.font-extrabold { 
    font-weight: 800; 
}

/* إصلاح التمرير للـ RTL */
html[dir="rtl"] ::-webkit-scrollbar {
    width: 8px;
}

html[dir="rtl"] ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

html[dir="rtl"] ::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

html[dir="rtl"] ::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* إصلاحات خاصة بالنماذج للـ RTL */
html[dir="rtl"] .form-control,
html[dir="rtl"] .form-select,
html[dir="rtl"] .form-check-input {
    font-family: "Cairo", sans-serif;
}

/* إصلاحات خاصة بالجداول للـ RTL */
html[dir="rtl"] .table {
    font-family: "Cairo", sans-serif;
}

html[dir="rtl"] .table th,
html[dir="rtl"] .table td {
    text-align: right;
}

/* إصلاحات خاصة بالـ Bootstrap RTL إذا كان مستخدم */
html[dir="rtl"] .text-start {
    text-align: right !important;
}

html[dir="rtl"] .text-end {
    text-align: left !important;
}

html[dir="rtl"] .me-1 { 
    margin-right: 0 !important; 
    margin-left: 0.25rem !important; 
}
html[dir="rtl"] .me-2 { 
    margin-right: 0 !important; 
    margin-left: 0.5rem !important; 
}
html[dir="rtl"] .me-3 { 
    margin-right: 0 !important; 
    margin-left: 1rem !important; 
}

html[dir="rtl"] .ms-1 { 
    margin-left: 0 !important; 
    margin-right: 0.25rem !important; 
}
html[dir="rtl"] .ms-2 { 
    margin-left: 0 !important; 
    margin-right: 0.5rem !important; 
}
html[dir="rtl"] .ms-3 { 
    margin-left: 0 !important; 
    margin-right: 1rem !important; 
}

html[dir="rtl"] .pe-1 { 
    padding-right: 0 !important; 
    padding-left: 0.25rem !important; 
}
html[dir="rtl"] .pe-2 { 
    padding-right: 0 !important; 
    padding-left: 0.5rem !important; 
}
html[dir="rtl"] .pe-3 { 
    padding-right: 0 !important; 
    padding-left: 1rem !important; 
}

html[dir="rtl"] .ps-1 { 
    padding-left: 0 !important; 
    padding-right: 0.25rem !important; 
}
html[dir="rtl"] .ps-2 { 
    padding-left: 0 !important; 
    padding-right: 0.5rem !important; 
}
html[dir="rtl"] .ps-3 { 
    padding-left: 0 !important; 
    padding-right: 1rem !important; 
}

ul.footer-links {
    padding: 0 !important;
}
/* النهاية */

@media (max-width:1024px) {
    html[dir="rtl"] .footer-top {
    text-align: right;
    width: 100%;
    display: flex;
    flex-direction: column;
    }
    html[dir="rtl"] .footer-title::after {
        left: auto;
        right: 0;
        transform: translateX(0%);
    }
    .contact-info {
        align-items: self-start;
    }
    html[dir="rtl"] .lang-options {
        right: 20px;
        left: auto;
    }
        .product-image img {
        width: 100%;
        height: 200px !important;
        object-fit: cover;
    }
    .social-links{
        flex-wrap: wrap;
    }
    .footer-column{
        align-items: center;
        text-align: center;
    }
    .contact-info{
        align-items: center;
    }
    .singleProduct .product-images{
        position: relative;
        top: auto;
    }
    .singleProduct .product-main{
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .lang-switcher-btn::before{
        filter: invert(1) !important;
    }
}