/* ===== ملف CSS خاص بصفحة المنتجات ===== */

/* إعادة تعيين CSS الأساسي */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    direction: rtl;
    background: #000;
}

body {
    background: #000;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Cairo', sans-serif;
}

/* منع شريط التمرير الأفقي */
::-webkit-scrollbar {
    display: none !important;
}

* {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* القائمة الجانبية */
.sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: auto;
    background: rgba(44, 44, 44, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    border-radius: 40px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.sidebar ul {
    list-style: none;
    width: 100%;
    position: relative;
    padding-top: 15px;
}

.sidebar ul li {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sidebar ul li a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #E1BF99;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transform: translateX(0);
}

.sidebar ul li a:hover {
    background: rgba(234, 84, 51, 0.3);
    color: #fff;
    transform: scale(1.05) translateX(-5px);
}

/* المؤشر المخصص */
.indicator {
    position: absolute;
    right: 50%;
    top: 15px;
    transform: translateX(50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    z-index: 1;
    transition: top 0.5s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: -8px 0 25px rgba(234, 84, 51, 0.5);
    transform: translateX(50%) translateX(-15px);
}

/* ضمان ظهور المؤشر في المكان الصحيح من البداية */
.sidebar ul li:first-child.active ~ .indicator,
.sidebar ul li:first-child.active + .indicator {
    top: 15px;
}

.indicator::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(234, 84, 51, 0.2);
    z-index: -1;
    transform: translateX(-15px);
}

.sidebar ul li.active a {
    color: #fff;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    box-shadow: -5px 0 20px rgba(234, 84, 51, 0.6);
    transform: translateX(-15px);
    border: 3px solid #fff;
}

/* الشعار في الأعلى */
.top-logo {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.6), 0 0 40px rgba(255, 0, 0, 0.4);
    border: 3px solid #ff0000;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.6), 0 0 40px rgba(255, 0, 0, 0.4);
        border-color: #ff0000;
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 0, 0, 0.6);
        border-color: #ff3333;
    }
}

.top-logo .logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.top-logo {
    transition: all 0.3s ease;
    cursor: pointer;
}

.top-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 0, 0, 0.8), 0 0 50px rgba(255, 0, 0, 0.6);
}

/* Hero Section مع الفيديو */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.7) 0%, rgba(44, 24, 16, 0.4) 50%, rgba(44, 24, 16, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    transition: all 0.6s ease;
}

.hero-text p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 35px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    transition: all 0.6s ease;
}

.hero-btn {
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    color: white;
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* البطاقات الدائرية التفاعلية في الهيدر */
.hero-section .circular-cards {
    position: absolute;
    bottom: 120px;
    left: 40%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 4;
}

.hero-section .circular-card {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hero-section .circular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.2), rgba(225, 191, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-section .circular-card:hover::before {
    opacity: 1;
}

.hero-section .circular-card.active {
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.3), rgba(225, 191, 153, 0.3));
    border-color: #EA5433;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(234, 84, 51, 0.3);
}

.hero-section .circular-card.active::before {
    opacity: 0.8;
}

.hero-section .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.hero-section .circular-card.active .card-icon {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.5);
}

.hero-section .circular-card span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.hero-section .circular-card.active span {
    color: #ffffff;
    font-weight: 700;
}

.circular-card {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.circular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.2), rgba(225, 191, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.circular-card:hover::before {
    opacity: 1;
}

.circular-card.active {
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.3), rgba(225, 191, 153, 0.3));
    border-color: #EA5433;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(234, 84, 51, 0.3);
}

.circular-card.active::before {
    opacity: 0.8;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.circular-card.active .card-icon {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.5);
}

.circular-card span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.circular-card.active span {
    color: #ffffff;
    font-weight: 700;
}



/* أنماط Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #E1BF99 !important;
    background: rgba(255,255,255,0.1) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(234, 84, 51, 0.3) !important;
    transform: scale(1.1) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold !important;
}



/* قسم Expanding Gallery */
.expanding-gallery {
    padding: 0;
    background: linear-gradient(135deg, #2d1810 0%, #4a3728 100%);
    color: white;
    overflow: visible;
    position: relative;
    height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.expanding-gallery .container {
    overflow: visible;
    position: relative;
    padding: 40px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    width: 100%;
}

.expanding-gallery .section-header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.expanding-gallery .section-header h2 {
    font-size: 2.5rem;
    margin: 0;
    padding: 20px;
    font-weight: 700;
    color: #ffffff;
}

.expanding-gallery .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* أزرار التحكم */
.coffee-controls {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 10;
    position: relative;
}

.control-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 23px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.control-btn:hover {
    background: rgba(234, 84, 51, 0.3);
    border-color: #EA5433;
    transform: translateY(-2px);
}

.control-btn.active {
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.3);
}

.control-btn i {
    margin-left: 8px;
}

/* أزرار التحكم للجوال */
.mobile-accordion-controls {
    display: none;
    margin-bottom: 30px;
}

.mobile-accordion-controls .accordion-item {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}

.mobile-accordion-controls .accordion-header {
    width: 100%;
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    color: white;
    border: none;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mobile-accordion-controls .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-accordion-controls .accordion-item.active .accordion-content {
    max-height: 300px;
}

.accordion-buttons {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-control-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

.mobile-control-btn.active {
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    border-color: transparent;
}

.mobile-control-btn i {
    margin-left: 8px;
}

/* البطاقات المتوسعة */
.expanding-cards {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding: 0;
    height: 70vh;
    overflow: visible;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    direction: rtl;
}

.expanding-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.expanding-card.active {
    flex: 3;
    filter: brightness(1);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(234, 84, 51, 0.3);
}

.expanding-card:not(.active) {
    flex: 1;
    filter: brightness(0.7);
    transform: scale(0.95);
}

.expanding-card:hover {
    flex: 3;
    filter: brightness(1);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(234, 84, 51, 0.6), 0 0 50px rgba(234, 84, 51, 0.4);
}

.expanding-cards:hover .expanding-card:not(:hover) {
    flex: 1;
    filter: brightness(0.5);
    transform: scale(0.9);
}

.expanding-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanding-card:hover img {
    transform: scale(1.1);
}

.expanding-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1));
    z-index: 2;
    transition: opacity 0.3s ease;
}

.expanding-card:hover::after {
    opacity: 0.9;
}

.expanding-card .content {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    right: 30px;
    left: 30px;
    color: white;
    text-align: right;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanding-card:hover .content {
    transform: translateY(0);
    opacity: 1;
}

.expanding-card .content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    transform: translateX(-20px);
    transition: transform 0.4s ease;
}

.expanding-card:hover .content h3 {
    transform: translateX(0);
}

.expanding-card .content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    transform: translateX(-15px);
    transition: transform 0.4s ease 0.1s;
}

.expanding-card:hover .content p {
    transform: translateX(0);
}

.expanding-card .card-actions {
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.expanding-card:hover .card-actions {
    transform: translateY(0);
    opacity: 1;
}

.action-btn {
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.action-btn.primary {
    background: rgba(234, 84, 51, 0.9);
    color: white;
}

.action-btn.primary:hover {
    background: rgba(234, 84, 51, 1);
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.action-btn i {
    margin-left: 5px;
}

.expanding-card:not(.active) {
    filter: brightness(0.7);
    transform: scale(0.95);
}

.expanding-card.active .content {
    transform: translateY(0);
    opacity: 1;
}

.expanding-card.active .card-actions {
    transform: translateY(0);
    opacity: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.9), rgba(225, 191, 153, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

.item-overlay h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.item-overlay p {
    color: white;
    font-weight: 700;
    margin: 0;
}

/* قسم النصوص والصور */
.content-section {
    padding: 80px 0;
    background: #faf8f5;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-item.reverse {
    direction: ltr;
}

.content-item.reverse .content-text {
    direction: rtl;
}

.content-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d1810;
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    color: #4a3728;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-btn {
    background: linear-gradient(135deg, #EA5433, #E1BF99);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(234, 84, 51, 0.3);
}

.content-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(234, 84, 51, 0.4);
}

.content-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

/* التجاوب للجوال */
@media (max-width: 768px) {
    /* تأكيد تصغير البطاقات الدائرية في الهيدر */
    .hero-section .circular-cards .circular-card {
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
    }
    
    .hero-section .circular-cards .card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 26px !important;
        margin-bottom: 8px !important;
    }
    
    .hero-section .circular-cards .circular-card span {
        font-size: 16px !important;
    }
    
    /* القائمة الجانبية */
    .sidebar {
        width: 60px;
    }
    
    .sidebar ul li a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sidebar ul li.active a {
        transform: translateX(-10px);
        border: 2px solid #fff;
    }
    
    .sidebar ul li a:hover {
        transform: scale(1.05) translateX(-3px);
    }
    
    .indicator {
        width: 50px;
        height: 50px;
        transform: translateX(50%) translateX(-10px);
    }
    
    .indicator::after {
        transform: translateX(-10px);
    }
    
    /* الشعار */
    .top-logo {
        top: 15px;
        right: 15px;
        padding: 15px;
    }

    .top-logo .logo-img {
        width: 70px;
        height: 70px;
    }
    
    /* باقي العناصر */
    .hero-text {
        text-align: right;
        max-width: 60%;
        margin-right: 0;
        margin-left: auto;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        text-align: right;
    }
    
    .hero-text p {
        font-size: 1rem;
        text-align: right;
    }
    
    .hero-section .circular-cards {
        bottom: 140px;
        left: 15%;
        gap: 20px;
    }
    
    .hero-section .circular-card {
        width: 30px !important;
        height: 30px !important;
    }
    
    .hero-section .card-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        margin-bottom: 2px !important;
    }
    
    .hero-section .circular-card span {
        font-size: 7px !important;
    }
    
    .swiper-container {
        padding: 0 30px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important;
    }
    
    /* بطاقات المنتجات للتابلت */
    .product-card {
        height: 380px;
        width: 280px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .card-price {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 50px;
    }

    .card-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .content-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-item.reverse {
        direction: rtl;
    }
    
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .content-image img {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 20px 25px;
    }
    
    .accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    /* تأكيد تصغير البطاقات الدائرية في الهيدر */
    .hero-section .circular-cards .circular-card {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px !important;
        min-height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
    }
    
    .hero-section .circular-cards .card-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 24px !important;
        margin-bottom: 6px !important;
    }
    
    .hero-section .circular-cards .circular-card span {
        font-size: 14px !important;
    }


    /* القائمة الجانبية */
    .sidebar {
        width: 50px;
        right: 10px;
    }
    
    .sidebar ul li a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .sidebar ul li.active a {
        transform: translateX(-8px);
        border: 2px solid #fff;
    }
    
    .indicator {
        width: 45px;
        height: 45px;
        transform: translateX(50%) translateX(-8px);
    }
    
    /* الشعار */
    .top-logo {
        top: 10px;
        right: 10px;
        padding: 12px;
    }

    .top-logo .logo-img {
        width: 60px;
        height: 60px;
    }
    
    /* باقي العناصر */
    .hero-text {
        text-align: right;
        max-width: 60%;
        margin-right: 0;
        margin-left: auto;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        text-align: right;
    }
    
    .hero-section .circular-cards {
        flex-direction: column;
        gap: 15px;
        bottom: 130px;
        left: 15%;
    }
    
    .hero-section .circular-card {
        width: 25px !important;
        height: 25px !important;
    }
    
    .hero-section .card-icon {
        width: 15px !important;
        height: 15px !important;
        font-size: 8px !important;
        margin-bottom: 1px !important;
    }
    
    .hero-section .circular-card span {
        font-size: 6px !important;
    }
    
    .swiper-container {
        padding: 0 20px;
    }
    
    /* بطاقات المنتجات للجوال */
    .product-card {
        height: 350px;
        width: 260px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .card-content p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .card-price {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .add-to-cart {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }

    .card-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }
    
    .content-image img {
        height: 250px;
    }
    
    .expanding-gallery {
        height: 100vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .expanding-gallery .section-header h2 {
        font-size: 2rem;
        padding: 10px;
    }

    .expanding-gallery .section-header p {
        font-size: 1rem;
    }
    
    .coffee-controls {
        display: none;
    }

    .mobile-accordion-controls {
        display: block;
    }

    .expanding-cards {
        overflow: visible;
        width: 100%;
        flex-direction: column;
        height: 70vh;
        gap: 0;
        padding: 10px;
        direction: ltr;
    }

    .expanding-card {
        min-width: 80%;
        margin: 0;
        height: 300px;
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        transform: scale(0.85);
        filter: brightness(0.6);
    }
    
    .expanding-card:hover {
        transform: scale(1.1);
        filter: brightness(1.1);
        box-shadow: 0 0 25px rgba(234, 84, 51, 0.7);
        min-width: 90%;
    }
    
    .expanding-cards:hover .expanding-card:not(:hover) {
        transform: scale(0.7);
        filter: brightness(0.4);
        opacity: 0.6;
    }

    .expanding-card.active {
        min-width: 80%;
    }

    .expanding-card .content h3 {
        font-size: 1.4rem;
    }

    .expanding-card .content p {
        font-size: 1rem;
    }

    .action-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .swiper-section {
        padding: 60px 0;
    }
    
    .accordion-gallery {
        padding: 60px 0;
    }
    
    .content-section {
        padding: 60px 0;
    }
}

/* تحسينات إضافية للأداء */
.scrolling * {
    animation-play-state: paused !important;
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* تحسين تأثيرات التحميل */
.product-card,
.gallery-item,
.content-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.product-card.animate-in,
.gallery-item.animate-in,
.content-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* تحسين تأثيرات النقر */
.add-to-cart:active,
.content-btn:active {
    transform: scale(0.95) !important;
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    /* تأكيد تصغير البطاقات الدائرية في الهيدر */
    .hero-section .circular-cards .circular-card {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }
    
    .hero-section .circular-cards .card-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }
    
    .hero-section .circular-cards .circular-card span {
        font-size: 12px !important;
    }
    .hero-section .circular-cards {
        flex-direction: column;
        gap: 10px;
        bottom: 120px;
        left: 10%;
    }
    
    .hero-section .circular-card {
        width: 20px !important;
        height: 20px !important;
    }
    
    .hero-section .card-icon {
        width: 12px !important;
        height: 12px !important;
        font-size: 6px !important;
        margin-bottom: 1px !important;
    }
    
    .hero-section .circular-card span {
        font-size: 5px !important;
    }
    
    .expanding-gallery {
        height: 100vh;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .expanding-gallery .section-header h2 {
        font-size: 1.8rem;
        padding: 5px;
    }

    .expanding-gallery .section-header p {
        font-size: 0.9rem;
    }

    .expanding-card {
        min-width: 90%;
        height: 250px;
        margin: 0;
        transform: scale(0.9);
        filter: brightness(0.7);
    }
    
    .expanding-card:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        box-shadow: 0 0 25px rgba(234, 84, 51, 0.7);
        min-width: 95%;
    }
    
    .expanding-cards:hover .expanding-card:not(:hover) {
        transform: scale(0.75);
        filter: brightness(0.5);
        opacity: 0.7;
    }

    .expanding-card .content {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .expanding-card .content h3 {
        font-size: 1.2rem;
    }

    .expanding-card .content p {
        font-size: 0.9rem;
    }

    .action-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .mobile-control-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .accordion-card .card-image {
        height: 120px;
    }

    .accordion-card .card-content {
        padding: 10px;
    }

    .accordion-card .card-content h4 {
        font-size: 0.85rem;
    }

    .accordion-card .card-content p {
        font-size: 0.7rem;
    }

    .accordion-card .price {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .accordion-header {
        padding: 10px 15px;
    }

    .accordion-header h3 {
        font-size: 0.9rem;
    }

    .accordion-icon {
        font-size: 1.2rem;
    }
}

/* Media Queries للـ Expanding Gallery */
@media (min-width: 769px) {
    .coffee-controls {
        display: flex !important;
    }

    .mobile-accordion-controls {
        display: none !important;
    }
}

@media (max-width: 768px) {


    .coffee-controls {
        display: none;
    }

    .mobile-accordion-controls {
        display: block;
    }

    .expanding-cards {
        overflow: visible;
        width: 100%;
        flex-direction: column;
        height: auto;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .expanding-card {
        min-width: 80%;
        margin: 0 10px;
        height: 300px;
        background-size: cover;
        background-position: center;
        border-radius: 12px;
    }

    .expanding-card.active {
        min-width: 80%;
    }

    .expanding-card .content h3 {
        font-size: 1.4rem;
    }

    .expanding-card .content p {
        font-size: 1rem;
    }

    .action-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* تنسيقات أزرار المنتجات */
.product-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.product-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

/* تحسين تأثيرات hover للصور */
.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
}

/* تحسين الأكورديون */
.accordion-header {
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(234, 84, 51, 0.9), rgba(225, 191, 153, 0.8)) !important;
}

.accordion-content {
    transition: max-height 0.5s ease;
}

/* تحسين التجاوب للأزرار */
@media (max-width: 768px) {
    .product-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .gallery-item .item-overlay {
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(234, 84, 51, 0.8), rgba(225, 191, 153, 0.7));
    }
}

@media (max-width: 480px) {
    .product-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}