/* ==============Alerta de Carrinho Vazio============== */

/* O Alerta começa escondido acima da tela */
.alerta-topo {
  position: fixed;
  top: -120px; 
  left: 50%;
  transform: translateX(-50%);
  background-color: #16a34a; /* Verde (sucesso) */

  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999; /* Valor altíssimo para ficar à frente de qualquer modal */
  transition: top 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Sucesso: remove o ícone para não confundir */
.alerta-topo i {
  display: none;
}



/* Quando ganha esta classe, ele desce */
.alerta-topo.mostrar {
  top: 30px; /* Distância do topo da tela quando aparece */
}

/* ==============Fim Alerta de Carrinho Vazio============== */

/* ==========================================================================
   MENU.CSS - CARDÁPIO DINÂMICO D'MAR (VERSÃO FINAL)
   ========================================================================== */

/* 1. HERO SECTION (Topo da Página) */
.header-menu {
    background:
        radial-gradient(circle at 12% 0%, rgba(59, 175, 218, 0.16), transparent 32%),
        #0d1117;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-hero {
    position: relative;
    min-height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 38px 20px 48px;
    background:
        linear-gradient(180deg, rgba(13, 17, 23, 0), rgba(13, 17, 23, 0.92)),
        linear-gradient(90deg, rgba(15, 76, 129, 0.24), rgba(59, 175, 218, 0.08), rgba(13, 17, 23, 0));
    overflow: hidden;
}

.menu-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: min(180px, 42vw);
    height: 3px;
    border-radius: 999px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    opacity: 0.9;
}

.menu-hero-content {
    max-width: 760px;
    z-index: 10;
}

.menu-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: var(--white-color);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.menu-hero-content p {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0 auto;
    max-width: 560px;
}

/* 2. SECTION & SEARCH */
.menu-section {
    padding: 34px 0 60px;
    background: var(--dark-color);
}

.search-container {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 50px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
    outline: none;
    transition: var(--transition);
}

/* 3. CATEGORIAS (Tabs) */

.categories-nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 15px;
    margin-bottom: 38px;

    white-space: nowrap;

    position: relative;
    z-index: 10;

    -webkit-overflow-scrolling: touch;
}

.categories-nav::-webkit-scrollbar {
    display: none;
}









.cat-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-btn.active, .cat-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* =============menu style=================================== */
/* Posicionamento fixo do botão no canto do ecrã */
#btn-carrinho-flutuante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

/* ================= BOTÃO SOM (MENU) ================= */
.btn-som-flutuante {
  position: fixed;
  /* ACIMA do carrinho (que usa bottom: 24px; right: 24px) */
  bottom: 104px;
  right: 24px;
  z-index: 60;

  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid rgba(59, 175, 218, 0.35);

  background: rgba(15, 76, 129, 0.75);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn-som-flutuante:hover {
  transform: translateY(-3px) scale(1.04);
  background: rgba(15, 76, 129, 0.95);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.30);
}

.btn-som-flutuante:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===============================Estilo modal =========================== */
/* Container que cobre a tela toda */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro transparente */
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out; /* Efeito de suavidade */
}

/* Caixa branca centralizada */
.modal-conteudo {
  background-color: #ffffff;
  width: 90%;
  max-width: 450px;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

/* Controlos Visuais do Modal */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.modal-header h3 { margin: 0; font-size: 20px; color: #1f2937; }
.btn-fechar { background: none; border: none; font-size: 28px; cursor: pointer; color: #9ca3af; }
.btn-fechar:hover { color: #374151; }

.modal-lista {
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.modal-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}
.total-container {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 18px;
  color: #030712;
  margin-bottom: 16px;
}
.btn-finalizar {
  width: 100%;
  background-color: #059669;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-finalizar:hover { background-color: #047857; }



/* ====================================Css do modal de confirmação================ */
/* ========================================================
   ESTILIZAÇÃO DO MODAL DE CONFIRMAÇÃO (CHECKOUT)
   ======================================================== */

/* Classe crucial para ocultar os modais por padrão */
.modal-escondido {
    display: none !important;
}

/* O fundo escuro que cobre o ecrã inteiro */
#modal-checkout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Fundo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100; /* Garante que fica por cima de tudo */
    padding: 16px;
    box-sizing: border-box;
    backdrop-filter: blur(4px); /* Efeito de desfoque ao fundo (opcional/moderno) */
}

/* A caixa branca do modal */
#modal-checkout > div {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    animation: entrarModal 0.3s ease-out; /* Animação suave ao abrir */
}

/* Título do Modal */
#modal-checkout h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 12px;
}

/* Área de scroll dos pratos selecionados */
#resumo-itens-checkout {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

/* Personalização da barra de scroll interna do resumo (opcional) */
#resumo-itens-checkout::-webkit-scrollbar {
    width: 6px;
}
#resumo-itens-checkout::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 3px;
}

/* Cada linha de prato no resumo */
#resumo-itens-checkout div {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #4b5563;
    padding: 6px 0;
    border-bottom: 1px dashed #f3f4f6;
}

/* Inputs do Formulário (Nome e Mesa) */
#modal-checkout input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* Destaque quando o utilizador clica no input */
#modal-checkout input:focus {
    outline: none;
    border-color: #25d366; /* Cor do WhatsApp ou do teu tema */
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

/* Labels dos campos */
#modal-checkout label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/* Animação de entrada do Modal */
@keyframes entrarModal {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ====================================Fim Css do modal de confirmação================ */

/* ======================================================== */
/* CLASSES DE CONTROLO DE VISIBILIDADE (SUAVIDADE/FADE)    */
/* ======================================================== */
.modal-escondido {
  opacity: 0 !important;
  pointer-events: none !important; /* Impede cliques quando invisível */
}
/* =============================================================================== */

/* Efeito de aumento suave ao passar o rato (Hover) */
#btn-carrinho-flutuante:hover {
  transform: scale(1.1);
}

/* Efeito de clique físico */
#btn-carrinho-flutuante:active {
  transform: scale(0.95);
}

/* O círculo verde do botão (Tamanho e Estilo) */
.carrinho-circulo {
  width: 64px;
  height: 64px;
  background-color: #059669; /* Verde esmeralda */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  border: 1px solid #10b981;
  transition: background-color 0.2s ease;
}

/* Mudança de cor do círculo no hover */
.carrinho-circulo:hover {
  background-color: #047857;
}

/* Estilo do ícone do Font Awesome lá dentro */
.carrinho-circulo i {
  font-size: 20px;
}

/* A bolinha vermelha do contador */
#carrinho-contador {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444; /* Vermelho */
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Classe para esconder o contador quando estiver a zero */
.contador-escondido {
  display: none !important;
}

/* --- ANIMAÇÃO DE PULO (1px para cima e para baixo) --- */
@keyframes pulo-subtil {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); } /* Deslocamento curto */
}

/* Classe que o JavaScript vai injetar temporariamente ao clicar em adicionar */
.animar-pulo {
  animation: pulo-subtil 0.25s ease-in-out;
}
/* /===================================================== */

/* 4. ANIMAÇÃO FADE-IN-UP */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpDelay1 {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. GRID & CARDS */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.product-card {
    background: var(--dark-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column; /* Faz o conteúdo esticar verticalmente */
    height: 100%;
    min-height: 360px;
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-card[data-animation-delay="1"] {
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.product-card[data-animation-delay="2"] {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.product-card[data-animation-delay="3"] {
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.product-card[data-animation-delay="4"] {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.product-card.hidden {
    display: none !important;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(59, 175, 218, 0.2);
}

.product-card.hidden { display: none; }

.product-img {
    height: 210px;
    position: relative;
    overflow: hidden;
}


.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.price-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    z-index: 2;
}

/* 5. INFO & BOTÃO CARRINHO */
.product-info {
    background: var(--dark-light);
    padding: 14px 20px 16px;
    flex-grow: 1; /* Empurra o botão para baixo */
    display: flex;
    flex-direction: column;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--white-color);
    line-height: 1.3;
    margin: 0 0 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 16px;
}



.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto; /* Cola no fundo do card */
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--white-color);
    transform: scale(1.03);
}

/* 6. RESPONSIVIDADE (2 CARDS LADO A LADO) */
@media (max-width: 600px) {
    .menu-hero {
        min-height: 170px;
        padding: 30px 18px 42px;
    }

    .menu-hero-content h1 { font-size: 2rem; }

    .menu-hero-content p {
        font-size: 0.9rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card { min-height: 300px; }
    .product-img { height: 150px; }
    .product-info { padding: 12px 14px 14px; }
    .product-info h3 { font-size: 0.95rem; }
    
    .product-info p {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .add-to-cart-btn {
        padding: 8px;
        font-size: 0.8rem;
    }

    .categories-nav { justify-content: flex-start; }
}

@media (max-width: 340px) {
    .menu-grid { grid-template-columns: 1fr; }
}


/* finalizar pedido */

/* Mantém a estrutura idêntica à do erro, só muda a cor para verde comercial */
.aviso-checkout.aviso-sucesso {
    background-color: #16a34a; /* Verde elegante */
}


/* Container do aviso */
.aviso-checkout {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #dc2626; /* Vermelho vivo */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    margin: 0;
    transition: opacity 0.3s ease;
}

/* Classe utilitária para fazer o aviso sumir suavemente */
.aviso-escondido {
    opacity: 0;
}


.menu-hero {
    position: relative;
    z-index: 1;
}

.nav-links {
    z-index: 9999;
}

.hamburger {
    position: relative;
    z-index: 1000000;
}



/* =================Estilo da mensagem "Sem Produto da categoria x "============= */
.sem-produtos {
    width: 100%;
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.sem-produtos i {
    font-size: 50px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.sem-produtos h3 {
    font-size: 22px;
    color: var(--white-color);
    margin-bottom: 10px;
}

.sem-produtos p {
    font-size: 15px;
    color: #9ca3af;
}

.hidden {
    display: none !important;
}


.sem-produtos {
    text-align: center;
    color: #9ca3af;
    font-size: 1.1rem;
    padding: 60px 20px;
    width: 100%;
    animation: fadeInUp 0.4s ease;
}

/* ================= MODAIS DE PEDIDO / ENTREGA ================= */
.pedido-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(8px);
}

.pedido-modal.modal-escondido {
    display: none !important;
}

.pedido-modal-box {
    position: relative;
    width: min(100%, 520px);
    max-height: min(92vh, 760px);
    overflow-y: auto;
    background: #111827;
    border: 1px solid rgba(59, 175, 218, 0.24);
    border-radius: 14px;
    padding: 26px;
    color: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.pedido-modal-box-wide {
    width: min(100%, 680px);
}

.pedido-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.pedido-modal-header {
    margin-bottom: 20px;
    padding-right: 34px;
}

.pedido-modal-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #3bafda;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pedido-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.35rem;
}

.pedido-tipo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pedido-tipo-card {
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.pedido-tipo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 175, 218, 0.7);
    background: rgba(59, 175, 218, 0.12);
}

.pedido-tipo-icon {
    display: block;
    margin-bottom: 14px;
    font-size: 2.1rem;
}

.pedido-tipo-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.pedido-tipo-card small {
    display: block;
    color: #b8c3d3;
    line-height: 1.45;
}

.pedido-resumo {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pedido-resumo-item,
.pedido-total-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #d1d5db;
    font-size: 0.9rem;
}

.pedido-resumo-item + .pedido-resumo-item {
    margin-top: 9px;
}

.pedido-resumo-item strong,
.pedido-total-row strong {
    color: #ffffff;
    white-space: nowrap;
}

.pedido-total-row {
    align-items: center;
    margin-bottom: 20px;
    padding: 13px 14px;
    border-radius: 10px;
    background: rgba(59, 175, 218, 0.12);
    border: 1px solid rgba(59, 175, 218, 0.24);
    font-weight: 700;
}

.pedido-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pedido-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #cbd5e1;
    font-size: 0.86rem;
    font-weight: 600;
}

.pedido-field-full {
    grid-column: 1 / -1;
}

.pedido-form-grid input,
.pedido-form-grid select,
.pedido-form-grid textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    padding: 12px 13px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.pedido-form-grid select option {
    background: #111827;
    color: #ffffff;
}

.pedido-form-grid textarea {
    resize: vertical;
    min-height: 92px;
}

.pedido-form-grid input:focus,
.pedido-form-grid select:focus,
.pedido-form-grid textarea:focus {
    border-color: #3bafda;
    box-shadow: 0 0 0 3px rgba(59, 175, 218, 0.16);
}

.pedido-modal-error {
    min-height: 1.2em;
    margin: 12px 0 0;
    color: #ff7a86;
    font-size: 0.88rem;
    font-weight: 600;
}

.pedido-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.pedido-btn-primary,
.pedido-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: none;
    border-radius: 9px;
    padding: 11px 18px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pedido-btn-primary {
    background: #25d366;
    color: #ffffff;
}

.pedido-btn-primary:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}

.pedido-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .pedido-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .pedido-modal-box {
        width: 100%;
        max-height: 90vh;
        padding: 22px 18px;
        border-radius: 14px 14px 10px 10px;
    }

    .pedido-tipo-grid,
    .pedido-form-grid {
        grid-template-columns: 1fr;
    }

    .pedido-modal-actions {
        flex-direction: column-reverse;
    }

    .pedido-btn-primary,
    .pedido-btn-secondary {
        width: 100%;
    }
}
