@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Montserrat", sans-serif
}

/* Gilberto 23/07/2025 14:07:20 - Header */
    .container-fluid {
        width: 75%;
        margin: 10px 0 20px 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .container-fluid #pesquisa {
        padding: .4rem;
    }

    @media (max-width: 1000px) {
        .container-fluid {
            width: 90%;
        }
    }
    
    @media (max-width: 768px) {
        .container-fluid {
            width: 98%;
            padding: 0rem !important;
        }
        
        .container-fluid #formSearch {
            margin: 0.5rem !important;
        }
        
        .container-fluid #logoEmpsis {
            display: none;
        }
    }
/* Gilberto 23/07/2025 14:07:25 - Fim */

/* Gilberto 23/07/2025 15:58:25 - Carrossel */
    .carousel {
        aspect-ratio: 21 / 9;
        width: 90%;
        height: 30rem;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
    }

    .carousel-inner {
        position: relative;
        width: 80%;
        overflow: hidden;
        margin: 0 auto;
        height: 100%;
        display: flex;
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-fit: cover !important;
    }

    @media (max-width: 1400px) {
        .carousel {
            height: 25rem;
        }
    }
    
    @media (max-width: 1000px) {
        .carousel {
            height: 20rem;
        }

        .carousel-inner {
            width: 90%;
        }
    }
    
    @media (max-width: 768px) {
        .carousel {
            width: 95%;
            height: 15rem;
            margin-top: -1.2rem;
        }

        .carousel-item img {
            border-radius: 0;
        }
    }
    
    @media (max-width: 520px) {
        .carousel {
            height: 10rem;
        }

        .carousel-inner {
            width: 100%;
        }
    }
/* Gilberto 23/07/2025 15:58:29 - Fim */

/* Gilberto 23/07/2025 14:07:28 - Lista de Cards */
    .container {
        max-width: 73%;
        background-color: #fbfbfb;
    }

    .cardContainer {
        display: grid;
        grid-template-columns: repeat(5, 1fr); /* cards responsivos */
        gap: .5rem;
    }

    .product-card {
        position: relative;
        cursor: pointer;
        border-radius: 10px !important;
        height: 400px;
        width: 100%;
        border-radius: 10px;
        background-color: #fff;
    }

    .product-tumb {
        height: 50% !important;
        border-radius: 10px;
    }

    .product-tumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-details {
        padding: 0 .5rem;
    }

    .product-details h4, .product-details .details span {
        font-size: .8rem;
        color: rgba(0, 0, 0, 0.5);
    }

    .preco .price, .product-links a i {
        font-size: 1.2rem;
    }
    .product-links a i:hover {
        color: green;
        transform: scale(1.1);
        transition: ease-in-out 200ms;
    }

    @media (max-width: 1000px) {
        .container {
            max-width: 80%;
        }

        .cardContainer {
            grid-template-columns: repeat(4, 1fr);
        }

        .product-card {
            height: 300px;
        }
    }
    
    @media (max-width: 768px) {
        .container {
            max-width: 90%;
        }

        .cardContainer {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    @media (max-width: 520px) {
        .container {
            max-width: 100%;
        }

        .cardContainer {
            grid-template-columns: repeat(2, 1fr);
        }
    }
/* Gilberto 23/07/2025 14:07:35 - Fim */

/* Gilberto 03/03/2025 13:57:05 - Navbar */
nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.buttons {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 78px;
    padding: 20px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
}

.btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    outline: none;
    border: none;
}

.btn a {
    color: black;
}

.fas {
    font-size: 20px;
}

.btn:active .fas,
.btn:active span {
    color: #53B175;
}

@media only screen and (min-width: 1024px) {
    .cardImagem {

        max-width: 50%;
    }
}

@media only screen and (max-width: 700px) {
    .cardImagem {
        transition: none;
        /* Desativar todas as transições */
        transform: none !important;
        /* Garantir que a transformação seja removida */
        margin-left: 12%;
    }

    .divTabelinha {
        min-width: 100%;
    }
}


.imagem {
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin-left: 10%;
}


.divTexto {
    align-items: center;
    color: black;
    max-width: 100%;
    min-height: auto;
}

.tituloLivro {
    text-transform: capitalize;
    text-align: left;
    font-size: 150%
}

.autor {
    text-align: left;
    text-decoration: solid;
    color: black;
}

.descricao {
    text-align: left;
    color: #3a8593;
    font-size: small;
}

.hr {
    border: 1px solid rgb(0, 0, 0);
}


a:hover {
    color: #e64360;

}

.tipoLivro {
    color: #007185;

}

.codProduto {
    color: #000000;
    font-weight: bold;

}

.divCadastro {
    margin: 0 auto;
    background-color: beige;
    border: #e5d9b3 3px;
    border-style: solid;
    border-radius: 1%;
    align-items: center;
    width: 60%;
    height: auto;
}

.containerxd {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.containerr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.divTabelinha {
    margin: 0 auto;
    width: 50%;
    font-size: 12px;
    display: flex;

}

.search-container {
    position: relative;
    width: 300px;
    margin: 50px auto;
}

#search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    max-width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    display: none;
    z-index: 2;
    overflow-y: auto;
    max-height: 200px;
    margin-right: 12%;
}

.search-results-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.search-results-item:last-child {
    border-bottom: none;
}

.search-results-item:hover {
    background-color: #f5f5f5;
}

.search-results-item a {
    color: #000;

}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1;
}

.product-card:hover {
    transform: scale(0.99);
    cursor: pointer;
}

.product-card {
    border-radius: 22px;
}

body {
    background: #fff;
}

.badge {
    background: #007bff !important;
}
/* FIM */