body{
    background-color: #CCD0CF;
}

.tamanho-carrosel{
    margin: 10px 20px;
}

.icone{
    font-size: 2.3rem;
    text-align: center;
}

.card{
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.button{
    padding: 8px 20px !important;
    color: #21313E;
    text-decoration: underline;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.botao{
    background-color: #21313E;
    color: white;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
}

.botao:hover{
    background-color: #21313e5e;
    color: #000000;
}

.botaoComprar{
    background-color: #21313E;
    color: white;
    padding: 0.31rem 1.25rem;
    cursor: pointer;
}

.botaoComprar:hover{
    background-color: #21313e5e;
    color: #000000;
}

.botaoDetalhes{
    color: #21313E;
    padding: 0.31rem 1.25rem;
    cursor: pointer;
}


#conteudo {
    display: none;
}
#toggleBtn {
    display: inline-block;
}

carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cartBtn {
    background: none;
    border: none;
    margin-left: 10px;
    position: relative;
}

#cartCount {
    font-size: 0.8rem;
    min-width: 1.2em;
    min-height: 1.2em;
    padding: 0.2em 0.5em;
}

#cartBtnFloat {
    right: 30px;
    bottom: 30px;
    background: #21313E;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

#cartBtnFloat:hover {
    background: #21313e5e;
    color: #000;
}

#cartCountFloat {
    font-size: 0.9rem;
    min-width: 1.2em;
    min-height: 1.2em;
    padding: 0.2em 0.5em;
}

/* Espaçamento lateral para as divs do carrossel de categorias */
#carouselExample .carousel-item .row {
    margin-left: 40px;
    margin-right: 40px;
}

/* Diminui o tamanho dos cards das categorias */
#carouselExample .card {
    width: 180px;
    min-width: 150px;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajusta imagem dos cards para não ficar esticada */
#carouselExample .card-img-top {
    height: 100px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

/* Responsividade para tablet */
@media (max-width: 991px) {
    #carouselExample .carousel-item .row {
        margin-left: 10px;
        margin-right: 10px;
    }
    #carouselExample .card {
        width: 140px;
        min-width: 120px;
        max-width: 140px;
    }
    #carouselExample .card-img-top {
        height: 90px;
    }
}

/* Responsividade para mobile: mostra uma categoria por slide */
@media (max-width: 575px) {
    #carouselExample .carousel-item .row {
        margin-left: 0;
        margin-right: 0;
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
    }
    #carouselExample .card {
        width: 90vw;
        min-width: 200px;
        max-width: 95vw;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    #carouselExample .card-img-top {
        height: 120px;
    }
    #carouselExample .row > div {
        display: none;
    }
    #carouselExample .row > div.active-categoria {
        display: flex;
        justify-content: center;
    }
}

/* Carrossel de avaliações responsivo */
@media (max-width: 575px) {
    #carouselExampleAutoplaying2 .carousel-item .row {
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }
    #carouselExampleAutoplaying2 .card {
        width: 90vw;
        min-width: 220px;
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    #carouselExampleAutoplaying2 .card-body {
        padding: 1.5rem 1rem;
    }
    #carouselExampleAutoplaying2 h5.card-title,
    #carouselExampleAutoplaying2 h6 {
        font-size: 1.1rem;
    }
    #carouselExampleAutoplaying2 p {
        font-size: 0.95rem;
    }
}

.botaoEnviar {
    width: 100%;
    background-color: #CCD0CF; 
    color: #000;
    padding: 0.31rem 1.25rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.botaoEnviar:hover {
    background-color: #b7b7b7;
    color: #000;
}
