.row {
    width: 100%;
}


.buscaPrincipal {
    width: 100%;
    max-width: 450px;
    padding: 13px 24px 13px 48px;
    line-height: 24px;
    font-size: 17px;
    border: 2px solid transparent;
    border-radius: 30px;
    height: auto;
    font-family: Roboto, sans-serif;
    background-color: #eee;
}

.buscaPrincipal :active {
    background-color: #dfdfdf;
}

.logo {
    width: 220px;
    object-fit: contain;
    max-width: 100px;
    border-radius: 10px;
}



@media (max-width: 768px) {
    .buscaPrincipal {
        width: 100%;
        max-width: 100%;
        padding: 13px 24px 13px 48px;
        line-height: 24px;
        font-size: 17px;
        border: 2px solid transparent;
        border-radius: 30px;
        height: auto;
        font-family: Roboto, sans-serif;
        background-color: #777;

    }

    .buscaPrincipal::placeholder {
        color: rgb(0 0 0);
        opacity: 1;
        font-weight: 300;
    }

    .buscaPrincipal:active {
        background-color: #dfdfdf;
    }

    .logo {
        width: 250px;
    }

    .text-sm {
        font-size: 0.8rem;
    }
}

/* styles.css */



.bg-light {
    background-color: #f2f2f5;
}

.categoria {
    color: black;
    font-weight: 200;
}

.bg-success {
    background-color: #05701F;
}

input::placeholder {
    color: #212529;
    opacity: 1;
    /* Define a opacidade do placeholder */
}

textarea::placeholder {
    color: #212529;
    opacity: 1;
}


.animacao_hover {
    scale: 1;
    transition: 500ms;
}

.animacao_hover:hover {
    scale: 1.1;
    cursor: pointer;
}




/* Categorias */
.search-result-category {
    display: flex;
    flex-direction: column;
    padding: 0.2rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

a {
    text-decoration: none;
    color: black;
}

.categorias a {

    text-decoration: none;
    color: #a72d2d;

}

.sub-categorias {
    font-size: 0.8rem;

}

.search-result-category:hover {
    background-color: #e9ecef;
}

.category-name {
    font-size: 14px;
    font-weight: bold;
    color: #555;

}

.category-name:hover {
    text-decoration: underline;
}

/* Container principal */
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
}

/* Campo de busca */
.search-input {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 50px;
    outline: none;
    transition: box-shadow 0.3s, border 0.3s;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.result-item {
    max-height: 350px;
    overflow-y: auto;

}

/* Lista de resultados */
.search-results {
    position: absolute;
    border-radius: 15px 0px 0px 15px;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-right: 1px solid #ccc;
    z-index: 1000;
    max-height: 690px;
    min-height: 390px;

    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Inicialmente escondido */
}

.search-result-item {
    display: flex;
    align-items: center;

    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin-right: 10px;
}

.search-result-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

/* Popup de pré-visualização */
.preview-popup {
    position: absolute;
    top: 110%;
    right: -300px;
    width: 300px;
    min-height: 390px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.preview-popup img {
    width: 100%;

    object-fit: contain;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.preview-popup .product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.preview-popup .product-category {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.preview-popup .product-price {
    font-size: 16px;
    color: #007bff;
    font-weight: bold;
}

.text-small {
    font-size: 0.8rem;
}
.card-produto {
    min-height: 500px;
}

@media (max-width: 768px) {
    .card-produto {
            min-height: 500px;
        }
   .logo {
       width: 250px;
   }
}
@media (min-width: 768px) {
.sp-wrap {
    display: none;
    line-height: 0;
    font-size: 0;
    background: transparent;
    border: 5px solid transparent;
    border-radius: 3px;
    position: relative;
    margin: 0 25px 15px 0;
    float: left;
    width: 100%;
    max-width: 700px;
    min-width: 600px;
}
}


@media (min-width: 1280px) and (min-height: 720px) {
    .bannerprincipal {
        object-fit: scale-down;
    }
}
@media (min-width: 1280px) {
    .bannerprincipal {
        object-fit: cover;
    }
}
