/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



.lv-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}


.proveedores-dols {
  transition: height 0.3s ease;
  overflow: hidden;
}

.proveedores-dols img {
    width: 100%;
    max-width: calc((100% / 10) - 33px);
    margin: 15px;
    border-radius: 10px;
}

.ap-vermenos {
	display: none;
}

.abre-proveedores {
	cursor: pointer;
}




/* Scroll HERO Sobre Nosotros */

.scroll-container {
  position: relative;
}

.fixed-image {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 1;
}

.fixed-image img {
  max-width: 100%;
  max-height: 100%;
  transition: opacity 0.3s ease;
}

.scroll-triggers section {
  height: 100vh;
}

.contenedores-changescroll {
    visibility: hidden
}





/* Listado Ofertas */

.listado-ofertas > div {
  width: 100%;
  max-width: calc((100% / 3) - 20px);
  margin-bottom: 30px;
  display: none;
}

.listado-ofertas.lv-grid {
    gap: 0 30px;
}

.capa-degradado-ofertas:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  pointer-events: none;
  z-index: 0;
  border-radius: 8px;
}


.listado-ofertas > div:nth-child(1),
.listado-ofertas > div:nth-child(2),
.listado-ofertas > div:nth-child(3),
.listado-ofertas > div:nth-child(4) {
  display: flex;
}

.listado-ofertas > div.primero {
  align-items: stretch;
}

.listado-ofertas > div:nth-child(3n + 4) {
  margin-right: 0;
}

.listado-ofertas > div:first-child {
  max-width: 100%;
  margin-bottom: 40px;
}

.listado-ofertas > div:first-child > div {
  width: 100%;
  max-width: calc((100% / 2) - 15px);
  margin-right: 30px;
}

.listado-ofertas > div:first-child > div:first-child {
  position: relative;
  overflow: hidden;
  border-radius: 64px;
}

.listado-ofertas > div:first-child > div:first-child img {
    position: absolute;
    display: block;
    transform: translate(50%, -50%) scale(1);
    top: 50%;
    right: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.listado-ofertas > div:first-child > div:last-child {
  margin-right: 0;
  background-color: #696969;
  border-radius: 8px;
  padding: 40px;
}


.listado-ofertas > div:first-child > div:last-child h3 {
  color: #fff;
  margin-bottom: 100px;
}

.listado-ofertas > div:first-child > div:last-child p {
    color: #fff;
    font-size: 20px;
    margin-bottom: 50px;
}

.listado-ofertas > div:first-child > div:last-child a {
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    transition: 0.4s;
}

.listado-ofertas > div:first-child > div:last-child a:hover {
    color: #000;
    border: 1px solid #fff;
    background-color: #fff;
}


.listado-ofertas > div.resto .img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

.listado-ofertas > div.resto .img img {
  position: absolute;
  display: block;
  transform: translate(50%, -50%) scale(1);
  top: 50%;
  right: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.listado-ofertas > div.resto .text > span {
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
  background-color: #696969;
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 10px;
}

.listado-ofertas > div.resto .text h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

.listado-ofertas > div.resto .text p {
  margin-bottom: 10px;
}

.listado-ofertas > div.resto .text a {
  color: #0022CC;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: 0.4s;
}

.listado-ofertas > div.resto .text a svg {
    max-width: 11px;
    fill: #0022CC;
    margin-left: 10px;
    transition: 0.4s;
}

.listado-ofertas > div.resto .text a:hover {
  color: #FA3718;
}

.listado-ofertas > div.resto .text a:hover svg {
    fill: #FA3718;
}

.cargar-mas-ofertas {
  cursor: pointer;
}

/*Cambios Gusta*/
a.woocommerce-product-gallery__trigger {
    visibility: hidden;
}

.cats-hijas {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 10px;
}

.cats-hijas a{
  border: 1px solid #E6E6E6;
  margin: 0;
  border-radius: 8px;
  padding: 8px 15px;
  font-weight: 600;
  color: var(--e-global-color-text);
  display: inline-block;
  transition: .3s;
}

.cats-hijas a:hover{
  background: var(--e-global-color-secondary);
  border-color: var(--e-global-color-secondary);
  color: var(--e-global-color-f0f4f2b);
}





@media(max-width: 1180px){
  .proveedores-dols img {
      max-width: calc((100% / 8) - 33px);
  }
}

@media(max-width: 1000px){
  .proveedores-dols img {
      max-width: calc((100% / 6) - 33px);
  }
}


@media(max-width: 768px){
  .listado-ofertas > div:first-child > div {
    max-width: 100%;
  }

  .listado-ofertas > div:first-child > div:first-child {
    height: 350px;
    margin-bottom: 20px;
    margin-right: 0;
  }

  .listado-ofertas > div {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .listado-ofertas > div:first-child > div:last-child {
    padding: 20px;
  }

  .proveedores-dols img {
      max-width: calc((100% / 5) - 33px);
  }
}

@media(max-width: 620px){

  .proveedores-dols img {
    margin: 5px;
  }

  .proveedores-dols img {
      max-width: calc((100% / 4) - 13px);
  }
}