/* تحسين شكل بطاقات المنتجات */
.product-item, .product-card {
    transition: all 0.3s ease !important;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

/* تأثير عند مرور الماوس */
.product-item:hover, .product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

/* تعديل زر الإضافة للسلة */
.btn-add-to-cart, .s-button-primary {
    background-color: #27ae60 !important; /* أخضر جذاب */
    border-radius: 25px !important;
    font-weight: bold !important;
}

/* لمسة ذهبية لاسم المتجر */
.store-name-link, .store-name {
    color: #d4af37 !important;
    font-weight: bold !important;
}/* تجميل العناوين واسم المتجر */
.store-name-link, h1, h2, .product-title {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    color: #1a1a1a !important; /* أسود ملكي */
    text-transform: uppercase;
}
/* تصميم بطاقة المنتج */
.product-item, .product-card {
    border: none !important;
    border-radius: 15px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

/* تأثير عند مرور الماوس */
.product-item:hover, .product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15) !important; /* ظل ذهبي خفيف */
}
.top-ads-bar {
    background-color: #1a1a1a !important;
    color: #d4af37 !important; /* نص ذهبي على خلفية سوداء */
    font-weight: bold !important;
    border-bottom: 1px solid #d4af37;
}
/* قائمة علوية زجاجية وفخمة */
.main-menu, .header-wrapper {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important; /* تأثير التغبيش */
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* تكبير الصورة بنعومة */
.product-card img, .product-item img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.product-card:hover img, .product-item:hover img {
    transform: scale(1.1) !important;
}

/* إخفاء خروج الصورة عن الإطار */
.product-card, .product-item {
    overflow: hidden !important;
}
/* تخصيص شريط التمرير */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d4af37; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}
/* تنسيق السعر */
.product-price {
    color: #1a1a1a !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    font-family: 'Montserrat', sans-serif; /* إذا كان المتجر يدعم خطوط إضافية */
}

/* تمييز العملة (ر.س) */
.currency {
    font-size: 0.8rem !important;
    color: #d4af37 !important;
    margin-right: 4px;
}
.main-menu-list li a {
    position: relative;
    text-decoration: none !important;
}

.main-menu-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #d4af37;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.main-menu-list li a:hover::after {
    width: 100%;
}
.product-card:hover, .product-item:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}
footer {
    background-color: #1a1a1a !important; /* أسود فاخر */
    color: #ffffff !important;
    padding-top: 50px !important;
    border-top: 3px solid #d4af37 !important; /* خط ذهبي علوي */
}

footer a {
    color: #cccccc !important;
    transition: 0.3s !important;
}

footer a:hover {
    color: #d4af37 !important; /* يتحول للذهبي عند التمرير */
    padding-right: 5px; /* حركة بسيطة تدل على التفاعل */
}
/* أيقونة السلة */
.cart-icon {
    color: #d4af37 !important;
}

/* دائرة عدد المنتجات في السلة */
.cart-badge {
    background-color: #1a1a1a !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
    font-size: 10px !important;
}
.top-ads-bar {
    overflow: hidden;
    white-space: nowrap;
}

.top-ads-bar p {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
body {
    -webkit-user-select: none; /* يمنع تحديد النصوص */
    -webkit-touch-callout: none; /* يمنع حفظ الصور بالضغط المطول على الجوال */
}
/* تأثير الظهور الناعم */
.product-card, .main-slider, .category-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.back-to-top {
    background-color: #1a1a1a !important;
    border: 2px solid #d4af37 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: 0.3s !important;
}

.back-to-top:hover {
    background-color: #d4af37 !important;
    transform: scale(1.1);
}
/* ملصق التخفيض أو نفاد الكمية */
.product-badge.sale {
    background: #1a1a1a !important; /* أسود */
    color: #d4af37 !important; /* نص ذهبي */
    border-radius: 0 !important; /* زوايا حادة للفخامة */
    padding: 5px 15px !important;
    font-weight: bold !important;
    letter-spacing: 1px;
}

.product-badge.out-of-stock {
    background: #eeeeee !important;
    color: #999 !important;
    text-decoration: line-through;
}
.btn-add-to-cart {
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    100% { left: 200%; }
}
.mobile-menu {
    background-color: #ffffff !important;
    padding: 20px !important;
}

.mobile-menu li a {
    font-size: 18px !important;
    border-bottom: 1px solid #f5f5f5;
    padding: 15px 0 !important;
    color: #333 !important;
    display: block;
}

.mobile-menu .social-icons {
    margin-top: 30px;
    text-align: center;
}