  * {
    margin: 0;
    padding: 0; 
  }
  
  a {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

  :root {
    --altura-mobile-menu: 4 rem;
    --ancho-mobile-menu: 80%;
    --padding-left-right: 1.5rem;


    --margin-mobile: 1.25rem;
    --height-header: 5 rem;
    --white: white;
    --altura-mobile-submenu: calc(100vh - var(--height-header));

  }

  body {
    /* font-family: 'Open Sans', sans-serif; */
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%; /* Ajusta la altura según tus necesidades */
    background: linear-gradient(to bottom, #323232, #575756);
  }

html {
  /* min-height: 100vh; */
  min-height: 100%;
}
  

  #fp-nav ul li a span {
    background: #fff;
  }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
/* .loader {
  border: 8px solid #f3f3f3; 
  border-top: 8px solid #3498db; 
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
} */

/* @keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}  */

 .loader {
  height: 50px;
  width: 50px;
  border: red 3px solid;
  border-top: transparent;
  border-radius: 50%;
  animation: animate81323 0.8s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes animate81323 {
  0% {
    border: 3px solid rgb(255, 255, 255);
    border-top: transparent;
    border-left: transparent;
    transform: rotate(0deg);
  }

  50% {
    border: 3px dashed rgb(255, 255, 255);
    border-top: transparent;
    border-left: transparent;
    transform: rotate(270deg);
  }

  100% {
    border: 3px dotted rgb(255, 255, 255);
    border-top: transparent;
    border-left: transparent;
    transform: rotate(360deg);
  }
} 


/************************************ SECCION 1 ********************************/

  .home-background {
    background: url('../images/bg-dulce-detalle-fondo-s1.png') center/cover; /* Imagen con transparencia */
    height: 100%;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .imagen {
     /* background-color: rgba(154, 154, 154, 0.5);  */
    z-index: 1;
  }

  .imagen img {
    width: 100%;
    max-width: 100%; 
    height: auto; 
  }
  
  .center-content {
    /* background-color: rgba(61, 177, 40, 0.5);  */
    position: absolute;
    top: 45%;
    left: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: #ffffff;
    z-index: 3;
  }
  
  .center-content h1 {
    font-weight: 300; 
    font-size: 5rem;
    margin-bottom: 10px;
  }
  
  .home-button {
    font-family: 'Raleway', sans-serif;
    background-color: #f1c040;
    width: 13rem;
    border: none;
    color: #323232;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
  }
  
  .home-button:hover {
    background-color: transparent;
    border: 3px solid #f1c040; /* Ajusta el grosor de los bordes */
    color: #ffffff;
  }
  
  
/*********************************** SECCION 2 *******************************/

/* Estilo por defecto para ambas versiones del menú */
.desktop-menu, .mobile-menu-list {
  display: none;
}

/* Mostrar menú de escritorio cuando la pantalla es más grande que 768px */
@media screen and (min-width: 769px) {
  .desktop-menu {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
}

/* Mostrar menú móvil cuando la pantalla es 768px o menos */
@media screen and (max-width: 768px) {
  .mobile-menu {
    display: block;
    position: relative;
  }
}

.gray-background {
  /* height: 100vh; */
  height: 100%;
  background: url('../images/fondo-sec7.jpg') center/cover; 
  /*background-color: #323232;*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Contenedor de controles */
.controls-container {
  position: absolute;
  top: 30px;
  width: 100vw; 
  height: 70px; 
  /* background-color: #323232; Background para referencia menu */
  display:flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  
}

/* Estilo para el control de selección y cuadro de búsqueda */
.search-container {
  position: absolute;
  right: 20px;
  width: 100%;
  max-width: 250px; 
}

/* Iconos para el control de selección y cuadro de búsqueda */

/* Estilo para el cuadro de texto de búsqueda */
#search {
  width: calc(100% - 55px); 
  height: 18px;
  padding: 5px 10px;
  padding-right: 10px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border: 1px solid #ccc;
  transition: width 0.3s ease;
}

#search::placeholder {
  color: #ccc;
}

#search:focus {
  transform: translateX(-10%);
  outline: none;
  border-style: solid;
  border-width: 1px;
  border-color: #555;
}

/* Estilo para el botón de búsqueda (icono de lupa) */
#search i {
  cursor: pointer;
  display: none;
}

/* Estilo para el ícono de la lupa dentro del cuadro de texto */
#search-icon1 {
  position: absolute;
  top: 25%;
  left: 0px; 
  color: #ccc; 
  font-size: 16px;
  display: none;  
}

#search-icon2 {
  position:fixed;
  top: 52%;
  left: calc(100% - 50px); 
  transform: translateY(-50%);
  color: #fff; 
  font-size: 16px;
}

/* Estilo para el botón de búsqueda (icono de lupa) */
.search-button {
  cursor: pointer;
  border: 1px solid #ccc;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  background-color: #ccc;
  width: 40px;
  height: 30px;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: calc(100% - 40px); 
  transform: translateY(-50%);
}

.search-button i {
  color: #fff;
  font-size: 15px;
  position: relative;
  top: 1px;
  line-height: 1px;
  margin-left: 60%;

}

/**********Trabajo con el MENU************/

.desktop-menu {
  position: absolute;
  top: 0;
  /* background-color: rgba(150, 150, 0, 0.6); */
  width: 600px;
  height: 300px;
}

.desktop-menu a:link { text-decoration: none }

.desktop-menu a:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.desktop-menu a {
  text-align: center;
  margin: 0 20px;
  cursor: pointer;
  transition: transform 0.3s;
}

.desktop-menu a p {
  color: #fff;
}

.desktop-menu .category-icon {
  position: relative;
  width: 3.75rem;
  height: 3.75rem;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  overflow: hidden;
}

.desktop-menu .category-icon i {
  position: relative;
  align-items: center;
  top: 50%;
  font-size: 25px;
  transform: translateY(-60%);
}

.desktop-menu ul {
  align-items: center;
  display: flex;
  width: 600px;
  padding: 0;
}

.desktop-menu li {
  position: relative;
  list-style: none;
  padding: 20px;
  width: 4.0625rem;
  height: 4.0625rem;
  z-index: 4;
}

.desktop-menu li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.desktop-menu li a p {
  padding-top: .625rem; 
}  

/****** Mostrar SUBMENU Desktop *******/

.desktop-menu li:hover .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu {
  position: absolute; 
  right: 0; 
  /* padding: 10px;  */
  list-style: none; 
  /* background-color: rgba(50, 50, 50, 0.6);  */
  border-radius: 20px;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex; 
  flex-direction: row; 
  gap: 5px;
}

.submenu li a {
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s;
  display: flex;
}

.submenu li a:hover {
  border-radius: 0%;
}

.subcategory-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem ;
  height: 2.5rem;
  border-radius: 0%;
  background-color: transparent;
  border: 2px solid #fff;
  transition: all 0.3s ease;
} 

.subcategory-icon:hover {
  /* background-color: rgba(241, 192, 64, 0.5); */
  background-color: #f1c040;
  color: #000;
  border: none;
}

.subcategory-icon i {
  position: relative;
  left: 0;
  font-size: 16px; 
  display: none;
}

.submenu li a:hover .subcategory-icon i {
  display: block;
}


.subcategory-icon p {
  padding-bottom: .625rem;
  font-size: 12px; 
  text-align: center; 
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.submenu li a:hover .subcategory-icon p {
  display: none;
}


/******* MOSTRAR MENU MOVIL ******/
/* Estilos para pantallas pequeñas */
/*********************************/

@media only screen and (max-width: 768px) {
  
  /*Ocultar Menu Desktop*/
  ul.desktop-menu {
    display: none; 
  }

  /*Ocultar Cuadro de Busqueda*/
  .search-container {
    display: none;
  }  

  div.mobile-menu {
    position: absolute;
    top: 10px;
    width: var(--ancho-mobile-menu);
    height: var(--altura-mobile-menu);
    z-index: 9;
  }

  /* Estilos de la cabecera */
  .header {
    height: var(--height-header);
    width: 100%;
  }

  /*Menu de Opciones Movil*/
  .navbar {
    background-color: transparent;
    font-family: 'Raleway', sans-serif;
    /* font-family: 'Open Sans', sans-serif; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: wrap;
  }

  .navbar__logo {
    margin-left: var(--margin-mobile);
    color: var(--white);
    font-size: 1.5 rem;
  }

  .navbar__ul {
    width: 100%;
    height: 0;
    background-color: rgba(50, 50, 50, 1);
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
  }

  .navbar__li .category-icon {
  
  }

  .navbar__li .category-icon i {
    position: relative;
    left: 25%;
  }

  .navbar__ul li {

   }

  .navbar__ul li a {
    color: #fff;
    display: flex;
  }

  .navbar__ul a {
    align-items: center;
    height: 2rem;
  }

  .navbar__ul a:hover {
    background-color: rgba(154, 154, 154, 0.2);
  }

  /* Icono del Submenu *******/
  .navbar__li-temporada a .submenu-icon {
    position: relative;
    right: 1rem;
  }

  .navbar__ul li {

  }

  .navbar__li p{

  }

  .navbar__ul--show {
    height: calc(100vh - var(--height-header));
    
  }

  .navbar__li .category-icon {
      width: 3rem;
  }


  /**************/
  /* ICONO HAMBURGESA */
  /**************/
  .hamburger{
    position:relative;
    background-color: transparent;
    left:0;
    top:0;
    height:30px;
    width:30px;
    padding:20px 20px;
    -webkit-transform:translate3d(0, 0, 0);
    transform:translate3d(0, 0, 0);
    -webkit-transition:-webkit-transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
    transition:transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
    z-index:1002;
    cursor:pointer;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
  }
  .hamburger.is-active{
    background-color:none;
  }
  ._layer{
    background:#fff;
    margin-bottom:4px;
    border-radius:2px;
    width:28px;
    height:4px;
    opacity:1;
    -webkit-transform:translate3d(0, 0, 0);
    transform:translate3d(0, 0, 0);
    -webkit-transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
    transition:all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
  }
  .hamburger:hover .-top{
    -webkit-transform:translateY(-100%);
    -ms-transform:translateY(-100%);
    transform:translateY(-100%);
  }
  .hamburger:hover .-bottom{
    -webkit-transform:translateY(50%);
    -ms-transform:translateY(100%);
    transform:translateY(100%);
    }
  .hamburger.is-active .-top{
    -webkit-transform:translateY(200%) rotate(45deg) !important;
    -ms-transform:translateY(200%) rotate(45deg) !important;
    transform:translateY(200%) rotate(45deg) !important;
  }
  .hamburger.is-active .-mid{
    opacity:0;
  }
  .hamburger.is-active .-bottom{
    -webkit-transform:translateY(-200%) rotate(135deg) !important;
    -ms-transform:translateY(-200%) rotate(135deg) !important;
    transform:translateY(-200%) rotate(135deg) !important;
  }

  /***************Fin de Menu****************/
  /*******TRABAJO CON EL SUBMENU MOVIL*******/
  /******************************************/


  .submenu-icon {
    margin-left: auto; /* Mover el icono hacia la derecha */
  }

  .navbar__submenu {
    position:relative;
    width: 100%;
    height: 0;
  
    font-size: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .navbar__submenu li {
    background-color: rgba(218, 177, 139, 0.5);
  }

  .navbar__submenu--show {
    /* height: calc(100vh - var(--altura-mobile-submenu)); */
      height: auto;
  }

  .navbar__submenu .subcategory-icon-m i {  
    width: 1.5rem;
  }



  .subcategory-icon-m {
    position: relative;
    left: 10%;
    /* background-color: rgba(49, 174, 186, 0.2); */
    display: flex;
    flex-direction: row;
  }

  .subcategory-icon-m:hover {

  }

  .subcategory-icon-m p{

  } 

  .subcategory-icon-m i{
    display: block;
    position: relative;
    left: 0;
    margin-left: 0px;
  }



  
}  
    /************** FIN MENU PANTALLA PEQUENA*************/

    /* Estilo para el Swiper Wrapper */
    .swiper-wrapper {
      display: none;
    }

    /* Estilo para el Swiper */
    .swiper-container {
      display: flex;
      max-width: 1024px;
      margin: 10px auto;
      overflow: hidden;
    }

    .swiper-slide {
      max-width: 150px;
      margin-right: 10px;
      border-radius: 10px;
      box-shadow: 5px 5px 5px rgba(154, 154, 154, 0.5);
      /*padding-bottom: 5px;*/
      position: relative;
      overflow: hidden;
    }

    .swiper-slide img {
      max-width: 100%;
      object-fit: cover; /* Ajusta la imagen para cubrir todo el contenedor sin deformarla */
      transition: transform 0.5s ease; /* Añade transición a la imagen */
    }

    .details-container {
      position: absolute;
      top: 50%;
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: rgba(50, 50, 50, 0.8);                 
      color: #fff;
      padding: 10px;
      box-sizing: border-box;
      transform: translateY(100%);
      transition: transform 0.3s ease;
      opacity: 0;
    }

    .swiper-slide:hover img {
      transform: scale(1.1);
    }

    .swiper-slide:hover .details-container {
      transform: translateY(0);
      opacity: 1;
    }

    /*Configuracion de los detalles de los productos*/
    .price {
      font-family: 'Poppins', sans-serif;
      font-size: 2rem; 
      margin-bottom: 5px;
      position: absolute;
      top: 10px; 
      right: 10px; 
    }
    .price:first-letter {
      font-size: 1rem; 
      vertical-align: super;
    }

    .title-product {
      font-family: 'Open Sans', sans-serif; 
      font-weight: 500; 
      font-style: normal; 
      font-size: 18px;
      text-align: left; 
      padding: 5px 5px;
      position: absolute;
      width: 90%;
      text-transform: uppercase; 
    }

    .description {
      font-size: 14px;
      text-align: left ; 
      position: absolute;
      width: 90%;
      top: 40%; 
      left: 50%; 
      transform: translate(-50%, -50%); 
    }

    /***** FIN ESTILOS SWIPER *******/

    /* Estilo para Ventana Modal en el momento de la busqueda */
    .modal {
      position: absolute;
      justify-content: center;
      z-index: 100;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .modal-content {
      position: absolute;
      background-color: rgba(255, 255, 255, 0.1); 
      margin-top: 20%;
      border-radius: 10px;
      color:#fff;
      text-align: center;
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: 100;
      font-size: 18px;
      padding: 20px;
      width: 80%;
    }


    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

/*********************************** SECCION 3 *******************************/
.yellow-background {
  /* height: 100vh; */
  height: 100%;
  /*background-color: #ffb900;*/
  background: url('../images/fondo-sec6.jpg') center/cover;
  height: 100%;

}

.social-container {
  /* background-color: rgba(48, 43, 43, 0.5); */
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: relative;
  gap: 1rem;
  padding: 1.875rem 0;
  top: 30%;
}

.social-text{
  position: relative;
}

.social-icons {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  cursor: pointer;
  gap: 2rem;
  justify-content: center;
  transition: transform 0.3s;
}

.social-icons a:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.social-icons a {
  transition: transform 0.3s;
}

.social-icons .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #323232;
  color: #000;
  border-radius: 50%;
  overflow: hidden;
}

.social-icons .circle i {
  font-size: 1.5rem;
  color: #fff;
  transition: font-size 0.5s ease;
}

/* Estilo para el nuevo icono de teléfono móvil y número */
.phone-icon {
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction:row;
  align-items: center;
  color: #323232;
}

.phone-icon i {
  font-size: 30px; 
}

.phone-icon p {
  margin-left: 10px;
  margin-top: 5px;
}
.phone-icon a {
  text-decoration: none; 
  color: #323232;

  display: flex;
}

.copyright {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  position: absolute;
  text-align: center;
  bottom: 5px;
  right: 0%;
  width: 100%;
}
/***************************** KEY FRAMES **********************/

@keyframes aparecer {
  0% {
    opacity: 0.2;
    transform: translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/***************************** MEDIAS  **********************/

@media only screen and (min-width: 1367px) {
  /* Estilos para pantallas grandes */

  .swiper-container {
    width: 100%;
  }

  .swiper-slide {
    max-width: 350px; 
  }

}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
  
  /*Seccion1*/
  .imagen {
    position: relative;
  }
  .imagen img {  
    width: 75%;
    max-width: 100%; 
    transform: translateY(-5%);
  }

  .center-content {
    top: 35%;
  }
  
  .center-content h1 {
    font-size: 4rem;
  }

  /*Seccion2*/  
  .swiper-container {
    position: relative;
    width: 100%;
    top: 5%;
  }

  .swiper-slide {
    max-width: 260px; 
  }

  .price {
    font-size: 1.5rem; 
  }
  .price:first-letter {
    font-size: 0.8rem; 
  }
  
  .title-product {
    font-size: 14px;
   }
  
  .description {
    font-size: 12px;
    top: 45%; 
  }
}

@media only screen and (min-width: 960px) and (max-width: 1024px) {

 /*Seccion1*/
 .imagen {
  position: relative;
}
.imagen img {  
  width: 70%;
  max-width: 100%; 
  transform: translate3d(-10%,-5%,0);
}

.center-content {
  top: 40%;
}

.center-content h1 {
  font-size: 3.2rem;
}

  /*Seccion2*/  
  .swiper-container {
    position: relative;
    width: 100%;
    top: 5%;
  }

  .swiper-slide {
    max-width: 260px; 
  }

  .price {
    font-size: 1.5rem; 
  }
  .price:first-letter {
    font-size: 0.8rem; 
  }
  
  .title-product {
    font-size: 14px;
   }
  
  .description {
    font-size: 12px;
    top: 45%; 
  }
}

@media only screen and (max-width: 768px) {

  .home-background {

    flex-direction: column;
  }

  /*Seccion1*/
  .imagen {
    position: relative;
    top: 0;
  }

  .imagen img {  
    width: 100%;
    max-width: 100%; 
  }
  
  .center-content {
    align-items: center;
    top: 50%;
    left: 0;
  }
  
  .center-content h1 {
    font-size: 3rem;
    text-align: center;
  }

  /*Seccion 2 780 px */

  .loader {
    left: 40%;

  }

  .swiper-container {
    width: 100%;
  }

  .swiper-slide {
    max-width: 240px; 
  }

  .price {
    font-size: 1.5rem; 
  }
  .price:first-letter {
    font-size: 0.8rem; 
  }
  
  .title-product {
    font-size: 14px;
   }
  
  .description {
    font-size: 12px;
    top: 45%; 
  }

  .yellow-background {
    background: url('../images/fondo-sec6movil.jpg') center/cover;

  }

  .gray-background {
       background: url('../images/fondo-sec7movil.jpg') center/cover;
      
  }
  /*Seccion3*/  
  .copyright {
    font-family: 'Open Sans', sans-serif;
    font-size: 8px;
  }

}

/************* FIN MEDIAS *****************/
/*Keyframes del menu*/

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

/*Keyframes del la flecha*/
@keyframes pulse {
  0% {
     transform: translateX(-50%) scale(1);
  }
  50% {
     transform: translateX(-50%) scale(1.2);
  }
  100% {
     transform: translateX(-50%) scale(1);
  }
}