/* Importação de Fontes */
@import url('../fonts/stylesheet.css');

/* Reset e Variáveis */
:root {
    --cor-primaria: #ea1d2c;
    --cor-secundaria: #ffffff;
    --cor-texto: #000000;
    --cor-borda: #e8e8e8;
    --cor-fundo: #f7f7f7;
    --sombra-padrao: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: iFood RC Textos, helvetica, sans-serif;
    overflow-x: hidden;
    font-size: 16px;
    height: 100%;
    scroll-behavior: auto;
}
.caixa_topo{
    width: 100%;
    background: #f8f9fa;   
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    float: left;
}.caixa_topo img{
  
        margin-right: 6px;
        margin-top: -9px;
       
        float: left;
}
.caixa_topo p {

    font-size: 18px;
    color: cor-texto;
    margin-top: 7px;
    text-align: left;
    font-weight: 600;

}
.caixa_topo a {
    display: inline;
    font-size: 100%;
    font-weight: 400;
    line-height: 4px;
    color: #3e3e3e;
    margin: 0 0 2px;

}
.caixa_topo h3 {

   font-weight: 300;
    width: 100%;
   
    flex: inherit;
    font-size: 80%;
    /* color: #2c2929; */
    margin: 1px 9px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
   
    
}
.observacoes-input{
    width: 100%;
    font-size: 17px;
    height: 111px;
    
}

.caixa_topo h4 {
    top: 12px;
    position: relative;
    text-align: right;
    margin: auto;
    font-size: 11px;
    color: #020202;
    margin: -6px 7px;
    
}
.caixa_topo1{
    float: left;
    width: 25%;
    background: #f8f9fa;   
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.caixa_topo1 h3 {

    font-size: 10px;
    color: #020202;
    margin: 1px 15px;
    text-align: right;
    
}.caixa_topo1 p {
     
    font-size: 12px;
    color: #0a0a0a;
    margin: 0;
    text-align: right;
    font-weight: 600;
}
.telefone-input-wrapper {
    margin: 10px 0;
    position: relative;
    margin-bottom: 15px;
}

.telefone-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 16px;
    color: var(--cor-texto);
    background-color: var(--cor-secundaria);
    transition: border-color 0.3s ease;
}

.telefone-input:focus {
    outline: none;
    border-color: var(--cor-primaria);
}

.telefone-info {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.endereco-complemento {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
}
.header {
    transition: transform 0.3s ease-in-out !important;
    display: block;
    position: sticky;
    top: 2px;
    z-index: 1000;
    background: white;
}

.header-hidden {
   
    display: block !important;
}
.endereco-input-container {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;  /* Added spacing between input and textarea */
}
.produto-imagem_mini{

    
        
        width: 60px;
        height: 60px;
        object-fit: cover;
 
 
}
.produto-imagem_micro{
    border-radius: 20px;
    position: relative;
    top: 7px;
    width: 35px;
    height: 35px;
    margin: 5px;


}
.produto-imagem_micro a  {
   
    position: relative;
    color: #d14711;


}
.pedido-item-preco{

    font-size: 100%;
    color: #050505;
    margin-bottom: 8px;
}
.pedido-item {
  
    align-items: center;
    
}
.pedido-item p {
    font-size: 90%;
    color: #2b292b;
 
  
    align-items: center;
    
}
.pedido-item img{
    float: left;
   margin-right: 4%;
   border-radius: 10%;
   border: 1px solid #e8e8e8

}
.pedido-item h4 {
     margin: auto;
    font-size: 100%;
    color: #020202;
    
}
 .quantidade-btn  {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
   
    align-items: center;
    justify-content: center;
    transition: all 0.2s;}






/* Header */




.header-hidden {
    top: -100px; /* Instead of display:none for better UX */
}.header-hidden {
    top: -100px; /* Instead of display:none for better UX */
}.header {
    right: 10px; 
    background-color: #fffffff0;
    padding-top: 2px;
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 100; */
    padding-left: 1px;
 
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    color: #3e3e3e;
    font-size: 1.2rem;
}

.usuario-info {
    color: var(--cor-secundaria);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Barra de Busca */
.search-bar {
    background: var(--cor-secundaria);
    margin: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--sombra-padrao);
}

.search-bar i {
    color: #666;
    font-size: 1.1rem;
}

.search-bar input {
    border: none;
    width: 100%;
    font-size: 1rem;
    color: var(--cor-texto);
  background: transparent;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    transform: scale(1.02);
    outline: none;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar input:focus {
    outline: none;
}

/* Navegação de Categorias */
.categorias-nav {
    /* background: #534647; */
    padding: -6px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.categorias-nav::-webkit-scrollbar {
    display: none;
}


.header-search-icon {
    font-size: 1.2rem;
    color: rgb(100, 7, 100);
    cursor: pointer;
    padding: 8px;
    margin-right: 16px;
}

.header-search-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.carrinho-icon-container {
    position: relative;
    display: inline-block;
}

.carrinho-badge {
    position: relative;
    top: -17px;
    right: -31px;
    /* background-color: #ea1d2c; */
    color: white;
    border-radius: 50%;
    padding: 7px 8px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}
.categorias-lista {
    display: flex;
    gap: 20px;
    padding: 12px 15px;
    align-items: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .categorias-lista {
        gap: 12px;
        padding: 10px;
    }

    .categoria-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .produto-info {
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .produto-info-principal {
        width: 100%;
        margin-bottom: 10px;
    }

    .produto-descricao {
        width: 100%;
        display: block;
        margin: 8px 0;
    }

    .produto-info-secundaria {
        width: 100%;
    }

    .add-button {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
    }
}

.categoria-btn {
    background: none;
    border: none;
    color: var(--cor-secundaria);
    padding: 0px 4px;
   
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;

} 
 .categoria-icon-2{
   
    margin-bottom: -135px;
    width: 114px;
    height: 113px;
    background: #f8f9fa;
    border-radius: 9%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.categoria-icon {
    width: 40px;
    height: 40px;
    background:#ea1d2c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.categoria-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.categoria-icone{

    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}


.categoria-btn span {
       color: #1f1e1e;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.categoria-btn.ativo {
    opacity: 1;
   
    
}

.categoria-btn.ativo .categoria-icon {
       border-radius: 110%;
        background: rgb(234 29 44);
        transform: scale(1.1);
       
}

.categoria-btn:hover {
    opacity: 1;
   

}

.categoria-btn:hover .categoria-icon {
    background: rgb(234 29 44);
        transform: scale(1.1);
}

/* Grid de Produtos */
.container {
    max-width: 1200px;
   
}

.produtos-grid {
    display: flex;
    margin-bottom: 80px;
    flex-direction: column;
    gap: 15px;
}

.produto-card {
    background: var(--cor-secundaria);
    
    border: 1px solid #989c9a;
    box-shadow: 0 0 10px rgba(151, 151, 151, 0.5);
    transform: scale(1.02);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--sombra-padrao);
    display: flex;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-direction: column;
   
}







.produto-card.expandido {
    max-height: none;
    width: 100%;
}





.produto-card .produto-detalhes {
    display: none;
  
    
    border-top: 1px solid var(--cor-borda);
    background: #fff;
}

.produto-card.expandido .produto-detalhes {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.produto-card .produto-header {
    display: flex;
    width: 100%;
    transition: all 0.3s ease;
}

.produto-card.expandido .produto-header {
    flex-direction: column;
}

.produto-card .quantidade-controle {
    display: flex;
    align-items: center;
    gap: 10px;
  
}

.produto-card .opcionais-container {
    margin: 1px 0;
}

.produto-card .opcionais-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.produto-card .opcional-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.produto-card .adicionar-carrinho-btn {
    margin-top: 15px;
}

.produto-card:hover {
    transform: translateY(-2px);
}

.caixa_nave{
  
    height: 100%;
    /* background: #f5f5f5; */
    border-radius: 10%;
    margin-top: -1px;
}



 .produto-descricao h4 {
    text-align: justify;
    width: 200%;
    margin-top: 47px;
    font-size: 14px;
    font-weight: 600;

}
    


.produto-time{
    margin:auto;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    margin-top: 20px;

}
.produto-preco {
    padding: 7px;
    color: var(--cor-primaria);
    font-weight: 900;
     width: 86%;
     float: left;

    
}
.produto-preco2 {
    padding: 7px;
    color: var(--cor-primaria);
    font-weight: 900;
     width: 100%;
     float: left;

    
}

.preload-preco2 ,p{
    width: 50%;
    float: left;
}
.produto-saiba_mais {
    width: 10%;
    padding: 7px;
    color: var(--cor-primaria);
    font-weight: 900;

    
}

/* Carrinho Flutuante */
.carrinho-flutuante {
    position: fixed;
    top: 10px;
    right: 0px;
    /* background: #ea1d2c; */
    color: var(--cor-secundaria);
    padding: 0px 31px;
    border-radius: 25px;
    display: flex
;
    align-items: center;
    gap: 15px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    z-index: 1000;
    align-content: space-around;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}


.carrinho-quantidade {
    background-color: var(--cor-primaria);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -8px;
    right: -8px;
}

.carrinho-header {
    position: relative;
}

.carrinho-total-modal {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #2c3e50;
}
.carrinho-total-modal {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #2c3e50;
}

.carrinho-total-modal::before {
    content: 'Total:';
    font-weight: normal;
    color: #6c757d;
}

.carrinho-total-modal span {
    color: #28a745;
}
.carrinho-total-modal::before {
    content: 'Total:';
    font-weight: normal;
    color: #6c757d;
}

.carrinho-total-modal span {
    color: #28a745;
}
.modal-close{
    margin: 13px;
    float: right;
    font-size: 120%;
    font-weight: 500;


}



#modalProduto .adicionar-carrinho-btn:hover {
    background-color: #2d042d;
    transform: translateY(-1px);
}

/* Estilo para o scroll da lista de opcionais */
#modalProduto .opcionais-lista::-webkit-scrollbar {
    width: 6px;
}

#modalProduto .opcionais-lista::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#modalProduto .opcionais-lista::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#modalProduto .opcionais-lista::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsividade */
@media (max-width: 768px) {
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    #modalProduto .modal-content {
        margin: 10px auto;
        max-height: calc(100vh - 20px);
    }

    #modalProduto .modal-imagem {
        height: 150px;
    }
}

.produto-recomendado {
    position: relative;
}

.produto-recomendado::before {
    content: "❤️ Sugerido para você";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(234, 29, 44, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    z-index: 1;
}

.produtos-recomendados {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--cor-borda);
}

.produtos-recomendados h3 {
    font-size: 1.2rem;
    color: var(--cor-texto);
    margin-bottom: 15px;
    padding: 0 15px;
}

/* Animações */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carrinho-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.carrinho-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.carrinho-item-info {
    flex: 1;
}

.carrinho-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.carrinho-item-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.carrinho-item-info small {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 3px;
}

.carrinho-item-acoes {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carrinho-item-preco {
    font-weight: 500;
    color: #440745;
}

.remover-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.remover-item:hover {
    transform: scale(1.1);
}

.carrinho-vazio {
    text-align: center;
    padding: 0px;
    color: #bf4949;
}

.carrinho-vazio i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.carrinho-vazio p {
    margin: 0;
    font-size: 1.1rem;
}

.finalizar-pedido-btn {
    width: 100%;
    margin: 10px;
    background-color: #cc1825;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.finalizar-pedido-btn.loading {
    color: transparent;
}

.finalizar-pedido-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.finalizar-pedido-btn:hover {
    background-color: #2d042d;
    transform: translateY(-1px);
}

.finalizar-pedido-btn:disabled {
    background-color: #cc1825;
    cursor: pointer;
    transform: none;
}
.voltar-pedido-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.voltar-pedido-btn:hover {
    background-color: #5a6268;
}

.modal-open {
    overflow: hidden;
}
.voltar-pedido-btn:hover {
    
    transform: translateY(-1px);
}

.voltar-pedido-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}
body .tipo-entrega {
    display: block !important;
}

.modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.modal-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.tipo-entrega {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    width: 100%;
    max-height: 100%;
}

.tipo-entrega h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.opcoes-entrega {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.opcao-entrega {
    cursor: pointer;
    position: relative;
}

.opcao-conteudo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.opcao-entrega input[type="radio"]:checked + .opcao-conteudo {
    border-color: #440745;
    background-color: #f9f0f9;
}

.opcao-conteudo i {
    font-size: 1.5rem;
    color: #440745;
    margin-bottom: 8px;
}

.opcao-conteudo span {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

.endereco-entrega {
    margin-top: 15px;
}

.endereco-entrega textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.endereco-entrega textarea:focus {
    outline: none;
    border-color: #440745;
    box-shadow: 0 0 0 2px rgba(68, 7, 69, 0.1);
}

/* Estilos para o campo de telefone */
.cliente-telefone-container {
    margin: 15px 0;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
}

.cliente-telefone-container h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
}

.telefone-input-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 15px;
}

.telefone-input {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1rem;
    margin-bottom: 5px;
}

.telefone-input:focus {
    outline: none;
    border-color: #440745;
    box-shadow: 0 0 0 2px rgba(68, 7, 69, 0.1);
}

.telefone-info {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.verificado {
    color: #25D366;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#codigo {
    display: none;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
}

@media (max-width: 480px) {
    .opcoes-entrega {
        grid-template-columns: 1fr;
    }

    .botoes-carrinho {
        flex-direction: column;
        gap: 10px;
    }

    .continuar-comprando-btn,
    .finalizar-pedido-btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    #modalProduto .modal-content {
        margin: 20px auto;
        width: 90%;
        max-width: 500px;
        height: calc(100vh - 40px);
        border-radius: 12px;
    }
}

@media (max-width: 767px) {
    #modalProduto .modal-content {
        height: 100%;
        overflow-y: auto;
    }
    
    #modalProduto .modal-imagem {
        height: 180px;
    }
}

/* Estilização da barra de rolagem para o modal */
#modalProduto .modal-content::-webkit-scrollbar {
    width: 6px;
}

#modalProduto .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#modalProduto .modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#modalProduto .modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
} 
.carrinho-header {
    
    display: flex;
   
}
.badge-total{
    font-weight: 900;
    font-size: medium;
    width: 132px;
    display: flex
;
    font-size: 18px;
    color:rgb(234, 29, 43);

}
.badge-quantidade{
    left: -10px;
    /* margin-top: -5px; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* float: right; */
    top: -10px;
    border-radius: 59px;
    color: rgb(255 255 255);
    font-weight: 900;
    font-size: medium;
    background-color: rgb(234, 29, 43);
    width: 30px;
}
.carrinho-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.carrinho-icon-container {
    background-color: #ededed;
    position: relative;
    padding-top: 2px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.carrinho-icon-container i {
    font-size: 20px;
    color: #ea1d2c;
}
.carrinho-info {
    display: flex;
    flex-direction: column;
    padding-right: 8px;
}
.carrinho-total {
    font-weight: bold;
    color: #ea1d2c;
    font-size: 14px;
}
.navespecial {
    margin-right: 23%;
    font-synthesis-weight: auto;
    font-synthesis-weight: auto;
}
.carrinho-total_nav{
    
    margin-left: 234%;
    /* padding-left: 20px; */
    margin-top: -36%;
    background-color: var(--cor-primaria);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.9rem;
    position: relative;
    width: 108%;
}
.produto-detalhes {
    
    background: #f8f9fa;
    border-radius: 8px;
}

.produto-nome-modal {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 8px;
}

.produto-descricao-modal {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

        :root {
            --primary-color: #ea1d2c;
            --secondary-color: #3e3e3e;
            --background-color: #f7f7f7;
            --card-color: #ffffff;
            --text-color: #3e3e3e;
            --price-color: #ea1d2c;
            --light-gray: #f0f0f0;
            --medium-gray: #dcdcdc;
            --dark-gray: #717171;
        }

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

        

        /* Header Styles */
        

        .header.hidden {
            transform: translateY(-100%);
        }

        .header-content {
            
            justify-content: space-between;
            align-items: center;
            
            height: 60px;
            max-width: 1200px;
            margin: 1px auto;
        }

       

        .carrinho-header {
            display: flex;
            align-items: center;
            color: white;
        }

        .carrinho-info {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 6px 12px;
            font-weight: 600;
        }

        .carrinho-quantidade {
            background-color: white;
            color: var(--primary-color);
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            margin-right: 8px;
        }

        .carrinho-total {
            font-size: 18px !important;
            color: rgb(100, 7, 100);
            font-weight: 700;
        }

        /* Category Navigation */
        .categorias-nav {
            height: 13vh;
            background-color: var(--card-color);
          
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Firefox */
            position: sticky;
            
            z-index: 800;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .categorias-nav.hidden {
            transform: translateY(-20px);
            opacity: 0;
            pointer-events: none;
        }

        .categorias-nav::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Edge */
        }

        .categorias-lista {
            display: flex;
            padding: 0 15px;
        }

        .categoria-btn {
            background: none;
            border: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* padding: 3px 15px; */
            margin-right: 0px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            min-width: 70px;
            color: var (--secondary-color);
        }

        .categoria-btn.ativo {
            color: var(--primary-color);
            font-weight: 700;
            background-color: rgba(234, 29, 44, 0.08);
        }

        .categoria-icon {
            background-color: var(--light-gray);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
           
            font-size: 18px;
            transition: all 0.2s ease;
        }

        .categoria-btn.ativo .categoria-icon {
            background-color: rgba(234, 29, 44, 0.15);
            color: var(--primary-color);
        }

        .categoria-btn span {
            font-size: 12px;
            font-weight: 900;
        }

        /* Search Bar Styles */
        .search-bar {
            background-color: white;
            border-radius: 8px;
            padding: 12px 15px;
            margin: 10px 20px;
            display: flex;
            align-items: center;
            border: 1px solid var(--light-gray);
            position: relative;
            z-index: 800;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .search-bar.hidden {
            transform: translateY(-20px);
            opacity: 0;
            pointer-events: none;
        }

        .search-bar i {
            color: var(--dark-gray);
            margin-right: 10px;
        }

        .search-bar input {
            border: none;
            padding: 13px 0;
            width: 100%;
            font-size: 15px;
            font-weight: 500;
            color: var(--secondary-color);
            outline: none;
        }

        .search-bar input::placeholder {
            color: var(--dark-gray);
            opacity: 0.7;
            
        }

        /* Produtos Grid */
        .container {
            max-width: 1200px;
            margin: 0 auto;
           
        }

        .produtos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 10px;
        }

     

        .produto-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }
        .produto-imagem {
            margin-bottom: 30px;
            margin-top: 30px;
            width: 100%;
            height: 100%;          
            object-fit: cover;
            object-position: center; /* força o centro da imagem */
            display: block;
         
            
        }

        .produto-info {
            padding: 16px;
            display: flex;
            flex-direction: row;
            flex-grow: 1;
           
        }

        .produto-nome {
            font-size: 100%;
            font-weight: 400;
            color: var(--text-color);
            margin-bottom: 6px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            text-transform: uppercase;
        }

      

       
        /* Rating badges, similar to iFood */
        .produto-rating {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 4px;
            padding: 4px 8px;
            display: flex;
            align-items: center;
            font-size: 13px;
            font-weight: 700;
            color: #e7a74e;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .produto-rating i {
            margin-right: 4px;
            font-size: 12px;
        }

        /* Estilos do sistema de avaliação */
        .rating-container {
            margin: 10px 0;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .stars {
            display: flex;
            gap: 2px;
            justify-content: flex-end;
            padding-right: 5px;
        }   
         .fa-solid, .fas{
    color: #020202 !important;
}

        .stars i {
            color: #020202 important;
            cursor: pointer;
            transition: color 0.2s ease;
            font-size: 16px;
        }

        .stars i:hover,
        .stars i.active {
            color: #ffd700;
        }
      
        .stars i:hover ~ i {
            color: #ddd;
        }

        .rating-average,
        .rating-count {
            font-size: 12px;
            color: #666;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            overflow: hidden;
        }

        .modal.ativo {
            display: block !important;
        }

        .modal-content {
            background-color: white;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100vh;
            position: relative;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--light-gray);
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 10;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--text-color);
            margin: 0;
        }

        .modal-close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--dark-gray);
        }

        .modal-descricao {
            padding: 0 20px 15px;
            border-bottom: 1px solid var(--light-gray);
        }

        .produto-descricao-texto {
            font-size: 100%;
            line-height: 19px;
            font-weight: lighter;
            color:var(--cor-texto);
            word-break: break-word;
            margin: 12px;
            text-align: justify;
        }
        .produto-descricao-texto.h4{
            text-align: justify;
            width: 100%;
            color: var(--dark-gray);
            font-size: 13px;
            line-height: 1.5;
            padding: 14px 20px;
        }

        .modal-imagem {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

        .modal-produto-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .quantidade-controle {
            padding: 11px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
        }

        .quantidade-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #ea1d2c;
            background-color: white;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        
        }

        .quantidade-btn:hover {
            background-color: var(--light-gray);
        }

        .quantidade-btn.diminuir {
            color: var(--dark-gray);
        }

        .quantidade-btn.aumentar {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .quantidade-input {
            border: none;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            width: 40px;
            padding: 0;
        }

        .opcionais-container {
          
            border-bottom: 1px solid var(--light-gray);
        }

        .opcionais-container h4 {
            color: #0a0a0aa8;
        
        }

        .opcionais-lista {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .opcional-item {
            display: flex;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid var(--light-gray);
        }

        .opcional-item:last-child {
            border-bottom: none;
        }

        .opcional-checkbox {
            margin-right: 12px;
            width: 20px;
            height: 20px;
            position: relative;
        }

        .opcional-info {
            flex: 1;
        }

        .opcional-nome {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-color);
        }

        .opcional-preco {
            font-size: 14px;
            color: var(--dark-gray);
        }

        .modal-footer {
            padding: 20px;
            position: sticky;
            bottom: 0;
            background-color: white;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            z-index: 10;
        }

        .adicionar-carrinho-btn {          
            font-size: 14px;
            border: 1px;
    width: 100%;
    padding: 15px;
    background-color: #fa5252;
    color: white;
   
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.2s ease;
        }
        .produto-card.expandido {
            max-height: none;
            width: 100%;
        }
        
        .produto-card .produto-detalhes {
            display: none;
            border-top: 1px solid var(--cor-borda);
            background: #fff;
        }
        
        .produto-card.expandido .produto-detalhes {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .eu_quero {          
            display: flex;
            border-radius: 3px;
            font-size: 19px;
            border: 1px;
            width: 100%;
            padding: 1px;
            background-color: #EA1D2C;
            color: white;
            font-weight: 900;
            cursor: pointer;
            /* transition: background-color 0.2s ease; */
            flex-direction: column-reverse;
            justify-content: space-evenly;
            align-items: stretch;
            align-content: stretch;
            flex-wrap: wrap;
        }

        .adicionar-carrinho-btn:hover {
            background-color: #cc1825;
        }

        /* Modal do Carrinho */
        #modalCarrinho .modal-content {
            max-width: 600px;
            margin: 0 auto;
            border-radius: 16px;
            box-shadow: 0 6px 24px rgba(0,0,0,0.15);
        }

        .carrinho-lista {
            padding: 0 20px;
        }

        .carrinho-item {
            display: flex;
            padding: 15px 0;
            border-bottom: 1px solid var(--light-gray);
        }

        .carrinho-item-info {
            flex: 1;
        }
        .carrinho-item-info-img {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 15px;
            flex: 1;
        }
        .carrinho-item-nome {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .carrinho-item-opcionais {
            font-size: 13px;
            color: var(--dark-gray);
            margin-bottom: 5px;
        }

        .carrinho-item-preco {
            font-weight: 700;
            color: var (--text-color);
        }

        .carrinho-item-quantidade {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .carrinho-total-modal {
            font-size: 18px;
            font-weight: 700;
            padding: 20px;
            text-align: right;
            border-top: 1px solid var(--light-gray);
            margin-top: 15px;
        }

        .tipo-entrega-container {
            padding: 20px;
            border-top: 1px solid var(--light-gray);
        }

        .tipo-entrega-container h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .opcoes-entrega {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 15px;
        }

        .opcao-entrega {
            flex: 1;
            cursor: pointer;
        }

        .opcao-entrega input {
            display: none;
        }

        .opcao-conteudo {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px 10px;
            border-radius: 8px;
            border: 1px solid var(--medium-gray);
            transition: all 0.2s ease;
        }

        .opcao-entrega input:checked + .opcao-conteudo {
            border-color: var(--primary-color);
            background-color: rgba(234, 29, 44, 0.05);
        }

        .opcao-conteudo i {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--dark-gray);
        }

        .opcao-entrega input:checked + .opcao-conteudo i {
            color: var(--primary-color);
        }

        .opcao-conteudo span {
            font-size: 14px;
            font-weight: 600;
            text-align: center;
        }

        .endereco-entrega {
            margin-top: 15px;
        }

        .endereco-entrega textarea {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            border: 1px solid var(--medium-gray);
            resize: none;
            font-family: inherit;
            font-size: 14px;
        }

        .cliente-telefone-container {
            margin-bottom: 20px;
        }

        .cliente-telefone-container h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .telefone-input-wrapper {
            position: relative;
        }

        .telefone-input {
            width: 100%;
            padding: 14px 15px;
            border-radius: 8px;
            border: 1px solid var(--medium-gray);
            font-size: 16px;
        }

        .telefone-info {
            position: absolute;
            bottom: -20px;
            left: 0;
            font-size: 12px;
            color: var(--dark-gray);
        }

        .finalizar-pedido-btn {
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 8px;
            background-color: var(--primary-color);
            color: white;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .finalizar-pedido-btn:disabled {
            background-color: var(--medium-gray);
            cursor: not-allowed;
        }

        .finalizar-pedido-btn:not(:disabled):hover {
            background-color: #cc1825;
        }

        /* Bottom Navigation com carrinho integrado */
        .nav-bottom {
            margin-bottom: 0px;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: white;
            display: flex;
            justify-content: space-around;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            z-index: 999;
            padding: 8px 0;
            transition: transform 0.3s ease;
            height: 65px;
        }

        .nav-bottom.hidden {
            transform: translateY(100%);
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 0;
            color: var(--dark-gray);
            text-decoration: none;
            width: 33.33%;
            text-align: center;
            transition: color 0.2s ease;
        }

        .nav-item.active {
            color: var(--primary-color);
        }

        .nav-item i {
            font-size: 20px;
            margin-bottom: 5px;
        }

        .nav-item span {
            font-size: 12px;
            font-weight: 600;
            
        }
        
        .carrinho-nav-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--text-color);
    text-decoration: none;
            color: var(--primary-color);
            position: relative;
        }
        
        .carrinho-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
            position: relative;
            display: inline-block;
        }
        
       

        /* Modal Carrinho Frente - Seta apontando para o carrinho */
.modal-carrinho-frente {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(194, 190, 190, 0.95);
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    width: 100%;
    animation: fadeInUp 1.3s ease-out;
    display: none;
    border-bottom: 10px solid rgba(221, 16, 16, 0.95);
}

.modal-carrinho-frente::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(221, 16, 16, 0.95);
}

.modal-carrinho-frente p {
    margin: 0;
    font-size: 22px;
    color: #333;
    text-align: center;
    width: 100%;
}

.modal-carrinho-frente .produto-adicionado {
    font-weight: bold;
    color: var(--cor-primaria);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    animation: fadeOut 1.3s ease-out forwards;
}

/* Responsiveness */
        @media (max-width: 768px) {
            .produtos-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .produtos-grid {
                grid-template-columns: 1fr;
            }
            
            .opcoes-entrega {
                flex-direction: column;
            }
        }

        /* Categorias */
        .categorias-container {
            margin-bottom: 20px;
            position: relative;
            z-index: 10;
        }

        .categorias-lista {
            display: flex;
            overflow-x: auto;
            padding: 25px 15px;
            gap: 15px;
            -ms-overflow-style: none;
            scrollbar-width: none;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .categorias-lista.hidden {
            transform: translateY(-20px);
            opacity: 0;
            pointer-events: none;
        }

        .categorias-lista::-webkit-scrollbar {
            display: none;
        }
   
/* Estilos para o campo de endereço com autocomplete */
.endereco-input-container {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

.endereco-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.endereco-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.localizacao-atual-btn,
.abrir-mapa-btn {
     float: left;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 47%;
    height: 60px;
    margin: 5px;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    justify-content: center;
    color: #555;
    transition: all 0.2s;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
}

.localizacao-atual-btn:hover,
.abrir-mapa-btn:hover {
    background-color: #eaeaea;
    color: var(--primary-color);
}

#endereco-completo {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    resize: none;
}

/* Estilos para o modal do mapa */
.mapa-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.google-map {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 10px 0;
}

.mapa-search-container {
    display: flex;
    padding: 15px;
    gap: 10px;
}

#mapa-search {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

#mapa-minha-localizacao {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    white-space: nowrap;
    color: #555;
    transition: all 0.2s;
}

#mapa-minha-localizacao:hover {
    background-color: #eaeaea;
    color: var(--primary-color);
}

.mapa-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mapa-endereco-selecionado {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 14px;
    color: #555;
}

.confirmar-endereco-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.confirmar-endereco-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.confirmar-endereco-btn:not(:disabled):hover {
    background-color: #d01a28;
    transform: translateY(-1px);
}
/* Adicionar esta regra abaixo dos estilos existentes do header */
.header.header-hidden {
  
    transition: transform 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    
}

body {
    background-color: #f8f8f8;
    color: #333;
    min-height: 100vh;
}

.header {
    background-color: #ea1d2c;
    color: white;
    padding: 1px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content h1 {
    text-align: right;
    /* margin-left: 20px; */
    display: inline;
    font-size: 99%;
    font-weight: 500;
    line-height: 24px;
    color: #3e3e3e;
    margin: 0 20px 4px;
}

.container {
    padding: 5px;
    max-width: 600px;
    margin: 0 auto;
}

.pedido-confirmado {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(148, 135, 135, 0.08);
  
}

.pedido-header {
    text-align: center;
    
    border-bottom: 1px solid #f0f0f0;
}

.pedido-header i {
    color: #4CAF50;
    font-size: 48px;
    margin-bottom: 15px;
}

.pedido-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pedido-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pedido-numero {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.pedido-numero h3 {
    font-size: 1rem;
    color: #555;
    font-weight: 600;
}

.pedido-items {
    margin-bottom: 25px;
}

.pedido-item {
    display: flex;
    align-items: center;
    padding: 15px 5px;
    border-bottom: 1px solid #f0f0f0;
}

.pedido-item:last-child {
    border-bottom: none;
}

.produto-imagem_mini {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.pedido-item-info {
    flex: 1;
}

.pedido-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.pedido-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 3px 0;
}

.pedido-item small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

.pedido-item-preco {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    text-align: right;
    min-width: 80px;
}

.pedido-entrega {
    background: #f9f9f9;
  
}

.pedido-entrega h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.pedido-entrega p {
    font-size: 0.95rem;
    color: #555;
    margin: 8px 0;
    line-height: 1.4;
}

.pedido-total {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    padding: 15px 0;
    border-top: 2px solid #f0f0f0;
    color: #ea1d2c;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 16px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background-color: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.whatsapp-btn h3 {
    font-size: 1rem;
    margin: 0;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.success-circle {
    width: 80px;
    height: 80px;
    background-color: #ea1d2c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.success-circle i {
    color: white;
    font-size: 40px;
}

.status-pedido {
   
    text-align: center;
}

.status-pedido h3 {
    color: #333;
    margin-bottom: 15px;
}

.status-steps {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
}

.status-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    transition: all 0.3s ease;
}

.status-step.active .status-icon {
    background: #4CAF50;
}

.status-step.completed .status-icon {
    background: #4CAF50;
}

.status-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.status-line {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.status-progress {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
    z-index: 0;
}

/* Estilos para o overlay de preload */
.preload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.preload-overlay.active {
    opacity: 1;
    visibility: visible;
}

.preload-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.preload-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top-color: #ea1d2c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.preload-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes vibrar {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-55deg); }
    20% { transform: rotate(55deg); }
    30% { transform: rotate(-55deg); }
    40% { transform: rotate(55deg); }
    50% { transform: rotate(-55deg); }
    60% { transform: rotate(55deg); }
    70% { transform: rotate(-55deg); }
    80% { transform: rotate(55deg); }
    90% { transform: rotate(-55deg); }
    100% { transform: rotate(0deg); }
}

.vibrar-icone {
    animation: vibrar 1.6s ease-in-out;
}