@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a{text-decoration: none;}

h3.card-moderacao{
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  color: #fff;
  font-size: 0.8rem;
}

.body-header{
    padding-top: 75px; /* ajuste conforme altura real do menu */
}

.navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.navbar-compact {
  padding-top: 0rem;
  padding-bottom: 0rem;
}

.navbar img {
  height: 50px;
  transition: height 0.3s ease;
}
.navbar button{
    transition: font-size 0.3s ease;
}
.navbar.navbar-compact button{
    font-size: 0.8rem;
}

.navbar.navbar-compact img {
  height: 35px;
}

.foto-rapaz{
    margin-top: -5rem;
}

.patrocinio{
    font-size: 13px;
}

.bg-bloco{
    background: linear-gradient(125deg, #198754, #146c43);
    color: #fff;
}

.bg-bloco a{
    background-color: #fff;
    color: #157347;
    border: 2px solid #ffffff;
    font-weight: 600;
}
.bg-bloco a:hover{
    background-color: #146c43;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.rating {
    direction: rtl;
    unicode-bidi: bidi-override;
    display: inline-flex; }

.rating input {
    display: none; }

.rating label {
    font-size: 1.6rem;
    color: #ccc;
    cursor: pointer;
    transition: color .2s; }

/* hover */
.rating label:hover,
.rating label:hover ~ label {
    color: #ffc107; }

/* selecionado */
.rating input:checked ~ label {
    color: #ffc107; }


.img-produto {
    height: 260px !important;          /* altura padrão */
    object-fit: cover;      /* cobre a área mantendo proporção */
    object-position: center;/* centraliza a imagem */
    width: 100%;
    border-radius: 12px;
}

.fs-lg-6{ font-size: 15px !important; }
.fs-lg-7{ font-size: 13px !important; }
.fs-lg-8{ font-size: 11px !important; }

.w-lg-100 {width: 50% !important; }
.w-md-100 {width: 100% !important; }

.upload-area {
  transition: all 0.3s ease;
}
.upload-area.dragover {
  background-color: #eaf7ff;
  border-color: #0d6efd;
}
#preview img {
  max-width: 250px;
  max-height: 120px;
  border-radius: 10px;
  /*border: 1px solid #ddd;*/
}

.upload-multiplo {
    cursor: pointer;
}
.upload-multiplo.dragover {
    background-color: #e9f5ff;
    border-color: #0d6efd;
}
.preview-item {
    position: relative;
}
.preview-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: .4rem;
}
.remove-preview {
    position: absolute;
    top: -6px;
    right: -6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 20px;
}

.cursor{
  cursor: pointer;
}

.carousel-inner.lista {
  height: 400px; /* altura desejada */
}

.carousel-inner {
  height: 260px; /* altura desejada */
}

.bg-teal-100{
  background-color: #d2f4ea95;
}

.bg-warning-rgb{
  background-color: #fff3cd;
}

.card.selecionado {
    background-color: #E9FCE9 !important; /* verde bem suave */
    transition: background-color 0.4s ease; /* transição suave */
}
.list-group-item {
    transition: background-color 0.4s ease;
}

.img-fixed {
    height: 260px; }
.img-fixed-home {
    width: 100px;
    height: 100px; }
.img-fixed-interno {
    width: 100px;
    height: 170px; }
.categ{
    top: -1.2rem;
    left: 0; }

.menu .nav-item .nav-link{
    border-radius: 30px;
    padding: 3px 5px;
    transition: background-color 0.4s ease; }
.menu .nav-item .nav-link:hover{
    background: rgba(0, 104, 144, 1) !important;
    color: #fff; }

.lgpd-banner {
    position: fixed;
    left: 0;
    bottom: -200px;
    width: 100%;
    background: #222;
    color: #fff;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out; }
.lgpd-banner.show {
    bottom: 0; }
.lgpd-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px; }
.lgpd-content a {
    color: #4da3ff;
    text-decoration: underline; }
.lgpd-content button {
    white-space: nowrap; }

.fornecedor-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.fornecedor-img-wrapper {
    display: block;
    overflow: hidden;
}
.fornecedor-img-wrapper img{
    max-width: 90px;
    max-height: 90px;
}

.fornecedor-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fornecedor-card:hover img {
    transform: scale(1.08);
}

.fornecedor-card .card-body {
    padding: 1.25rem;
}

.fornecedor-card h2 {
    line-height: 1.2;
}

.fornecedor-card p {
    line-height: 1.4;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-balao {
    background: #ffffff;
    color: #333;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease-in-out;
}

.whatsapp-btn {
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.swiper-slide {
    height: auto;
    width: auto;
}

/* Remove seta padrão */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Estilo base das setas */
.destaque-prev,
.destaque-next {
    width: 24px;
    height: 24px;
    transition: 0.3s;
    font-weight: 900;
}

.destaque-prev:hover,
.destaque-next:hover {
    transform: scale(1.08);
}

/* ===== MOBILE (seta dentro) ===== */
@media (max-width: 991px) {

    .destaque-prev {
        left: 10px;
    }

    .destaque-next {
        right: 10px;
    }

}

/* ===== DESKTOP (seta fora) ===== */
@media (min-width: 992px) {

    .swiperDestaques {
        padding-left: 30px;
        padding-right: 30px;
    }

    .destaque-prev {
        left: -10px;
    }

    .destaque-next {
        right: -10px;
    }

    .fornecedor-card img {
        height: 290px;
    }

}

/* Aumenta a altura no mobile */
@media (max-width: 767px) {
    .img-produto {
        height: 150px !important;
    }

    .img-fixed {
        height: 170px; }

    .carousel-inner {
      height: 150px; /* altura desejada */
    }

    .fornecedor-card img {
        height: 150px;
    }

    .fs-7{ font-size: 14px; }
    .fs-8{ font-size: 12px; }
    .w-50{width: 25% !important; }
    .w-lg-100{width: 100% !important;}
    .w-md-100 {width: 75% !important; }
}

@media (max-width: 576px) {
    .destaque-prev,
    .destaque-next {
        width: 34px;
        height: 34px;
    }

    .foto-rapaz{
        margin-top: 0;
        max-width: 200px;
    }
    .bg-bloco{
        text-align: center;
    }
    .bg-bloco a{
        width: 100%;
    }
}