/* order/frontend/assets/online.css - نسخه نهایی */
:root {
    --primary-color: #000000;
    --primary-dark: #333333;
    --primary-light: #666666;
    --secondary-color: #f8f8f8;
    --accent-color: #FF3B30;
    --text-color: #000000;
    --text-light: #8E8E93;
    --border-color: #E5E5EA;
    --success-color: #34C759;
    --warning-color: #FF9500;
    --error-color: #FF3B30;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --background-color: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazir', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
}

/* هدر با لوگو واقعی */
.customer-header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 45px;
    height: 45px;
    margin-left: 12px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-section h1 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* ناوبری دسکتاپ */
.desktop-nav {
    display: none;
}

.desktop-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.desktop-nav .nav-link {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    background: #f5f5f5;
    color: var(--primary-color);
}

.desktop-nav .nav-link i {
    font-size: 1.1rem;
}

.desktop-badge {
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    min-width: 18px;
    text-align: center;
    position: absolute;
    top: -5px;
    left: -5px;
}

.user-section {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

#userName {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

/* منوی کاربر ساده */
.user-menu {
    position: relative;
    display: inline-block;
}

.btn-user-menu {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Vazir, sans-serif;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-user-menu:hover {
    background: #f5f5f5;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 5px;
    border: 1px solid var(--border-color);
}

.dropdown-content.active {
    display: block !important;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-family: Vazir, sans-serif;
    text-align: right;
    transition: all 0.2s;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.dropdown-content a i {
    width: 16px;
    text-align: center;
}

/* محتوای اصلی */
.customer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 80px;
    min-height: calc(100vh - 120px);
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    position: sticky;
    top: 69px;
    z-index: 90;
    background: white;
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* جستجو */
.search-box {
    display: flex;
    max-width: 300px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.search-box input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
}

.search-box button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* دسته‌بندی‌ها با آیکون */
.categories-tabs {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    background: white;
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: all 0.2s;
    min-width: auto;
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-tab i {
    font-size: 1rem;
}

/* کارت‌های محصول */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin-top: 0;
}

.product-card {
    display: flex;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    transition: all 0.2s;
    cursor: pointer;
    align-items: flex-start;
}

.product-card:last-child {
    border-bottom: none;
}

.product-card:hover {
    background: #f9f9f9;
}

.product-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 20px;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-color);
    line-height: 1.3;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 140px;
    transition: all 0.2s;
    align-self: flex-start;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* سبد خرید */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--card-shadow);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
}

.cart-item:hover {
    background: #f9f9f9;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.item-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex-grow: 1;
}

.item-details h4 {
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 1.1rem;
}

.item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-value {
    margin: 0 10px;
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    font-size: 1.3rem;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.remove-item:hover {
    background: var(--error-color);
    color: white;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-cart p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.summary-card h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-color);
    text-align: center;
    font-weight: 800;
    font-size: 1.3rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 8px 0;
    font-size: 1.1rem;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    color: var(--primary-color);
}

.delivery-options {
    margin: 20px 0;
}

.radio-label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
    gap: 10px;
}

.radio-label:hover {
    border-color: var(--primary-color);
}

.radio-label input {
    margin-left: 12px;
}

.radio-label i {
    color: var(--text-light);
    width: 16px;
}

.delivery-address-section {
    margin-top: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.address-header h4 {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-edit-address, .btn-add-address {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-edit-address:hover, .btn-add-address:hover {
    background: var(--primary-dark);
}

.address-display {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border-right: 3px solid var(--primary-color);
}

.no-address-message {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border-radius: 6px;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.no-address-message i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* ناوبری پایین - فقط برای موبایل */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    display: block;
}

.bottom-nav .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-around;
    align-items: center;
    height: 70px;
}

.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.2s;
    position: relative;
    height: 100%;
}

.bottom-nav .nav-link.active {
    color: var(--primary-color);
}

.bottom-nav .nav-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transition: all 0.2s;
}

.bottom-nav .nav-link.active .nav-icon {
    transform: translateY(-2px);
}

.bottom-nav .nav-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.bottom-nav .cart-badge {
    position: absolute;
    top: 5px;
    left: 55%;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .logo-section h1 {
        font-size: 1.2rem;
    }
    
    .customer-main {
        margin-bottom: 70px;
        padding: 0 12px 80px;
    }
    
    .product-card {
        padding: 16px 0;
    }
    
    .product-image-container {
        width: 100px;
        height: 100px;
        margin-left: 16px;
    }
    
    .search-box {
        max-width: 200px;
    }
    
    .categories-tabs {
        padding: 16px 0;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .category-tab {
        padding: 10px 16px;
        flex-shrink: 0;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-summary {
        position: static;
    }
    
    .bottom-nav {
        display: block;
    }
}

@media (min-width: 769px) {
    .desktop-nav {
        display: block;
    }
    
    .bottom-nav {
        display: none;
    }
    
    .customer-main {
        padding-bottom: 20px;
    }
    
    .categories-tabs {
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .header-container {
        max-width: 1200px;
    }
    
    .customer-main {
        max-width: 1200px;
    }
}

/* استایل‌های مودال */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content.large-modal {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
}

.close:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* استایل‌های سفارش‌ها */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
    transition: all 0.2s;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-id {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.order-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.order-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.status-preparing {
    background: #D1ECF1;
    color: #0C5460;
}

.status-ready {
    background: #D1F7F1;
    color: #0C6054;
}

.status-delivered {
    background: #D4EDDA;
    color: #155724;
}

.status-cancelled {
    background: #F8D7DA;
    color: #721C24;
}

.order-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.order-items {
    color: var(--text-light);
}

.order-total {
    font-weight: 700;
    color: var(--primary-color);
}

/* استایل‌های پروفایل */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 0;
}

.profile-form, .addresses-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.field-note {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* استایل‌های باشگاه مشتریان */
.loyalty-container {
    padding: 16px 0;
}

.loyalty-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

.loyalty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.points-display, .loyalty-level {
    text-align: center;
}

.points-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 8px 0;
}

.level-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin: 8px 0;
    color: white;
    background: var(--primary-color);
}

.loyalty-progress {
    margin: 20px 0;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.loyalty-benefits {
    margin: 20px 0;
}

.loyalty-benefits ul {
    list-style: none;
    padding-right: 20px;
}

.loyalty-benefits li {
    margin-bottom: 8px;
    position: relative;
    padding: 8px 0;
}

.loyalty-benefits li:before {
    content: "✓";
    position: absolute;
    right: -20px;
    color: var(--success-color);
    font-weight: bold;
}

.history-list {
    max-height: 200px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.history-item:last-child {
    border-bottom: none;
}

.history-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.history-points {
    font-weight: 700;
    color: var(--success-color);
}

.history-points.negative {
    color: var(--error-color);
}

/* استایل‌های نقشه */
.map-search-box {
    display: flex;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.map-search-box input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    background: transparent;
}

.map-search-box button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

.map-instructions {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.selected-location-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.location-status {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.location-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.current-location-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* بهبود نمایش محصولات در دسکتاپ */
@media (min-width: 1024px) {
    .product-card {
        padding: 24px 0;
    }
    
    .product-image-container {
        width: 140px;
        height: 140px;
    }
    
    .product-info {
        min-height: 140px;
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.4rem;
    }
}

/* استایل‌های فیلتر */
.filter-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-options select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
}

/* استایل‌های نوتیفیکیشن */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
}

.notification.success {
    border-right: 4px solid var(--success-color);
}

.notification.error {
    border-right: 4px solid var(--error-color);
}

.notification.warning {
    border-right: 4px solid var(--warning-color);
}

/* استایل‌های loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* استایل‌های responsive text */
@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .add-to-cart-btn {
        width: 120px;
        font-size: 0.9rem;
    }
}
/* استایل‌های مودال احراز هویت سریع */
.medium-modal {
    max-width: 500px;
}

.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

.step-icon {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.step-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
}

.phone-input {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.welcome-message {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--success-color);
}

.customer-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-right: 4px solid var(--primary-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-row span:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.info-row span:last-child {
    color: var(--text-light);
}

.location-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* انیمیشن برای تغییر مراحل */
.auth-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* رسپانسیو */
@media (max-width: 768px) {
    .medium-modal {
        width: 95%;
        margin: 10px;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .customer-info-card {
        padding: 15px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
}
