:root {
    --primary: #e00000;
    --primary-light: #ff3333;
    --primary-dark: #b30000;
    --gradient-primary: linear-gradient(135deg, #e00000 0%, #ff3333 100%);
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --success: #00c853;
    --warning: #ff9800;
    --background: #f5f7fa;
    --card-bg: #ffffff;
    --border: rgba(0,0,0,0.08);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(224, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-header {
    width: 100%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-container img { height: 50px; width: 50px; object-fit: contain; }
.app-title { font-size: 24px; font-weight: 700; color: var(--primary); }

.user-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(224, 0, 0, 0.05);
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary);
}
.score-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.logout-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(224, 0, 0, 0.2);
}
.logout-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(224, 0, 0, 0.3); }

.main-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

.auth-container {
    max-width: 420px;
    margin: 60px auto;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.dash-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
    background: white;
    padding: 8px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.dash-tab {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    background: transparent;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.dash-tab:hover { background: rgba(224,0,0,0.05); color: var(--primary); }
.dash-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(224,0,0,0.2);
}
.dash-tab i { margin-right: 6px; }

.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }

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

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(224, 0, 0, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224, 0, 0, 0.3); }
.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary {
    background: #ffffff;
    color: var(--primary) !important; /* Fuerza el texto rojo */
    border: 2px solid var(--primary) !important; /* Borde rojo */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover { 
    background: rgba(224, 0, 0, 0.05); 
    color: var(--primary) !important; /* Mantiene el texto rojo en hover */
}
.btn-outline.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.stat-card {
    background: var(--background);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}
.stat-value { font-size: 28px; font-weight: 700; color: var(--primary); margin-top: 6px; }
.stat-label { color: var(--text-light); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.credit-card {
    background: var(--gradient-primary);
    color: white;
    padding: 24px;
    border-radius: var(--radius);
    margin: 16px 0;
    box-shadow: 0 10px 30px rgba(224, 0, 0, 0.2);
}
.credit-amount { font-size: 32px; font-weight: 700; margin: 10px 0; }

.credit-details { margin: 16px 0; }
.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.detail-item:last-child { border-bottom: none; }

.purchase-list {
    max-height: 400px;
    overflow-y: auto;
}
.purchase-list::-webkit-scrollbar { width: 6px; }
.purchase-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.purchase-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.purchase-item {
    background: white;
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
.purchase-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.purchase-total { font-size: 18px; font-weight: 700; color: var(--primary); }

.status-badge {
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}
.status-badge.pending { background: rgba(255,152,0,0.1); color: var(--warning); }
.status-badge.approved { background: rgba(0,200,83,0.1); color: var(--success); }

.score-meter { margin: 20px 0; }
.meter-bar {
    height: 20px;
    background: linear-gradient(to right, #3498db, #f1c40f, #2ecc71);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.meter-fill {
    height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    transition: width 0.5s ease;
}
.score-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 600;
}
.score-label.low { color: #3498db; }
.score-label.medium { color: #f1c40f; }
.score-label.high { color: #2ecc71; }

.score-value { font-size: 42px; font-weight: 700; color: var(--primary); text-align: center; }
.score-category {
    font-size: 18px; font-weight: 600; text-align: center;
    padding: 4px 16px; border-radius: 20px; display: inline-block; margin: 10px auto;
}
.score-category.low { background: #3498db; color: white; }
.score-category.medium { background: #f1c40f; color: #333; }
.score-category.high { background: #2ecc71; color: white; }
.score-description { text-align: center; color: var(--text-light); font-size: 14px; }

.score-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}
.benefit-item {
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--border);
}
.benefit-item.unlocked { border-color: var(--success); background: rgba(46,204,113,0.08); }
.benefit-item.locked { opacity: 0.5; filter: grayscale(1); }
.benefit-item i { font-size: 22px; display: block; margin-bottom: 6px; }
.benefit-item.unlocked i { color: var(--success); }

.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}
.items-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}
.purchase-total-display { font-size: 24px; font-weight: 700; color: var(--primary); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}
.modal-overlay[style*="display: flex"] { display: flex !important; }
.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease;
}
@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.payment-option {
    padding: 24px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.payment-option:hover { border-color: var(--primary); transform: translateY(-2px); }
.payment-option.active {
    border-color: var(--primary);
    background: rgba(224,0,0,0.05);
    transform: scale(1.02);
}
.payment-icon { font-size: 32px; margin-bottom: 10px; color: var(--primary); }

.notification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}
.notification-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.notification-content.success { background: var(--gradient-primary); color: white; }
.notification-icon { font-size: 48px; margin-bottom: 16px; }
.points-earned { font-size: 24px; font-weight: 700; margin: 16px 0; }

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.no-items {
    text-align: center;
    padding: 24px;
    color: var(--text-light);
    font-style: italic;
}

.notif-bell-wrapper { position: relative; }
.notif-bell-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 6px;
    position: relative;
}
.notif-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
}
.notif-dot.visible { display: block; }

.notif-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    max-height: 400px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    display: none;
    overflow: hidden;
    z-index: 200;
}
.notif-panel.open { display: block; }
.notif-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.notif-panel-header h3 { font-size: 14px; font-weight: 700; margin: 0; }
.notif-mark-all {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
}
.notif-item:hover { background: #f8f8f8; }
.notif-item.unread { background: rgba(224,0,0,0.04); }
.notif-icon-wrap {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.notif-icon-wrap.green { background: rgba(0,200,83,0.12); color: var(--success); }
.notif-icon-wrap.orange { background: rgba(255,152,0,0.12); color: var(--warning); }
.notif-icon-wrap.blue { background: rgba(33,150,243,0.12); color: #1565c0; }
.notif-text { flex: 1; min-width: 0; }
.notif-text p { margin: 0 0 4px; font-size: 13px; }
.notif-text span { font-size: 11px; color: var(--text-light); }
.notif-empty { text-align: center; padding: 32px; color: var(--text-light); }

/* Chat */
.chat-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 28px;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(224,0,0,0.3);
    z-index: 900;
    transition: transform 0.3s ease;
}
.chat-fab:hover { transform: scale(1.1); }
.fab-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid white;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 360px;
    max-height: 450px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    display: none;
    flex-direction: column;
    z-index: 901;
    overflow: hidden;
    border: 1px solid var(--border);
}
.chat-window.open { display: flex; }
.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gradient-primary);
    color: white;
}
.chat-avatar {
    font-size: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 4px 8px;
}
.chat-header-info { flex: 1; }
.chat-header-info h4 { margin: 0; font-size: 14px; font-weight: 700; }
.chat-header-info span { font-size: 11px; opacity: 0.8; }
.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
.chat-messages {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
    max-height: 250px;
}
.chat-msg {
    margin-bottom: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    max-width: 85%;
}
.chat-msg.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
}
.chat-msg.bot {
    background: #f0f0f0;
    color: var(--text-dark);
}
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 12px;
    margin-bottom: 8px;
    width: fit-content;
}
.chat-typing .typing-dot {
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: typingDot 1.2s infinite;
}
.chat-typing .typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing .typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.chat-quick-btns {
    display: flex;
    gap: 6px;
    padding: 6px 12px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
}
.chat-quick-btn {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-quick-btn:hover { border-color: var(--primary); color: var(--primary); }
.chat-input-row {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid var(--border);
}
.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
}
.chat-send-btn {
    padding: 8px 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

/* Cupones */
.cupones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.cupon-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.cupon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cupon-card.used { opacity: 0.6; filter: grayscale(0.3); }
.cupon-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px;
    text-align: center;
}
.cupon-badge {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cupon-discount { font-size: 32px; font-weight: 800; }
.cupon-discount-label { font-size: 12px; opacity: 0.8; }
.cupon-body { padding: 16px; text-align: center; }
.cupon-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cupon-desc { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.cupon-use-btn {
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cupon-use-btn:hover { transform: scale(1.03); }
.cupon-use-btn:disabled { background: #ccc; cursor: not-allowed; }
.cupon-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-light);
}
.cupon-code { font-weight: 700; font-family: monospace; color: var(--primary); }

/* Onboarding */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
}
.onboarding-overlay.open { display: flex; }
.onboarding-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    animation: modalSlide 0.4s ease;
}
.onboarding-icon { font-size: 56px; margin-bottom: 16px; }
.onboarding-card h2 { font-size: 24px; margin-bottom: 12px; }
.onboarding-card p { color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.onboarding-step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}
.step-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.onboarding-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.onboarding-skip-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-weight: 600;
}
.onboarding-next-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 380px;
}
.toast {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: white;
    box-shadow: var(--shadow-hover);
    border-left: 4px solid;
    animation: toastIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.toast.success { border-left-color: var(--success); }
.toast.warning { border-left-color: var(--warning); }
.toast.error { border-left-color: var(--primary); }
.toast.info { border-left-color: #2196f3; }
.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-light);
    margin-left: auto;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}

.loading {
    position: relative;
    color: transparent !important;
}
.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .app-header { padding: 15px 20px; flex-direction: column; gap: 12px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dash-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .dash-tab { font-size: 12px; padding: 8px 14px; white-space: nowrap; }
    .main-container { padding: 20px 12px; }
    .card { padding: 20px; }
    .items-form-grid { grid-template-columns: 1fr; }
    .payment-options { grid-template-columns: 1fr; }
    .chat-window { left: 10px; right: 10px; width: auto; bottom: 90px; }
    .notif-panel { width: 290px; right: -20px; }
}
/* Vaquitas */
.vaquitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.vaquita-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.vaquita-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.vaquita-header {
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}
.vaquita-tipo {
    font-weight: 700;
    font-size: 14px;
    flex: 1;
}

.vaquita-body {
    padding: 16px 20px;
}
.vaquita-progreso {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}
.vaquita-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.vaquita-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid var(--border);
}

/* Ofertas de comidas */
.ofertas-comidas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.oferta-comida-card {
    background: white;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}
.oferta-comida-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}