/* أنماط خاصة بصفحة المتجر بتصميم احترافي مع إطار أسود */

/* أنماط شبكة التصنيفات - تصميم احترافي متقدم */
.categories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7A00, #E56E00, #FF7A00);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.categories-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF7A00, #E56E00);
    border-radius: 2px;
}

.categories-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px 60px 60px;
}

@media (max-width: 768px) {
    .categories-container {
        padding: 0 70px 60px 70px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        justify-items: center;
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* أزرار التنقل المحسنة */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF7A00 0%, #E56E00 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF7A00, #E56E00, #FF7A00);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-arrow:hover::before {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

.nav-arrow:hover {
    background: linear-gradient(135deg, #E56E00 0%, #D55A00 100%);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 122, 0, 0.4);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.nav-arrow-right {
    right: 10px;
}

.nav-arrow-left {
    left: 10px;
}

@media (max-width: 768px) {
    .nav-arrow-right {
        right: 15px;
    }
    
    .nav-arrow-left {
        left: 15px;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
        z-index: 20;
    }
}

.nav-arrow i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.nav-arrow:hover i {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* مؤشرات النقاط المحسنة */
.categories-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7A00, #E56E00);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dot:hover {
    background-color: rgba(255, 122, 0, 0.3);
    transform: scale(1.2);
}

.dot.active {
    background: linear-gradient(135deg, #FF7A00, #E56E00);
    transform: scale(1.3);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
}

.dot.active::before {
    opacity: 1;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0.8rem 1.5rem 0.8rem;
    background: linear-gradient(145deg, #4a5568 0%, #2d3748 100%);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none !important;
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@media (max-width: 768px) {
    .category-item {
        height: 180px;
        padding: 1rem 0.6rem 1.2rem 0.6rem;
        margin: 0 auto;
        max-width: 280px;
        width: 100%;
    }
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-item:hover::before {
    left: 100%;
}

.category-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: #FF7A00;
    background: linear-gradient(145deg, #5a6c7d 0%, #374151 100%);
}

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

.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }

/* تأثيرات الانتقال بين الصفحات */
.category-link {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

/* تأثيرات التحميل والانتقال */
.categories-grid {
    transition: transform 0.2s ease;
}

.category-link.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.category-link.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideInUp 0.5s ease forwards;
}

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

/* تأثير النبض للنقاط النشطة */
.dot.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 122, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0);
    }
}

/* تأثير التحميل */
.loading-state {
    position: relative;
    overflow: hidden;
}

.loading-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.category-item .img-container {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 8px;
    border: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
    .category-item .img-container {
        width: 60px;
        height: 60px;
        margin-bottom: 0.6rem;
        padding: 6px;
    }
}

.category-item .img-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7A00, #E56E00, #FF7A00);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-item:hover .img-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.4);
}

.category-item:hover .img-container::before {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

.category-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    z-index: 2;
    position: relative;
    background: white;
    border: none;
    transition: transform 0.3s ease;
    padding: 4px;
}

@media (max-width: 768px) {
    .category-item img {
        width: 48px;
        height: 48px;
        padding: 3px;
    }
}

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

.category-item .placeholder-img {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: white;
    border: none;
}

@media (max-width: 768px) {
    .category-item .placeholder-img {
        width: 48px;
        height: 48px;
    }
}

.category-item .placeholder-img i {
    color: #FF7A00 !important;
    font-size: 1.4rem !important;
    transition: transform 0.3s ease;
}

.category-item:hover .placeholder-img i {
    transform: scale(1.2) rotate(10deg);
}

.category-item .category-name {
    color: #ffffff;
    margin: 0.3rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

.category-item:hover .category-name {
    color: #FF7A00;
    transform: translateY(-2px);
}

.category-item .product-count {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-bottom: 0.8rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s ease;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* تجميع محتوى التصنيف */
.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

/* زر تصفح المنتجات */
.browse-btn {
    background: linear-gradient(135deg, #FF7A00 0%, #E56E00 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 22px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 122, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    min-width: 120px;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
    background: linear-gradient(135deg, #E56E00 0%, #FF7A00 100%);
}

.category-item:hover .product-count {
    color: #cbd5e0;
}

/* إعادة تعريف أنماط الصور في صفحة المتجر */
.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* تنسيق رأس المتجر */
.store-header {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 3px solid #FF7A00;
}

/* صورة شعار المتجر */
.store-logo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FF7A00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    padding: 3px;
}

/* معلومات المتجر */
.store-info {
    padding: 1rem;
}

.store-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.store-description {
    color: #cccccc;
    margin-bottom: 1rem;
}

/* إحصائيات المتجر */
.store-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.stat-item i {
    color: #FF7A00;
}

/* شريط البحث المخصص للمتجر */
.store-search-container {
    margin: 1.5rem 0;
    max-width: 600px;
    padding: 0 5px;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 10px;
}

.store-search-form {
    display: flex;
    height: 46px;
    background-color: #1A1A1A;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid #333333;
    transition: 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 100%;
}

.store-search-form:focus-within {
    border-color: #FF7A00;
    box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.4);
    background-color: #222;
}

.store-search-input {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0 20px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.store-search-input::placeholder {
    color: #999999;
}

.store-search-btn {
    min-width: 46px;
    height: 46px;
    background-color: #FF7A00;
    color: #ffffff;
    border: none;
    border-radius: 0 9999px 9999px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.15s ease;
}

.store-search-btn:hover {
    background-color: #E56E00;
}

/* تحسين أنماط الكاروسيل */
.product-card-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #f8f9fa;
}

/* تحسين أزرار التنقل */
.carousel-control-prev,
.carousel-control-next {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* موضع الزر السابق - الآن يصبح على اليمين */
.carousel-control-prev {
    right: 10px !important;
    left: auto !important;
}

/* موضع الزر التالي - الآن يصبح على اليسار */
.carousel-control-next {
    left: 10px !important;
    right: auto !important;
}

/* إظهار الأزرار عند المرور فوق الكاروسل */
.card:hover .carousel-control-prev,
.card:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* تحسين أنماط البطاقات */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #000000;
    background-color: #fff;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* نظام التقييم بالنجوم - تصميم جديد */
.product-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 12px;
    margin-bottom: 15px;
    align-items: center;
}

.rating-pill, .likes-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.9rem;
    color: #212529;
    background: #f8f9fa;
    border: 1px solid #000000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    margin-right: 5px;
}

.rating-pill:hover, .likes-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rating-pill {
    color: #212529;
    font-weight: 500;
}

.likes-pill {
    color: #212529;
    font-weight: 500;
}

.rating-pill .value {
    background: #ffc107;
    color: #212529;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    margin-right: 8px;
    font-weight: bold;
}

.stars-wrap {
    display: flex;
    color: #ffc107;
    margin: 0 4px;
    letter-spacing: -1px;
}

.meta-count {
    margin-left: 6px;
    color: #6c757d;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
}

.likes-pill i {
    color: #6c757d;
    margin-right: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.likes-pill i.liked {
    color: #dc3545;
}

.likes-pill i:hover {
    transform: scale(1.2);
}

.rate-star {
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-star:hover {
    transform: scale(1.2);
}

/* نمط التقييم عند التحويم */
.stars-wrap:hover .rate-star {
    color: #dddddd;
}

.stars-wrap .rate-star:hover ~ .rate-star {
    color: #dddddd;
}

.stars-wrap .rate-star:hover {
    color: #ffc107 !important;
}

.stars-wrap .rate-star.hovered {
    color: #ffc107;
}

/* تحسين سعر المنتج */
.card-price {
    font-weight: 700;
    font-size: 1.4rem;
    color: #000000;
    margin: 0.75rem 0;
    direction: rtl; /* تغيير الاتجاه إلى يمين ليسار */
    text-align: center;
}

/* تحسين زر التفاصيل */
.btn-details {
    background: linear-gradient(135deg, #ff7a00 0%, #ff5722 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
}

.btn-details:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff7a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6);
}

/* تخطيط البطاقة */
.card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

/* تنسيق العنوان والسعر */
.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

/* تنسيق الوصف */
.card-text {
    color: #666;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

/* غير مصنف */
.category-badge {
    color: #6c757d;
    font-style: italic;
    font-size: 0.8rem;
    text-align: center;
    display: inline-block;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    padding: 3px 10px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

/* تنسيق قسم العروض */
.offer-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #000000;
}

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

/* شارة الخصم */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FF7A00;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* تاريخ انتهاء العرض */
.offer-date {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    text-align: center;
}

/* عنوان العرض */
.offer-title {
    color: #000000;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* وصف العرض */
.offer-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* زر عرض التفاصيل */
.btn-view-offer {
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-view-offer:hover {
    background-color: #FF7A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* استايل للصنف */
.category-badge {
    font-size: 0.8rem;
    background-color: #f8f9fa;
    color: #666;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

/* تم إزالة أزرار الإعجاب من الصورة */
.search-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

/* تحسين رأس صفحة المتجر */
.store-header {
    background: #000000;
    padding: 3rem 0;
    margin-bottom: 2rem;
    color: white;
    border-bottom: 3px solid #FF7A00;
}

.store-profile-image {
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
}

/* تحسين نموذج البحث */
.search-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

/* أنماط زر السلة السريع في بطاقة المنتج */
.quick-add-to-cart-btn {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a00 0%, #ff5722 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4);
    transition: all 0.3s ease;
    padding: 0;
}

.quick-add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff7a00 100%);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6);
    transform: scale(1.1);
}

.quick-add-to-cart-btn:active {
    transform: scale(0.95);
}

.quick-add-to-cart-btn i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.quick-add-to-cart-btn:hover i {
    transform: rotate(15deg);
}

/* تحسين تخطيط أزرار الإجراءات */
.btn-outline-primary {
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #ff7a00 0%, #ff5722 100%) !important;
    border-color: transparent !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

/* زر عرض التفاصيل البرتقالي */
.card-body a.btn[href*="product-details"] {
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.3);
}

.card-body a.btn[href*="product-details"]:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff7a00 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.5) !important;
}

.card-body a.btn[href*="product-details"]:active {
    transform: translateY(0);
}

/* زر السلة المضمّن (inline) */
.quick-cart-inline-btn {
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.3);
}

.quick-cart-inline-btn:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff7a00 100%) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.5) !important;
}

.quick-cart-inline-btn:active {
    transform: translateY(0) scale(0.98);
}

.quick-cart-inline-btn i {
    transition: transform 0.3s ease;
}

.quick-cart-inline-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}
