.caixaBrancaMargin {
    display: none;
}

.nao-sei-cep {
    display: none !important;
}

/* ===================== */
/* OWL */
/* ===================== */
.owl-carousel .owl-nav button.owl-next {
    float: right !important;
    position: relative !important;
    left: 5px;
}

.owl-carousel .owl-nav button.owl-prev {
    float: left !important;
    position: relative !important;
    right: 8px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: #666;
    color: #FFF;
    line-height: 35px;
    height: 35px;
    margin: 0.5px;
    border-radius: 3px;
}

.owl-theme .owl-nav {
    margin-top: 135px !important;
    width: 100% !important;
}

/* ===================== */
/* GRID */
/* ===================== */
@media only screen and (min-width: 480px) {
    .products-grid > li:nth-child(3n+1) {
        margin-bottom: 90px;
    }

    .linhaBanners {
        margin-top: 30px;
    }
}

/* ===================== */
/* AJUSTES VISUAIS */
/* ===================== */

.topoSite.header_logo_center a.logo img,
.topoSite.header_logo_left .logo img {
    max-height: 115px;
}

.topoSite.header_logo_center a.logo,
.topoSite.header_logo_left a.logo {
    display: flex;
    justify-content: center;
}


@media only screen and (min-width: 771px) {
    .topoSite {
        /* position: sticky; */
        top: 0;
        z-index: 501;
    }
    .menuPrincipal {
        /* position: sticky; */
        /* top: 120px; */
        z-index: 500;
    }
}

@media (max-width: 767px) {
    .topoSite {
        position: sticky;
        top: 0;
        z-index: 500;
    }
      .menuPrincipal {
        position: sticky;
        /* top: 120px; */
        z-index: 499;
    }
}
}

@media only screen and (max-width: 770px) {
    .logo {
        padding-top: 30px;
    }
}

/* css para consertar a quebra de itens na homepage */
/* ===== DESKTOP ===== */
@media (min-width: 769px) {
    .banner-mosaico {
        margin-top: 100px !important;
        min-height: 300px; /* 🔥 ajuste conforme necessário */
    }
}

/* css para alinhar os produtos para ter o mesmo tamanho */
/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .owl-carousel .item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 450px;
        height: 100%;
    }

    .owl-carousel .product-info {
        flex-grow: 1;
    }

    .owl-carousel .actionsPersonalizado {
        margin-top: auto;
    }

}

/* ===== PADRÃO (DESKTOP) ===== */
@media (min-width: 769px) {

    .owl-carousel .item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 550px; 
        height: 100%;
    }

    .owl-carousel .product-info {
        flex-grow: 1;
    }

    .owl-carousel .actionsPersonalizado {
        margin-top: auto;
    }

}

/* ===== Ajustes no Front ===== */
@media (max-width: 768px) {
  .item.last h2.product-name {
      min-height: 70px !important;
      height: 100% !important;
  }
  
  .slideshow-container .slideshow > li img {
    max-width: 100%;
    width: 100%;
    margin-top: 14px;
  }
  button.button2.btn-continue.botaoContinue span {
  	font-size: 15px !important; 
  }
}

/* ============================================================
FIX MOBILE: Double-tap em produtos (carousel + grid/listagem)
============================================================ */

/* ── CAROUSEL ─────────────────────────────────────────────── */

/* 1. cursor:pointer e touch-action no item do carousel */
.owl-carousel .owl-item,
.owl-carousel .owl-item .item {
  cursor: pointer;
  touch-action: manipulation;
}

/* 2. tagsDestaques no carousel: pointer-events:none */
.owl-carousel .owl-item .tagsDestaques {
  pointer-events: none;
}

/* 3. actionsPersonalizado e seus filhos no carousel */
.owl-carousel .owl-item .actionsPersonalizado {
  touch-action: manipulation;
  cursor: pointer;
}
.owl-carousel .owl-item .actionsPersonalizado button,
.owl-carousel .owl-item .actionsPersonalizado a {
  touch-action: manipulation;
  cursor: pointer;
}

/* 4. Em touch devices: carousel */
@media (hover: none), (pointer: coarse) {
  .owl-carousel .owl-item .actionsPersonalizado {
    display: block !important;
    opacity: 1 !important;
    position: relative !important;
    box-shadow: none !important;
  }
  .owl-carousel .owl-item .actionsPersonalizado .caixaBotaoTotals {
    -webkit-animation: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
  .wrapper .owl-carousel.owl-drag .owl-item:hover .actionsPersonalizado,
  .owl-carousel .owl-item:hover .actionsPersonalizado {
    position: relative !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }
}
.rodapeSite.footer_custom_2 {
    padding: 0px 0 !important;
}

.rodapeSite.footer_custom_2 .footer-container {
    padding: 0 !important;
}

.rodapeSite.footer_custom_2 .footer {
    padding: 0 !important;
}
/* ── GRID (listagem/categoria) ────────────────────────────── */

/* 1. cursor:pointer e touch-action no item do grid */
.products-grid > li,
.products-grid > li .item {
  cursor: pointer;
  touch-action: manipulation;
}

/* 2. tagsDestaques no grid: pointer-events:none */
.products-grid > li .tagsDestaques {
  pointer-events: none;
}

/* 3. actionsPersonalizado e seus filhos no grid */
.products-grid > li .actionsPersonalizado {
  touch-action: manipulation;
  cursor: pointer;
}
.products-grid > li .actionsPersonalizado button,
.products-grid > li .actionsPersonalizado a {
  touch-action: manipulation;
  cursor: pointer;
}

/* 4. Em touch devices: grid */
@media (hover: none), (pointer: coarse) {
  .products-grid > li .actionsPersonalizado {
    display: block !important;
    opacity: 1 !important;
    position: relative !important;
    box-shadow: none !important;
  }
  .products-grid > li .actionsPersonalizado .caixaBotaoTotals,
  .products-grid > li:hover .actionsPersonalizado .caixaBotaoTotals {
    -webkit-animation: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
  .products-grid > li:hover .actionsPersonalizado {
    position: relative !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }
  .products-grid > li:hover {
    box-shadow: none !important;
    outline: none !important;
  }
  .products-grid > li .actions {
    display: block !important;
  }
}
@media only screen and (max-width: 768px) {
    body.cms-index-index.cms-home .widget-title h2 {
        padding-right: 0px;
    }
}


/** ajustes cards home **/

@media (min-width: 1001px)  {
  .cms-home .category-products.lista-carrousel.medida-height {
        height: 400px !important;
    }
}


@media (min-width: 769px) {
    .owl-carousel .item {
        min-height: 200px;
    }
}

@media (min-width: 769px) {
    .banner-mosaico {
        margin-top: 50px !important;
    }
}

@media (max-width: 767px) {
   .cms-home .category-products.lista-carrousel.medida-height {
        height: 450px !important;
    }
}
/** ajustes cards home **/

/* Depois que o Owl carrega, a altura acompanha o card (incluindo a área do botão) */
.cms-home .category-products.lista-carrousel.medida-height:has(.owl-carousel.owl-loaded) {
    height: auto !important;
}

/* Desktop: a área do botão ocupa sempre o mesmo espaço, com ou sem hover */
@media only screen and (min-width: 771px) {
    .wrapper .owl-carousel.owl-drag .owl-item .actionsPersonalizado,
    .wrapper .owl-carousel.owl-drag .owl-item:hover .actionsPersonalizado {
        display: block !important;
        position: relative !important;
        height: auto !important;
        margin-top: 20px !important;
    }
    .carousel-1 {margin-bottom: 0px !important;
    }
    .category-products .owl-carousel .owl-stage {
        padding: 0 !important;
    }
}

body.cms-index-index .widget-title {margin: 0 !important;
}
