/**
 * ============================================
 * NATURALLIEFIT - INDEX-COMPONENTS.CSS
 * Cards, Modais, Carrinho, Checkout, Botões
 * ============================================
 */
/**
 * ============================================
 * CORREÇÃO DO SCROLL DO MODAL DE CHECKOUT
 * ============================================
 */

/* Modal de Checkout - Permitir Scroll */
#checkoutModal .modal-dialog {
    max-height: calc(100vh - 60px);
    margin: 30px auto;
}

#checkoutModal .modal-content {
    max-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

#checkoutModal .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 200px);
    padding: 1.5rem;
}

/* Garantir que o footer fique fixo */
#checkoutModal .modal-footer {
    flex-shrink: 0;
    border-top: 2px solid #e5e7eb;
    background-color: #f9fafb;
    padding: 1rem 1.5rem;
}

/* Melhorar o scroll visual */
#checkoutModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#checkoutModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#checkoutModal .modal-body::-webkit-scrollbar-thumb {
    background: #4ade80;
    border-radius: 4px;
}

#checkoutModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}

/* Seções do checkout */
.checkout-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.checkout-section:last-child {
    margin-bottom: 0;
}

.checkout-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-section .section-title i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Resumo do pedido */
.checkout-items-list {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.checkout-items-list::-webkit-scrollbar {
    width: 6px;
}

.checkout-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.checkout-items-list::-webkit-scrollbar-thumb {
    background: #4ade80;
    border-radius: 3px;
}

/* Totais */
.checkout-totals {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.total-line.total-final {
    border-top: 2px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}

.total-line.total-final span:last-child {
    color: #4ade80;
}

/* Campos do formulário */
.checkout-section .form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.checkout-section .form-control,
.checkout-section .form-select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.checkout-section .form-control:focus,
.checkout-section .form-select:focus {
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
    outline: none;
}

/* Radio buttons */
.checkout-section .form-check {
    padding-left: 0;
}

.checkout-section .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    border: 2px solid #d1d5db;
    cursor: pointer;
}

.checkout-section .form-check-input:checked {
    background-color: #4ade80;
    border-color: #4ade80;
}

.checkout-section .form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.checkout-section .form-check-label i {
    color: #4ade80;
}

/* Alert de informação da região */
.alert-info {
    background-color: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
    border-radius: 8px;
}

.alert-info i {
    color: #3b82f6;
}

/* Botões do footer */
.modal-footer .btn {
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-footer .btn-secondary {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
}

.modal-footer .btn-secondary:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

.modal-footer .btn-primary {
    background-color: #4ade80;
    border: 1px solid #4ade80;
    color: #ffffff;
}

.modal-footer .btn-primary:hover {
    background-color: #22c55e;
    border-color: #22c55e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.modal-footer .btn-primary:disabled {
    background-color: #9ca3af;
    border-color: #9ca3af;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile - ajustes */
@media (max-width: 768px) {
    #checkoutModal .modal-dialog {
        max-height: calc(100vh - 30px);
        margin: 15px;
    }
    
    #checkoutModal .modal-body {
        max-height: calc(100vh - 150px);
        padding: 1rem;
    }
    
    .checkout-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .checkout-section .section-title {
        font-size: 1rem;
    }
    
    .total-line.total-final {
        font-size: 1.1rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
    
    .modal-footer .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animação suave ao abrir */
#checkoutModal.show .modal-dialog {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*--------------------------------------------------------------
# BLOCO 1 - CAROUSEL
--------------------------------------------------------------*/
.carousel-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.carousel-item img {
    height: 450px;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transition: all var(--transition-slow);
}

.carousel-item:hover img {
    filter: brightness(0.8) contrast(1.2);
    transform: scale(1.02);
}

.carousel-caption {
    background: var(--gradient-card);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--primary-green);
    backdrop-filter: blur(10px);
    bottom: var(--spacing-xxl);
    left: var(--spacing-xxl);
    right: var(--spacing-xxl);
}

.carousel-caption h3 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.carousel-caption p {
    font-size: var(--font-size-lg);
    margin: 0;
    opacity: 0.9;
    color: var(--soft-white);
}

/*--------------------------------------------------------------
# BLOCO 2 - SEÇÃO DE DIFERENCIAIS
--------------------------------------------------------------*/
.amenities-section {
    background: var(--gradient-card);
    padding: var(--spacing-lg);
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius-medium);
    margin: 25px 0;
    box-shadow: var(--shadow-medium);
}

.amenities-title {
    color: var(--primary-green);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.amenities-subtitle {
    color: var(--soft-white);
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin-bottom: var(--spacing-lg);
}

.amenities-container {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.amenity-item {
    flex: 0 0 auto;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--charcoal);
    border: 1px solid var(--primary-green);
    border-radius: var(--border-radius-small);
    color: var(--soft-white);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.amenity-item:hover {
    background: var(--muted-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.amenity-item i {
    color: var(--primary-green);
    font-size: var(--font-size-sm);
}

/*--------------------------------------------------------------
# BLOCO 3 - MENU DE NAVEGAÇÃO DE SEÇÕES
--------------------------------------------------------------*/
.menu-sections {
    margin: 0 0 0 0;
    background: var(--gradient-card);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0;
    border: 1px solid var(--primary-green);
    border-bottom: none;
    box-shadow: var(--shadow-medium);
}

.menu-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
    max-width: 100%;
}

.menu-item {
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--soft-white);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    border-radius: var(--border-radius-small);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    transition: left var(--transition-slow);
    opacity: 0.1;
}

.menu-item:hover::before,
.menu-item.active::before {
    left: 100%;
}

.menu-item:hover,
.menu-item.active {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: var(--muted-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green-medium);
}

/*--------------------------------------------------------------
# BLOCO 4 - BUSCA
--------------------------------------------------------------*/
.search-container {
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) 45px;
    background: var(--charcoal);
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius-medium);
    color: var(--soft-white);
    font-size: var(--font-size-base);
    transition: all var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: 0 0 0 0.2rem var(--shadow-green);
    background: var(--deep-black);
}

.search-input::placeholder {
    color: var(--gray-medium);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: var(--font-size-lg);
}

/**
 * ============================================
 * TRECHOS CORRIGIDOS - INDEX-COMPONENTS.CSS
 * Substituir os blocos correspondentes
 * ============================================
 */

/*--------------------------------------------------------------
# BLOCO 5 - CARDS DE MARMITAS (DESKTOP) - CORRIGIDO
# REMOVIDO: Informações nutricionais dos cards
--------------------------------------------------------------*/
#mealsList {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.meal-card {
    background: var(--charcoal);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-green);
    display: flex;
    flex-direction: row;
    height: 180px;
}

.meal-card:hover {
    box-shadow: var(--shadow-green-medium);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.meal-image {
    flex: 0 0 200px;
    height: 180px;
    overflow: hidden;
    background: var(--gradient-dark);
}

.meal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meal-content {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.meal-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.meal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.meal-header h4 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--pure-white);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.meal-calories {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(46, 125, 50, 0.1));
    color: var(--primary-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.meal-calories i {
    font-size: 0.85rem;
    color: var(--primary-green);
}

.meal-description {
    font-size: var(--font-size-sm);
    color: var(--gray-medium);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Máximo 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* REMOVIDO: .meal-info - não mostra mais badges nutricionais nos cards */
.meal-info {
    display: none;
}

.meal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-green);
}

.meal-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1;
}

.btn-add-meal {
    background: var(--gradient-button);
    color: var(--pure-white);
    border: none;
    border-radius: var(--border-radius-medium);
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: var(--font-size-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-green-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-meal:hover {
    background: var(--gradient-button-hover);
    box-shadow: var(--shadow-green-medium);
    transform: translateY(-2px);
}

.btn-add-meal i {
    font-size: 14px;
}

/*--------------------------------------------------------------
# RESPONSIVO MOBILE (768px) - AJUSTE NOS CARDS
--------------------------------------------------------------*/
@media (max-width: 768px) {
    #mealsList {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .meal-card {
        flex-direction: row;
        height: 160px;
    }
    
    .meal-image {
        flex: 0 0 140px;
        height: 160px;
    }
    
    .meal-content {
        padding: var(--spacing-md);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }
    
    .meal-header {
        flex: 0 0 auto;
        overflow: hidden;
    }
    
    .meal-header h4 {
        font-size: var(--font-size-base);
        margin-bottom: 4px;
    }
    
    .meal-description {
        font-size: 12px !important;
        color: #cbd5e1 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important; /* FORÇAR 1 LINHA */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 18px !important;
    }
    
    .meal-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        padding-top: 8px !important;
        border-top: 1px solid var(--border-green) !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    
    .meal-price {
        font-size: var(--font-size-xl);
        flex-shrink: 0;
    }
    
    .btn-add-meal {
        padding: 8px 12px !important;
        font-size: 10px !important;
        display: flex !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .meal-card {
        flex-direction: row;
        height: 140px;
    }
    
    .meal-image {
        flex: 0 0 120px;
        height: 140px;
    }
    
    .meal-content {
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
    }
    
    .meal-header {
        flex: 0 0 auto;
        overflow: hidden;
    }
    
    .meal-header h4 {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }
    
    .meal-description {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important; /* FORÇAR 1 LINHA */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-height: 15px !important;
    }
    
    .meal-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 6px !important;
        padding-top: 6px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    
    .meal-price {
        font-size: var(--font-size-lg);
        flex-shrink: 0;
    }
    
    .btn-add-meal {
        padding: 6px 10px !important;
        font-size: 9px !important;
        display: flex !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}
/*--------------------------------------------------------------
# BLOCO 6 - SEÇÕES DE CONTEÚDO
--------------------------------------------------------------*/
.content-section {
    display: none;
    background: var(--gradient-card);
    padding: var(--spacing-lg);
    border: 1px solid var(--primary-green);
    border-top: none;
    border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
    min-height: 400px;
    position: relative;
}

.content-section.active {
    display: block;
}

.section-title {
    color: var(--soft-white);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
    font-family: var(--font-heading);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), transparent);
}

.professionals-grid,
.products-grid,
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 100%;
}

.professional-card,
.service-card {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.professional-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.professional-card img {
    border: 3px solid var(--primary-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.professional-card h4 {
    color: var(--primary-green);
    font-family: var(--font-heading);
    margin: 15px 0 8px 0;
}

.professional-card p,
.service-card p {
    color: var(--soft-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.rating {
    color: var(--primary-green);
    margin: 12px 0;
}

.rating .text-muted {
    color: var(--soft-white) !important;
}

.service-price {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-primary) !important;
}

/*--------------------------------------------------------------
# BLOCO 7 - PACOTES PREMIUM
--------------------------------------------------------------*/
.package-card {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
    border: 3px solid var(--primary-green);
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.package-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--muted-green) 0%, transparent 70%);
    opacity: 0.1;
    z-index: 1;
}

.package-card > * {
    position: relative;
    z-index: 2;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--dark-green);
}

.package-card p {
    color: var(--soft-white);
}

.package-price {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 700;
    font-family: var(--font-primary) !important;
    margin: 15px 0;
}

/*--------------------------------------------------------------
# BLOCO 8 - BOTÕES
--------------------------------------------------------------*/
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border: none;
    color: var(--pure-white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px var(--shadow-green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-green);
    color: var(--pure-white);
}

.btn-primary:disabled {
    background: var(--gray-dark);
    color: var(--gray-medium);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
    color: var(--soft-white);
    border: 2px solid var(--gray-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--gray-dark), var(--charcoal));
    border-color: var(--soft-white);
    color: var(--soft-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary:focus {
    box-shadow: 0 0 0 3px rgba(153, 153, 153, 0.3);
}

.btn-outline-green {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--border-radius-small);
    transition: all var(--transition-normal);
    text-decoration: none;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.btn-outline-green:hover {
    background: var(--primary-green);
    color: var(--pure-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green-light);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/*--------------------------------------------------------------
# BLOCO 9 - MODAL DE MARMITA (ESTRUTURA)
--------------------------------------------------------------*/
.modal-dialog {
    max-width: 650px;
}

.modal-content {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    color: var(--soft-white);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(46, 125, 50, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.modal-content > * {
    position: relative;
    z-index: 2;
}

/* Exceção para permitir tooltip escapar do contexto do modal */
.modal-content .modal-body {
    overflow: visible !important;
}

.modal-header {
    background: rgba(46, 125, 50, 0.12);
    border-bottom: 2px solid var(--primary-green);
    padding: 20px 25px;
    backdrop-filter: blur(10px);
}

.modal-title {
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.modal-title i {
    font-size: 1.2rem;
    color: var(--primary-green);
}

.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-close-white:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-body {
    padding: 25px;
}

/*--------------------------------------------------------------
# BLOCO 10 - MODAL DE MARMITA (LAYOUT E INFO)
--------------------------------------------------------------*/
.marmita-modal-layout {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: rgba(46, 125, 50, 0.05);
    padding: 18px;
    border-radius: 15px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.marmita-image-container {
    flex: 0 0 180px;
}

.marmita-modal-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid var(--primary-green);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.marmita-modal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.4);
}

.marmita-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.marmita-header-info {
    margin-bottom: 12px;
}

.marmita-title {
    color: var(--dark-green);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 700;
}

.marmita-desc {
    color: var(--soft-white);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    opacity: 0.9;
}

.marmita-price-calories {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .marmita-price-calories {
        display: flex;
        align-items: center;
        gap: 8px; /* REDUZIR GAP */
        margin-bottom: 10px;
        flex-wrap: nowrap !important; /* FORÇAR NÃO QUEBRAR LINHA */
    }
    
    .marmita-price {
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .marmita-calories {
        font-size: 0.7rem;
        padding: 4px 8px;
        flex-shrink: 0;
    }
    
    .modal-nutri-info-button {
        width: 24px; /* REDUZIR TAMANHO */
        height: 24px;
        margin-left: 0; /* REMOVER MARGEM EXTRA */
        flex-shrink: 0;
    }
    
    .modal-nutri-info-button i {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .marmita-price-calories {
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }
    
    .marmita-price {
        font-size: 1.2rem;
    }
    
    .modal-nutri-info-button {
        width: 22px;
        height: 22px;
    }
    
    .modal-nutri-info-button i {
        font-size: 11px;
    }
}

.marmita-price {
    color: var(--pure-white);
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-primary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.marmita-calories {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(46, 125, 50, 0.1));
    color: var(--primary-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* BADGES NUTRICIONAIS COM ANIMAÇÃO */
.marmita-nutri-info {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    align-items: center;
}

.nutri-badge {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(46, 125, 50, 0.1));
    color: var(--pure-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nutri-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3), rgba(46, 125, 50, 0.15));
}

.nutri-badge i {
    color: var(--primary-green);
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# BLOCO 11 - MODAL DE MARMITA (SELEÇÃO DE PESO)
--------------------------------------------------------------*/
.weight-selection-compact {
    margin: 18px 0;
    padding: 18px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: visible; /* ADICIONE ESTA LINHA */
}

.weight-selection-compact h6 {
    color: var(--pure-white);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.weight-selection-compact h6 i {
    font-size: 1rem;
    color: var(--primary-green);
}

.weight-options-compact {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.weight-option-compact {
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.weight-option-compact input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.weight-option-compact-card {
    padding: 15px 12px;
    background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
    border: 2px solid rgba(46, 125, 50, 0.3);
    border-radius: 12px;
    transition: all var(--transition-normal);
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.weight-option-compact-card.primeira-opcao {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(46, 125, 50, 0.05));
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.weight-option-compact:hover .weight-option-compact-card {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(46, 125, 50, 0.05));
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.3);
}

.weight-option-compact input[type="radio"]:checked + .weight-option-compact-card {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.25), rgba(46, 125, 50, 0.15));
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
    transform: scale(1.05);
}

.weight-compact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.weight-compact-grams {
    color: var(--pure-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.weight-compact-description {
    display: none;
}

.weight-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    margin: 4px 0;
}

.weight-compact-price {
    color: var(--pure-white);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary) !important;
}

.weight-selection-compact.error {
    border-color: #F44336;
    background: rgba(244, 67, 54, 0.1);
    animation: shake 0.5s ease-in-out;
}

.weight-error-message {
    color: #F44336;
    font-size: 0.8rem;
    margin-top: 10px;
    display: none;
    font-weight: 600;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    border-left: 3px solid #F44336;
}

.weight-selection-compact.error .weight-error-message {
    display: flex;
}

/*--------------------------------------------------------------
# BLOCO 12 - MODAL DE MARMITA (OBSERVAÇÕES E FOOTER)
--------------------------------------------------------------*/
.form-group-compact {
    margin-bottom: 18px;
}

.form-label-compact {
    color: var(--dark-green);
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

.form-label-compact i {
    font-size: 0.95rem;
    color: var(--primary-green);
}

.form-control-compact {
    background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
    border: 2px solid rgba(46, 125, 50, 0.3);
    color: var(--soft-white);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
    resize: vertical;
}

.form-control-compact:focus {
    background: linear-gradient(135deg, var(--deep-black), var(--charcoal));
    border-color: var(--primary-green);
    color: var(--soft-white);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
    outline: none;
}

.form-control-compact::placeholder {
    color: var(--gray-medium);
    opacity: 0.7;
}

.modal-footer {
    border-top: 2px solid var(--primary-green);
    padding: 18px 25px;
    background: rgba(46, 125, 50, 0.05);
    backdrop-filter: blur(10px);
}

.modal-footer-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    width: 100%;
}

.modal-footer-actions .btn {
    min-width: 130px;
    padding: 11px 22px;
    font-size: 0.88rem;
    font-weight: 600;
}

/*--------------------------------------------------------------
# BLOCO 13 - MODAL DE PERFIL MOBILE
--------------------------------------------------------------*/
.perfil-info {
    padding: 20px 0;
}

.perfil-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(46, 125, 50, 0.08));
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.perfil-header .user-avatar-large {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.perfil-header .user-details strong {
    font-size: 1.2rem;
    color: var(--dark-green);
}

.perfil-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--primary-green);
}

.perfil-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: var(--soft-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(46, 125, 50, 0.2);
    position: relative;
    overflow: hidden;
}

.perfil-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.perfil-item:hover::before {
    transform: scaleY(1);
}

.perfil-item:hover {
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.15), transparent);
    color: var(--dark-green);
    padding-left: 30px;
    transform: translateX(5px);
}

.perfil-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.perfil-item:hover i {
    transform: scale(1.2);
}

.perfil-item span {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.perfil-item .fa-chevron-right {
    color: var(--gray-medium);
    font-size: 0.85rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.perfil-item:hover .fa-chevron-right {
    opacity: 1;
    transform: translateX(5px);
}

.perfil-item.logout {
    color: #ff6b6b;
    border-top: 2px solid var(--border-green);
    margin-top: 10px;
    background: rgba(255, 107, 107, 0.05);
}

.perfil-item.logout:hover {
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.15), transparent);
    color: #ff6b6b;
}

.perfil-item.logout i {
    color: #ff6b6b;
}

.perfil-item.admin-item {
    background: rgba(33, 150, 243, 0.05);
    border-left: 4px solid #2196F3;
}

.perfil-item.admin-item:hover {
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.15), transparent);
    color: #2196F3;
}

.perfil-item.admin-item i {
    color: #2196F3;
}


/*--------------------------------------------------------------
# BLOCO 15 - MODAL DE CHECKOUT (ESTRUTURA) - CORRIGIDO V2
--------------------------------------------------------------*/
#checkoutModal .modal-dialog {
    max-width: 700px;
    max-height: calc(100vh - 40px);
    margin: 20px auto;
}

#checkoutModal .modal-content {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-black) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 20px;
    color: var(--soft-white);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    max-height: calc(100vh - 40px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#checkoutModal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(46, 125, 50, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

#checkoutModal .modal-content > * {
    position: relative;
    z-index: 2;
}

/* CABEÇALHO DO MODAL - FIXO */
#checkoutModal .modal-header {
    flex-shrink: 0;
    background: rgba(46, 125, 50, 0.12);
    border-bottom: 2px solid var(--primary-green);
    padding: 20px 25px;
    backdrop-filter: blur(10px);
}

/* CORPO DO MODAL - ROLÁVEL */
#checkoutModal .modal-body {
    flex: 1 1 auto;
    padding: 25px;
    overflow-y: auto !important;
    overflow-x: hidden;
    min-height: 0; /* CRÍTICO para funcionar o flex */
}

#checkoutModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#checkoutModal .modal-body::-webkit-scrollbar-track {
    background: var(--deep-black);
    border-radius: 10px;
}

#checkoutModal .modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

#checkoutModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--dark-green);
}

/* RODAPÉ DO MODAL - FIXO */
#checkoutModal .modal-footer {
    flex-shrink: 0;
    border-top: 2px solid var(--primary-green);
    padding: 18px 25px;
    background: rgba(46, 125, 50, 0.05);
    backdrop-filter: blur(10px);
}

/*--------------------------------------------------------------
# BLOCO 16 - MODAL DE CHECKOUT (SEÇÕES E ITENS)
--------------------------------------------------------------*/
.checkout-section {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.03));
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkout-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 125, 50, 0.2);
}

.checkout-section .section-title {
    color: var(--dark-green) !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    text-align: left;
}

.checkout-section .section-title::after {
    display: none;
}

.checkout-section .section-title i {
    font-size: 1.1rem;
    color: var(--primary-green);
}

.checkout-items-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.checkout-item {
    background: linear-gradient(135deg, var(--deep-black), rgba(46, 125, 50, 0.05));
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-name {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.checkout-item-details {
    color: var(--soft-white);
    font-size: 0.75rem;
    opacity: 0.8;
}

.checkout-item-price {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    margin-left: 15px;
}

.checkout-totals {
    background: linear-gradient(135deg, var(--deep-black), var(--charcoal));
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--soft-white);
    font-size: 0.9rem;
}

.total-line.total-final {
    border-top: 2px solid var(--primary-green);
    margin-top: 10px;
    padding-top: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

/*--------------------------------------------------------------
# BLOCO 17 - MODAL DE CHECKOUT (FORMULÁRIOS)
--------------------------------------------------------------*/
.checkout-section .form-label {
    color: var(--dark-green);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    font-size: 0.85rem;
    font-family: var(--font-heading);
}

.checkout-section .form-control,
.checkout-section .form-select {
    background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
    border: 2px solid rgba(46, 125, 50, 0.3);
    color: var(--soft-white);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.checkout-section .form-control:focus,
.checkout-section .form-select:focus {
    background: linear-gradient(135deg, var(--deep-black), var(--charcoal));
    border-color: var(--primary-green);
    color: var(--soft-white);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
    outline: none;
}

.checkout-section .form-control::placeholder {
    color: var(--gray-medium);
    opacity: 0.7;
}

#selectRegiao {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(46, 125, 50, 0.5) !important;
    padding: 14px 40px 14px 16px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232E7D32' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 14px !important;
}

#selectRegiao:hover {
    border-color: rgba(46, 125, 50, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15) !important;
    transform: translateY(-1px) !important;
}

#selectRegiao:focus {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%) !important;
    border-color: var(--primary-green) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.25) !important;
    outline: none !important;
}

#selectRegiao option {
    background: #1a1a1a !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-weight: 500 !important;
}

#selectRegiao option:hover,
#selectRegiao option:checked,
#selectRegiao option:focus {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%) !important;
    color: #ffffff !important;
}

#selectRegiao option[value=""] {
    color: #999999 !important;
    font-style: italic !important;
}

#regiaoSelecionadaInfo {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%) !important;
    border: 2px solid #2196F3 !important;
    border-radius: 12px !important;
    color: #E3F2FD !important;
    padding: 14px 16px !important;
    animation: fadeInDown 0.4s ease-out !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3) !important;
}

#regiaoSelecionadaInfo strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

#regiaoSelecionadaInfo small {
    color: #BBDEFB !important;
}

#regiaoSelecionadaInfo i {
    color: #64B5F6 !important;
}

.checkout-section .form-check {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
    border: 2px solid rgba(46, 125, 50, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.checkout-section .form-check:hover {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.2), rgba(46, 125, 50, 0.1));
    border-color: var(--primary-green);
}

.checkout-section .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    border: 2px solid var(--primary-green);
    background-color: var(--charcoal);
}

.checkout-section .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.checkout-section .form-check-label {
    color: var(--soft-white);
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-section .form-check-label i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
# BLOCO 18 - MODAL DE CHECKOUT (FOOTER E BOTÕES)
--------------------------------------------------------------*/
#checkoutModal .modal-footer {
    border-top: 2px solid var(--primary-green);
    padding: 18px 25px;
    background: rgba(46, 125, 50, 0.05);
    backdrop-filter: blur(10px);
}

#checkoutModal .modal-footer .btn {
    min-width: 150px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#checkoutModal .modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 12px var(--shadow-green);
}

#checkoutModal .modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-green);
}

#checkoutModal .modal-footer .btn-primary:disabled {
    background: var(--gray-dark);
    color: var(--gray-medium);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#checkoutModal .modal-footer .btn-secondary {
    background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
    color: var(--soft-white);
    border: 2px solid var(--gray-medium);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#checkoutModal .modal-footer .btn-secondary:hover {
    background: linear-gradient(135deg, var(--gray-dark), var(--charcoal));
    border-color: var(--soft-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/*--------------------------------------------------------------
# BLOCO 19 - UTILITÁRIOS
--------------------------------------------------------------*/
.text-muted {
    color: var(--soft-white) !important;
    opacity: 0.8;
}

.badge {
    color: var(--deep-black) !important;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.cart-count {
    background: var(--danger-red);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: 5px;
}

.no-meals-message {
    padding: 60px 20px;
    text-align: center;
}

.no-meals-message i {
    color: var(--primary-green);
    opacity: 0.5;
    margin-bottom: 20px;
}

.no-meals-message h4 {
    color: var(--primary-green);
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.no-meals-message p {
    color: var(--soft-white);
    opacity: 0.8;
}

/*--------------------------------------------------------------
# BLOCO 20 - ANIMAÇÕES
--------------------------------------------------------------*/
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/*--------------------------------------------------------------
# BLOCO 21 - RESPONSIVO TABLET (1024px)
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    #mealsList {
        padding: var(--spacing-lg);
    }
    
    .meal-card {
        height: 160px;
    }
    
    .meal-image {
        flex: 0 0 180px;
        height: 160px;
    }
    
    .professionals-grid,
    .products-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*--------------------------------------------------------------
# BLOCO 22 - RESPONSIVO MOBILE (768px)
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .carousel-item img {
        height: 280px;
    }

    #mealsList {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .meal-card {
        flex-direction: row;
        height: 140px;
    }
    
    .meal-image {
        flex: 0 0 140px;
        height: 140px;
    }
    
    .meal-content {
        padding: var(--spacing-md);
    }
    
    .meal-header h4 {
        font-size: var(--font-size-base);
    }
    
    .meal-description {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
    /* Removi o truncamento - agora mostra descrição completa sempre */
}

/* Mobile: mostrar descrição completa */
@media (max-width: 768px) {
    .meal-description {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
}
    .meal-calories {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .meal-calories i {
        font-size: 0.75rem;
    }
    .meal-price {
        font-size: var(--font-size-xl);
    }
    
    .btn-add-meal {
        padding: 8px 16px;
        font-size: 11px;
    }

    .section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }

    .professionals-grid,
    .products-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .search-container {
        padding: 0;
    }

    .menu-items-container {
        display: flex;
        overflow-x: auto;
        gap: var(--spacing-sm);
        padding: 5px 0;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .menu-items-container::-webkit-scrollbar {
        display: none;
    }

    .menu-item {
        flex: 0 0 auto;
        min-width: 120px;
        white-space: nowrap;
    }

    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .marmita-modal-layout {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .marmita-image-container {
        flex: 0 0 120px;
    }
    
    .marmita-modal-image {
        width: 120px;
        height: 120px;
    }
    
    .marmita-info-container {
        flex: 1;
        text-align: left;
    }
    
    .marmita-title {
        font-size: 1.1rem;
    }
    
    .marmita-desc {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .marmita-price {
        font-size: 1.3rem;
    }
    
    .marmita-price-calories {
        justify-content: flex-start;
        gap: 10px;
    }
    
    .marmita-calories {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .marmita-nutri-info {
        gap: 8px;
    }
    
    .nutri-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .weight-selection-compact {
        padding: 12px;
        margin: 12px 0;
    }
    
    .weight-selection-compact h6 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .weight-options-compact {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }
    
    .weight-option-compact-card {
        min-height: 80px;
        padding: 10px 8px;
    }
    
    .weight-compact-grams {
        font-size: 1.2rem;
    }
    
    .weight-compact-price {
        font-size: 0.9rem;
    }

    .form-group-compact {
        margin-bottom: 12px;
    }
    
    .form-label-compact {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .form-control-compact {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .modal-footer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .whatsapp-float {
        bottom: 95px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    #checkoutModal .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    #checkoutModal .modal-body {
        padding: 18px;
        max-height: 65vh;
    }
    
    .checkout-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .checkout-section .section-title {
        font-size: 0.95rem;
    }
    
    .checkout-totals {
        padding: 12px;
    }
    
    .total-line.total-final {
        font-size: 1.1rem;
    }
    
    #checkoutModal .modal-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    #checkoutModal .modal-footer .btn {
        width: 100%;
        min-width: auto;
    }
    
    #selectRegiao {
        font-size: 0.9rem !important;
        padding: 12px 36px 12px 14px !important;
    }
}

/*--------------------------------------------------------------
# BLOCO 23 - RESPONSIVO MOBILE PEQUENO (576px e 480px)
--------------------------------------------------------------*/
@media (max-width: 576px) {
    .menu-items-container {
        gap: var(--spacing-xs);
    }

    .menu-item {
        min-width: 110px;
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .meal-card {
        flex-direction: row;
        height: 120px;
    }
    
    .meal-image {
        flex: 0 0 120px;
        height: 120px;
    }
    
    .meal-content {
        padding: var(--spacing-sm);
    }
    
    .meal-header h4 {
        font-size: 0.9rem;
    }
    
    .meal-calories {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .meal-description {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }
    
    .meal-footer {
        padding-top: var(--spacing-xs);
    }
    
    .meal-price {
        font-size: var(--font-size-lg);
    }
    
    .btn-add-meal {
        padding: 6px 12px;
        font-size: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 90px;
        right: 15px;
    }

    .checkout-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .checkout-item-price {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .checkout-section .form-check {
        padding: 10px 12px;
    }
    
    .checkout-section .form-check-label {
        font-size: 0.85rem;
    }
    
    .marmita-nutri-info {
        gap: 6px;
    }
    
    .nutri-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .weight-options-compact {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }
    
    .weight-option-compact-card {
        min-height: 70px;
        padding: 8px 6px;
    }
    
    .weight-compact-grams {
        font-size: 1rem;
    }
    
    .weight-compact-price {
        font-size: 0.85rem;
    }
}

/*--------------------------------------------------------------
# RESPONSIVO - BADGES NUTRICIONAIS
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .marmita-nutri-info {
        gap: 8px;
        margin-top: 10px;
    }
    
    .nutri-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .nutri-badge i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .marmita-nutri-info {
        gap: 6px;
        margin-top: 8px;
    }
    
    .nutri-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .nutri-badge i {
        font-size: 0.75rem;
    }
}

/* =============================================
   CAROUSEL - SETA CUSTOMIZADA ÚNICA
   ============================================= */

/* Esconder controles padrão */
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
    display: none !important;
}

/* Seta customizada no canto inferior direito */
.carousel-custom-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.95), rgba(27, 94, 32, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.5);
    backdrop-filter: blur(10px);
}

.carousel-custom-nav:hover {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95), rgba(46, 125, 50, 0.95));
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 6px 28px rgba(46, 125, 50, 0.7);
}

.carousel-custom-nav:active {
    transform: scale(0.95);
}

.carousel-custom-nav i {
    font-size: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.carousel-custom-nav:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .carousel-custom-nav {
        width: 48px;
        height: 48px;
        bottom: 15px;
        right: 15px;
    }
    
    .carousel-custom-nav i {
        font-size: 20px;
    }
}
/* =============================================
   BOTÃO INFO NUTRICIONAL NO MODAL
   ============================================= */

.modal-nutri-info-button {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    margin-left: 12px;
    flex-shrink: 0;
}

.modal-nutri-info-button:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(29, 78, 216, 0.95));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.modal-nutri-info-button i {
    font-size: 14px;
    color: white;
    font-weight: bold;
}

.modal-nutri-tooltip {
    position: absolute;
    top: -140px; /* Subindo mais ainda */
    right: 45px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.98));
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 12px;
    padding: 16px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translate(10px, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 99999;
}

.modal-nutri-info-button:hover .modal-nutri-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}

.modal-nutri-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 35%; /* Descendo a seta (era top: 50%) */
    transform: translateY(0); /* Removendo o translateY */
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgba(59, 130, 246, 0.5);
}

.modal-nutri-tooltip h6 {
    color: #60a5fa;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-nutri-tooltip .nutri-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    color: #cbd5e1;
    font-size: 13px;
}

.modal-nutri-tooltip .nutri-info-item:last-child {
    border-bottom: none;
}

.modal-nutri-tooltip .label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
}

.modal-nutri-tooltip .label i {
    font-size: 16px;
    color: #60a5fa;
}

.modal-nutri-tooltip .value {
    font-weight: 700;
    color: #f1f5f9;
}

@media (max-width: 768px) {
    .modal-nutri-info-button {
        width: 26px;
        height: 26px;
    }
    
    .modal-nutri-info-button i {
        font-size: 13px;
    }
    
    .modal-nutri-tooltip {
        min-width: 260px;
        right: -10px;
    }
}