/* ========================================
   HARINA Y AGUA - ESTILOS PREMIUM
   Ultra Professional Mobile-First
   ======================================== */

/* Variables CSS */
:root {
    --primary: #C8347B;
    --primary-light: #E04E95;
    --primary-dark: #9A1B5E;
    --primary-glow: rgba(200, 52, 123, 0.35);
    --accent: #D4AF37;
    --accent-light: #F0D77C;
    --accent-dark: #B8960A;
    --purple: #6B2FA0;
    --purple-light: #8B4FC0;
    --bg-dark: #0A0A0F;
    --bg-card: #12121A;
    --bg-card-hover: #1A1A25;
    --bg-surface: #15151F;
    --bg-elevated: #1E1E2A;
    --text-white: #FFFFFF;
    --text-light: #E8E8EE;
    --text-gray: #A8A8B8;
    --text-muted: #6B6B7B;
    --success: #25D366;
    --danger: #E53935;
    --border: rgba(255,255,255,0.07);
    --border-light: rgba(255,255,255,0.12);
    --shadow-primary: rgba(200, 52, 123, 0.25);
    --shadow-accent: rgba(212, 175, 55, 0.2);
    --shadow-deep: rgba(0,0,0,0.5);
    --gradient-primary: linear-gradient(135deg, #C8347B 0%, #E04E95 50%, #9A1B5E 100%);
    --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #F0D77C 50%, #D4AF37 100%);
    --gradient-premium: linear-gradient(135deg, #C8347B 0%, #6B2FA0 100%);
    --gradient-card: linear-gradient(145deg, #15151F 0%, #0E0E16 100%);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ========================================
   PANTALLA DE BIENVENIDA
   ======================================== */
.welcome-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
}

.welcome-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(200,52,123,0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(107,47,160,0.05) 0%, transparent 50%);
    z-index: 0;
}

.welcome-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.welcome-particle {
    position: absolute;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0.5); }
    15% { opacity: 0.6; }
    85% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) rotate(360deg) scale(1); }
}

.welcome-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 32px 24px;
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.welcome-logo-container {
    width: 240px;
    height: 240px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoPulse 4s infinite ease-in-out;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 25px rgba(200,52,123,0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 50px rgba(200,52,123,0.35)); transform: scale(1.02); }
}

.welcome-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.welcome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 16px;
}

.divider-line {
    height: 1px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.divider-icon {
    color: var(--accent);
    font-size: 14px;
}

.welcome-subtitle {
    font-family: var(--font-script);
    font-size: 22px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--gradient-premium);
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px var(--shadow-primary), 0 0 0 1px rgba(255,255,255,0.08) inset;
    letter-spacing: 0.5px;
}

.welcome-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 50px var(--shadow-primary);
}

.welcome-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ========================================
   APP HEADER
   ======================================== */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-img {
    width: 48px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(200,52,123,0.25));
}

.header-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.header-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
}

.header-tagline {
    font-family: var(--font-script);
    font-size: 13px;
    color: var(--accent);
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
}

.cart-btn {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--shadow-primary);
}

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 11px;
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 10px var(--shadow-primary);
    border: 2px solid var(--bg-dark);
}

/* ========================================
   CATEGORY NAV - PREMIUM WITH IMAGES
   ======================================== */
.category-nav {
    position: sticky;
    top: 77px;
    z-index: 90;
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.category-nav-inner {
    display: flex;
    gap: 10px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 840px;
    margin: 0 auto;
}

.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 8px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 72px;
    font-family: var(--font-body);
}

.cat-chip-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cat-chip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-chip-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.cat-chip.active .cat-chip-icon {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--shadow-primary);
}

.cat-chip.active .cat-chip-label {
    color: var(--primary-light);
    font-weight: 700;
}

.cat-chip:not(.active):hover .cat-chip-icon {
    border-color: rgba(200,52,123,0.3);
}

.cat-chip:not(.active):hover .cat-chip-label {
    color: var(--text-gray);
}

/* ========================================
   MENU SECTIONS
   ======================================== */
.menu-content {
    padding: 20px;
    padding-bottom: 100px;
    max-width: 800px;
    margin: 0 auto;
}

.menu-section {
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-premium);
    border-radius: 3px;
    margin: 0 auto;
}

/* ========================================
   DONUT GRID
   ======================================== */
.donut-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.donut-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.donut-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,52,123,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px var(--shadow-primary);
}

.donut-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg-dark);
    overflow: hidden;
}

.donut-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.donut-card:hover .donut-card-img {
    transform: scale(1.05);
}

/* Image loading placeholder */
.donut-img-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
    background-size: 200% 200%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s;
}

.donut-img-wrapper.loaded::before {
    opacity: 0;
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.donut-card-body {
    padding: 14px 14px 16px;
    text-align: left;
}

.donut-card-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.25;
}

.donut-card-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.donut-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.donut-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

.donut-add-btn {
    width: 36px;
    height: 36px;
    background: var(--gradient-premium);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.donut-add-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 22px var(--shadow-primary);
}

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

/* Qty controls */
.donut-qty-controls, .item-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donut-qty-btn, .item-qty-btn {
    width: 30px;
    height: 30px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.donut-qty-btn:hover, .item-qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.donut-qty-btn.minus:hover, .item-qty-btn.minus:hover {
    background: var(--danger);
    border-color: var(--danger);
}

.donut-qty-val, .item-qty-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
    min-width: 22px;
    text-align: center;
}

/* ========================================
   BEVERAGE EXPANDABLE CARDS
   ======================================== */
.beverage-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.beverage-card.expanded {
    border-color: rgba(200,52,123,0.25);
    box-shadow: 0 8px 35px rgba(0,0,0,0.35), 0 0 15px rgba(200,52,123,0.08);
}

.beverage-card-header {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    gap: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.beverage-card-header:hover {
    background: rgba(255,255,255,0.02);
}

.beverage-img-container {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    position: relative;
}

/* Image loading placeholder for beverage images */
.beverage-img-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
    background-size: 200% 200%;
    animation: shimmer 1.5s infinite;
    z-index: 1;
    border-radius: var(--radius-md);
}

.beverage-img-container.loaded::before {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.beverage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.beverage-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.beverage-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.beverage-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 6px;
}

.beverage-price-range {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
}

.expand-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--bg-surface);
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.beverage-card.expanded .expand-icon {
    transform: rotate(180deg);
    color: var(--primary-light);
    background: rgba(200,52,123,0.1);
    border-color: rgba(200,52,123,0.3);
}

/* Expand content */
.beverage-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.beverage-card.expanded .beverage-expand-content {
    max-height: 1200px;
}

.expand-items {
    padding: 0 18px 18px;
}

/* Individual expand item */
.expand-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.expand-item:first-child {
    border-top: 1px solid rgba(200,52,123,0.12);
}

.expand-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    text-align: left;
}

.expand-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.expand-item-sizes {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.size-tag {
    font-size: 13px;
    color: var(--text-gray);
    background: var(--bg-dark);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.size-tag .size-price {
    color: var(--accent);
    font-weight: 700;
}

.expand-item-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    margin-right: 12px;
}

.expand-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-add-btn {
    width: 38px;
    height: 38px;
    background: var(--gradient-premium);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow-primary);
}

.item-add-btn:hover {
    transform: scale(1.12);
}

.item-add-btn:active {
    transform: scale(0.9);
}

/* Size label in cafe */
.cafe-size-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cafe-size-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    min-width: 50px;
    text-align: right;
}

/* ========================================
   CART FLOAT BAR
   ======================================== */
.cart-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 200;
    cursor: pointer;
    animation: slideUpIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 760px;
    margin: 0 auto;
}

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

.cart-float-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-premium);
    padding: 16px 22px;
    border-radius: 60px;
    box-shadow: 0 10px 40px var(--shadow-primary), 0 4px 15px rgba(0,0,0,0.3);
}

.cart-float-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.cart-float-left i {
    font-size: 20px;
}

.cart-float-right {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.cart-float-total {
    font-size: 20px;
    font-weight: 800;
}

.cart-float-arrow {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}

/* ========================================
   CART PANEL
   ======================================== */
.cart-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cart-panel {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    max-height: 88vh;
    background: var(--bg-dark);
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    z-index: 600;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 50px rgba(0,0,0,0.5);
}

.cart-panel.active {
    transform: translateY(0);
}

.cart-handle {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 12px auto 4px;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h2 i {
    color: var(--primary);
}

.cart-close {
    width: 38px;
    height: 38px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-gray);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-close:hover {
    background: var(--danger);
    color: white;
    border-color: var(--danger);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 0;
}

.cart-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: bounce 2.5s infinite;
}

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

.cart-empty p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cart-empty span {
    font-size: 15px;
    color: var(--text-muted);
}

/* Cart items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 3px;
}

.cart-item-detail {
    font-size: 14px;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    min-width: 55px;
    text-align: right;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-item-qty button:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.cart-item-qty span {
    font-size: 15px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

.cart-item-remove {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 50%;
}

.cart-item-remove:hover {
    color: var(--danger);
    background: rgba(229,57,53,0.1);
}

/* Cart footer */
.cart-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cart-total-row span:first-child {
    font-size: 18px;
    font-weight: 600;
}

.cart-total-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.cart-notes {
    width: 100%;
    padding: 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 14px;
    font-family: var(--font-body);
    resize: none;
    height: 64px;
    outline: none;
    margin-bottom: 14px;
    transition: border-color 0.3s;
}

.cart-notes:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,52,123,0.1);
}

.cart-notes::placeholder {
    color: var(--text-muted);
}

.cart-checkout-btn {
    width: 100%;
    padding: 18px;
    background: #25D366;
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.cart-checkout-btn i {
    font-size: 22px;
}

/* ========================================
   APP FOOTER
   ======================================== */
.app-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-info span {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-info i {
    color: var(--primary);
    font-size: 13px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   FEEDBACK & TOAST
   ======================================== */
.add-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(37, 211, 102, 0.95);
    color: white;
    padding: 18px 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 700;
    z-index: 9999;
    pointer-events: none;
    animation: popFeedback 0.9s ease forwards;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}

@keyframes popFeedback {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
    40% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
}

.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-white);
    padding: 14px 28px;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    text-align: center;
    max-width: 90%;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(10px);
}

.toast.error {
    border-color: rgba(229, 57, 53, 0.3);
    background: rgba(229, 57, 53, 0.15);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 480px) {
    .donut-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .welcome-logo-container {
        width: 280px;
        height: 280px;
    }
}

@media (min-width: 768px) {
    .donut-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .welcome-subtitle {
        font-size: 26px;
    }

    .welcome-logo-container {
        width: 320px;
        height: 320px;
    }
}

@media (min-width: 1024px) {
    .donut-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
