/* --- CONFIGURAÇÕES GERAIS E PALETA DE CORES --- */
:root {
    /* Cores principais AYUV */
    --primary-green: #4A5C43;
    --light-background: #F4F1EB;
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --accent-color: #D4B26A;

    /* Cores natalinas para o aviso */
    --christmas-red: #c0392b; /* Um vermelho natalino vibrante */
    --christmas-green: #27ae60; /* Um verde natalino */
    --christmas-gold: #f39c12; /* Um dourado para detalhes */
    --christmas-white: #ecf0f1; /* Um branco levemente acinzentado */

    /* Cores da chama para o "Mais Pedido" */
    --flame-green-light: #6C7E64;
    --flame-green-dark: #4A5C43; /* Pode ser o mesmo do primary-green */
    --flame-glow-color: rgba(212, 178, 106, 0.7); /* Accent-color com transparência */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-background);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- CABEÇALHO E RODAPÉ --- */
.main-header {
    background-color: var(--primary-green);
    color: var(--light-text);
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

.main-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--primary-green);
    color: var(--light-text);
    margin-top: 2rem;
}

/* --- PÁGINA DO CARDÁPIO (INDEX.PHP) --- */
.category-section h2 {
    display: inline-block;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 8px;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info { padding: 1.5rem; }
.product-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.product-description { font-size: 0.9rem; margin-bottom: 1rem; color: #666; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--primary-green); }

.add-to-cart-btn {
    background-color: var(--primary-green);
    color: var(--light-text);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.add-to-cart-btn:hover { background-color: #3a4a34; }
.add-to-cart-btn.added { background-color: #28a745; cursor: default; }

/* --- ESTILO PARA O EFEITO "MAIS PEDIDO" --- */
.most-ordered-flame {
    position: relative;
    border: 3px solid var(--accent-color); /* Borda dourada mais grossa */
    box-shadow: 0 0 15px var(--flame-glow-color), 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra e brilho */
    animation: pulse-flame 1.5s infinite alternate; /* Animação de pulsar */
}

/* Pseudoelemento para o detalhe da "chama" ou "selo" */
.most-ordered-flame::before {
    content: '🔥 Mais Pedido!';
    position: absolute;
    top: -15px; /* Posição acima do card */
    right: 15px; /* Alinhado à direita */
    background-color: var(--christmas-red); /* Fundo da chama (vermelho natalino) */
    color: var(--light-text);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transform: rotate(5deg); /* Leve rotação */
    animation: bounce-flame 2s infinite ease-in-out; /* Animação de pulo sutil */
}

/* Animação para o brilho do card */
@keyframes pulse-flame {
    0% { box-shadow: 0 0 10px var(--flame-glow-color), 0 6px 15px rgba(0, 0, 0, 0.15); }
    100% { box-shadow: 0 0 20px var(--flame-glow-color), 0 10px 25px rgba(0, 0, 0, 0.25); }
}

/* Animação para o selo de "Mais Pedido" */
@keyframes bounce-flame {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

/* --- CARRINHO, MODAL E NOTIFICAÇÕES --- */
.cart-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    font-weight: 700;
    z-index: 1000;
}

.cart-count {
    background-color: var(--primary-green);
    color: var(--light-text);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    margin-left: 10px;
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none; justify-content: center; align-items: center;
    z-index: 2000;
}
.modal-overlay.active { display: flex; }

.modal-content {
    background-color: #fff; padding: 2rem; border-radius: 8px;
    width: 90%; max-width: 500px; position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.close-button {
    position: absolute; top: 10px; right: 15px; background: none;
    border: none; font-size: 2rem; cursor: pointer; color: #888;
}

.modal-content h2 { color: var(--primary-green); margin-bottom: 1rem; }
#order-summary { max-height: 200px; overflow-y: auto; margin-bottom: 1rem; }
.order-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input, .form-group select {
    width: 100%; padding: 0.8rem; border: 1px solid #ccc;
    border-radius: 5px; font-size: 1rem;
}

.submit-order-btn, .call-barman-btn {
    width: 100%; padding: 1rem; border: none; border-radius: 5px;
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s;
}

.submit-order-btn { background-color: var(--primary-green); color: var(--light-text); margin-bottom: 0.5rem; }
.call-barman-btn { background-color: #eee; color: var(--dark-text); }
.submit-order-btn:hover, .call-barman-btn:hover { opacity: 0.9; }

.notification {
    position: fixed; bottom: -100px; left: 50%;
    transform: translateX(-50%); padding: 1rem 2rem; border-radius: 5px;
    color: #fff; font-weight: 500; transition: bottom 0.5s ease-in-out;
    z-index: 3000;
}
.notification.show { bottom: 20px; }
.notification.success { background-color: #28a745; }
.notification.error { background-color: #dc3545; }

/* --- PAINEL DO BARMAN --- */
.barman-panel { background-color: var(--primary-green); color: var(--light-text); }
.panel-title { font-size: 1rem; font-weight: 400; margin-left: 1rem; opacity: 0.8; }
.container-barman { width: 95%; max-width: 1400px; margin: 2rem auto; display: flex; gap: 2rem; }
.order-column { background-color: #3a4a34; flex: 1; padding: 1.5rem; border-radius: 8px; }
.column-title { font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; letter-spacing: 1px; }
.order-list { display: flex; flex-direction: column; gap: 1.5rem; }
.no-orders-message { text-align: center; padding: 2rem; opacity: 0.6; }

.order-card {
    background-color: var(--light-background); color: var(--dark-text);
    border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.order-card-header {
    display: flex; justify-content: space-between; align-items: center;
    background-color: #e9e5dc; padding: 1rem 1.5rem;
    border-bottom: 1px solid #ddd; border-radius: 8px 8px 0 0;
}
.order-card-header h3 { color: var(--primary-green); }
.order-time { font-weight: 700; }
.order-card-body { padding: 1.5rem; }
.order-card-body p { margin-bottom: 0.5rem; }
.order-item-list { list-style: none; margin-top: 1rem; padding-left: 0.5rem; border-left: 3px solid var(--accent-color); }
.order-item { padding: 0.25rem 0; }
.order-card-actions { padding: 1rem 1.5rem; display: flex; gap: 1rem; border-top: 1px solid #ddd; }

.action-btn { flex: 1; padding: 0.8rem; border-radius: 5px; border: none; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.action-btn:hover { opacity: 0.85; }
.start-prep-btn { background-color: var(--accent-color); color: var(--dark-text); }
.cancel-btn { background-color: #8b8b8b; color: #fff; }

/* --- COLUNA DE ESTOQUE DO BARMAN --- */
.stock-column {
    background-color: var(--light-background); color: var(--dark-text);
    padding: 1.5rem; border-radius: 8px; width: 350px; flex-shrink: 0;
    display: flex; flex-direction: column;
}
.stock-column .column-title { color: var(--primary-green); }
.stock-list { flex-grow: 1; overflow-y: auto; margin-bottom: 1.5rem; }
#stock-table { width: 100%; border-collapse: collapse; }
#stock-table th, #stock-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid #ddd; }
#stock-table th { font-weight: 700; position: sticky; top: 0; background-color: var(--light-background); }
#stock-table td:last-child { text-align: center; font-weight: 700; }
.whatsapp-btn { background-color: #25D366; color: #fff; width: 100%; }
.whatsapp-btn:hover { background-color: #1DA851; opacity: 1; }

/* --- PÁGINA DE LOGIN --- */
.login-page { background-color: var(--primary-green); display: flex; justify-content: center; align-items: center; height: 100vh; }
.login-container {
    background-color: #fff; padding: 3rem; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); width: 90%; max-width: 400px; text-align: center;
}
.login-container h2 { margin-bottom: 2rem; color: var(--dark-text); }
.error-message { color: #dc3545; margin-bottom: 1rem; }
.submit-login-btn {
    width: 100%; padding: 1rem; background-color: var(--primary-green);
    color: #fff; border: none; border-radius: 5px; font-size: 1.1rem; cursor: pointer;
}

/* --- PAINEL ADMIN GERAL --- */
.admin-panel { background-color: #f8f9fa; }
.logout-btn {
    color: var(--light-text); text-decoration: none; font-weight: 500;
    padding: 0.5rem 1rem; border: 1px solid var(--light-text);
    border-radius: 5px; transition: all 0.2s;
}
.logout-btn:hover { background-color: var(--light-text); color: var(--primary-green); }

.container-admin {
    width: 90%; max-width: 1200px; margin: 2rem auto; background-color: #fff;
    padding: 2rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.admin-section { margin-bottom: 2rem; }
.admin-section .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.btn-add-new { background-color: var(--primary-green); color: #fff; padding: 0.8rem 1.2rem; border-radius: 5px; text-decoration: none; font-weight: 500; }

/* --- TABELA E FORMULÁRIO DO ADMIN --- */
.admin-table-container { overflow-x: auto; }
.admin-table-container table { width: 100%; border-collapse: collapse; }
.admin-table-container th, .admin-table-container td { padding: 1rem; text-align: left; border-bottom: 1px solid #eee; }
.product-thumbnail { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; }
.actions-cell { display: flex; gap: 0.5rem; }
.btn-action { padding: 0.5rem 0.8rem; border-radius: 4px; text-decoration: none; color: #fff; font-size: 0.9rem; }
.btn-edit { background-color: var(--accent-color); }
.btn-delete { background-color: #dc3545; }
.btn-save { background-color: var(--primary-green); border:none; cursor: pointer; color: #fff; }
.btn-cancel { background-color: #6c757d; }
.admin-form .form-group-row { display: flex; gap: 1.5rem; }
.admin-form .form-group-row .form-group { flex: 1; }
.admin-form .form-actions { margin-top: 2rem; display: flex; gap: 1rem; }

/* --- DASHBOARD DO ADMIN --- */
.dashboard { background-color: #f4f1eb; padding: 2rem; border-radius: 8px; }
.dashboard-title { color: var(--primary-green); margin-bottom: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.stat-card { background-color: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.stat-card h3 { font-size: 1rem; color: #6c757d; margin-bottom: 0.5rem; font-weight: 500; }
.stat-card .stat-value { font-size: 2.2rem; font-weight: 700; color: var(--primary-green); }
.stat-card small { color: #6c757d; }
.stat-card.full-width { grid-column: 1 / -1; }
.recent-orders-table { width: 100%; border-collapse: collapse; }
.recent-orders-table td { padding: 0.75rem 0; border-bottom: 1px solid #eee; }
.recent-orders-table tr:last-child td { border-bottom: none; }

.status-badge { padding: 0.25rem 0.6rem; border-radius: 12px; font-size: 0.8rem; font-weight: 700; color: #fff; }
.status-pending { background-color: #ffc107; color: #333; }
.status-preparing { background-color: #17a2b8; }
.status-completed { background-color: #28a745; }
.status-cancelled { background-color: #dc3545; }

/* --- ESTILOS DA ETAPA "ÚLTIMOS PEDIDOS" --- */

/* Ajusta o container principal para ter 3 colunas */
.container-barman {
    grid-template-columns: repeat(3, 1fr); /* Cria um layout de 3 colunas, se aplicável */
}

/* Garante que a coluna de estoque não seja espremida */
.stock-column {
    min-width: 300px;
    flex-shrink: 0;
}

/* Melhora o cabeçalho do card de pedido */
.order-card-header {
    gap: 1rem;
}

.order-card-header h3 {
    flex-grow: 1; /* Empurra o status badge para a direita */
}

/* Badge de status (reaproveitado do painel admin) */
.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: capitalize;
}
.status-pending { background-color: #ffc107; color: #333; }
.status-preparing { background-color: #17a2b8; }
.status-completed { background-color: #28a745; }
.status-cancelled { background-color: #dc3545; }


/* Novo botão de concluir */
.complete-btn {
    background-color: #28a745;
    color: #fff;
}
.complete-btn:hover {
    opacity: 0.85;
}

/* Garante que o container de ações vazio não ocupe espaço */
.order-card-actions:empty {
    display: none;
}
/* --- ESTILOS RESPONSIVOS PARA TABLETS E DISPOSITIVOS MENORES --- */

/* Estas regras serão aplicadas em telas com largura máxima de 992px (tamanho comum de tablets) */
@media (max-width: 992px) {

    /* Diminui a altura da imagem do produto */
    .product-card img {
        height: 160px;
    }

    /* Ajusta o tamanho das fontes para não ficarem tão grandes */
    .category-section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.85rem;
    }

    /* Reduz os espaçamentos internos dos cards */
    .product-info {
        padding: 1rem;
    }
}


/* Estas regras são para telas ainda menores, como celulares na vertical */
@media (max-width: 480px) {

    /* Diminui ainda mais a imagem para telas pequenas */
    .product-card img {
        height: 140px;
    }

    /* Ajusta o espaçamento geral da página */
    .container {
        width: 95%;
        margin-top: 1rem;
    }

    .category-section h2 {
        font-size: 1.6rem;
    }

    /* Ajusta o botão do carrinho para não atrapalhar o conteúdo */
    .cart-button {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}
/* --- ESTILOS PARA ADICIONAR NOVA CATEGORIA --- */
.category-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.category-wrapper select {
    flex-grow: 1;
}
.btn-add-category {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 5px;
    border: 1px solid var(--primary-green);
    background-color: transparent;
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 500;
}

.new-category-container {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 1rem;
    background-color: #f8f9fa;
}
.new-category-container input {
    width: auto;
    flex-grow: 1;
    margin-right: 1rem;
}
.feedback-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
/* --- ESTILOS PARA CHAMA BARMAN NO PAINEL DO BARMAN --- */

/* Ajusta o container principal para ter 4 colunas */
.container-barman {
    display: grid; /* Usa grid para melhor controle de colunas */
    grid-template-columns: repeat(3, 1fr) 350px; /* 3 colunas de pedidos/chamadas, 1 de estoque fixa */
    gap: 2rem;
}

/* Estilo para a coluna de chamadas */
.order-column h2 { /* Título da coluna de chamadas */
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.no-calls-message { /* Mensagem quando não há chamadas */
    text-align: center;
    padding: 2rem;
    opacity: 0.6;
}

/* Estilo específico para o card de chamada */
.call-card {
    border: 2px solid var(--accent-color); /* Borda mais visível */
    animation: pulse 1s infinite alternate; /* Animação para chamar atenção */
}

@keyframes pulse {
    from { box-shadow: 0 0 5px var(--accent-color), 0 4px 10px rgba(0,0,0,0.2); }
    to { box-shadow: 0 0 15px var(--accent-color), 0 8px 20px rgba(0,0,0,0.4); }
}

.call-card .order-card-header h3 {
    color: var(--accent-color); /* Título da chamada em cor de destaque */
}

/* Botão de marcar como atendido */
.acknowledge-call-btn {
    background-color: var(--primary-green);
    color: var(--light-text);
}
.acknowledge-call-btn:hover {
    opacity: 0.85;
}

/* Garante que o container de ações vazio não ocupe espaço */
.order-card-actions:empty {
    display: none;
}

/* Media query para telas menores de 1200px para evitar sobreposição */
@media (max-width: 1200px) {
    .container-barman {
        grid-template-columns: repeat(2, 1fr); /* Reduz para 2 colunas */
    }
    .stock-column {
        grid-column: 1 / -1; /* Coloca a coluna de estoque em uma linha separada */
        width: auto; /* Permite que o estoque ocupe a largura total */
    }
}

/* Media query para telas menores de 768px (tablets na vertical/celulares) */
@media (max-width: 768px) {
    .container-barman {
        grid-template-columns: 1fr; /* Todas as colunas em uma única linha */
    }
    .order-column, .stock-column {
        grid-column: auto; /* Reseta o grid-column */
        width: auto;
    }
}
/* --- ESTILO PARA CABEÇALHOS DAS TABELAS DO DASHBOARD --- */
.recent-orders-table thead th {
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}
/* --- ESTILOS PARA GERENCIAMENTO DE ESTOQUE EDITÁVEL --- */
#stock-table td .stock-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    -moz-appearance: textfield; /* Remove setas em Firefox */
}
#stock-table td .stock-input::-webkit-outer-spin-button,
#stock-table td .stock-input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Remove setas em Chrome, Safari, etc. */
    margin: 0;
}

.stock-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.stock-actions .action-btn {
    flex: 1;
}

.save-stock-btn {
    background-color: var(--primary-green);
    color: var(--light-text);
}

#stock-feedback {
    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}
/* --- CABEÇALHO AYUV PADRONIZADO --- */

.admin-header {
    background-color: #5F7C5B; /* Verde escuro do cabeçalho admin */
    padding: 1.5rem 2rem; /* Espaçamento padrão do cabeçalho admin */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra sutil */
    display: flex;
    justify-content: space-between; /* Alinha o logo à esquerda e o botão Sair à direita (se houver) */
    align-items: center;
}

.admin-header .logo-main {
    /* font-family: var(--font-playfair); Removi, pois não há essa variável definida */
    font-size: 2.5rem; /* Tamanho do texto "AYUV" */
    color: #FFF; /* Cor branca para o texto */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Garante que o link não tenha underline padrão */
.admin-header .logo-text-container a {
    text-decoration: none;
}

/* Se houver um botão "Sair" ou similar no index futuramente, ele manterá o estilo */
.admin-header .logout-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.admin-header .logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Ajustes responsivos para o cabeçalho admin em telas menores */
@media (max-width: 992px) {
    .admin-header {
        flex-direction: column;
        gap: 10px;
        padding: 1rem;
    }
}
/* --- ESTILO PARA CARD DE PRODUTO SEM FOTO --- */

.text-only-card {
    display: flex;
    flex-direction: column;
}

.text-only-card .text-card-header {
    height: 200px; /* Mesma altura da imagem padrão */
    background-color: var(--primary-green);
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.text-only-card .text-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--light-text);
    line-height: 1.3;
}

.text-only-card .product-info {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.text-only-card .product-info .product-description {
    flex-grow: 1;
}
/* --- ESTILO PESQUISA DE SATISFAÇÃO (VERSÃO PROFISSIONAL) --- */
.survey-content {
    max-width: 550px; /* Um modal um pouco mais largo */
}

.survey-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.survey-header p {
    font-size: 1.1rem;
    color: #666;
}

.survey-question {
    margin-bottom: 1.5rem;
}
.survey-question label {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

.star-rating {
    display: flex;
    justify-content: center;
}

.star-rating .star {
    font-size: 3rem;    /* ESTRELAS BEM MAIORES */
    color: #ccc;        /* Cor padrão (vazia) */
    cursor: pointer;
    padding: 0 8px;    /* Espaçamento de toque entre as estrelas */
    transition: transform 0.1s ease, color 0.2s ease;
}

.star-rating .star:hover {
    transform: scale(1.1); /* Efeito de hover */
}

/* Classes que o JavaScript vai adicionar para pintar as estrelas */
.star-rating .star.hover {
    color: #e0c58a; /* Cor de hover (dourado claro) */
}
.star-rating .star.selected {
    color: #D4B26A; /* Cor final (dourado AYUV) */
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .star-rating .star {
        font-size: 2.5rem; /* Um pouco menor no celular, mas ainda grande */
        padding: 0 5px;
    }
    .survey-question label {
        font-size: 1rem;
    }
}
/* No seu css/style.css, adicione estes estilos ou verifique se já existem */

.nav-links {
    display: flex;
    gap: 15px; /* Espaçamento entre os links */
}

.nav-links a, .logout-btn { /* Aplica estilo aos links de navegação e ao botão de sair */
    /* Estas variáveis não estão definidas no seu :root, mantendo o estilo original que parece ser de cabeçalho admin */
    background-color: rgba(255, 255, 255, 0.2); 
    color: #FFF;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.nav-links a:hover, .logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Fundo mais escuro no hover */
}
/* --- ESTILOS PARA O MODAL DE AVISO NATALINO --- */

.modal-content.christmas-theme {
    background: linear-gradient(135deg, var(--christmas-white) 0%, #ffffff 100%); /* Fundo claro com um gradiente */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 5px var(--christmas-red), 0 0 0 10px var(--christmas-green); /* Borda tripla natalina */
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: fadeInScale 0.5s ease-out forwards; /* Animação ao aparecer */
}

/* Ajuste para o botão de fechar dentro do tema natalino */
.modal-content.christmas-theme .close-button {
    color: var(--christmas-red);
    right: 15px;
    top: 10px;
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.christmas-icon {
    font-size: 3.5rem; /* Tamanho do ícone de árvore */
    margin-bottom: 15px;
    color: var(--christmas-green); /* Cor do ícone */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* Sombra para profundidade */
}

.christmas-title {
    font-family: 'Playfair Display', serif; /* Mantém a fonte elegante */
    color: var(--christmas-red); /* Título em vermelho natalino */
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.christmas-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #333; /* Texto principal em uma cor escura */
    line-height: 1.6;
    margin-bottom: 25px;
}

.modal-content.christmas-theme .submit-order-btn {
    background-color: var(--christmas-green); /* Botão de "Entendi" em verde natalino */
    border-color: var(--christmas-green);
    padding: 12px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modal-content.christmas-theme .submit-order-btn:hover {
    background-color: #2ecc71; /* Um verde um pouco mais claro no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Animação para o modal aparecer */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}