/* تطبيق التعديلات على جميع بطاقات المنتجات */
.product-item.position-relative {
    background-color: #ffffff !important; /* خلفية بيضاء */
    border: 2px solid #c79b34 !important; /* إطار ذهبي غامق */
    border-radius: 15px !important; /* زوايا منحنية للبطاقة */
    padding: 10px !important;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100% !important; /* لتوحيد طول البطاقات */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* ظل خفيف جداً */
}
/* تقصير البطاقة من خلال التحكم في ارتفاع الصورة */
.product-item .box-1-1 {
    max-height: 180px !important; /* تقصير الارتفاع */
    margin-bottom: 10px;
}

.product-item img {
    object-fit: contain !important;
    max-height: 180px !important;
}

/* تنسيق عنوان المنتج */
.product-item .product-title {
    font-size: 0.9rem !important;
    height: 40px !important; /* توحيد الارتفاع لتبدو البطاقات متساوية */
    margin-top: 5px !important;
    overflow: hidden;
    text-align: center;
}

/* سعر المنتج بالذهبي الغامق */
.product-item .product-price {
    color: #c79b34 !important;
    font-weight: bold !important;
    text-align: center !important;
    margin: 5px 0 !important;
}

/* زر أضف للسلة (ذهبي غامق، حافة مائلة وحافة مدببة) */
.product-item .btn-product-card-select-variant, 
.product-item .btn-primary {
    background: linear-gradient(135deg, #c79b34 0%, #724c11 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    padding: 8px 5px !important;
    width: 100% !important;
    /* التصميم المطلوب: حافة مائلة (دائرية) وحافة مدببة (زاوية صفر) */
    border-radius: 20px 0px 20px 0px !important;
    transition: 0.3s all !important;
}

/* تأثير عند تمرير الفأرة على الزر */
.product-item .btn-product-card-select-variant:hover {
    border-radius: 0px 20px 0px 20px !important; /* عكس الميل */
    filter: brightness(1.2);
}
/* تعديلات خاصة بالجوال لضمان ظهور البطاقات بشكل قصير ومرتب */
@media (max-width: 768px) {
    .product-item.position-relative {
        border-width: 1.5px !important; /* إطار أنحف للجوال */
        padding: 8px !important;
    }
    .product-item .box-1-1 {
        max-height: 140px !important; /* تقصير الصورة أكثر في الجوال */
    }
    .product-item img {
        max-height: 140px !important;
    }
    .product-item .product-title {
        font-size: 0.8rem !important;
    }
}
/* 1. القاعدة الأساسية للفوتر العائم */
    footer.d-flex.flex-column {
        background-color: #c79b34 !important; 
        margin: 30px 15px !important;
        border-radius: 30px !important; /* حواف مشطوفة */
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
        overflow: hidden !important;
        color: #ffffff !important;
        direction: rtl !important;
}
      .store-section p {
    font-size: 1.3rem;
}
    }

    /* 2. توحيد الألوان والخلفيات لتكون شفافة لتظهر لون الفوتر */
    .footer-store-section, 
    .footer-companies, 
    .footer-copyrights-vat-certificate {
        background: transparent !important;
        border: none !important;
        padding: 40px 20px !important;
        text-align: center !important; /* توسيط العناصر */
    }
.footer-theme-bg-primary {
    background-color: #c79b34;
}

    /* 3. تنسيق النصوص والعناوين باللون الأبيض وتوسيطها */
    footer h2, footer p, footer a, footer span, footer div {
        color: #ffffff !important;
        text-align: center !important;
    }

    footer h2 {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }

    /* 4. تنسيق أيقونات التواصل الاجتماعي */
    .social-icons {
        justify-content: center !important;
        gap: 9px !important;
        margin-top: 15px !important;
    }

    .social-icons a span {
        background: rgba(255,255,255,0.2) !important; /* خلفية شفافة بيضاء */
        width: 35px !important;
        height: 35px !important;
        border-radius: 12px !important;
        color: #ffffff !important;
        transition: 0.3s !important;
    }

    .social-icons a:hover span {
        background: #ffffff !important;
        color: #008b8b !important; /* اللون يقلب عند التحويم */
        transform: translateY(-5px) !important;
    }

    /* 5. تنسيق أيقونات الدفع والشحن */
    .logistics-pay-icons img {
        height: 19px !important;
        margin: 3px !important;
        opacity: 1.5 !important;
    }

    /* 6. تنسيق الحقوق والشهادات */
    .footer-copyrights-vat-certificate {
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        padding: 20px !important;
    }

  

    /* 7. تعديلات الجوال لضمان التمركز */
    @media (max-width: 768px) {
        footer.d-flex.flex-column {
            margin: 15px 10px !important;
            padding: 10px !important;
        }
        .footer-about-us-div, .footer-about-us-links-div {
            margin-bottom: 30px !important;
        }
/* Header Professional Styling */
        .upper-bar {
            background-color: var(--primary-gold);
            color: var(--white);
            padding: 8px 0;
            font-size: 14px;
        }

        .account-btn {
            background: rgba(0,0,0,0.2);
            border: none;
            color: var(--white);
            padding: 5px 15px;
            border-radius: 20px;
            transition: var(--transition);
            cursor: pointer;
        }

        .account-btn:hover {
            background: rgba(0,0,0,0.4);
        }

        .main-header {
            background: #c79b34;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .search-container {
            position: relative;
            flex-grow: 1;
            margin: 0 20px;
        }

        .search-input {
            width: 100%;
            padding: 10px 40px 10px 15px;
            border: 1px solid #eee;
            border-radius: 8px;
            background: #f5f5f5;
        }

        .logo-img {
            max-height: 60px;
            transition: transform 0.3s;
        }

        .logo-img:hover {
            transform: scale(1.05);
        }
@media (max-width: 768px) {
    .product-item {
        width: 175px;
    }
}
.menu-header-theme-bg-primary {
    background-color: #c79b34;
}