/* استهداف الحاوية الرئيسية للفوتر في سلة */
.main-footer, footer, #edit-footer {
    background-color: #3d251e !important; /* لون بني قهوة دافئ */
    color: #ffffff !important;
    
    /* تشكيل حبة البن: انحناءات كبيرة من الأعلى والجوانب */
    border-top-left-radius: 50% 100px !important;
    border-top-right-radius: 50% 100px !important;
    
    /* إضافة مسافة علوية ليفصل عن محتوى الصفحة ويظهر الشكل */
    margin-top: 60px !important;
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    
    position: relative;
    border: none !important;
}

/* إضافة الشق أو الخط المميز لحبة البن في المنتصف */
.main-footer::before, footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    /* رسم الخط المتعرج الخفيف */
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 20px;
}

/* التأكد من أن جميع العناصر داخل الفوتر تأخذ ألواناً متناسقة */
.main-footer *, footer * {
    color: #f3e5d0 !important; /* لون كريمي للنصوص */
}

/* تعديل الشكل للهواتف لضمان عدم خروج المحتوى */
@media (max-width: 768px) {
    .main-footer, footer {
        border-top-left-radius: 40% 60px !important;
        border-top-right-radius: 40% 60px !important;
        padding-top: 60px !important;
    }
}
/* استهداف صور البنر لتحويلها لشكل حبة بن */
.banner-image {
    /* تشكيل حبة البن باستخدام border-radius متطور */
    border-radius: 70% 30% 70% 30% / 50% 50% 50% 50% !important;
    
    /* لضمان عدم تمدد الصورة وتشويه الشكل */
    object-fit: cover !important;
    
    /* إضافة لمسة جمالية (ظل خفيف وحدود ناعمة) */
    border: 3px solid #f3e5d0; /* لون كريمي خفيف يحيط بالحبة */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    
    /* تأثير حركة عند مرور الماوس */
    transition: transform 0.3s ease, border-radius 0.3s ease !important;
}

/* حركة بسيطة عند التفاعل تجعل الحبة تبدو حيوية */
.banner-image:hover {
    transform: scale(1.03) rotate(1deg);
    border-radius: 30% 70% 30% 70% / 50% 50% 50% 50% !important;
    border-color: #3d251e; /* يتغير اللون للبني عند المرور */
}

/* تعديل المسافات لضمان عدم تداخل الأشكال */
.banner-image-container {
    padding: 15px;
    background: transparent !important;
}
/* تنعيم حواف بطاقة المنتج بالكامل */
.athena-card, .product-entry {
    border-radius: 30px !important; /* تجعل الزوايا دائرية وناعمة */
    overflow: hidden; /* لضمان قص الصورة مع انحناء الزوايا */
    background-color: #ffffff !important;
    border: 1.5px solid #f1ece8 !important; /* إطار خفيف جداً بلون كريمي */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* تنعيم حواف منطقة الصورة فقط */
.athena-card-image, .athena-card-image img {
    border-radius: 30px 30px 15px 15px !important; /* انحناء أكبر من الأعلى */
}

/* إضافة لمسة جمالية عند مرور الماوس */
.athena-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(61, 37, 30, 0.1) !important;
    border-color: #3d251e !important; /* يتغير لون الإطار للون القهوة */
}

/* تنسيق النصوص داخل البطاقة لتكون متناسقة مع الانحناء */
.athena-card-content {
    padding: 15px !important;
    text-align: center;
}

.athena-product-title a {
    font-weight: 600 !important;
    color: #3d251e !important; /* لون الخط بني غامق */
}