﻿.btn-round-categoria.collapsed {
    background-color: #31070b;
}

.btn-round-categoria.active {
    background-color: #f24122;
}

.btn-round-categoria:not(.active) {
    color: #fff;
    background-color: #31070b;
}

.navbar {
    background-color: #31070b;
    color: white;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-color: #e0dde3;
    margin-bottom: 80px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    background-color: #31070b;
    overflow: hidden;
    border-top-color: transparent !important;
    height: 8vh !important;
}


@media (max-height: 740px) {
    .footer {
        height: 12vh !important;
    }
}



nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active {
    border: none;
    /*padding: 18px 25px;*/
    color: #fff;
    background: #31070b;
    border-radius: 0;
}

#loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgb(249,249,249);
    color: #31070b;
    flex: 0 0 120px;
}

.load-item {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #31070b;
}


#btnAcima, #btnAbaixo {
    display: none;
    position: fixed;
    right: 10px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    bottom: 75px;
    height: 42px;
}

#btnAcima:hover, #btnAbaixo:hover {
    background-color: #555;
}

#valTotalMercadoria {
    display: none;
    position: fixed;
    right: 50px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    bottom: 75px;
    padding: 9px;
}

/* Adiciona uma transição suave para a exibição das mercadorias */
.mercadoria-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .mercadoria-container.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Aumenta a duração da transição do collapse */
.collapse {
    transition: height 0.5s ease-in-out;
}

    /* Adiciona uma transição suave para o conteúdo interno */
    .collapse .mercadoria-container {
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .collapse.show .mercadoria-container {
        opacity: 1;
    }

.skeleton-loading {
    display: flex;
    gap: 10px;
}

.skeleton-item {
    flex: 1;
    height: 50px;
    background: #e0e0e0;
    border-radius: 4px;
}

.text-body.text-wrap {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-conteudo {
    min-height: 125px;
}
