@charset "utf-8";
/* ========================
   GLOBAL CONFIG
========================= */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Padronização de título de seção */
.section-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ========================
   IMAGENS DO CARDÁPIO
========================= */

.card-img-wrapper {
    width: 100%;
    height: 200px;       /* altura padrão */
    overflow: hidden;    /* esconde o restante */
    border-radius: 5px;  /* deixa a apresentação mais bonita */
}

.fixed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* recorte inteligente */
    object-position: center;
}

/* ========================
   BOTÕES
========================= */

.btn-success {
    background-color: #4a9e39 !important;
    border: none !important;
}

.btn-outline-success {
    border-color: #4a9e39 !important;
    color: #4a9e39 !important;
}

.btn-outline-success:hover {
    background-color: #4a9e39 !important;
    color: #fff !important;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn-success-added {
    background-color: #00C !important;
    border-color:    #0FF !important;
    color: #fff !important;
    animation: pulse 0.6s ease infinite;
}

/* ========================
   CARTÕES / CARDS
========================= */

.card {
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    transition: 0.2s ease-in-out;
}

/* ========================
   TABELAS ADMIN
========================= */

.table thead th {
    background: #4a9e39;
    color: #fff;
}

.table-hover tbody tr:hover {
    background-color: #dfffd8;
}

/* ========================
   TEXTO PADRÃO PARA O CARDÁPIO
========================= */

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
}

.price-tag {
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================
   CARRINHO - QUANTIDADE
========================= */

.table .btn-outline-secondary.btn-sm {
    padding: 0.15rem 0.45rem;
}

.table td span.fw-semibold {
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

/* ========================
   CARRINHO - PRODUTO COM IMAGEM
========================= */

.cart-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-product-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.cart-product-name {
    font-weight: 500;
    font-size: 0.95rem;
}

/* ========================
   CHECKOUT - WHATSAPP DESTACADO
========================= */

.whatsapp-highlight {
    border: 2px solid #d4a017;         /* dourado */
    box-shadow: 0 0 0 0.15rem rgba(212, 160, 23, 0.2);
}

.whatsapp-highlight:focus {
    border-color: #b88910;
    box-shadow: 0 0 0 0.2rem rgba(184, 137, 16, 0.35);
}
