﻿:root {
    --emerald-zenith-primary: #14b858;
    --emerald-zenith-primary-soft: rgba(20, 184, 88, 0.1);
    --emerald-zenith-primary-high: rgba(20, 184, 88, 0.05);
    --emerald-zenith-slate: #0f172a;
    --emerald-zenith-bg: #f6f8f7;
    --emerald-zenith-surface: #ffffff;
    --emerald-zenith-font: 'Manrope', sans-serif;
}

body {
    font-family: var(--emerald-zenith-font);
    background-color: var(--emerald-zenith-bg);
    color: var(--emerald-zenith-slate);
    -webkit-font-smoothing: antialiased;
}

/* Responsive Layout Containers */
.breakfast-builder-combined-navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.breakfast-builder-combined-brand {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: var(--emerald-zenith-slate);
    text-decoration: none;
}

/* Stepper Styling */
.breakfast-builder-combined-stepper-container {
    padding: 1.5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.breakfast-builder-combined-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.breakfast-builder-combined-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    flex: 1;
}

.breakfast-builder-combined-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.875rem;
}

.breakfast-builder-combined-step-item.active .breakfast-builder-combined-step-dot {
    background-color: var(--emerald-zenith-primary);
    color: white;
    box-shadow: 0 0 0 4px var(--emerald-zenith-primary-soft);
}

.breakfast-builder-combined-step-item.completed .breakfast-builder-combined-step-dot {
    background-color: var(--emerald-zenith-primary-soft);
    color: var(--emerald-zenith-primary);
}

.breakfast-builder-combined-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

.breakfast-builder-combined-step-item.active .breakfast-builder-combined-step-label {
    color: var(--emerald-zenith-slate);
    font-weight: 800;
}

.breakfast-builder-combined-mobile-indicator {
    text-align: center;
    font-weight: 800;
    color: var(--emerald-zenith-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 767.98px) {
    .breakfast-builder-combined-step-label {
        display: none;
    }
}

/* Card & Content Components */
.breakfast-builder-combined-card {
    background: var(--emerald-zenith-surface);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.breakfast-builder-combined-option-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.breakfast-builder-combined-img-container {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1/1;
    background-color: var(--emerald-zenith-bg);
}

    .breakfast-builder-combined-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Buttons & Controls */
.breakfast-builder-combined-btn-primary {
    background-color: var(--emerald-zenith-primary);
    border: none;
    color: white !important;
    font-weight: 700;
    border-radius: 0.75rem;
    padding: 0.6rem 1.25rem;
    transition: all 0.3s ease;
}

    .breakfast-builder-combined-btn-primary:hover {
        background-color: #109b4a;
        box-shadow: 0 10px 15px -3px rgba(20, 184, 88, 0.3);
    }

.breakfast-builder-combined-btn-outline {
    border: 2px solid var(--emerald-zenith-primary-soft);
    background: transparent;
    color: var(--emerald-zenith-primary);
    font-weight: 700;
    border-radius: 0.75rem;
    padding: 0.6rem 1.25rem;
    transition: all 0.2s ease;
}

    .breakfast-builder-combined-btn-outline:hover {
        background-color: var(--emerald-zenith-primary-soft);
        color: var(--emerald-zenith-primary);
    }

/* Sidebar & Summary */
.breakfast-builder-combined-sidebar {
    position: sticky;
    top: 5.5rem;
}

.breakfast-builder-combined-summary-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.breakfast-builder-combined-summary-item {
    border-bottom: 1px dashed rgba(20, 184, 88, 0.2);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

    .breakfast-builder-combined-summary-item:last-child {
        border-bottom: none;
    }

.breakfast-builder-combined-price-tag {
    font-weight: 700;
    color: var(--emerald-zenith-primary);
}

.breakfast-builder-combined-pending {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.875rem;
}

.breakfast-builder-combined-quantity-pill {
    background-color: var(--emerald-zenith-primary-high);
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-size: 20px;
}

/* Mobile Collapsible Header */
.breakfast-builder-combined-summary-trigger {
    background: white;
    border-radius: 1rem;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Utility classes */
.breakfast-builder-combined-fw-900 {
    font-weight: 900;
}

.breakfast-builder-combined-text-emerald {
    color: var(--emerald-zenith-primary);
}

.breakfast-builder-combined-option-card.selected {
    border: 2px solid #28a745;
    background-color: #f8fff8;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.breakfast-builder-combined-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #94a3b8; /* opcional: color gris */
}
:root {
    --summary-step-v4-primary: #14b858;
    --summary-step-v4-surface: #f6f8f7;
    --summary-step-v4-on-surface: #0f172a;
    --summary-step-v4-on-surface-variant: #3d4a3d;
    --summary-step-v4-radius: 1rem;
    --summary-step-v4-radius-lg: 2rem;
}

.summary-step-v4-navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(20, 184, 88, 0.1);
}

.summary-step-v4-sidebar {
    background-color: #f8faf9;
    border-right: 1px solid rgba(20, 184, 88, 0.1);
    min-height: calc(100vh - 80px);
    position: sticky;
    top: 80px;
}

.summary-step-v4-card {
    background: white;
    border-radius: var(--summary-step-v4-radius);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    height: 100%;
}

.summary-step-v4-product-card {
    padding: 1.25rem;
}

.summary-step-v4-product-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.summary-step-v4-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--summary-step-v4-primary);
}

.summary-step-v4-ribbon-card {
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--summary-step-v4-radius);
    background: white;
    transition: all 0.2s ease;
}

    .summary-step-v4-ribbon-card.active {
        border-color: var(--summary-step-v4-primary);
        background-color: rgba(20, 184, 88, 0.02);
    }

.summary-step-v4-color-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    border: 3px solid white;
}

.summary-step-v4-btn-primary {
    background-color: var(--summary-step-v4-primary);
    border-color: var(--summary-step-v4-primary);
    border-radius: 0.75rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
}

    .summary-step-v4-btn-primary:hover {
        background-color: #119e4b;
        border-color: #119e4b;
    }

.summary-step-v4-btn-outline {
    background-color: rgba(20, 184, 88, 0.08);
    border: none;
    color: var(--summary-step-v4-primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
}

    .summary-step-v4-btn-outline.selected {
        background-color: var(--summary-step-v4-primary);
        color: white;
    }

.summary-step-v4-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .summary-step-v4-nav-item.active {
        background-color: rgba(20, 184, 88, 0.1);
        color: var(--summary-step-v4-primary);
    }

.summary-step-v4-summary-sidebar {
    position: sticky;
    top: 100px;
}

.summary-step-v4-total-box {
    background-color: rgba(20, 184, 88, 0.05);
    border-radius: var(--summary-step-v4-radius);
    padding: 1.5rem;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.fill-1 {
    font-variation-settings: 'FILL' 1;
}

@media (max-width: 991.98px) {
    .summary-step-v4-sidebar {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .breakfast-builder-navigation-buttons {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 0.75rem 1rem; /* Padding interno consistente */
        margin: 0; /* Elimina márgenes negativos */
    }
        /* La fila interna ocupa todo el ancho sin márgenes laterales */
        .breakfast-builder-navigation-buttons .row {
            margin-left: 0;
            margin-right: 0;
            margin-top: 0 !important;
            padding-top: 0 !important;
        }
        /* Cada columna ocupa la mitad exacta */
        .breakfast-builder-navigation-buttons .col-6 {
            flex: 0 0 50%;
            max-width: 50%;
            padding-left: 0.5rem; /* Espacio interior entre botones */
            padding-right: 0.5rem;
        }
            /* Primera columna: sin padding izquierdo para pegar al borde?
           Pero queremos igual distancia, así que mejor padding simétrico */
            .breakfast-builder-navigation-buttons .col-6:first-child {
                padding-left: 0;
            }

            .breakfast-builder-navigation-buttons .col-6:last-child {
                padding-right: 0;
            }
        /* Los botones ocupan todo el ancho de su columna */
        .breakfast-builder-navigation-buttons .btn {
            width: 100%;
        }
        /* Opcional: quitar el borde superior en móvil */
        .breakfast-builder-navigation-buttons .border-top {
            border-top: none !important;
        }

    .breakfast-builder-container {
        padding-bottom: 5rem;
    }
}
