@charset "UTF8";
/* Para navegadores Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* Para Firefox */
* {
    scrollbar-width: none; /* remove a barra */
}



.d-flex{
        
        padding: 1rem;
        background-color: #43434347;

        }
     .d-flex>h2{
      color: white;
      padding: 8px;
      border-radius: 10px;
      background-color: #0056b3;
      font-size: 1.2rem;
      border-radius: 16px;
        }

   
    .cart-container.show {
      display: flex;
      flex-direction: column;
      animation: fadeIn 0.3s ease;
      
    }
  
   .total{
    color: white;
   }
   .mt-2{
    background-color: #ffffffeb;
    padding: 7px;
   }
   .list-unstyled{
    height: 100px;
    max-height: 50vh;
    overflow-y: auto;
   }


     .whatsapp-float button{
      color: white;
      margin-top: 8px;
      width: 100%;
      height: 34px;
      background: rgb(18, 138, 18);
      border-radius: 6px;
      border: none;
     
        } 
        .whatsapp-float button:hover{
            background-color:rgb(7, 82, 7) ;
        }
        .btn2{
            width: 100%;
            background-color:#000000b8;
        }
        .btn2:hover{
        background-color:#595959;
       
        }
        .btn-sm{
            width: 87%;
            margin: 2% 0 2% 0;
        }
        
        .inf-produto{
            text-decoration: none;
        }
       

.produto {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}
.produto img{
    margin: auto;
   
}


.produto-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.add-to-cart {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}
.add-to-cart:hover {
    background-color: #0056b3;
}


.filter-container{
  padding: 2%;
 
}
.filter-container label{
    padding: 10px;
    color: white;
    background-color: #007BFF;
    border-radius: 20px;
}
.filter-container select{
    padding: 4px;
    margin-top: 4%;
}

       .mb-4 {
    width: 100%;
    margin-bottom: 1.5rem !important;
}
    .headerconteiner {
    display: flex;
    justify-content: space-between; /* logo à esquerda, menu no meio, hambúrguer/carrinho à direita */
    align-items: center;
    width: 100%;
    max-width: 1300px; /* se quiser alinhar como no resto */
    margin: 0 auto;
    padding: 0 1rem;
}

    .navbar{
         background-color: #2c2c2c;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }    
nav {
    background-color: #2c2c2c;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
 @media (max-width: 800px) {
    .menu {
        display: flex;
        position: absolute;
        top: 207%;
        left: -132px;
        width: 100vw;
        right: -92px;
        background-color: #2c2c2c;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        display: none;
        animation: slideDown 0.3s ease-in-out;
    }
}

.produto{
    transition: .3s;
}

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

/* CONTAINER DOS PRODUTOS */
.produto-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* CARD DO PRODUTO */
.produto{
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* IMAGENS */
.produto img{
    width: 100%;
    max-width: 250px;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

/* TEXTO */
.produto p{
    margin: 5px 0;
}

/* BOTÃO */
.add-to-cart{
    width: 100%;
    margin-top: auto;
}

/* TABLET */
@media (max-width: 768px){
    .produto-container{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .produto img{
        height: 180px;
    }
}

/* CELULAR */
@media (max-width: 480px){
    .produto-container{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .produto{
        padding: 10px;
    }

    .produto img{
        width: 100%;
        height: 140px;
        object-fit: contain;
    }

    .produto p{
        font-size: 14px;
    }

    .add-to-cart{
        font-size: 12px;
        padding: 8px;
    }
}

/* LISTA DOS PRODUTOS */

#cart-items,
#historico-list{
    height: 100vh;
    list-style: none;
    padding: 0;
    margin: 0;
}

#cart-items li,
#historico-list li{
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #0d6efd;
    transition: .3s;
}

#cart-items li:hover,
#historico-list li:hover{
    transform: translateX(5px);
}

/* TOTAL */

.total{
    background: #0d6efd;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 1.2rem;
}

/* BOTÕES */

.checkout-btn,
.clear-btn,
.btn2{
    width: 100%;
    margin-top: 10px;
    border-radius: 10px;
    font-weight: 600;
}

/* TIMER */

#session-timer{
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #666;
}


/* SCROLL PERSONALIZADA */

.cart-container::-webkit-scrollbar{
    width: 8px;
}

.cart-container::-webkit-scrollbar-thumb{
    background: #0d6efd;
    border-radius: 10px;
}

/* RESPONSIVO */

@media (max-width: 768px){

    .cart-container{
        width: 100%;
        height: 100vh;
        top: 0;
        right: -100%;
        border-radius: 0;
        padding-top: 80px;
    }

    .cart-container.show{
        right: 0;
    }

    .cart-container h2{
        font-size: 1.3rem;
    }

    .total{
        font-size: 1rem;
    }
}
  
/* BOTÕES */

.category-buttons {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 2px 12px;
    scrollbar-width: none;
}

.category-buttons::-webkit-scrollbar {
    display: none;
}

.category-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;

    padding: 12px 18px;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    background: #fff;
    color: #475569;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.category-icon {
    width: 32px;
    height: 32px;

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

    border-radius: 10px;

    background: #f1f5f9;

    font-size: 16px;

    transition: .25s ease;
}

.category-btn:hover {
    transform: translateY(-2px);
    border-color: #00bfff;
    color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.category-btn:hover .category-icon {
    transform: scale(1.08);
}

/* CATEGORIA ATIVA */

.category-btn.active {
    background: #2c2c2c;
    color: #fff;
    border-color: #111827;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, .18);
}

.category-btn.active .category-icon {
    background: #00bfff;
    color: #fff;
}

/* ANIMAÇÃO DOS PRODUTOS */

.produto {
    transition:
        opacity .3s ease,
        transform .3s ease;
}

.produto.filter-hidden {
    opacity: 0;
    transform: scale(.95);
}

/* MOBILE */

@media (max-width: 600px) {

    .category-filter {
        width: 94%;
        
    }

    

    .category-header h2 {
        font-size: 22px;
    }

    .products-count {
        font-size: 12px;
    }

    .category-buttons {
        gap: 8px;
    }

    .category-btn {
        padding: 9px 13px;
        border-radius: 12px;
        font-size: 13px;
    }

    .category-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* =========================================
   FILTRO DE CATEGORIAS MODERNO
========================================= */

.category-filter {
    width: min(1200px, 92%);
    padding-top: 20px;
    margin: auto ;
}

.category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.category-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #00bfff;
    margin-bottom: 5px;
}

.category-header h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #111827;
}

.products-count {
    padding: 8px 14px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
/* =====================================================
   RESPONSIVO
===================================================== */





#productModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#productModal.show {
    display: flex;
}

.product-modal-box {
    background: white;
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 18px;
    padding: 25px;
    position: relative;
}

.close-product {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    background: #eee;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 24px;
    cursor: pointer;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-main-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 15px;
}

.product-gallery {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
}

.product-gallery img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

.product-info h2 {
    font-size: 30px;
}

.product-info p {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.stock {
    color: #16a34a;
    font-weight: bold;
}

@media(max-width:700px) {
    .product-details {
        grid-template-columns: 1fr;
    }

    .product-main-img {
        height: 300px;
    }
}
        .cart-icon {
    font-size: 18px;
    line-height: 1;
}
  /* CABEÇALHO */


.cart-close {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 10px;

    background: rgba(255,255,255,.06);
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    transition: .2s;
}


/* REMOVER */

.remove-product {
    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 8px;

    background: rgba(239,51,64,.08);
    color: #ef3340;

    cursor: pointer;

    transition: .2s;
}

.remove-product:hover {
    background: #ef3340;
    color: #fff;
}

    /* =====================================================
   CORREÇÃO FINAL DO BOTÃO CARRINHO
===================================================== */

.cart-floating {
    position: relative !important;
    right: 12%;
    width: 46px;
    height: 46px;

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

    padding: 0;

    border: 1px solid rgba(0, 191, 255, .45);
    border-radius: 14px;

    background: rgba(20, 20, 20, .88);

    color: #00bfff;

    cursor: pointer;
    z-index: 9000;

    transition: .25s ease;
}


    /* CONTADOR */

.cart-floating #cart-count {
    position: absolute !important;

    top: -7px !important;
    right: -7px !important;

    min-width: 20px;
    height: 20px;

    padding: 0 5px !important;

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

    background: #ef3340 !important;
    color: #fff !important;

    border: 2px solid #252525 !important;
    border-radius: 50% !important;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;

    z-index: 2;
}

    /* ===== CARRINHO MODERNO ===== */
.cart-container {
    position: fixed;
    top: 0;
    right: -430px;
    width: 410px;
    max-width: 95%;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    padding: 25px;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transition: .35s ease;
    overflow-y: auto;
}

.cart-container.show {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-header h2 {
    color: #000;
    margin: 0;
    font-size: 24px;
}

.cart-close {
    border: 0;
    background: #000000;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-product-info {
    flex: 1;
}

.cart-product-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-product-price {
    font-size: 14px;
    color: #777;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
}

.quantity-control button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 7px;
    background: #f1f1f1;
    cursor: pointer;
    font-weight: bold;
}

.remove-product {
    border: 0;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
}

.cart-footer {
    margin-top: 25px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    border: 0;
    padding: 13px;
    border-radius: 10px;
    background: #111827;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.clear-btn {
    width: 100%;
    margin-top: 8px;
    border: 0;
    padding: 10px;
    border-radius: 10px;
    color: #555;
}

 
/* ===== FORMULÁRIO DE PEDIDO ===== */

.checkout-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.checkout-modal.show {
    display: flex;
}

.checkout-box {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.checkout-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkout-top h2 {
    margin: 0;
}

.checkout-close {
    border: 0;
    background: #f1f1f1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111827;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.order-summary h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.order-line {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 14px;
}

.order-total {
    border-top: 1px solid #ddd;
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
}

.whatsapp-checkout {
    width: 100%;
    border: 0;
    padding: 13px;
    border-radius: 10px;
    background: #25D366;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================================
   INFORMAÇÕES DO PRODUTO
   NÃO TEM RELAÇÃO COM O MENU
   ========================================================= */

.produto-info {
    padding: 4px 5px 17px 0;
}


/* ---------------------------------------------------------
   CATEGORIA
   --------------------------------------------------------- */

.produto-categoria {
    display: block;

    margin-bottom: 6px;

    color: #0084ff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   NOME DO PRODUTO
   --------------------------------------------------------- */

.produto-nome {
    margin: 0;

    color: #161616;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;

    transition: 0.25s ease;
}


/* ---------------------------------------------------------
   PREÇO DO PRODUTO
   --------------------------------------------------------- */

.produto-preco {
    display: flex;

    align-items: baseline;
    justify-content: center;

    gap: 5px;

    margin-top: 8px;
}


/* PREÇO PRINCIPAL */

.produto-preco strong {
    color: #111111;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.5px;
}


/* MOEDA */

.produto-preco span {
    color: #777777;

    font-size: 12px;
    font-weight: 600;
}