/* =========================
   FOODHALL (section #features)
   MOBILE FIRST APPROACH
   LÍNEAS MORADAS OPTIMIZADAS
   ========================= */

/* ====== ESTILOS BASE (MOBILE) ====== */

/* Container principal */
#features.m-features .m-container.m-container-whole {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 24px;
  position: relative;
}

/* ====== LÍNEAS MORADAS DECORATIVAS ====== */
.foodhall-section {
  position: relative;
  z-index: 2;
}

.foodhall-section__adorno1,
.foodhall-section__adorno2 {
  position: absolute;
  z-index: 1;
  width: 50px;
  height: 50px;
}

.foodhall-section__adorno1 {
  top: -8px;
  left: 8px;
  border-top: 2px solid #9994f7;
  border-left: 2px solid #9994f7;
}

.foodhall-section__adorno2 {
  bottom: -10px !important;
  right: 8px;
  border-bottom: 2px solid #9994f7;
  border-right: 2px solid #9994f7;
}

/* Columna de texto */
#features.m-features .m-foodhall__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

#features.m-features .m-foodhall__logo-title-container {
  width: 100%;
  margin-bottom: 30px;
}

/* Logo */
#features.m-features .foodhall-logo {
  margin-bottom: 40px;
  margin-top: 0;
  width: 159.1px;
  max-width: 150px;
  height: auto;
}

#features.m-features .foodhall-logo picture {
  display: block;
  width: 100%;
}

#features.m-features .foodhall-logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Título */
#features.m-features .m-foodhall__title.m--alternate {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: nowrap;
  height: auto;
}

#features.m-features .m-foodhall__title .m-foodhall__heading {
  margin: 0;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  color: #000;
  height: auto;
  display: flex;
  align-items: center;
}

#features.m-features .m-foodhall__title .m-foodhall__subtitle {
  margin: 0;
  padding: 0;
  font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.5px;
  max-width: 160px;
  text-align: left;
  color: #000;
  display: flex;
  align-items: center;
  height: auto;
}

/* Descripción */
#features.m-features .m-foodhall__description {
  margin-bottom: 35px;
  margin-top: 10px;
  font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: #000;
  max-width: 470px;
  text-align: left;
}

/* Botón */
#features.m-features .m-foodhall__button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
  padding: 16px 45px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  align-self: flex-end;
  position: relative;
  transform: none;
}

#features.m-features .m-foodhall__button:hover {
  background: #333;
}

/* Slider */
#features.m-features .m-features__slider {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto 5px;
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

#features.m-features .swiper-slide picture,
#features.m-features .swiper-slide .m-lazy__img {
  display: block;
  width: 100%;
  height: 100%;
}

#features.m-features .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Franja morada + contador */
#features.m-features .swiper-slide p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  margin: 0;
  background: rgba(153, 148, 247, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1.5px;
  z-index: 5;
}

/* Navegación del slider */
#features.m-features .swiper-navigation {
  position: absolute;
  bottom: 6px;
  top: auto;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 10;
  height: auto;
  align-items: center;
}

#features.m-features .swiper-button-prev,
#features.m-features .swiper-button-next {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  position: relative;
  top: 50%;
}

#features.m-features .swiper-button-prev:hover,
#features.m-features .swiper-button-next:hover {
  background: #000;
  border-color: #060606;
}

#features.m-features .swiper-button-prev svg path,
#features.m-features .swiper-button-next svg path {
  fill: #fff;
  stroke: #fff;
}

#features.m-features .swiper-button-prev svg,
#features.m-features .swiper-button-next svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  stroke: #fff;
}

/* ====== 320px - iPhone SE ====== */
@media (min-width: 320px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 55px;
    height: 55px;
  }

  .foodhall-section__adorno1 {
    top: -10px;
    left: 5px;
  }

  .foodhall-section__adorno2 {
    bottom: 8px;
    right: 10px;
  }
}

/* ====== 375px - iPhone X/11/12/13 ====== */
@media (min-width: 375px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 63px;
    height: 63px;
  }

  .foodhall-section__adorno1 {
    top: -12px;
    left: 5px;
  }

  .foodhall-section__adorno2 {
    bottom: 10px;
    right: 15px;
  }
}

/* ====== 425px - Móviles grandes ====== */
@media (min-width: 425px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 75px;
    height: 75px;
  }

  .foodhall-section__adorno1 {
    top: -15px;
    left: 5px;
  }

  .foodhall-section__adorno2 {
    bottom: 12px;
    right: 20px;
  }
}

/* ====== TABLET PEQUEÑO (min-width: 600px) ====== */
@media (min-width: 600px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 100px;
    height: 100px;
  }

  .foodhall-section__adorno1 {
    top: -25px;
    left: 35px;
  }

  .foodhall-section__adorno2 {
    bottom: -5px;
    right: 25px;
  }
}

/* ====== TABLET (min-width: 769px) ====== */
@media (min-width: 769px) {
  /* Líneas moradas decorativas - tamaño y posición tablet */
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 120px;
    height: 120px;
    z-index: 3;
  }

  .foodhall-section__adorno1 {
    top: -20px;
    left: 4px;
  }

  .foodhall-section__adorno2 {
    bottom: 15px;
    right: -25px;
  }

  /* Layout horizontal en desktop */
  #features.m-features .m-container.m-container-whole {
    flex-direction: row;
    align-items: flex-start;
    width: 95%;
    gap: 28px;
    padding: 0 10px;
  }

  #features.m-features .m-foodhall__content {
    padding: 20px;
    max-width: 1200px;
  }

  /* Logo más grande */
  #features.m-features .foodhall-logo {
    max-width: 250px;
  }

  /* Título alineado al centro */
  #features.m-features .m-foodhall__title.m--alternate {
    align-items: center;
    gap: 15px;
    height: 69px;
  }

  #features.m-features .m-foodhall__title .m-foodhall__heading {
    font-size: 88px;
    line-height: 0.85;
    height: 69px;
  }

  #features.m-features .m-foodhall__title .m-foodhall__subtitle {
    font-size: 20px;
    line-height: 130%;
    max-width: 170px;
    height: 69px;
  }

  /* Botón ajustado a la derecha */
  #features.m-features .m-foodhall__button {
    width: auto;
    max-width: 470px;
    min-width: 280px;
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    right: auto;
    transform: none;
  }

  /* Slider más grande */
  #features.m-features .m-features__slider {
    aspect-ratio: 14 / 11;
    max-width: 658px;
  }

  /* Franja morada más alta */
  #features.m-features .swiper-slide p {
    height: 56px;
    font-size: 16px;
  }

  /* Navegación con más espacio */
  #features.m-features .swiper-navigation {
    padding: 0 24px;
  }

  /* Botones de navegación más grandes */
  #features.m-features .swiper-button-prev,
  #features.m-features .swiper-button-next {
    width: 48px;
    height: 48px;
  }

  #features.m-features .swiper-button-prev svg,
  #features.m-features .swiper-button-next svg {
    width: 24px;
    height: 24px;
  }
}

/* ====== 1024px - Tablets horizontales y laptops pequeñas ====== */
@media (min-width: 1024px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 180px;
    height: 180px;
  }

  .foodhall-section__adorno1 {
    top: -25px;
    left: 5px;
  }

  .foodhall-section__adorno2 {
    bottom: 20px;
    right: 15px;
  }
}

/* ====== DESKTOP EXTRA AMPLIO (min-width: 1400px) ====== */
@media (min-width: 1400px) {
  /* Líneas moradas más grandes */
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 240px;
    height: 240px;
  }

  .foodhall-section__adorno1 {
    top: -30px;
    left: 5px;
  }

  .foodhall-section__adorno2 {
    bottom: 25px;
    right: 35px;
  }

  /* Contenedor */
  #features.m-features .m-container.m-container-whole {
    width: 80%;
    max-width: 1600px;
    gap: 20px;
  }

  /* Tipografía más grande en pantallas amplias */
  #features.m-features .m-foodhall__title .m-foodhall__heading {
    font-size: 110px;
  }

  #features.m-features .m-foodhall__title .m-foodhall__subtitle {
    font-size: 22px;
  }

  #features.m-features .m-foodhall__description {
    font-size: 18px;
    line-height: 26px;
  }
}

/* ====== 2560px - Monitores 2K y 4K ====== */
@media (min-width: 2560px) {
  .foodhall-section__adorno1,
  .foodhall-section__adorno2 {
    width: 320px;
    height: 320px;
  }

  .foodhall-section__adorno1 {
    top: -40px;
    left: 50px;
  }

  .foodhall-section__adorno2 {
    bottom: 30px;
    right: 50px;
  }
}