/* ==========================================================================
   ESPAÇAMENTO DE SEGURANÇA NO CONTAINER
   ========================================================================== */
body,
.container {
    padding-bottom: 120px !important; /* Evita que o conteúdo da página fique oculto sob o footer fixo */
}

/* ==========================================================================
   BARRA FIXA NO RODAPÉ (ESTILOS COMPARTILHADOS)
   ========================================================================== */
.bar-carrinho-global,
.footer-fixed,
#checkoutBar,
#footer-montagem {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #4a2818 !important; /* Tema Dark */
    border-top: 1px solid #27272a;
    color: #ffffff !important;
    padding: 14px 20px !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
    z-index: 99999 !important; /* Garante visibilidade sobre qualquer elemento */
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* Nota: Sem display !important para permitir alternância dinamicamente via JS */
}

/* Container interno das barras */
.checkout-content,
.montagem-content,
.footer-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================================================
   ESTILOS DE TEXTO E PREÇO
   ========================================================================== */
.resumo-detalhe,
.checkout-content span,
.montagem-content span {
    font-size: 0.9rem;
    color: #a1a1aa;
    font-weight: 500;
}

.resumo-valor,
.checkout-content strong,
.montagem-content strong,
#summaryPrice,
#bar-preco-total {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ea580c !important; /* Laranja da Vidal Pizzaria */
    margin-left: 8px;
}

/* ==========================================================================
   BOTÕES DE AÇÃO (SUBMIT / ADICIONAR AO CARRINHO)
   ========================================================================== */
.btn-submit,
.checkout-content button,
.montagem-content button {
    background-color: #ea580c; /* Laranja Vidal */
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

.btn-submit:hover:not(:disabled),
.checkout-content button:hover:not(:disabled),
.montagem-content button:hover:not(:disabled) {
    background-color: #c2410c;
    transform: translateY(-2px);
}

.btn-submit:active:not(:disabled),
.checkout-content button:active:not(:disabled),
.montagem-content button:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled,
.checkout-content button:disabled,
.montagem-content button:disabled {
    background-color: #3f3f46 !important;
    color: #71717a !important;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}