
    /* ==================== Variables - رنگ‌های مدرن 2025 ==================== */
    :root {
        /* Primary Colors */
        --primary: #C5CD33;
        --primary-dark: #a6ad2b;
        --primary-light: #d4dc4d;
        --secondary: #4CAF50;
        
        /* Background Colors */
        --bg-primary: #0a0a0a;
        --bg-secondary: #1a1a1a;
        --bg-tertiary: #242424;
        --bg-card: #1a1a1a;
        
        /* Text Colors */
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --text-muted: #6c757d;
        
        /* Border & Divider */
        --border: #333333;
        --divider: rgba(255, 255, 255, 0.1);
        
        /* Shadows - طراحی مدرن */
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
        --shadow-glow: 0 0 20px rgba(197, 205, 51, 0.25);
        
        /* Gradients */
        --gradient-primary: linear-gradient(135deg, #C5CD33 0%, #a6ad2b 100%);
        --gradient-overlay: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
        
        /* Transitions */
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        
        /* Spacing - 4px grid system */
        --space-xs: 0.25rem;  /* 4px */
        --space-sm: 0.5rem;   /* 8px */
        --space-md: 0.75rem;  /* 12px */
        --space-lg: 1rem;     /* 16px */
        --space-xl: 1.5rem;   /* 24px */
        --space-2xl: 2rem;    /* 32px */
        
        /* Border Radius */
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --radius-full: 50px;
    }

    /* ==================== Reset & Base - Mobile First ==================== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
        background: var(--bg-primary);
        color: var(--text-primary);
        font-size: 14px;
        line-height: 1.6;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* ==================== Header - Mobile Optimized ==================== */
    .coffee-header {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* Header Top - فشرده برای موبایل */
    .header-top {
        background: rgba(197, 205, 51, 0.05);
        padding: var(--space-sm) 0;
        border-bottom: 1px solid var(--divider);
    }

    .header-top-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .user-info {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        font-size: 0.8rem;
    }

    .user-info i {
        color: var(--primary);
        font-size: 0.9rem;
    }

    .wallet-badge {
        background: rgba(197, 205, 51, 0.1);
        padding: var(--space-xs) var(--space-md);
        border-radius: var(--radius-full);
        border: 1px solid rgba(197, 205, 51, 0.2);
        font-weight: 600;
        white-space: nowrap;
    }

    /* Header Main - Mobile First */
    .header-main {
        max-width: 1400px;
        margin: 0 auto;
        padding: var(--space-md) var(--space-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-md);
        flex-wrap: wrap;
    }

    .logo-section {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        flex: 1;
        min-width: 0;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        background: var(--gradient-primary);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        flex-shrink: 0;
        box-shadow: var(--shadow-glow);
    }

    .logo-text h1 {
        font-size: 1rem;
        font-weight: 700;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .logo-text p {
        font-size: 0.7rem;
        color: var(--text-secondary);
        display: none; /* مخفی در موبایل */
    }

    /* Search Bar - Mobile Optimized */
    .search-section {
        order: 3;
        width: 100%;
        margin-top: var(--space-sm);
    }

    .search-bar {
        position: relative;
        width: 100%;
    }

    .search-bar input {
        width: 100%;
        padding: var(--space-md) 3rem var(--space-md) var(--space-lg);
        background: rgba(255, 255, 255, 0.05);
        border: 1.5px solid var(--border);
        border-radius: var(--radius-full);
        color: var(--text-primary);
        font-size: 0.9rem;
        transition: var(--transition);
        font-family: inherit;
    }

    .search-bar input::placeholder {
        color: var(--text-muted);
    }

    .search-bar input:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-glow);
    }

    .search-bar button {
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--gradient-primary);
        border: none;
        padding: var(--space-sm) var(--space-lg);
        border-radius: var(--radius-full);
        color: #000;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .search-bar button:active {
        transform: translateY(-50%) scale(0.95);
    }

    /* Cart Button - Mobile Optimized */
    .cart-section {
        position: relative;
    }

    .cart-btn {
        background: var(--bg-tertiary);
        border: 1.5px solid var(--border);
        padding: var(--space-md);
        border-radius: var(--radius-full);
        color: var(--text-primary);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        transition: var(--transition);
        position: relative;
    }

    .cart-btn span {
        display: none; /* مخفی در موبایل */
    }

    .cart-btn i {
        font-size: 1.2rem;
    }

    .cart-btn:active {
        transform: scale(0.95);
        border-color: var(--primary);
    }

    .cart-badge {
        position: absolute;
        top: -6px;
        left: -6px;
        background: var(--gradient-primary);
        color: #000;
        min-width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        box-shadow: var(--shadow-md);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }

    /* ==================== Category Navigation - Horizontal Scroll ==================== */
    .category-nav {
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: var(--space-md) 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-list {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
        display: flex;
        gap: var(--space-sm);
        list-style: none;
    }

    .category-item {
        flex-shrink: 0;
    }

    .category-link {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-lg);
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border);
        border-radius: var(--radius-full);
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
        font-weight: 500;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .category-link:active,
    .category-link.active {
        background: var(--gradient-primary);
        color: #000;
        border-color: var(--primary);
        box-shadow: var(--shadow-glow);
    }

    .category-link i {
        font-size: 1rem;
    }

    /* ==================== Main Content - Mobile First ==================== */
    .main-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: var(--space-lg);
    }

    /* Featured Banner - جذاب و فشرده */
    .featured-banner {
        background: var(--gradient-primary);
        border-radius: var(--radius-lg);
        padding: var(--space-xl);
        margin-bottom: var(--space-xl);
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-lg);
    }

    .featured-banner::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -15%;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

    .banner-content {
        position: relative;
        z-index: 1;
    }

    .banner-content h2 {
        font-size: 1.3rem;
        color: #000;
        font-weight: 700;
        margin-bottom: var(--space-sm);
        line-height: 1.3;
    }

    .banner-content p {
        font-size: 0.9rem;
        color: rgba(0, 0, 0, 0.7);
    }

    .banner-icon {
        display: none; /* مخفی در موبایل */
    }

    /* ==================== Products Section ==================== */
    .products-section {
        margin-bottom: var(--space-2xl);
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-lg);
    }

    .section-header h2 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-primary);
    }

    /* Products Grid - Mobile First: 2 Cards */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* ==================== Product Card - بهینه برای موبایل ==================== */
    .product-card {
        background: var(--bg-card);
        border-radius: var(--radius-md);
        overflow: hidden;
        border: 1px solid var(--border);
        position: relative;
        display: flex;
        flex-direction: column;
        transition: var(--transition);
    }

    .product-card:active {
        transform: translateY(-4px);
        box-shadow: var(--shadow-glow);
        border-color: var(--primary);
    }

    /* Product Badge */
    .product-badge {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
        background: var(--gradient-primary);
        color: #000;
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius-sm);
        font-size: 0.65rem;
        font-weight: 700;
        z-index: 10;
        box-shadow: var(--shadow-sm);
        line-height: 1;
    }

    .product-badge.discount {
        background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
        color: #fff;
    }

    /* Product Image - نسبت 1:1 */
    .product-image {
        position: relative;
        width: 100%;
        padding-top: 100%;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.02);
    }

    .product-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .product-card:active .product-image img {
        transform: scale(1.05);
    }

    /* Overlay & Quick View - مخفی در موبایل */
    .product-overlay,
    .quick-view-btn {
        display: none;
    }

    /* Product Info */
    .product-info {
        padding: var(--space-md);
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    /* Product Meta - مخفی در موبایل */
    .product-meta {
        display: none;
    }

    /* Product Title */
    .product-title {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: var(--space-sm);
        line-height: 1.3;
        display: -webkit-box;

        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.2rem;
    }

    /* Product Description - مخفی در موبایل */
    .product-description {
        display: none;
    }

    /* Stock Status */
    .stock-status {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        font-size: 0.7rem;
        margin-bottom: var(--space-sm);
    }

    .stock-status i {
        font-size: 0.65rem;
    }

    .stock-status.available {
        color: var(--secondary);
    }

    .stock-status.low {
        color: #ff9800;
    }

    .stock-status.out {
        color: #f44336;
    }

    /* Product Footer */
    .product-footer {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        padding-top: var(--space-sm);
        border-top: 1px solid var(--border);
        margin-top: auto;
    }

    /* Product Price */
    .product-price {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .price-original {
        font-size: 0.7rem;
        color: var(--text-muted);
        text-decoration: line-through;
    }

    .price-current {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary);
        line-height: 1;
    }

    .price-unit {
        font-size: 0.7rem;
        color: var(--text-secondary);
    }

    /* Add to Cart Button - تمام عرض */
    .add-to-cart-btn {
        background: var(--gradient-primary);
        border: none;
        padding: var(--space-sm);
        border-radius: var(--radius-sm);
        color: #000;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        transition: var(--transition);
        font-size: 0.8rem;
        width: 100%;
        font-family: inherit;
    }

    .add-to-cart-btn:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-md);
    }

    .add-to-cart-btn i {
        font-size: 0.9rem;
    }

    /* ==================== Empty State ==================== */
    .empty-state {
        text-align: center;
        padding: var(--space-2xl) var(--space-lg);
    }

    .empty-state i {
        font-size: 3rem;
        color: var(--text-muted);
        margin-bottom: var(--space-lg);
        opacity: 0.3;
    }

    .empty-state h3 {
        font-size: 1.1rem;
        color: var(--text-secondary);
        margin-bottom: var(--space-sm);
    }

    .empty-state p {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    /* ==================== Loading Animation ==================== */
    .loading {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--space-2xl);
    }

    .spinner {
        width: 40px;
        height: 40px;
        border: 3px solid rgba(197, 205, 51, 0.1);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* ==================== Tablet (768px+) ==================== */
    @media (min-width: 768px) {
        body {
            font-size: 15px;
        }

        .header-top-content,
        .category-list,
        .main-content {
            padding-left: var(--space-xl);
            padding-right: var(--space-xl);
        }

        .header-main {
            padding: var(--space-lg) var(--space-xl);
            flex-wrap: nowrap;
        }

        .logo-icon {
            width: 48px;
            height: 48px;
            font-size: 1.5rem;
        }

        .logo-text h1 {
            font-size: 1.3rem;
        }

        .logo-text p {
            display: block;
            font-size: 0.8rem;
        }

        .search-section {
            order: 2;
            width: auto;
            flex: 1;
            max-width: 500px;
            margin-top: 0;
        }

        .cart-btn {
            padding: var(--space-md) var(--space-lg);
        }

        .cart-btn span {
            display: inline;
            font-size: 0.9rem;
        }

        .featured-banner {
            padding: var(--space-2xl);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .banner-content h2 {
            font-size: 1.8rem;
        }

        .banner-content p {
            font-size: 1rem;
        }

        .banner-icon {
            display: block;
            font-size: 4rem;
            opacity: 0.3;
        }

        .section-header h2 {
            font-size: 1.5rem;
        }

        .products-grid {
            gap: var(--space-lg);
        }

        .product-card {
            border-radius: var(--radius-lg);
        }

        .product-badge {
            padding: 0.3rem 0.6rem;
            font-size: 0.75rem;
        }

        .product-info {
            padding: var(--space-lg);
        }

        .product-title {
            font-size: 0.95rem;
            min-height: 2.5rem;
        }

        .stock-status {
            font-size: 0.75rem;
        }

        .price-current {
            font-size: 1.15rem;
        }

        .add-to-cart-btn {
            padding: var(--space-md);
            font-size: 0.85rem;
        }
    }

    /* ==================== Desktop (992px+) ==================== */
    @media (min-width: 992px) {
        .products-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: var(--space-xl);
        }

        .product-image {
            padding-top: 75%; /* نسبت 4:3 */
        }

        .product-overlay {
            display: block;
            position: absolute;
            inset: 0;
            background: var(--gradient-overlay);
            opacity: 0;
            transition: var(--transition);
        }

        .product-card:hover .product-overlay {
            opacity: 1;
        }

        .quick-view-btn {
            display: block;
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%) translateY(20px);
            background: rgba(255, 255, 255, 0.95);
            color: #000;
            padding: var(--space-sm) var(--space-lg);
            border-radius: var(--radius-full);
            font-weight: 600;
            opacity: 0;
            transition: var(--transition);
            cursor: pointer;
            border: none;
            font-size: 0.85rem;
        }

        .product-card:hover .quick-view-btn {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .product-card:hover {
            transform: translateY(-8px);
        }

        .product-card:hover .product-image img {
            transform: scale(1.1);
        }

        .product-meta {
            display: flex;
            gap: var(--space-lg);
            margin-bottom: var(--space-md);
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            font-size: 0.8rem;
            color: var(--text-secondary);
        }

        .meta-item i {
            color: var(--primary);
        }

        .product-description {
            display: -webkit-box;
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: var(--space-lg);

            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-title {
            font-size: 1.05rem;
            min-height: auto;
        }

        .product-footer {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            padding-top: var(--space-lg);
        }

        .price-current {
            font-size: 1.3rem;
        }

        .add-to-cart-btn {
            width: auto;
            padding: var(--space-md) var(--space-xl);
            font-size: 0.9rem;
        }

        .add-to-cart-btn:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow-glow);
        }
    }

    /* ==================== Large Desktop (1200px+) ==================== */
    @media (min-width: 1200px) {
        .products-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .logo-icon {
            width: 52px;
            height: 52px;
        }

        .logo-text h1 {
            font-size: 1.5rem;
        }

        .search-section {
            max-width: 600px;
        }
    }

    /* ==================== Animations ==================== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .product-card {
        animation: fadeInUp 0.5s ease-out backwards;
    }

    .product-card:nth-child(1) { animation-delay: 0.05s; }
    .product-card:nth-child(2) { animation-delay: 0.1s; }
    .product-card:nth-child(3) { animation-delay: 0.15s; }
    .product-card:nth-child(4) { animation-delay: 0.2s; }
    .product-card:nth-child(5) { animation-delay: 0.25s; }
    .product-card:nth-child(6) { animation-delay: 0.3s; }

    /* ==================== Accessibility & Performance ==================== */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }

    /* Touch Feedback */
    @media (hover: none) and (pointer: coarse) {
        .product-card:active {
            background: var(--bg-tertiary);
        }

        .category-link:active {
            transform: scale(0.95);
        }
    }



    /* ==================== Cart Page Specific Styles ==================== */

/* Cart Quantity Controls */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    justify-content: center;
}

.quantity-btn {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: inherit;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quantity-btn.increase-btn {
    background: var(--gradient-primary);
    border: none;
    color: #000;
}

.quantity-btn.increase-btn:hover {
    box-shadow: var(--shadow-glow);
}

.quantity-display {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

/* Remove Button */
.remove-from-cart-btn {
    background: transparent;
    border: 1.5px solid #f44336;
    color: #f44336;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.remove-from-cart-btn:active {
    transform: scale(0.95);
    background: rgba(244, 67, 54, 0.1);
}

.remove-from-cart-btn:hover {
    background: #f44336;
    color: #fff;
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-md);
}

.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--divider);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.summary-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-row span:last-child {
    font-weight: 600;
}

/* Responsive adjustments for cart */
@media (min-width: 768px) {
    .cart-quantity-controls {
        gap: var(--space-md);
    }
    
    .quantity-btn {
        width: 36px;
        height: 36px;
    }
    
    .quantity-display {
        font-size: 1.1rem;
        min-width: 50px;
    }
    
    .cart-summary {
        padding: var(--space-2xl);
    }
}

@media (min-width: 992px) {
    .remove-from-cart-btn:hover {
        transform: scale(1.05);
    }
    
    .quantity-btn:hover:not(:disabled) {
        transform: scale(1.1);
        border-color: var(--primary);
    }
}

        /* استایل رسید ساده */
        .receipt-container {
            max-width: 500px;
            margin: 0 auto;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: var(--space-2xl);
        }
        
        .receipt-header {
            text-align: center;
            border-bottom: 2px dashed var(--border);
            padding-bottom: var(--space-lg);
            margin-bottom: var(--space-lg);
        }
        
        .receipt-title {
            font-size: 1.5rem;
            color: var(--primary);
            margin-bottom: var(--space-sm);
        }
        
        .receipt-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--space-md) 0;
            border-bottom: 1px solid var(--divider);
        }
        
        .item-details {
            flex: 1;
        }
        
        .item-name {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: var(--space-xs);
        }
        
        .item-meta {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .item-price {
            text-align: left;
            font-weight: 600;
            color: var(--primary);
        }
        
        .receipt-summary {
            margin-top: var(--space-xl);
            padding-top: var(--space-lg);
            border-top: 2px solid var(--border);
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            padding: var(--space-sm) 0;
            font-size: 0.95rem;
        }
        
        .summary-total {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            padding-top: var(--space-md);
            border-top: 2px dashed var(--border);
            margin-top: var(--space-md);
        }
        
        .quantity-controls {
            display: inline-flex;
            align-items: center;
            gap: var(--space-sm);
            margin-right: var(--space-md);
        }
        
        .qty-btn {
            background: var(--bg-tertiary);
            border: 1px solid var(--border);
            color: var(--text-primary);
            width: 28px;
            height: 28px;
            border-radius: var(--radius-sm);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            transition: var(--transition);
        }
        
        .qty-btn:hover {
            background: var(--primary);
            color: #000;
        }
        
        .qty-btn.increase {
            background: var(--gradient-primary);
            color: #000;
            border: none;
        }
        
        .qty-display {
            min-width: 30px;
            text-align: center;
            font-weight: 600;
        }
        
        .btn-remove {
            background: transparent;
            border: 1px solid #f44336;
            color: #f44336;
            padding: var(--space-xs) var(--space-sm);
            border-radius: var(--radius-sm);
            cursor: pointer;
            font-size: 0.8rem;
            transition: var(--transition);
            margin-left: var(--space-md);
        }
        
        .btn-remove:hover {
            background: #f44336;
            color: #fff;
        }













/* Floating Order Button */
.floating-order-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: slideUp 0.5s ease-out;
    opacity: 0;
    visibility: hidden;
}

.floating-order-btn.show {
    opacity: 1;
    visibility: visible;
}

.floating-order-btn:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.floating-order-btn .btn-badge {
    background: #fff;
    color: #333;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 25px;
    text-align: center;
}

.floating-order-btn .btn-total {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-order-btn {
        bottom: 70px; /* بالاتر از نوار پایین موبایل */
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

