/* إعدادات عامة - تصميم عصري */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* معالجة الصور المفقودة */
img[src*="placeholder.jpg"] {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    min-height: 200px;
}

img[src*="placeholder.jpg"]::before {
    content: "صورة غير متوفرة";
    display: block;
}

/* تصميم صفحة السلة المحسن */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 20px;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.cart-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 2fr 1fr 1fr 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.item-image {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.item-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.item-price {
    margin-bottom: 10px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}

.old-price {
    text-decoration: line-through;
    color: #95a5a6;
    margin-right: 10px;
    font-size: 0.9rem;
}

.item-stock {
    color: #27ae60;
    font-size: 0.9rem;
}

.item-stock i {
    margin-left: 5px;
}

.item-quantity label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.quantity-controls input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
}

.item-subtotal {
    text-align: center;
}

.subtotal-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.subtotal-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.btn-remove {
    width: 45px;
    height: 45px;
    border: 2px solid #ff4757;
    background: #ff4757;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
    position: relative;
}

.btn-remove::before {
    content: "حذف";
    position: absolute;
    top: -35px;
    right: 50%;
    transform: translateX(50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.btn-remove::after {
    content: "";
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-remove:hover {
    background: #ff3742;
    border-color: #ff3742;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 71, 87, 0.4);
}

.btn-remove:hover::before,
.btn-remove:hover::after {
    opacity: 1;
}

.btn-remove i {
    font-size: 18px;
}

/* ملخص السلة */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.summary-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.summary-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #f8f9fa;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.free-shipping {
    color: #27ae60;
    font-weight: bold;
}

.shipping-notice {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions .btn {
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cart-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* السلة الفارغة */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-cart-actions .btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.empty-cart-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* تحسينات للموبايل */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .empty-cart-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .order-summary {
        position: static;
    }
}

/* تصميم صفحة إتمام الطلب */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.checkout-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f8f9fa;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.payment-method input[type="radio"] {
    width: auto;
    margin: 0;
}

.payment-method label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.order-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.order-items {
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name {
    font-weight: 500;
    color: #2c3e50;
}

.item-quantity {
    font-size: 0.9rem;
    color: #6c757d;
}

.item-price {
    font-weight: bold;
    color: #2c3e50;
}

.order-totals {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 2px solid #f8f9fa;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #6c757d;
}

.total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #f8f9fa;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.btn-checkout {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* تصميم صفحة السلة المحسن */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 20px;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.cart-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 2fr 1fr 1fr 50px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.item-image {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

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

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.item-details h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #2c3e50;
}

.item-price {
    margin-bottom: 10px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}

.old-price {
    text-decoration: line-through;
    color: #95a5a6;
    margin-right: 10px;
    font-size: 0.9rem;
}

.item-stock {
    color: #27ae60;
    font-size: 0.9rem;
}

.item-stock i {
    margin-left: 5px;
}

.item-quantity label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.quantity-controls input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
}

.item-subtotal {
    text-align: center;
}

.subtotal-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.subtotal-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.btn-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: #ff4757;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #ff3742;
    transform: scale(1.1);
}

/* ملخص السلة */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.summary-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.summary-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.summary-items {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 2px solid #f8f9fa;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.free-shipping {
    color: #27ae60;
    font-weight: bold;
}

.shipping-notice {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions .btn {
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cart-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* السلة الفارغة */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-cart h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-cart-actions .btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.empty-cart-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Poppins', 'Cairo', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #f0f2f5;
    direction: rtl;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* الهيدر العصري الجديد - أبيض نظيف */
.main-header {
    background: white;
    color: #333;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6c5ce7;
    margin: 0;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.search-box {
    flex: 1;
    max-width: 500px;
}

.search-form {
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6c5ce7;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: #6c5ce7;
}

.auth-buttons-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.auth-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.register-btn {
    background: #667eea;
    color: white;
    border: 2px solid #667eea;
}

.register-btn:hover {
    background: #5a67d8;
    border-color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.login-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.login-btn:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* قائمة المستخدم */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.user-status {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    min-width: 220px;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

.user-dropdown.show {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-item.logout {
    color: #e53e3e;
}

.dropdown-item.logout:hover {
    background: #fed7d7;
    color: #c53030;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tool-btn {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
}

.tool-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
}

.wishlist-count,
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    border: 2px solid rgba(108, 92, 231, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
    margin: 0;
}

.user-status {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-btn {
    background: white;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
}

.login-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.register-btn {
    background: #6c5ce7;
    color: white;
}

.register-btn:hover {
    background: #5f3dc4;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-1px);
}

/* أدوات المستخدم العصري - منظم */
.user-tools {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    justify-content: flex-end;
}

.tool-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #4a5568;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: #6c5ce7;
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.wishlist-count,
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53e3e;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* قائمة المستخدم العصري - منظم */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.3s ease;
    font-size: 14px;
}

.user-btn:hover {
    background: #6c5ce7;
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

.user-status {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1.2;
}

/* أزرار تسجيل الدخول العصري - منظم */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-btn {
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-btn {
    background: white;
    color: #4a5568;
    border-color: #e2e8f0;
}

.login-btn:hover {
    background: #6c5ce7;
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.2);
}

.register-btn {
    background: #6c5ce7;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* زر القائمة للموبايل - منظم */
.mobile-menu-btn {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-1px);
}

/* القائمة الرئيسية - مخفية في الهيدر الرئيسي */
.main-nav {
    display: none;
}

/* القائمة الجانبية - منظمة */
.sidebar-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0 0 0 20px;
}

.sidebar-nav.active {
    transform: translateX(0);
}

/* إضافة طبقة معتمة خلف القائمة */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo i {
    font-size: 24px;
    color: #667eea;
}

.sidebar-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #718096;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: #f7fafc;
    color: #2d3748;
}

.sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-menu a:hover {
    background: #6c5ce7;
    color: white;
    transform: translateX(-5px);
}

.sidebar-menu a i {
    font-size: 16px;
    width: 20px;
}

/* زر فتح القائمة الجانبية */
.sidebar-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 1001;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* البطاقات العصري */
.product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

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

.product-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #4a5568;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.featured-badge,
.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.new-badge {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}

.product-description {
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price {
    font-size: 20px;
    font-weight: 800;
    color: #667eea;
}

.old-price {
    font-size: 16px;
    color: #a0aec0;
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

/* الشبكات العصري */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

/* الأقسام العصري */
.categories-section,
.featured-products,
.new-products {
    padding: 80px 0;
    background: #ffffff;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* البطاقات العصري */
.category-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-card p {
    color: #718096;
    margin-bottom: 15px;
    font-size: 14px;
}

.category-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-card:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* قسم المميزات العصري */
.features-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    margin: 40px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* الأزرار العصري */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #6c5ce7;
    color: white;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #4a5568;
    border-color: #e2e8f0;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #6c5ce7;
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 92, 231, 0.4);
}

/* الإشعارات العصري */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10000;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-right: 4px solid #48bb78;
}

.notification-error {
    border-right: 4px solid #e53e3e;
}

.notification-warning {
    border-right: 4px solid #ed8936;
}

.notification-info {
    border-right: 4px solid #4299e1;
}

/* تأثيرات إضافية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-card,
.category-card,
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.nav-link {
    animation: slideInRight 0.6s ease forwards;
}

/* تحسين الأداء */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* تحسين التباين */
@media (prefers-contrast: high) {
    .main-header {
        background: white;
        border-bottom: 2px solid #667eea;
    }
    
    .product-card,
    .category-card,
    .feature-card {
        background: white;
        border: 2px solid #e2e8f0;
    }
}

/* تحسين الحركة */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 

/* قسم Hero العصري */
.hero-section {
    padding: 120px 0 80px;
    background: #6c5ce7;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 18px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #6c5ce7;
    color: white;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #5f3dc4;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card i {
    font-size: 32px;
    color: #667eea;
}

.floating-card span {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* تحسينات إضافية للتصميم */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.section-footer .btn {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 30px;
}

/* تحسين البطاقات */
.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

/* تحسين الأزرار */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

/* تحسين الإشعارات */
.notification {
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* تحسين الاستجابة للموبايل */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .floating-card {
        padding: 15px;
    }
    
    .floating-card i {
        font-size: 24px;
    }
    
    .floating-card span {
        font-size: 12px;
    }
    
    .card-1 {
        top: 10%;
        left: 5%;
    }
    
    .card-2 {
        top: 40%;
        right: 10%;
    }
    
    .card-3 {
        bottom: 10%;
        left: 20%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 15px 25px;
        font-size: 14px;
        background: #6c5ce7;
        color: white;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .floating-card {
        padding: 12px;
    }
    
    .floating-card i {
        font-size: 20px;
    }
    
    .floating-card span {
        font-size: 10px;
    }
}

/* تحسين الأداء والحركة */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .btn::before {
        display: none;
    }
}

/* تحسين التباين */
@media (prefers-contrast: high) {
    .hero-section {
        background: #667eea;
    }
    
    .product-card {
        background: white;
        border: 2px solid #e2e8f0;
    }
    
    .floating-card {
        background: white;
        border: 2px solid #e2e8f0;
    }
} 

/* الفوتر العصري */
.main-footer {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-section {
    position: relative;
}

/* شعار الفوتر */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer-logo-icon i {
    font-size: 28px;
    color: white;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-subtitle {
    font-size: 14px;
    color: #a0aec0;
    font-weight: 500;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

/* روابط التواصل الاجتماعي */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* عناوين الفوتر */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* روابط الفوتر */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-radius: 8px;
}

.footer-links a i {
    font-size: 14px;
    width: 20px;
    color: #667eea;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding-right: 10px;
    transform: translateX(-5px);
}

.footer-links a:hover i {
    color: #764ba2;
}

/* معلومات الاتصال */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-icon i {
    font-size: 16px;
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 500;
}

.contact-value {
    font-size: 15px;
    color: white;
    font-weight: 500;
}

/* قسم النشرة البريدية */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.newsletter-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.newsletter-text p {
    color: #a0aec0;
    font-size: 16px;
    line-height: 1.6;
}

.newsletter-form {
    min-width: 400px;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: white;
    font-size: 16px;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: #a0aec0;
}

.newsletter-input-group button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.newsletter-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.newsletter-input-group button i {
    font-size: 14px;
}

/* أسفل الفوتر */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    color: #a0aec0;
    font-size: 14px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* تحسين الاستجابة للموبايل */
@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .newsletter-form {
        min-width: auto;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-input-group button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 40px 0 0;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo-icon i {
        font-size: 24px;
    }
    
    .footer-logo-title {
        font-size: 20px;
    }
    
    .newsletter-section {
        padding: 25px;
    }
    
    .newsletter-text h3 {
        font-size: 20px;
    }
    
    .newsletter-text p {
        font-size: 14px;
    }
    
    .contact-item {
        gap: 10px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon i {
        font-size: 14px;
    }
    
    .contact-value {
        font-size: 14px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
} 

/* تحسين الاستجابة للموبايل */
@media (max-width: 1024px) {
    .header-content {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }
    
    .logo-title {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 11px;
    }
    
    .search-box {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }
    
    .search-box {
        order: 3;
        grid-column: 1 / -1;
        max-width: none;
        margin-top: 15px;
    }
    
    .logo-link {
        min-width: auto;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    .user-tools {
        min-width: auto;
    }
    
    .user-btn {
        padding: 6px 12px;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .user-name {
        font-size: 12px;
    }
    
    .user-status {
        font-size: 10px;
    }
    
    .auth-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .tool-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* إظهار زر القائمة الجانبية في الجوال */
    .mobile-menu-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: white;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon i {
        font-size: 20px;
    }
    
    .logo-title {
        font-size: 16px;
    }
    
    .search-input {
        padding: 10px 45px 10px 15px;
        font-size: 14px;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .user-tools {
        gap: 10px;
    }
    
    .tool-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .user-btn {
        padding: 5px 10px;
    }
    
    .user-avatar {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
    
    .user-name {
        font-size: 11px;
    }
    
    .user-status {
        font-size: 9px;
    }
    
    .auth-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* إظهار زر القائمة الجانبية في الشاشات الصغيرة */
    .mobile-menu-btn {
        display: flex !important;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        color: white;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-image img {
        height: 200px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .add-to-cart-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .category-card h3 {
        font-size: 16px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
} 

/* المحتوى الرئيسي الجديد */
.main-content {
    background: #ffffff;
    min-height: 100vh;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* قسم الترحيب الجديد */
.welcome-section {
    background: #6c5ce7;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="welcome-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23welcome-pattern)"/></svg>');
    opacity: 0.3;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.welcome-text {
    color: white;
}

.welcome-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.welcome-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.welcome-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.welcome-buttons .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #6c5ce7;
    color: white;
}

.welcome-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #5f3dc4;
}

.welcome-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card i {
    font-size: 32px;
    color: #667eea;
}

.floating-card span {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* تحسينات إضافية للتصميم */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.section-footer .btn {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 30px;
}

/* تحسين البطاقات */
.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

/* تحسين الأزرار */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

/* تحسين الإشعارات */
.notification {
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* تحسين الاستجابة للموبايل */
@media (max-width: 768px) {
    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .welcome-title {
        font-size: 32px;
    }
    
    .welcome-description {
        font-size: 16px;
    }
    
    .welcome-buttons {
        justify-content: center;
    }
    
    .welcome-image {
        height: 300px;
    }
    
    .floating-card {
        padding: 15px;
    }
    
    .floating-card i {
        font-size: 20px;
    }
    
    .floating-card span {
        font-size: 12px;
    }
    
    .element-1 {
        top: 10%;
        left: 5%;
    }
    
    .element-2 {
        top: 40%;
        right: 10%;
    }
    
    .element-3 {
        bottom: 10%;
        left: 20%;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 60px 0 40px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .welcome-description {
        font-size: 14px;
    }
    
    .welcome-buttons .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .welcome-image {
        height: 250px;
    }
    
    .floating-card {
        padding: 12px;
    }
    
    .floating-card i {
        font-size: 16px;
    }
    
    .floating-card span {
        font-size: 10px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .category-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .category-content h3 {
        font-size: 18px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .product-info h3 {
        font-size: 16px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .add-to-cart-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
} 

/* =====================================================
   صفحة المنتجات المحسنة
   ===================================================== */

/* رأس الصفحة المحسن */
.page-hero {
    background: #6c5ce7;
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.page-hero-text {
    max-width: 600px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.page-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item i {
    font-size: 1.2rem;
    color: #ffd700;
}

.stat-item span {
    font-weight: 600;
    font-size: 1rem;
}

.page-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.hero-illustration i {
    font-size: 4rem;
    color: #ffd700;
}

/* قسم الفلاتر المحسن */
.filters-section {
    background: white;
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.search-filter {
    width: 100%;
}

.search-filter .search-form {
    width: 100%;
}

.search-filter .search-input-group {
    width: 100%;
    position: relative;
}

.search-filter .search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.search-filter .search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-filter .search-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-filter .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.advanced-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.filter-label {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label i {
    color: #667eea;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-actions {
    display: flex;
    align-items: end;
}

/* عرض النتائج */
.products-display {
    padding: 40px 0;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.results-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.results-header p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 15px;
}

.search-term {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* تحسينات إضافية للمنتجات */
.product-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.product-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-category i {
    font-size: 10px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-stock {
    margin: 12px 0;
}

.in-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #38a169;
    font-size: 12px;
    font-weight: 600;
}

.in-stock i {
    font-size: 14px;
}

.out-of-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e53e3e;
    font-size: 12px;
    font-weight: 600;
}

.out-of-stock i {
    font-size: 14px;
}

/* حالة عدم وجود منتجات */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px dashed #e2e8f0;
}

.no-products-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 3px solid #e2e8f0;
}

.no-products-icon i {
    font-size: 3rem;
    color: #a0aec0;
}

.no-products h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.no-products p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-products-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ترقيم الصفحات */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
}

.pagination-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
}

/* الإشعارات */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: #f7fafc;
    color: #4a5568;
}

.notification-success {
    border-right: 4px solid #38a169;
}

.notification-error {
    border-right: 4px solid #e53e3e;
}

.notification-warning {
    border-right: 4px solid #d69e2e;
}

.notification-info {
    border-right: 4px solid #3182ce;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .page-stats {
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .hero-illustration {
        width: 150px;
        height: 150px;
    }
    
    .hero-illustration i {
        font-size: 3rem;
    }
    
    .filters-section {
        padding: 20px 0;
    }
    
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-actions {
        align-items: center;
    }
    
    .results-header {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .results-header h2 {
        font-size: 1.5rem;
    }
    
    .results-header p {
        font-size: 1rem;
    }
    
    .no-products {
        padding: 60px 20px;
    }
    
    .no-products-icon {
        width: 100px;
        height: 100px;
    }
    
    .no-products-icon i {
        font-size: 2.5rem;
    }
    
    .no-products h3 {
        font-size: 1.5rem;
    }
    
    .no-products p {
        font-size: 1rem;
    }
    
    .no-products-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .search-filter .search-input {
        padding: 12px 50px 12px 20px;
        font-size: 14px;
    }
    
    .search-filter .search-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .filter-select {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-description {
        font-size: 13px;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
} 

/* =====================================================
   CSS للصفحات الجديدة
   ===================================================== */

/* صفحة الفئات */
.category-card-large {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.category-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.category-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.category-badge {
    background: #e53e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #6c5ce7;
    margin-bottom: 10px;
}

.category-description {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f7fafc;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #4a5568;
}

.feature-item i {
    color: #38a169;
    font-size: 10px;
}

.category-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-category-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.featured-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-category-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.featured-category-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.featured-category-info p {
    color: #4a5568;
    margin-bottom: 20px;
}

.featured-category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-category-link:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* صفحة العروض */
.countdown-section {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
    border-radius: 20px;
    text-align: center;
}

.countdown-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

.offer-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid #e53e3e;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    z-index: 10;
    text-align: center;
}

.discount-percent {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
}

.savings-amount {
    display: block;
    font-size: 11px;
    opacity: 0.9;
}

.price-section {
    margin: 15px 0;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.old-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 1rem;
}

.current-price {
    color: #e53e3e;
    font-size: 1.3rem;
    font-weight: 700;
}

.discount-info {
    display: flex;
    justify-content: center;
}

.discount-label {
    background: #e53e3e;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.no-offers {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px dashed #e2e8f0;
}

.no-offers-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 3px solid #e2e8f0;
}

.no-offers-icon i {
    font-size: 3rem;
    color: #a0aec0;
}

.no-offers h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.no-offers p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-offers-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.featured-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-offer-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.featured-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-offer-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.featured-offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e53e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
}

.featured-offer-info {
    padding: 20px;
}

.featured-offer-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.featured-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.featured-offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-offer-link:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* صفحة العلامات التجارية */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.brand-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.brand-badge {
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.brand-category {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.brand-description {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.brand-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.featured-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-brand-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.featured-brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-brand-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.featured-brand-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.featured-brand-info p {
    color: #4a5568;
    margin-bottom: 20px;
}

.featured-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-brand-link:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

.category-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-brands-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.category-brands-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-brands-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.category-brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.brand-tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* صفحة المساعدة */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f7fafc;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.faq-question i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f7fafc;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.faq-answer ul, .faq-answer ol {
    padding: 0 30px 25px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.faq-answer li {
    margin-bottom: 8px;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-method-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.contact-method-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.contact-method-card p {
    color: #4a5568;
    margin-bottom: 15px;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #764ba2;
}

.contact-time {
    display: block;
    color: #38a169;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.guide-steps {
    max-width: 800px;
    margin: 40px auto 0;
}

.guide-step {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.guide-step:hover {
    transform: translateX(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* صفحة من نحن */
.store-story {
    margin-bottom: 60px;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 25px;
}

.story-text p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-visual {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
    animation: float 6s ease-in-out infinite;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.vision-card, .mission-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.vision-icon, .mission-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 3rem;
}

.vision-card h3, .mission-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.vision-card p, .mission-card p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.team-member h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.member-role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-description {
    color: #4a5568;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #4a5568;
    font-weight: 600;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.certificate-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.certificate-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.certificate-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* صفحة الاتصال */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-card .contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-info-card a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info-card a:hover {
    color: #764ba2;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.form-header p {
    color: #4a5568;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-weight: 600;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.map-placeholder {
    padding: 60px 20px;
}

.map-placeholder i {
    font-size: 4rem;
    color: #a0aec0;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.map-placeholder p {
    color: #4a5568;
    margin-bottom: 30px;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-link-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.social-link-card.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-link-card.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link-card.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link-card.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link-card:hover .social-icon {
    background: white;
    color: inherit;
}

.social-link-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.social-link-card p {
    color: #4a5568;
    transition: all 0.3s ease;
}

.social-link-card:hover p {
    color: inherit;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .story-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .story-visual {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .map-container {
        padding: 30px 20px;
    }
    
    .social-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .story-text h2 {
        font-size: 2rem;
    }
    
    .story-text p {
        font-size: 1rem;
    }
    
    .vision-card, .mission-card {
        padding: 30px 20px;
    }
    
    .vision-icon, .mission-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 15px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 12px;
    }
}

/* =====================================================
   CSS للصفحات الجديدة - الجزء الثاني
   ===================================================== */

/* صفحة الملف الشخصي */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-info-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.profile-details h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.profile-details p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.member-since {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
}

.stat-label {
    color: #4a5568;
    font-size: 14px;
}

.profile-form-section,
.password-form-section {
    margin-bottom: 30px;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.form-header p {
    color: #4a5568;
    font-size: 1.1rem;
}

.profile-form,
.password-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.focused label {
    color: #667eea;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.setting-item:hover {
    background: #edf2f7;
}

.setting-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.setting-info p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.account-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: right;
}

.action-card:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.action-card.danger:hover {
    background: #fed7d7;
    color: #742a2a;
}

.action-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.action-card.danger .action-icon {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.action-info {
    flex: 1;
}

.action-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.action-info p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.action-card i:last-child {
    color: #667eea;
    font-size: 1.2rem;
}

/* صفحة الطلبات */
.orders-container {
    max-width: 1000px;
    margin: 0 auto;
}

.order-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.order-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.order-date {
    color: #4a5568;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.order-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 12px;
}

.summary-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.summary-item span {
    color: #2d3748;
    font-weight: 600;
}

.order-progress {
    margin-bottom: 25px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 0 20px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.progress-step.completed .step-icon {
    background: #667eea;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #4a5568;
    text-align: center;
    font-weight: 600;
}

.order-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-danger {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.no-orders {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px dashed #e2e8f0;
}

.no-orders-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 3px solid #e2e8f0;
}

.no-orders-icon i {
    font-size: 3rem;
    color: #a0aec0;
}

.no-orders h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.no-orders p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-orders-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* صفحة المفضلة */
.wishlist-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tools-left,
.tools-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.wishlist-item {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #f1f5f9;
}

.wishlist-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.item-checkbox {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.item-checkbox input[type="checkbox"] {
    display: none;
}

.item-checkbox label {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    transition: all 0.3s ease;
}

.item-checkbox input[type="checkbox"]:checked + label {
    background: #667eea;
    border-color: #667eea;
}

.item-checkbox input[type="checkbox"]:checked + label::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.item-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 200px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.item-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.wishlist-item:hover .item-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.item-category {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.item-description {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.item-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.old-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 14px;
}

.current-price {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
}

.discount-badge {
    background: #e53e3e;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.item-stock {
    margin-bottom: 10px;
}

.in-stock {
    color: #38a169;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.out-of-stock {
    color: #e53e3e;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-added-date {
    color: #a0aec0;
    font-size: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-actions-bottom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.item-actions-bottom .btn {
    flex: 1;
    min-width: 120px;
}

.wishlist-stats {
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.no-wishlist {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px dashed #e2e8f0;
}

.no-wishlist-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 3px solid #e2e8f0;
}

.no-wishlist-icon i {
    font-size: 3rem;
    color: #a0aec0;
}

.no-wishlist h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.no-wishlist p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-wishlist-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* صفحة الإعدادات */
.settings-container {
    max-width: 1000px;
    margin: 0 auto;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.privacy-settings,
.security-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.privacy-item,
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.privacy-item:hover,
.security-item:hover {
    background: #edf2f7;
}

.privacy-info h4,
.security-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.privacy-info p,
.security-info p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.privacy-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.settings-actions {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.save-settings-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .order-summary {
        grid-template-columns: 1fr;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .wishlist-tools {
        flex-direction: column;
        gap: 20px;
    }
    
    .tools-left,
    .tools-right {
        width: 100%;
        justify-content: center;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    .wishlist-item {
        padding: 20px;
    }
    
    .item-actions {
        position: static;
        opacity: 1;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
    }
    
    .privacy-item,
    .security-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .privacy-actions {
        flex-direction: column;
    }
    
    .save-settings-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-avatar {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .profile-details h2 {
        font-size: 1.5rem;
    }
    
    .order-card {
        padding: 20px;
    }
    
    .wishlist-item {
        padding: 15px;
    }
    
    .item-actions-bottom {
        flex-direction: column;
    }
    
    .item-actions-bottom .btn {
        width: 100%;
    }
}

/* بانر رئيسي جميل */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    animation: slideInUp 1s ease-out;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    color: white;
}

.banner-btn i {
    transition: transform 0.3s ease;
}

.banner-btn:hover i {
    transform: translateX(-5px);
}

/* أزرار التنقل */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.banner-nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.banner-nav-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* مؤشرات الشرائح */
.banner-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    background: white;
    transform: scale(1.2);
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* الرسوم المتحركة */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تعديل المحتوى ليعمل مع البانر الجديد */
.main-content {
    position: relative;
    z-index: 1;
    background: white;
}

.welcome-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    margin-top: 0;
}

.welcome-section::before {
    display: none;
}

.welcome-title,
.welcome-description {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welcome-buttons .btn {
    background: #6c5ce7;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.welcome-buttons .btn:hover {
    background: #5f3dc4;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.floating-element {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.floating-element i {
    color: white;
}

/* الاستجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .banner-nav {
        padding: 0 1rem;
    }
    
    .banner-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .banner-indicators {
        bottom: 1rem;
    }
    
    .banner-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .banner-text {
        padding: 1rem;
    }
    
    .banner-nav {
        padding: 0 0.5rem;
    }
    
    .banner-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* تأثيرات إضافية للبانرات */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.banner-slide::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .banner-slide::before,
    .banner-slide::after {
        display: none;
    }
}

/* ===== خلفية بصرية احترافية للمتجر ===== */

/* إعدادات عامة للخلفية */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --neon-blue: #00d4ff;
    --neon-purple: #9d4edd;
    --neon-pink: #ff6b6b;
    --neon-green: #51cf66;
}

/* خلفية متحركة للصفحة الرئيسية */
body {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* تأثير الخلفية المتحركة */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* عناصر عائمة في الخلفية */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue);
}

.floating-shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: var(--neon-purple);
    box-shadow: 0 0 30px var(--neon-purple);
}

.floating-shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    background: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink);
}

.floating-shape:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    background: var(--neon-green);
    box-shadow: 0 0 25px var(--neon-green);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* شبكة الخلفية */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* تأثير الزجاج للعناصر */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* تأثير النيون للأزرار */
.neon-button {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.neon-button:hover::before {
    left: 100%;
}

.neon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

/* تأثير النيون للبطاقات */
.neon-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.neon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.neon-card:hover::before {
    transform: scaleX(1);
}

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

/* تأثير الجزيئات المتحركة */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* تأثير الموجات */
.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: -1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50% 50% 0 0;
    animation: waveMove 10s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: -2s;
    opacity: 0.7;
}

.wave:nth-child(3) {
    animation-delay: -4s;
    opacity: 0.5;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* تأثير التوهج للعناصر */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 1;
}

/* تأثير الخطوط المتحركة */
.animated-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lineMove 8s linear infinite;
}

.line:nth-child(1) { top: 20%; width: 200px; animation-delay: 0s; }
.line:nth-child(2) { top: 40%; width: 150px; animation-delay: 2s; }
.line:nth-child(3) { top: 60%; width: 300px; animation-delay: 4s; }
.line:nth-child(4) { top: 80%; width: 250px; animation-delay: 6s; }

@keyframes lineMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* تأثير الدوائر المتداخلة */
.circles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: circlePulse 4s ease-in-out infinite;
}

.circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.circle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 30%;
    animation-delay: 2s;
}

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

/* تحسينات للعناصر الموجودة */
.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* تأثيرات خاصة للصفحات */
.hero-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    margin: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: -1;
}

/* تحسينات للأجهزة المحمولة */
@media (max-width: 768px) {
    .floating-shape {
        display: none;
    }
    
    .grid-background {
        background-size: 30px 30px;
    }
    
    .hero-section {
        margin: 10px;
        padding: 30px;
    }
}

/* تأثيرات إضافية للتفاعل */
.interactive-element {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.interactive-element:hover::before {
    width: 100%;
    height: 100%;
}

/* تأثير الكتابة المتحركة */
.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--neon-blue);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-blue); }
}

/* إعدادات عامة - تصميم عصري */