:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    
    /* Light theme colors */
    --bg: #f0f4f8;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-strong: rgba(255, 255, 255, 0.85);
    --surface-hover: rgba(255, 255, 255, 0.9);
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --shadow-sm: 0 4px 16px rgba(31, 38, 135, 0.1);
    
    --radius: 20px;
    --radius-sm: 16px;
    --radius-xs: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

#app {
    /* max-width: 480px; */
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
}

/* Glass effect */
.glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.glass-strong {
    background: var(--surface-strong);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    padding: 16px;
    flex-shrink: 0;
    border-radius: 0px 0px 32px 32px;
}

.logo-container {
    display: flex;
    flex-direction: inherit;
    align-items: center;
    margin-bottom: 12px;
    justify-content: center;
}

.logo-icon {
    font-size: 22px;
    /* margin-bottom: 4px; */
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 16px 16px;
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* Bottom Navigation */
.nav-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 12px 12px;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* flex-shrink: 0; */
    position: relative;
    margin-bottom: 28px;
    border-radius: 28px;
    margin-left: 16px;
    margin-right: 16px;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-xs);
    transition: all 0.2s;
    position: relative;
}

.nav-tab .tab-icon {
    font-size: 24px;
    transition: transform 0.2s;
}

.nav-tab.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.nav-tab.active .tab-icon {
    transform: scale(1.1);
}

.nav-tab:active {
    transform: scale(0.95);
}

.nav-badge {
    position: absolute;
    top: 0;
    right: 8px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.nav-badge.show {
    opacity: 1;
    transform: scale(1);
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* padding: 16px; */
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Categories */
.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
    margin-top: 16px;
    padding-left: 16px;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--text-secondary);
    padding: 18px 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.category-chip.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.category-chip:active {
    transform: scale(0.95);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 16px;
}

.product-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.product-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-fav.active {
    background: var(--danger);
    color: white;
}

.product-info {
    padding: 14px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    gap: 8px;
}

.btn-add-cart {
    flex: 1;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-add-cart:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.items-count {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-xs);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* Cart Items */
.cart-items {
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 14px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.cart-item-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-dark);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 8px;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.qty-btn:active {
    background: var(--primary);
    color: white;
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

/* Cart Summary */
.cart-summary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.promo-section {
    margin-bottom: 24px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-xs);
    padding: 14px 18px;
    color: var(--text);
    font-size: 15px;
    outline: none;
    text-transform: uppercase;
    font-weight: 600;
}

.promo-input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-promo {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-promo:active {
    transform: scale(0.95);
}

.promo-message {
    margin-top: 10px;
    font-size: 14px;
    min-height: 20px;
    font-weight: 600;
}

.promo-message.success {
    color: var(--success);
}

.promo-message.error {
    color: var(--danger);
}

.summary-rows {
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 2px solid rgba(59, 130, 246, 0.2);
    margin-top: 10px;
    padding-top: 16px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.summary-row .discount {
    color: var(--danger);
    font-weight: 700;
}

.btn-checkout {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 18px;
    border-radius: var(--radius-xs);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-checkout:active {
    transform: scale(0.98);
}

/* Profile */
.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: var(--radius);
}

.avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.profile-info p {
    color: var(--text-muted);
    font-size: 15px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 20px 12px;
    border-radius: var(--radius);
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-group h3 {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 0 4px;
    font-weight: 700;
}

.menu-list {
    border-radius: var(--radius);
    overflow: hidden;
}

.menu-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.menu-item:active {
    background: rgba(59, 130, 246, 0.1);
}

.menu-item .badge {
    background: var(--danger);
    color: white;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-mini {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

.order-item {
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

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

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-number {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.order-status {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.order-status.delivered {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.order-status.processing {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

.order-info {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.order-total {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-top: 8px;
}

/* Product Detail Modal */
.modal-product .product-detail {
    padding: 0;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    position: relative;
}

.product-detail-fav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.product-detail-fav.active {
    background: var(--danger);
    color: white;
}

.product-detail-info {
    padding: 24px;
}

.product-detail-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--text);
}

.product-detail-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.product-detail-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.1);
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.product-detail-actions {
    display: flex;
    gap: 14px;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-add-cart-large {
    flex: 1;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px;
    border-radius: var(--radius-xs);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-add-cart-large:active {
    transform: scale(0.98);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: flex-end;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px 28px 0 0;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    z-index: 10;
    background: inherit;
    backdrop-filter: blur(30px);
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.modal-close {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-close:active {
    background: var(--primary);
    color: white;
    transform: scale(0.9);
}

.modal-body {
    padding: 24px;
}

/* Form */
.form-section {
    margin-bottom: 28px;
}

.form-section h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xs);
    padding: 16px;
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.delivery-options,
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delivery-option,
.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.delivery-option input,
.payment-option input {
    display: none;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.option-title {
    font-weight: 700;
    font-size: 15px;
}

.option-price {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.checkout-summary {
    border-radius: var(--radius-xs);
    padding: 20px;
    margin-bottom: 24px;
}

.btn-submit {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px;
    border-radius: var(--radius-xs);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-submit:active {
    transform: scale(0.98);
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    color: var(--text);
    padding: 16px 28px;
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
    animation: toastIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Responsive */
@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-tab .tab-text {
        font-size: 10px;
    }
    
    .logo-text {
        font-size: 20px;
    }
}

/* Safe area for bottom nav */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .nav-tabs {
        /* padding-bottom: calc(24px + env(safe-area-inset-bottom)); */
    }
    
    .main-content {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}
