body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f6f6f6;
    padding-bottom: clamp(250px, 25vh, 260px);
}


header {
    background: linear-gradient(135deg, #5a1ea6, #7b2fe0);
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* Container em grid responsivo */
.container {
    padding: clamp(12px, 4vw, 24px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}


.item {
    background: #fff;
    border-radius: 14px;
    padding: clamp(12px, 3vw, 18px);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform .2s, box-shadow .2s;

}

.item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.item h3 {
    margin: 0;
}

.preco {
    font-weight: bold;
    margin-top: 6px;
}

/* Modal */
.modal,
#Showmodal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding-bottom: 125px;

}

.modal-content {
    background: #fff;
    border-radius: 10px;
    width: 99%;
    max-width: 400px;
    padding: 16px;
    overflow-y: auto;
    max-height: 40vh;
    animation: surgir .3s ease;
}

.modal-content-simples {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    animation: surgir .3s ease;
}

@keyframes surgir {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal h3 {
    margin-top: 0;
}

.close,
#Showmodal span {
    float: right;
    cursor: pointer;
    font-weight: bold;
}

/* Complementos */
.complementos strong {
    display: block;
    margin-top: 10px;
}

/* Botões */
.btn,
#Showmodal button {
    margin-top: 12px;
    padding: 10px;
    width: 100%;
    background: #5a1ea6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.btn:hover,
#Showmodal button:hover {
    background: #4a1790;
    transform: scale(1.02);
}


.carrinho {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #ddd;
    padding: clamp(8px, 3vw, 14px);
    max-height: 22vh;
    overflow-y: auto;
    font-size: clamp(12px, 2.5vw, 14px);
}

.carrinho-item {
    border-bottom: 1px solid #eee;
    padding: 6px 0;
}

.linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qtd {
    display: flex;
    gap: 6px;
}

.qtd button {
    padding: 2px 8px;
}

.remover {
    color: red;
    cursor: pointer;
}

.total {
    font-weight: bold;
    margin-top: 6px;
}

/* Botão Whats */
.btn-whats {
    margin-top: 8px;
    display: block;
    text-align: center;
    background: #25d366;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}


.Adicionais {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

/* Títulos */
.acai,
.sorvetes {
    text-align: center;
    color: #5a1ea6;
    margin-bottom: 12px;
    font-size: clamp(28px, 6vw, 50px);
}

.logo {
    top: 10px;
    background-color: #5a1ea6;
    border-radius: 70%;
    border: 15px solid #fff;
}

/* Modal simples */
#preco-produto-simples {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ajustes para telas maiores */
@media (min-width: 600px) {
    .modal-content {
        max-height: 60vh;
    }
}

.div-container {
    padding: clamp(12px, 4vw, 24px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    text-align: center;
}

#titulo-produto-simples {
    text-align: center;
    
}

@media (min-width: 320px) {
    .item {
        text-align: center;
    }
}

img{
    width: 150px; 
    max-width: 200px; 
    height: 160px;
}

.logo {
     width: 120px; 
     height: auto;
}

.acaiteria {
    font-weight: bold;
    margin-top: -10px;
    font-size: clamp(14px, 3vw, 20px);
}

.img-sorvete {
    width: 150px; 
    max-width: 200px; 
    height: 175px;
}

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

.modal .categoria label {
    display: block;
    width: 100%;
    margin: 6px 0;
}

.modal .categoria label input {
    margin-right: 6px;
}


