* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*-----FONTS-----*/
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2'),
    url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-Light';
  src: url('../fonts/Inter-Light.woff2') format('woff2'),
    url('../fonts/Inter-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-Bold';
  src: url('../fonts/Inter-Bold.woff2') format('woff2'),
    url('../fonts/Inter-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Inter-ExtraLight';
  src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'),
    url('../fonts/Inter-ExtraLight.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'LFTEticaSheriff-Regular';
  src: url('../fonts/LFTEticaSheriff-Regular.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}


@font-face {
  font-family: 'LFTEticaSheriff-SemiBd';
  src: url('../fonts/LFTEticaSheriff-SemiBd.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-SemiBd.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'LFTEticaSheriff-Bold';
  src: url('../fonts/LFTEticaSheriff-Bold.woff2') format('woff2'),
    url('../fonts/LFTEticaSheriff-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

:root {
  --verde: #1F9562;
  --verde2: #024C36;
  --dorado: #EFB810;
  --gris: #8E8E93;
  --max-width: 1200px;

  /* Fuentes */
  --font-title: 'LFTEticaSheriff-Bold', serif;
  --font-subtitle1: 'LFTEticaSheriff-SemiBd', serif;
  --font-subtitle2: 'LFTEticaSheriff-Regular', serif;

  --font-paragraph: 'Inter', sans-serif;

  /* Tamaños de fuente */
  --font-size-title: 60px;
  --font-size-subtitle: 35px;
  --font-size-paragraph: 20px;
}


body {
  font-family: 'Inter', sans-serif;
}

/*SELECCIÓN DE TEXTO*/
/* Cambiar color de selección de texto */
::selection {
  background: var(--verde);
  color: white;
}

/* Para compatibilidad con Firefox */
::-moz-selection {
  background: var(--verde);
  color: white;
}

/*PRODUCTOS*/
.productos-categorias {
  width: 100%;
  box-sizing: border-box;
  padding: 60px 0;
  padding: 130px 0px 20px 0px;
}

.producto-bloque {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 80px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
}

.producto-img {
  max-width: 500px; /* o el ancho que prefieras */
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.producto-img img {
  opacity: 1;
  transition: none;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.bloque-fondo-verde {
  width: 100vw;
  height: 599px;
/*  background-image: url('../img/pattern/contenedor-verde-historia.svg'); */
  background-color: var(--verde);
  /* background-repeat: no-repeat; */
  background-size: 100% 100%;
  background-position: center;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;

  background-image: url('../img/pattern/pattern-florida.svg');
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
}

.contenido-max {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.titulo-productos {
  font-family: var(--font-title);
  font-size: 50px;
  line-height: 1;
  color: var(--verde);
  margin-top: 5px;
  margin-bottom: 10px;
}

.titulo-productos-verde {
  font-family: var(--font-title);
  font-size: 50px;
  line-height: 1;
  color: white;
  margin-top: 5px;
  margin-bottom: 10px;
}

.parrafo-productos {
  font-family: var(--font-subtitle2);
  font-size: 20px;
  color: var(--gris);
  padding-bottom: 20px;
}

.parrafo-productos-verde {
  font-family: var(--font-subtitle2);
  font-size: 23px;
  color: white;
  padding-bottom: 20px;
}

/* BOTÓN CON EFECTO */
.btn-descubre {
  font-family: 'Inter';
  background-color: var(--dorado);
  color: white;
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-descubre:hover {
  background-color: var(--verde);
  transform: scale(1.05);
  border:1px solid var(--dorado) ;
}

/* ZOOM EN IMAGEN */
.zoom img {
  transition: transform 0.3s ease;
}
.zoom:hover img {
  transform: scale(1.05);
}

/* ANIMACIONES ENTRADA */
.animar-izquierda {
  opacity: 1;
  transform: translateX(-60px);
  transition: opacity 0.8s, transform 0.8s;
}
.animar-derecha {
  opacity: 1;
  transform: translateX(60px);
  transition: opacity 0.8s, transform 0.8s;
}
.animar-izquierda.visible {
  opacity: 1;
  transform: translateX(0);
}
.animar-derecha.visible {
  opacity: 1;
  transform: translateX(0);
}

/* EFECTOS DE ENTRADA IMÁGENES */
.tilt-in-br {
  -webkit-animation: tilt-in-br 0.65s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: tilt-in-br 0.65s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.tilt-in-bl {
  -webkit-animation: tilt-in-bl 0.65s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: tilt-in-bl 0.65s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes tilt-in-br {
  0% {
    -webkit-transform: rotateY(-35deg) rotateX(-20deg) translate(250px, 250px) skew(12deg, 15deg);
            transform: rotateY(-35deg) rotateX(-20deg) translate(250px, 250px) skew(12deg, 15deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
            transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-br {
  0% {
    -webkit-transform: rotateY(-35deg) rotateX(-20deg) translate(250px, 250px) skew(12deg, 15deg);
            transform: rotateY(-35deg) rotateX(-20deg) translate(250px, 250px) skew(12deg, 15deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
            transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@-webkit-keyframes tilt-in-bl {
  0% {
    -webkit-transform: rotateY(35deg) rotateX(-20deg) translate(-250px, 250px) skew(-12deg, 15deg);
            transform: rotateY(35deg) rotateX(-20deg) translate(-250px, 250px) skew(-12deg, 15deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
            transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-bl {
  0% {
    -webkit-transform: rotateY(35deg) rotateX(-20deg) translate(-250px, 250px) skew(-12deg, 15deg);
            transform: rotateY(35deg) rotateX(-20deg) translate(-250px, 250px) skew(-12deg, 15deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
            transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

/* EFECTOS DE ENTRADA TEXTO */
.slide-in-blurred-left {
  -webkit-animation: slide-in-blurred-left 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
  animation: slide-in-blurred-left 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}
.slide-in-blurred-right {
  -webkit-animation: slide-in-blurred-right 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
  animation: slide-in-blurred-right 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}
@-webkit-keyframes slide-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
            transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
            transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
            transform: translateX(-1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
            transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@-webkit-keyframes slide-in-blurred-right {
  0% {
    -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
            transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
            transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-right {
  0% {
    -webkit-transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
            transform: translateX(1000px) scaleX(2.5) scaleY(0.2);
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) scaleY(1) scaleX(1);
            transform: translateX(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}

/*RECETAS-CARRUSEL*/
.new-container-carrucel {
  padding-top: 50px;
  padding-bottom: 50px;
}

.titulo-recetas-carrucel {
  font-family: var(--font-title);
  font-size: 50px;
  color: var(--verde);
  text-align: center;
}

.subtitulo-recetas-carrusel {
  font-family: var(--font-subtitle2);
  text-align: center;
  color: var(--dorado);
  font-size: 25px;
  margin-bottom: 50px;
}

.new-slider-wrapper {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  cursor: grab;
}

.new-card-list {
  display: flex;
  transition: transform 0.5s ease;
}

.new-card-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.new-image-container {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
}

.new-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nombre {
  font-family: var(--font-subtitle1);
  font-size: 30px;
  color: var(--verde);
  padding: 8px 20px;
  border-radius: 30px;
  display: inline-block;
}

.new-overlay {
  display: none !important;
}

/* .new-product-link {
  margin: auto;
} */

/* Botón final */
.florida-btn-container {
  text-align: center;
  margin-top: 30px;
}

.florida-btn-dorado {
  font-family: var(--font-subtitle1);
  background-color: var(--dorado);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.florida-btn-dorado:hover {
  background-color: #e6a600;
}

.iconos-de-productos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px ;
}
.icono-producto {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 14px;
  align-items: center;
  gap: 15px;
  
}

/* ANIMACIONES MÓVILES OPTIMIZADAS */
@keyframes tilt-in-br-mobile {
  0% {
    transform: rotateY(-15deg) rotateX(-10deg) translate(50px, 50px) skew(5deg, 5deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

@keyframes tilt-in-bl-mobile {
  0% {
    transform: rotateY(15deg) rotateX(-10deg) translate(-50px, 50px) skew(-5deg, 5deg);
    opacity: 0;
  }
  100% {
    transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg);
    opacity: 1;
  }
}

@keyframes slide-in-mobile-left {
  0% {
    transform: translateX(-100px) scaleX(1.2) scaleY(0.8);
    filter: blur(5px);
    opacity: 0;
  }
  100% {
    transform: translateX(0) scaleY(1) scaleX(1);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes slide-in-mobile-right {
  0% {
    transform: translateX(100px) scaleX(1.2) scaleY(0.8);
    filter: blur(5px);
    opacity: 0;
  }
  100% {
    transform: translateX(0) scaleY(1) scaleX(1);
    filter: blur(0);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .producto-bloque,
  .contenido-max {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    align-items: center;
    justify-content: center;
    gap: 30px;
    overflow: hidden;
  }

  .producto-img,
  .producto-texto {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .producto-img img {
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
    transform: none !important;
  }

  .titulo-productos {
    font-size: 35px;
    margin-bottom: 15px;
  }

  .titulo-productos-verde {
    font-size: 35px;
    margin-bottom: 15px;
  }

  .parrafo-productos {
    font-size: 18px;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .parrafo-productos-verde {
    font-size: 18px;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .btn-descubre {
    font-size: 16px;
    padding: 10px 25px;
    margin-top: 10px;
  }

  .bloque-fondo-verde {
    padding: 40px 0;
    height: auto;
    min-height: auto;
  }

  .productos-categorias {
    padding: 80px 0px 20px 0px;
  }

  /* Animaciones adaptadas para móviles */
  .animar-izquierda {
    /* transform: translateX(-20px); */
    transition: opacity 0.6s, transform 0.6s;
  }
  
  .animar-derecha {
    transform: translateX(0);
    transition: opacity 0.6s, transform 0.6s;
  }

  .animar-izquierda.visible,
  .animar-derecha.visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Animaciones de tilt más suaves para móviles */
  .tilt-in-br {
    animation: tilt-in-br-mobile 0.5s ease-out both;
  }
  
  .tilt-in-bl {
    animation: tilt-in-bl-mobile 0.5s ease-out both;
  }

  /* Animaciones de slide más suaves */
  .slide-in-blurred-left {
    animation: slide-in-mobile-left 0.5s ease-out both;
  }
  
  .slide-in-blurred-right {
    animation: slide-in-mobile-right 0.5s ease-out both;
  }
}

/* RESPONSIVE CARRUSEL */
@media screen and (max-width: 1024px) {
  .new-card-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .new-image-container {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }

  .slider-nombre {
    font-size: 25px;
  }

  .titulo-recetas-carrucel {
    font-size: 40px;
  }

  .subtitulo-recetas-carrusel {
    font-size: 22px;
  }
}
@media screen and (max-width: 1400px) {
  
.animar-izquierda {
    transform: translateX(0px);
    transition: opacity 0.7s, transform 0.7s;
  }
  /* .new-card-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .new-image-container {
    width: 280px;
    height: 280px;
  }

  .slider-nombre {
    font-size: 28px;
    padding: 8px 20px ;
  }*/
  
}

@media screen and (max-width: 768px) {
  .new-container-carrucel {
    padding: 30px 20px;
  }

  .titulo-recetas-carrucel {
    font-size: 35px;
    margin-bottom: 10px;
  }

  .subtitulo-recetas-carrusel {
    font-size: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .new-card-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 15px;
  }

  .new-image-container {
    width: 250px;
    height: 250px;
  }

  .slider-nombre {
    font-size: 22px;
    padding: 6px 16px;
  }

  .florida-btn-dorado {
    font-size: 16px;
    padding: 10px 25px;
  }
  
}

@media screen and (max-width: 480px) {
  .titulo-productos {
    font-size: 50px;
  }

  .titulo-productos-verde {
    font-size: 45px;
  }

  .parrafo-productos,
  .parrafo-productos-verde {
    font-size: 16px;
  }

  .btn-descubre {
    font-size: 14px;
    padding: 8px 20px;
  }

  .new-image-container {
    width: 200px;
    height: 200px;
  }

  .slider-nombre {
    font-size: 18px;
    padding: 5px 12px;
  }

  .titulo-recetas-carrucel {
    font-size: 35px;
  }

  .subtitulo-recetas-carrusel {
    font-size: 18px;
  }

  .producto-bloque {
    margin-bottom: 50px;
  }
}

/* RESPONSIVE EXTRA PEQUEÑO */
@media screen and (max-width: 320px) {
  .producto-bloque,
  .contenido-max {
    padding: 15px;
  }

  .titulo-productos,
  .titulo-productos-verde {
    font-size: 35px;
  }

  .parrafo-productos,
  .parrafo-productos-verde {
    font-size: 14px;
  }

  .new-image-container {
    width: 180px;
    height: 180px;
  }

  .slider-nombre {
    font-size: 16px;
  }

  .titulo-recetas-carrucel {
    font-size: 35px;
  }

  .subtitulo-recetas-carrusel {
    font-size: 16px;
  }
}

/* Olas */
.ola-superior-wrapper,
.ola-inferior-wrapper {
  width: 100vw;
  overflow: hidden;
  line-height: 0;
}

.ola-img {
  display: block;
  width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}
