/**
 * Arabic Products Page Design
 * 
 * Color Scheme: Gold (#D4AF37) + Deep Blue (#003366) + White (#FFFFFF)
 * Design Philosophy: Luxury, elegance, RTL layout
 * 
 * @package Corporate_Theme
 * @since 1.0.0
 */

/* ============================================================================
   RTL Layout
   ========================================================================== */

body.lang-ar .archive-product-new {
    direction: rtl;
    text-align: right;
}

body.lang-ar .archive-product-new * {
    direction: rtl;
}

/* ============================================================================
   Hero Banner - Gold and Deep Blue Theme
   ========================================================================== */

body.lang-ar .archive-hero {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body.lang-ar .archive-hero::before {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.75) 0%, rgba(0, 64, 128, 0.75) 100%);
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

body.lang-ar .archive-hero-content {
    position: relative;
    z-index: 2;
}

body.lang-ar .archive-title {
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.lang-ar .archive-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================================================
   Filters - Gold Theme
   ========================================================================== */

body.lang-ar .filter-label {
    color: #D4AF37;
    border-right: 4px solid #D4AF37;
    border-left: none;
    padding-right: 16px;
    padding-left: 0;
}

body.lang-ar .filter-label .dashicons {
    color: #D4AF37;
    margin-left: 8px;
    margin-right: 0;
}

body.lang-ar .filter-btn {
    background: #FFFFFF;
    color: #003366;
    border: 2px solid #E0E0E0;
}

body.lang-ar .filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
}

body.lang-ar .filter-btn.active {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #003366;
    border-color: #D4AF37;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.lang-ar .filter-btn .count {
    color: inherit;
    opacity: 0.8;
}

/* ============================================================================
   Category Info - Gold Accents
   ========================================================================== */

body.lang-ar .category-info {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-right: 4px solid #D4AF37;
    border-left: none;
}

body.lang-ar .category-title {
    color: #003366;
}

body.lang-ar .category-title .dashicons {
    color: #D4AF37;
    margin-left: 12px;
    margin-right: 0;
}

body.lang-ar .category-description {
    color: #555555;
}

/* ============================================================================
   Product Cards - Gold and Deep Blue Theme
   ========================================================================== */

body.lang-ar .product-card-archive {
    background: #FFFFFF;
    border: 3px solid #F0F0F0;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.lang-ar .product-card-archive:hover {
    border-color: #D4AF37;
    box-shadow: 0 16px 40px rgba(212, 175, 55, 0.25);
    transform: translateY(-10px);
}

body.lang-ar .product-category-tag {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #003366;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.lang-ar .product-card-title a {
    color: #003366;
}

body.lang-ar .product-card-title a:hover {
    color: #D4AF37;
}

body.lang-ar .product-card-link {
    color: #D4AF37;
    font-weight: 700;
}

body.lang-ar .product-card-link:hover {
    color: #003366;
    background: rgba(212, 175, 55, 0.1);
}

body.lang-ar .product-card-link .dashicons {
    color: #D4AF37;
    margin-right: 8px;
    margin-left: 0;
    transform: rotate(180deg);
}

body.lang-ar .product-card-link:hover .dashicons {
    transform: rotate(180deg) translateX(-4px);
}

/* ============================================================================
   Pagination - Gold Theme
   ========================================================================== */

body.lang-ar .archive-pagination .page-numbers {
    background: #FFFFFF;
    color: #003366;
    border: 2px solid #E0E0E0;
}

body.lang-ar .archive-pagination .page-numbers:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
}

body.lang-ar .archive-pagination .page-numbers.current {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #003366;
    border-color: #D4AF37;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.lang-ar .archive-pagination .page-numbers .dashicons {
    color: inherit;
}

/* ============================================================================
   Empty State - Gold Accents
   ========================================================================== */

body.lang-ar .archive-empty-state {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 3px solid rgba(212, 175, 55, 0.2);
}

body.lang-ar .empty-icon {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #003366;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

body.lang-ar .archive-empty-state h2 {
    color: #003366;
}

body.lang-ar .archive-empty-state p {
    color: #666666;
}

body.lang-ar .empty-actions .btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    color: #003366;
    border: none;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.lang-ar .empty-actions .btn-primary:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

body.lang-ar .empty-actions .btn-outline {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

body.lang-ar .empty-actions .btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #FFD700;
}

/* ============================================================================
   Image Placeholder - Gold Theme
   ========================================================================== */

body.lang-ar .product-image-placeholder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 3px dashed rgba(212, 175, 55, 0.3);
}

body.lang-ar .product-image-placeholder .dashicons {
    color: #D4AF37;
}

body.lang-ar .product-image-placeholder p {
    color: #D4AF37;
}

/* ============================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    body.lang-ar .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    body.lang-ar .filter-btn {
        text-align: center;
    }
}
