/* Fuentes */
@font-face {
  font-family: "Oswald";
  src: url(https://fonts.gstatic.com/s/oswald/v13/Y_TKV6o8WovbUd3m_X9aAA.ttf);
}

@font-face {
  font-family: "Open Sans";
  src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFVZ0e.ttf);
}

/* Estilos generales */
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}


/* Barra de navegación principal */
.navbar {
  background-color: #000;
  overflow: hidden;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
}

.navbar .left {
  color: white;
}

.navbar .center {
  color: white;
}

.navbar a.right {
  color: white;
  text-decoration: none;
}

.navbar a.right span {
  padding-left: 10px;
}

/* Segunda barra */
.second-navbar {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 20px;
}

.second-navbar .logo {
  margin-right: 20px;
}

.second-navbar .search {
  display: flex;
  align-items: center;
}

.second-navbar .search input[type="text"] {
  width: 500px;
  border: 1px solid #ccc;
  padding: 15px 40px 15px 20px;
  border-radius: 20px;
}

.second-navbar .search .search-button {
  background-color: #fff;
  border: none;
  padding: 10px;
  border-radius: 20px;
  cursor: pointer;
}

.second-navbar .search .search-button i {
  color: #777;
}

.sucursal {
  display: flex;
  flex-direction: column; /* Organizar elementos en columna */
}

.sucursal .black {
  color: black;
}

.sucursal .red {
  color: #8d181f;
}

.sucursal .black,
.sucursal .red {
  display: inline-flex;
  align-items: center;
}


/* Estilos para los elementos adicionales (corazón y imagen) */
.extras {
  display: flex;
  align-items: center;
}

.extras .far.fa-heart {
  font-size: 22px;
}

.extras img {
  margin-left: 30px;
}

/* Media Query para pantallas más pequeñas */
@media (max-width: 768px) {
  .second-navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .second-navbar .logo {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
  }

  .second-navbar .search {
    margin-right: 0;
  }

  .second-navbar .search input[type="text"] {
    width: 100%;
    max-width: none;
    margin-right: 0;
  }

  .second-navbar .search .search-button {
    margin-left: auto; /* Mueve el botón hacia la derecha */
  }

  .second-navbar .sucursal {
    margin-top: 20px;
    text-align: center;
  }

  .second-navbar .sucursal i {
    margin-left: 5px;
  }

  .second-navbar .extras {
    margin-left: auto;
    justify-content: flex-end;
  }
}




/* Estilos para el menú rojo */
.menu {
  background-color: #8d181f;
  display: flex;
  justify-content: center;
  padding: 15px 0; 
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.menu a,
.dropbtn {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 16px; 
}

.menu a:hover,
.dropbtn:hover {
  background-color: #c62233;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
  position: absolute;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: black;
  display: block;
  padding: 15px 16px;
  text-align: left;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropbtn {
  background-color: #8d181f;
  border: none;
  cursor: pointer;
}

.dropbtn i {
  font-size: 14px;
}




/* Estilos para el menú responsive */
@media only screen and (max-width: 768px) {
  /* Barra de navegación principal */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  .navbar .left,
  .navbar .center,
  .navbar a.right {
    text-align: center;
    margin-bottom: 10px;
  }

  /* Segunda barra */
  .second-navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .second-navbar .search {
    margin-bottom: 20px;
  }

  .second-navbar .search input[type="text"] {
    width: 100%;
    max-width: none;
  }

  .second-navbar .search .search-button {
    margin-left: auto;
  }

  .second-navbar .sucursal {
    text-align: center;
  }

  .second-navbar .extras {
    justify-content: center;
  }

  /* Estilos para el menú rojo */
  .menu {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0; 
  }

  .menu ul {
    width: 100%;
  }

  .menu a,
  .dropbtn {
    padding: 15px 20px;
    width: 100%;
    text-align: center;
  }

  .dropdown {
    display: block;
    margin-bottom: 10px;
  }

  .dropdown-content {
    position: static;
    display: none;
    background-color: transparent;
    box-shadow: none;
    width: auto;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropbtn {
    padding: 15px 20px;
    width: 100%;
  }
}





/* Estilos para el contenedor con imagen de fondo */
.image-container {
  width: 100%;
  height: 70vh;
  background-size: cover;;
  background-repeat: no-repeat;
  background-position: center;
}






/* Estilos para el menú de productos */
.popular-products {
  background-color: #ffffff;
  padding: 40px;
  text-align: center; 
}

.popular-products h2 {
  margin-bottom: 20px; 
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #333333;
  position: relative;
}

.popular-products h2::before,
.popular-products h2::after {
  content: "";
  position: absolute;
  width: 10%; 
  height: 2px;
  background-color: #333333;
  top: 50%;
  transform: translateY(-50%);
}

.popular-products h2::before {
  left: 0;
  margin-left: 28%; /* Porcentaje hacia la izquierda */
}

.popular-products h2::after {
  right: 0;
  margin-right: 28%; /* Porcentaje hacia la derecha */
}

/* Media query para vista móvil */
@media screen and (max-width: 768px) {
  .popular-products h2::before {
    margin-left: 15%; /* Nuevo porcentaje hacia la izquierda en móvil */
  }

  .popular-products h2::after {
    margin-right: 15%; /* Nuevo porcentaje hacia la derecha en móvil */
  }
}

.product-menu {
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

.product-menu li {
  display: inline;
}

.product-menu a {
  color: #a5a5a5;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-right: 10px;
}

.product-menu a:hover {
  background-color: #f0f0f0;
  text-decoration: underline;
}



/* Estilos para el primer slider */
.slider {
  display: flex;
  justify-content: center;
}

.slider .slide {
  position: relative;
  width: 30vh;
  height: 75vh;
  overflow: hidden;
}

.slider .slide:not(:last-child) {
  margin-right: 80px;
}

.slider .slide img {
  width: 100%;
  height: 80%;
  background: cover;
}

.slider .slide .slide-description {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.slider .slide:hover .slide-description {
  opacity: 1;
}

.slider .slide .slide-description p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* Estilos para el segundo slider */
.slider2 {
  display: flex;
  justify-content: center;
}

.slider2 .slide2 {
  position: relative;
  width: 30vh;
  height: 75vh;
  overflow: hidden;
}

.slider2 .slide2:not(:last-child) {
  margin-right: 80px;
}

.slider2 .slide2 img {
  width: 100%;
  height: 80%;
  background: cover;
}

.slider2 .slide2 .slide2-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider2 .slide2:hover .slide2-description {
  opacity: 1;
}

.slider2 .slide2 .slide2-description p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}



/* Estilos para la sección dividida en 4 partes */
.four-parts {
  display: flex;
  flex-direction: row; 
  margin-top:20px;
  padding: 0;
  margin-bottom: 50px; 
}

.part {
  flex: 1; 
  height: 450px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Parte 1 (más grande) */
.part1 {
  flex: 2; /* Hacer que la primera parte sea el doble de ancho */
}






/*Estilos del footer */

.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 30px 20px 30px;
  color: #2f2f2f;
  background-color: #000000; /* Cambiar a negro (#000000) */
  border-top: 1px solid #e5e5e5;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}

.footer__logo {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 15px;
  font-weight: 400;
}

.nav__title {
  font-weight: 400;
  font-size: 15px;
}

.footer address {
  font-style: normal;
  color: #999;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  max-width: max-content;
  background-color: rgb(33, 33, 33, 0.07);
  border-radius: 100px;
  color: #2f2f2f;
  line-height: 0;
  margin: 0.6em 0;
  font-size: 1rem;
  padding: 0 1.3em;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #999;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
}
  
.legal__links {
  display: flex;
  align-items: center;
}

.heart {
  color: #2f2f2f;
}

@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  .nav__item--extra {
    flex-grow: 2;
  }
  
  .footer__addr {
    flex: 1 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}

.social-icons {
    display: flex;
    align-items: center;
  }

  .social-text {
    margin-right: 10px;
  }

  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    margin-right: 10px;
    color: red;
    transition: all 0.3s ease;
  }

  .social-icon:hover {
    transform: scale(1.1);
  }
  
  
/* Estilos para el contenedor con imagen y espacio en blanco alrededor */
.image-containerr {
  width: 100%;
  padding: 100px;
  box-sizing: border-box; 
}

.image-containerr img {
  width: 100%;
  height: auto; 
  display: block;
}


/* Estilos para la nueva sección con imagen arriba y 6 imágenes abajo del ícono de Instagram */

.gallery1-section {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.gallery1 img {
  width: 20vh;
  height: 20vh;
}




.gallery2 img {
  width: 27vh;
  height: 20vh;
}


.instagram-icon {
  margin-top: 20px;
  text-align: center;
  display: flex; 
  flex-direction: column; 
  align-items: center;
}

.instagram-icon i {
  color: #8d181f;
  font-size: 30px;
}


.instagram-icon span {
  font-size: 18px;
  margin-bottom: 25px;
}


/* Estilos para la imagen de arriba */
.gallery-section > .gallery:first-child > img {
  width: 148vh; 
  height: 20vh; 
}

/* Estilos para la busqueda */

.product-name {
    color: black;
    text-align: center; 
}

.first-product-name {
    color: black; 
    margin-left: 35px;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-link:hover {
    text-decoration: none;
    color: inherit; 
}

.product-link:active {
    text-decoration: none; 
    color: inherit;
}