.produto-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.dropdown-item {
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background-color: #bdbdbd;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

.dropdown-item.active:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

/* prod page */

.produto-carousel {
    overflow: hidden;
}

.produto-carousel .carousel-item {
    transition: transform 0.45s ease-in-out;
}

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

.descricao {
    white-space: pre-line;
}


/* MINIATURAS */

.produto-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;

    overflow-x: auto;
    padding: 4px 2px 8px;
}

.produto-thumbnail {
    flex: 0 0 auto;

    width: 72px;
    height: 72px;

    padding: 3px;

    border: 2px solid transparent;
    border-radius: 8px;

    background: transparent;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.produto-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 5px;
}

.produto-thumbnail:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.produto-thumbnail.active {
    border-color: var(--bs-primary);
}


/* SEM IMAGEM */

.produto-sem-imagem {
    min-height: 400px;

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

    background: var(--bs-light);
}

.produto-sem-imagem img {
    width: auto;
    max-width: 200px;
    max-height: 200px;
}


/* MOBILE */

@media (max-width: 768px) {

    .produto-thumbnail {
        width: 60px;
        height: 60px;
    }

    .produto-thumbnails {
        justify-content: flex-start;
    }

}