:root {
    --primary-color: #01B494;  /* Color verde predeterminado */
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Reemplazar todas las instancias de var(--primary-color) con var(--primary-color) en todo el CSS */

/* Reemplazar todas las instancias de colores específicos con la variable */
.button {
  background-color: #01B494;
  background-color: var(--primary-color);
}

.link {
  color: #01B494;
  color: var(--primary-color);
}

/* Reemplazar los siguientes colores en tu CSS:
var(--primary-color) -> var(--primary-color)
#F597BB -> var(--primary-color)
#FE595D -> var(--primary-color)
*/

/* Ejemplos de elementos comunes que deberían usar la variable: */
.selected {
  background-color: #01B494;
  background-color: var(--primary-color);
}

.active {
  color: #01B494;
  color: var(--primary-color);
}

.nav-link.active {
  color: #01B494;
  color: var(--primary-color);
}

.btn-primary {
  background-color: #01B494;
  background-color: var(--primary-color);
  border-color: #01B494;
  border-color: var(--primary-color);
}

.text-primary {
  color: #01B494 !important;
  color: var(--primary-color) !important;
}

.SideMenu_sideLeft__eFw2t {
    background-color: var(--primary-color);
    width: 15vw; /* Aproximadamente 1/8 del ancho total */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1vw;
    height: 100vh; /* Asegura que el menú lateral ocupe toda la altura de la pantalla */
    border-top-right-radius: 0.521vw; /* 10px en 1920px */
    border-bottom-right-radius: 0.521vw; /* 10px en 1920px */
    overflow-y: auto;
    overflow-x: hidden; /* Evita cualquier desbordamiento horizontal */
    position: fixed; /* Hace que el SideMenu sea fijo en la pantalla */
    top: 0;
    left: 0;
    z-index: 1001;
  }
  
  .SideMenu_sideLeft__eFw2t .SideMenu_contentWrapper__CVHvp {
    width: 100%;
    max-width: 13vw; /* Un ancho máximo para que `margin: 0 auto` funcione */
    margin: 0 auto; /* Centra horizontalmente dentro del padre */
    text-align: left; /* Alinea el texto a la izquierda */
  }
  
  .SideMenu_logoSideMenu__sNHWf {
    flex: 0 0 auto; /* No crece, no se encoge, tamaño automático */
    width: 90%;
    margin: 2vw 0;
  }

  .SideMenu_logoSideMenu__sNHWf img {
    width: 100%;
  }
  
  .SideMenu_menuPrincipal__FL40L {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1vw; /* 10px en 1920px */
    margin: 0 auto 5vw;
  }
  
  .SideMenu_menuCerrarSoporte__FnBTH {
    flex: 1 0 auto; /* No crece, no se encoge, tamaño automático */
    margin-top: auto; /* Empuja este div hacia abajo */
    margin-bottom: 1vw; /* Margen inferior */
    display: flex;
    flex-direction: column; /* Alinea los botones uno debajo del otro */
    gap: 1vw; /* 10px en 1920px */
    margin: 0 auto;
  }
  
  .SideMenu_menuPrincipal__FL40L button,
  .SideMenu_menuCerrarSoporte__FnBTH button {
    /* Estilos para los botones */
    color: white;
    background: none;
    border: none;
    padding: 0.521vw; /* 10px en 1920px */
    cursor: pointer;
    text-align: left;
    font-size: 0.938vw;
    font-weight: bold;
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover,
  .SideMenu_menuCerrarSoporte__FnBTH button:hover {
    /* Estilos para los botones al pasar el mouse */
    color: #f8f8f8;
    width: 100%;
  }
  
  .SideMenu_cerrarSesionBotonSide__OZ1kv {
    position: relative;
    top: auto;
    right: auto;
    padding: 0.521vw; /* 10px en 1920px */
    border-radius: 0.26vw; /* 5px en 1920px */
    /* Resto de los ajustes de estilo específicos para SideMenu */
  }
  
  .SideMenu_menuIcon__Oqjis {
    width: 24px;  /* Ajusta el tamaño del ícono */
    height: 24px;
    margin-right: 8px;  /* Espacio entre el ícono y el texto */
    vertical-align: middle; /* Alinear el ícono verticalmente con el texto */
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover,
  .SideMenu_menuCerrarSoporte__FnBTH button:hover {
    color: var(--primary-color);
    background-color: #fff;
    border-radius: 2vw;
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconHome__FoVyO {
    content: url(https://unifoodapp.com/static/media/home_green.c3a3104050e0bb476715.svg);
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconDish__MkBeA {
    content: url(https://unifoodapp.com/static/media/dish_1_green.2d3f51d79d9ca2b6e800.svg);
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconFridge__BcB-b {
    content: url(https://unifoodapp.com/static/media/fridge_green.aa0c0dfd8b392ed82522.svg);
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconCalendar__B8B8d {
    content: url(https://unifoodapp.com/static/media/calendar_green.1bba43a36cbcbcc15f1a.svg);
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconPreferences__d6yUj {
    content: url(https://unifoodapp.com/static/media/preferences_green.8ef55242ee04afb96690.svg);
  }
  
  .SideMenu_menuPrincipal__FL40L button:hover .SideMenu_menuIconSettings__Llv-J {
    content: url(https://unifoodapp.com/static/media/settings_green.c435e7b1fbe917f0c695.svg);
  }
  
  .SideMenu_menuCerrarSoporte__FnBTH button:hover .SideMenu_menuIconSupport__ZMsBf {
    content: url(https://unifoodapp.com/static/media/support_green.460865cf7df76e687525.svg);
  }
  
  #SideMenu_dashboardButton__9kLRz {
    margin-top: 2vw;
  }
  
  /* Aumentar la especificidad de los estilos del botón de cerrar sesión en el SideMenu */
  .SideMenu_sideLeft__eFw2t .SideMenu_menuCerrarSoporte__FnBTH .SideMenu_cerrarSesionBotonSide__OZ1kv {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    text-align: left !important;
    padding: 0.521vw !important;
    margin: 0 !important;
    color: white !important;
    background: none !important;
    border-radius: 0.26vw !important;
    font-size: 0.938vw !important;
  }
  
  .SideMenu_sideLeft__eFw2t .SideMenu_menuCerrarSoporte__FnBTH .SideMenu_cerrarSesionBotonSide__OZ1kv:hover {
    color: var(--primary-color) !important;
    background-color: #fff !important;
    border-radius: 2vw !important;
  }
  
  /* Asegurar que el botón mantenga estos estilos en todas las resoluciones */
  @media screen and (min-width: 481px) {
    .SideMenu_sideLeft__eFw2t .SideMenu_menuCerrarSoporte__FnBTH .SideMenu_cerrarSesionBotonSide__OZ1kv {
      position: relative !important;
      top: auto !important;
      right: auto !important;
    }
  }
  
  /* Add this at the end of the file */
  @media screen and (max-width: 480px) {
    .SideMenu_sideLeft__eFw2t {
      display: none;
    }
  }

  @media screen and (min-width:481px) and (max-width:1240px) {
    .SideMenu_menuPrincipal__FL40L {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        gap: 1vw; /* 10px en 1920px */
        margin: 0 auto;
      } 
  }
.internal-menu {
  --menu-height: 5vw; /* Aumentar altura para mejor proporción */
  --border-radius: 1.042vw;
  --padding: 1.042vw;
  --green-bg: #e0f7fa;
  --white: #fff;
  
  position: fixed;
  top: 0;
  left: 15vw;
  width: 85%;
  height: var(--menu-height);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 1000;
  box-shadow: 0 0.208vw 1.042vw rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--padding);
}

/* Search */
.internal-menu__search {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(224, 247, 250, 0.8) 0%, rgba(240, 253, 250, 0.9) 100%);
  border-radius: var(--border-radius);
  padding: 0.521vw;
  width: 30vw;
  border: 1px solid rgba(1, 180, 148, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 0.104vw 0.521vw rgba(0, 0, 0, 0.05);
}

.internal-menu__search:focus-within {
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
  border-color: #01B494;
  box-shadow: 0 0 0 3px rgba(1, 180, 148, 0.1), 0 0.208vw 0.833vw rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.internal-menu__search-input {
  flex: 1 1;
  border: none;
  background: none;
  padding: 0.521vw;
  font-size: 0.833vw;
  color: #333;
  font-weight: 500;
}

.internal-menu__search-input::placeholder {
  color: #999;
}

.internal-menu__search-clear,
.internal-menu__search-submit {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.521vw;
  font-size: 0.938vw;
  color: #01B494;
  transition: all 0.2s ease;
  border-radius: 0.521vw;
}

.internal-menu__search-clear:hover,
.internal-menu__search-submit:hover {
  color: #018570;
  background-color: rgba(1, 180, 148, 0.1);
}

/* Controls Section */
.internal-menu__controls {
  display: flex;
  align-items: center;
  gap: 1.042vw;
}

/* Language Selector */
.internal-menu__language {
  border-radius: var(--border-radius);
  padding: 0.521vw 1.042vw;
  cursor: pointer;
  background-color: var(--green-bg);
}

.internal-menu__language:hover {
  background: linear-gradient(135deg, rgba(224, 247, 250, 1) 0%, rgba(240, 253, 250, 1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 0.208vw 0.833vw rgba(0, 0, 0, 0.1);
}

.internal-menu__flag-container {
  display: flex;
  align-items: center;
  gap: 0.521vw;
}

.internal-menu__flag-wrapper {
  width: 2.083vw;
  height: 2.083vw;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.internal-menu__flag {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.internal-menu__language-code {
  font-size: 0.833vw;
  font-weight: 500;
  color: #333;
}

/* Notifications */
.internal-menu__notification-btn {
  background: linear-gradient(135deg, rgba(224, 247, 250, 0.8) 0%, rgba(240, 253, 250, 0.8) 100%);
  border: 1px solid rgba(1, 180, 148, 0.2);
  border-radius: var(--border-radius);
  padding: 0.521vw;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0.104vw 0.521vw rgba(0, 0, 0, 0.05);
}

.internal-menu__notification-btn:hover {
  background: linear-gradient(135deg, rgba(224, 247, 250, 1) 0%, rgba(240, 253, 250, 1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 0.208vw 0.833vw rgba(0, 0, 0, 0.1);
}

.internal-menu__notification-icon {
  width: 2.083vw;
  height: 2.083vw;
}

/* Profile Section */
.internal-menu__profile {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(224, 247, 250, 0.8) 0%, rgba(240, 253, 250, 0.8) 100%);
  border: 1px solid rgba(1, 180, 148, 0.2);
  border-radius: var(--border-radius);
  padding: 0.521vw 1.042vw;
  cursor: pointer;
  gap: 0.521vw;
  transition: all 0.2s ease;
  box-shadow: 0 0.104vw 0.521vw rgba(0, 0, 0, 0.05);
}

.internal-menu__profile:hover {
  background: linear-gradient(135deg, rgba(224, 247, 250, 1) 0%, rgba(240, 253, 250, 1) 100%);
  transform: translateY(-1px);
  box-shadow: 0 0.208vw 0.833vw rgba(0, 0, 0, 0.1);
}

.internal-menu__user-name {
  font-size: 0.833vw;
  font-weight: 500;
  color: #333;
}

.internal-menu__admin-crown {
  position: absolute;
  top: -0.6vw;
  left: 23%;
  transform: translateX(-50%);
  width: 2.083vw;
}

.internal-menu__avatar {
  width: 2.083vw;
  height: 2.083vw;
  border-radius: 50%;
  object-fit: cover;
}

/* Dropdowns */
.internal-menu__dropdown {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  box-shadow: 0 0.521vw 2.083vw rgba(0, 0, 0, 0.15);
  padding: 0.521vw 0;
  min-width: 10.417vw;
  z-index: 2000;
  border: 1px solid rgba(1, 180, 148, 0.15);
}

/* Dropdown Options */
.internal-menu__dropdown {
  position: absolute;
  top: 100%;
  right: var(--padding);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 0.208vw 0.833vw rgba(0, 0, 0, 0.1);
  min-width: 10.417vw;
  z-index: 1001;
}

.internal-menu__language-option,
.internal-menu__profile-option,
.internal-menu__hamburger-option {
  padding: 0.833vw 1.042vw;
  display: flex;
  align-items: center;
  gap: 0.521vw;
  cursor: pointer;
  transition: background-color 0.2s;
}

.internal-menu__language-option:hover,
.internal-menu__profile-option:hover,
.internal-menu__hamburger-option:hover {
  background-color: var(--green-bg);
}

.internal-menu__flag-small {
  width: 1.042vw;
  height: 1.042vw;
}

.internal-menu__profile-info {
  padding: 0.833vw 1.042vw;
  border-bottom: 0.052vw solid #eee;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.417vw;
}

.internal-menu__subscription-status {
  font-size: 0.729vw;
  padding: 0.208vw 0.417vw;
  border-radius: 0.208vw;
  display: inline-flex;
  align-items: center;
  gap: 0.208vw;
}

.internal-menu__subscription-status.premium {
  color: #FFD700;
  background-color: rgba(255, 215, 0, 0.1);
}

.internal-menu__subscription-status.free {
  color: #808080;
  background-color: rgba(128, 128, 128, 0.1);
}

/* ✅ NUEVOS ESTILOS: Información detallada de suscripción */
.internal-menu__subscription-details {
  display: flex;
  flex-direction: column;
  gap: 0.417vw;
}

.internal-menu__trial-info,
.internal-menu__subscription-active {
  display: flex;
  flex-direction: column;
  gap: 0.208vw;
}

.internal-menu__trial-days {
  font-size: 0.625vw;
  color: #01B494;
  font-weight: 600;
}

.internal-menu__next-payment {
  font-size: 0.573vw;
  color: #666;
  font-weight: 400;
}

.internal-menu__loading {
  font-size: 0.625vw;
  color: #01B494;
  font-style: italic;
}

.internal-menu__subscription-basic {
  font-size: 0.625vw;
  color: #01B494;
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
  .internal-menu {
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(1, 180, 148, 0.95) 0%, rgba(0, 160, 130, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    height: 15vw;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .internal-menu__mobile {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .internal-menu__logo {
    width: 28.462vw;
    padding: 3.615vw 2.128vw;
    filter: brightness(1.1);
  }

  .internal-menu__controls {
    gap: 2.083vw;
  }

  .internal-menu__language {
  background-color: transparent;
  background-color: initial;
}

  .internal-menu__flag {
    width: 8vw;
    height: 8vw;
    border-radius: 50%;
  }

  .internal-menu__flag-container,
  .internal-menu__notification-btn,
  .internal-menu__profile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.25) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 38.305px;
    padding: 1.5vw;
    width: 10vw;
    height: 10vw;
    transition: all 0.2s ease;
  }

  .internal-menu__notification-icon {
    filter: brightness(0) invert(1);
    width: 5vw;
    height: 5vw;
  }

  .internal-menu__admin-crown {
    top: -1.042vw;
    left: 66%;
    width: 4.083vw;
  }

  .internal-menu__avatar {
    width: 8.5vw;
    height: 7.5vw;
  }

  .internal-menu__hamburger {
    font-size: 7.083vw;
    background: none;
    border: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 0.521vw;
    color: var(--white);
    cursor: pointer;
    padding: 0.521vw;
    transition: all 0.2s ease;
  }

  .internal-menu__hamburger:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.35) 100%);
    transform: translateY(-1px);
    color: #333;
  }

  .internal-menu__dropdown {
    width: 90vw;
    right: 5vw;
  }

  .internal-menu__language-option,
  .internal-menu__profile-option,
  .internal-menu__hamburger-option {
    padding: 3vw;
    font-size: 3.5vw;
  }

  .internal-menu__flag-small {
    width: 4vw;
    height: 4vw;
  }

  .internal-menu__flag-wrapper {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
  }

  .internal-menu__flag {
    position: absolute;
    width: 100%;
    height: 70%;
    object-fit: cover;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .internal-menu__subscription-status {
    font-size: 2.5vw;
    padding: 1vw 2vw;
  }

  .internal-menu__search-btn-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 38.305px;
    padding: 1.5vw;
    width: 10vw;
    height: 10vw;
    font-size: 5vw;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .internal-menu__search-btn-mobile:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.35) 100%);
    transform: translateY(-1px);
  }

  .internal-menu__search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
  }

  .internal-menu__search-modal-content {
    background: white;
    border-radius: 4vw;
    width: 100%;
    max-width: 90vw;
    padding: 6vw;
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin-top: 25vw; /* Se añade margen para bajar el modal */
  }

  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-5vw) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .internal-menu__search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4vw;
  }

  .internal-menu__search-modal-header h3 {
    margin: 0;
    font-size: 5vw;
    color: #333;
    font-weight: 600;
  }

  .internal-menu__search-modal-close {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 8vw;
    height: 8vw;
    font-size: 5vw;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .internal-menu__search-modal-close:hover {
    background: #e0e0e0;
    color: #333;
  }

  .internal-menu__search-modal-form {
    display: flex;
    flex-direction: column;
    gap: 4vw;
  }

  .internal-menu__search-modal-input-container {
    position: relative;
    display: flex;
    align-items: center;
  }

  .internal-menu__search-modal-input {
    width: 100%;
    padding: 4vw;
    font-size: 4vw;
    border: 2px solid #e0e0e0;
    border-radius: 2vw;
    background: #fafafa;
    color: #333;
    transition: all 0.3s ease;
  }

  .internal-menu__search-modal-input:focus {
    outline: none;
    border-color: #01B494;
    background: white;
    box-shadow: 0 0 0 3px rgba(1, 180, 148, 0.1);
  }

  .internal-menu__search-modal-input::placeholder {
    color: #999;
  }

  .internal-menu__search-modal-clear {
    position: absolute;
    right: 3vw;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 6vw;
    height: 6vw;
    font-size: 4vw;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .internal-menu__search-modal-clear:hover {
    background: #e0e0e0;
    color: #333;
  }

  .internal-menu__search-modal-submit {
    background: linear-gradient(135deg, #01B494 0%, #00A082 100%);
    color: white;
    border: none;
    border-radius: 2vw;
    padding: 4vw;
    font-size: 4vw;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vw 2vw rgba(1, 180, 148, 0.3);
  }

  .internal-menu__search-modal-submit:hover {
    background: linear-gradient(135deg, #00A082 0%, #008F70 100%);
    transform: translateY(-0.5vw);
    box-shadow: 0 1.5vw 3vw rgba(1, 180, 148, 0.4);
  }

  .internal-menu__search-modal-submit:active {
    transform: translateY(0);
  }
}

/* Tablet Styles */
@media screen and (min-width: 481px) and (max-width: 1024px) {
  .internal-menu {
    --menu-height: 6vw;
    --border-radius: 1.5vw;
    --padding: 1.5vw;
    height: var(--menu-height);
  }

  .internal-menu__search {
    width: 35vw;
    padding: 0.8vw;
  }

  .internal-menu__search-input {
    font-size: 1.2vw;
    padding: 0.8vw;
  }

  .internal-menu__search-clear,
  .internal-menu__search-submit {
    font-size: 1.4vw;
    padding: 0.8vw;
  }

  .internal-menu__controls {
    gap: 1.5vw;
  }

  .internal-menu__language,
  .internal-menu__notification-btn,
  .internal-menu__profile {
    padding: 0.8vw 1.5vw;
  }

  .internal-menu__user-name,
  .internal-menu__language-code {
    font-size: 1.2vw;
  }

  .internal-menu__flag-wrapper,
  .internal-menu__notification-icon,
  .internal-menu__avatar {
    width: 3vw;
    height: 3vw;
  }

  .internal-menu__admin-crown {
    width: 3vw;
    top: -0.8vw;
  }

  .internal-menu__dropdown {
    min-width: 15vw;
  }

  .internal-menu__language-option,
  .internal-menu__profile-option,
  .internal-menu__hamburger-option {
    padding: 1.2vw 1.5vw;
    font-size: 1.2vw;
  }

  .internal-menu__flag-small {
    width: 1.5vw;
    height: 1.5vw;
  }
}

.internal-menu__language:hover,
.internal-menu__profile:hover,
.internal-menu__hamburger:hover {
  background-color: #d0f2f7; /* Versión más oscura del --green-bg */
}
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */
ul {
  list-style: none; /* Elimina la decoración de los elementos de lista */
}

a {
  text-decoration: none; /* Elimina el subrayado de los enlaces */
}
.menu {
  box-sizing: border-box;
  display: flex;
  width: 90%;
  height: 4vw;
  padding: 1vw 2vw;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 1;
  background-color: #fff;
  position: fixed;
  top: 1vw;
  left: calc(5%);
  z-index: 100;
  border-radius: 30px;
  box-shadow: 0px 4px 9.9px 0px rgba(0, 0, 0, 0.07);
}

#link-logo {
  width: 10%;
}

.logo {
  width: 100%;
  background-repeat: no-repeat;
}

.middle-menu {
  display: flex;
  align-items: center;
  gap: 1.302vw;
}

.middle-menu button,
.middle-menu a {
  color: var(--primary-color);
  color: var(--Verde, var(--primary-color));
  font-family: 'Montserrat Medium';
  font-size: 0.938vw;
  font-style: normal;
  font-weight: 500;
  background: none;
  border: none;
}

.button-5 {
  border-radius: 1vw;
  border: 0.156vw solid var(--primary-color)!important;
  background: var(--primary-color)!important;
  color: #fff!important;
  font-family: 'Montserrat Medium'!important;
  font-size: 0.938vw!important;
  font-style: normal!important;
  font-weight: 200!important;
  margin-right: 1.563vw;
  padding: .2vw 1vw;
}

.middle-menu button:hover {
  color: #fe595d!important;
  cursor: pointer;
}

.button-5:hover {
  background: #ffc82f!important;
  color: #ffffff!important;
  border-color: #ffc82f!important;
}

.boton_fuera {
  display: none;
}

@media (min-width: 481px) {
  .hamburger-menu {
    display: none; /* Oculta el botón de hamburguesa en pantallas grandes */
  }
}

@media (max-width: 480px) {
  .menu {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 1vw 3vw;
    left: 5%;
    top: 2%;
  }

  #link-logo {
    margin-top: 1vw;
    width: 30%;
    order: 1;
  }

  .hamburger-menu {
    cursor: pointer;
    font-size: 6vw;
    color: var(--primary-color);
    width: 9%;
    text-align: center;
  }

  .middle-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 30px;
    margin-top: 5%;
  }

  .middle-menu button,
  .middle-menu a {
    font-size: 4.082vw;
    font-family: 'Montserrat Medium', sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
  }

  .middle-menu.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vw 8vw;
    width: 90%;
    margin-left: 5vw;
  }

  .boton_fuera {
    display: block;
  }

  .boton_fuera .button-5 {
    border-radius: 3vw;
    font-family: 'Montserrat Medium', sans-serif !important;
    font-size: 3.571vw !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 130%;
    text-align: center;
    padding: 1vw 8vw;
  }
}

.footer {
  background-color: var(--primary-color);
  width: 100%;
}

.primera_parte {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 3vw 0;
}

.menu_footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu_footer .logo {
  width: 11.319vw;
}

.fila_menu ul{
  display: flex;
  gap: 1vw;
  margin-top: 1vw;
}

.fila_menu ul li a {
  color: #FFF;
  font-family: 'Monserrat Medium', sans-serif;
  font-size: 1.111vw;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.fila_menu ul li a:hover {
  color: #FFC82F;
}

/*SUSCRIPCION */
.suscripcion {
  background-color: var(--primary-color);
}

.suscripcion h3 {
  color: #FFF;
  margin-bottom: 1vw;
}

.suscripcion .subscription_footer {
  display: flex;
  flex-direction: row;
  gap: .5vw;
  flex-wrap: nowrap
}

.segunda_parte .linea {
  width: 80%;
  margin: 0 auto;
  border: #FFF .1vw solid;
  margin-bottom: 1vw;
}

.tercera_parte {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 9vw 3vw;
  flex-wrap: nowrap;
  align-items: center;
}

.tercera_parte .copy {
  color: #FFF;
  font-family: 'Montserrat Medium' sans-serif;
  font-size: 1.111vw;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
}

.tercera_parte .redes_sociales {
  display: flex;
  gap: 1vw;
}

@media screen and (min-width: 768px) {
  .logo_escritorio {
    display: block;
    width: 10vw;
  }
  .logo_movil {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer {
    width: 100%;
    background: var(--primary-color);
    background: var(--Verde, var(--primary-color));
    padding: 9.231vw 5.897vw;
  }
  .footer .logo {
    width: 34.103vw;
  }
  .primera_parte {
    flex-direction: column;
    align-items: flex-start;
    gap: 3vw;
    width: 100%;
  }
  .menu_footer {
    width: 100%;
    height: 35vw;
  }
  .fila_menu {
    margin: 5vw 0;
    width: 100%;
  }
  .fila_menu li {
    height: 2vw;
  }
  .fila_menu a {
    font-size: 3.59vw!important;
  }
  .fila_menu ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5vw;
    gap: 5vw;
    justify-content: space-around;
    align-items: center;
    justify-items: start;
    align-content: center;
  }
  .suscripcion .subscription_footer {
    gap: 2vw;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }
  .primera_parte .suscripcion h3 {
    font-size: 3.59vw;
    padding-bottom: 5vw;
  }
  .primera_parte .suscripcion input {
    font-size: 3.59vw;
    height: 9vw;
  }
  .primera_parte .suscripcion input::placeholder {
    font-size: 3vw;
  }
  .primera_parte .suscripcion .subscription-button {
    font-size: 3.59vw;
    margin-top: 0;
    margin-top: initial;
  }
  .segunda_parte .linea {
    width: 100%;
    margin: 5vw 0;
  }
  .tercera_parte {
    display: flex;
    flex-direction: column;
    gap: 5vw;
    width: 100%;
    margin: 0;
    margin: initial;
  }
  .tercera_parte .copy {
    font-size: 3.59vw;
    width: 100%;
  }
  .tercera_parte .redes_sociales {
    gap: 5vw;
  }
  .tercera_parte .redes_sociales img {
    width: 8.846vw;
    height: 8.846vw;
  }
}

/* Estilo del icono del chatbot flotante */
.chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
  }
  
  .chatbot-icon img {
    width: 30px;
    height: 30px;
  }
  
  /* Estilo de la ventana del chatbot */
  .chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
  }
  
  .chatbot-header {
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  
  .chatbot-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
  }
  
  .message {
    margin-bottom: 10px;
  }
  
  .message.user {
    text-align: right;
    color: #007bff;
  }
  
  .message.assistant {
    text-align: left;
    color: #28a745;
  }
  
  .chatbot-input {
    padding: 10px;
    display: flex;
    border-top: 1px solid #ddd;
  }
  
  .chatbot-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
  }
  
  .chatbot-input button {
    margin-left: 10px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  /* Estilo para el indicador de "escribiendo..." */
  .message.typing {
    font-style: italic;
    opacity: 0.7;
    animation: typing-dots 1.5s infinite;
  }

  @keyframes typing-dots {
    0%, 20% {
      opacity: 0.7;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0.7;
    }
  }

  /* Animación de puntos para el texto de escribiendo */
  .message.typing p::after {
    content: "";
    animation: dots 1.5s infinite;
  }

  @keyframes dots {
    0%, 20% {
      content: "";
    }
    40% {
      content: ".";
    }
    60% {
      content: "..";
    }
    80%, 100% {
      content: "...";
    }
  }

  /* Estilos para el chat bloqueado */
  .chatbot-input input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
  }

  .chatbot-input button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border-color: #ccc;
  }

  .chatbot-input button:disabled:hover {
    background-color: #ccc;
    transform: none;
  }

/* Layout principal con menús */
.SearchResultsPage_pageLayout__70IVb {
  display: flex;
  flex-direction: row;
  height: 100vh;
  overflow: hidden;
}

.SearchResultsPage_contentWithMenu__i2lu1 {
  width: 85%;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.SearchResultsPage_searchPageContainer__MdoQT {
  width: 100%;
  background: transparent;
  padding: 2vw;
  min-height: calc(100vh - 5vw); /* Altura menos el InternalMenu */
  margin-top: 5vw; /* Espacio para el InternalMenu fijo */
  overflow-y: auto;
  margin-left: 15vw; /* Espacio para el menú lateral */
  /* Cross-browser scrollbar hiding */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* The WebKit approach below will handle Chrome, Safari, and other WebKit browsers */
}

.SearchResultsPage_searchPageContainer__MdoQT::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome, Safari and Opera */
  background: transparent; /* Additional compatibility */
}

.SearchResultsPage_loadingContainer__OitaR {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50vh;
  margin-top: 5vw;
}

.SearchResultsPage_spinner__XJR64 {
  width: 3vw;
  height: 3vw;
  border: 0.2vw solid #f3f3f3;
  border-top: 0.2vw solid #01B494;
  border-radius: 50%;
  animation: SearchResultsPage_spin__7IGw5 1s linear infinite;
}

@keyframes SearchResultsPage_spin__7IGw5 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.SearchResultsPage_searchHeader__FVDmP {
  margin-bottom: 2vw;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1.5vw;
}

.SearchResultsPage_backButton__J\+zOZ {
  background: linear-gradient(135deg, #01B494 0%, #018570 100%);
  color: white;
  border: none;
  padding: 0.8vw 1.5vw;
  border-radius: 0.5vw;
  cursor: pointer;
  font-family: 'Montserrat Medium', sans-serif;
  font-size: 0.9vw;
  margin-bottom: 1vw;
  transition: all 0.2s ease;
}

.SearchResultsPage_backButton__J\+zOZ:hover {
  transform: translateY(-0.1vw);
  box-shadow: 0 0.3vw 0.8vw rgba(1, 180, 148, 0.3);
}

.SearchResultsPage_searchTitle__kcYoR {
  font-family: 'Nordique Pro Bold', sans-serif;
  font-size: 2vw;
  color: #2C5530;
  margin: 0 0 0.5vw 0;
}

.SearchResultsPage_resultsCount__kZtTm {
  font-family: 'Montserrat Medium', sans-serif;
  font-size: 1vw;
  color: #666;
  margin: 0;
}

.SearchResultsPage_noResults__4LaGB {
  text-align: center;
  padding: 4vw;
  background: white;
  border-radius: 1vw;
  box-shadow: 0 0.2vw 1vw rgba(0, 0, 0, 0.1);
  margin: 2vw auto;
  max-width: 40vw;
}

.SearchResultsPage_noResults__4LaGB h2 {
  font-family: 'Nordique Pro Bold', sans-serif;
  font-size: 1.5vw;
  color: #2C5530;
  margin-bottom: 1vw;
}

.SearchResultsPage_noResults__4LaGB p {
  font-family: 'Montserrat Medium', sans-serif;
  font-size: 1vw;
  color: #666;
  margin-bottom: 2vw;
}

/* Grid de recetas como en RecipeCarousel */
.SearchResultsPage_recipesGrid__2Ci5d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
  grid-gap: 1.5vw;
  gap: 1.5vw;
  margin-bottom: 3vw;
}

/* Estilos de tarjetas como en RecipeCarousel */
.SearchResultsPage_recipeCardUnique__q7K0L {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1vw;
  box-shadow: 0 0.2vw 1vw rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.SearchResultsPage_recipeCardUnique__q7K0L:hover {
  transform: translateY(-0.3vw);
  box-shadow: 0 0.5vw 2vw rgba(0, 0, 0, 0.15);
}

.SearchResultsPage_recipeImage__VXQbk {
  width: 100%;
  height: 12vw;
  object-fit: cover;
  border-radius: 1vw 1vw 0 0;
}

.SearchResultsPage_subcardRecipeCard__25JtM {
  padding: 1vw;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.SearchResultsPage_subcardCategories__wVoFu {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5vw;
}

.SearchResultsPage_categories__Fwssu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3vw;
  flex: 1 1;
  margin-right: 0.5vw;
}

.SearchResultsPage_categoriaSpan__gL9AA {
  background: linear-gradient(135deg, #01B494 0%, #018570 100%);
  color: white;
  padding: 0.2vw 0.5vw;
  border-radius: 0.8vw;
  font-size: 0.7vw;
  font-family: 'Montserrat Medium', sans-serif;
  font-weight: 500;
  white-space: nowrap;
}

.SearchResultsPage_recipeTitle__9wq19 {
  font-family: 'Nordique Pro Bold', sans-serif;
  font-size: 1.1vw;
  color: #2C5530;
  margin: 0.5vw 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.SearchResultsPage_recipeInfo__PtQ-a {
  margin-top: auto;
}

.SearchResultsPage_recipeInfo__PtQ-a p {
  font-family: 'Montserrat Medium', sans-serif;
  font-size: 0.8vw;
  color: #666;
  margin: 0;
}

/* Estilos de paginación */
.SearchResultsPage_pagination__4fusD {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vw 0;
  gap: 0.5vw;  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 1vw;
  box-shadow: 0 0.2vw 1vw rgba(0, 0, 0, 0.1);
  margin: 2vw 0;
}

.SearchResultsPage_paginationButton__b5rN0 {
  background: white;
  border: 1px solid #ddd;
  padding: 0.7vw 1vw;
  cursor: pointer;
  border-radius: 0.4vw;
  font-size: 0.9vw;
  font-family: 'Montserrat Medium', sans-serif;
  transition: all 0.2s ease;
  min-width: 2.5vw;
  height: 2.8vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SearchResultsPage_paginationButton__b5rN0:hover:not(.SearchResultsPage_disabled__L\+6ur) {
  background-color: #f0f0f0;
  border-color: #01B494;
  transform: translateY(-0.1vw);
}

.SearchResultsPage_paginationButton__b5rN0.SearchResultsPage_active__NCgGP {
  background: linear-gradient(135deg, #01B494 0%, #018570 100%);
  color: white;
  border-color: #01B494;
  box-shadow: 0 0.2vw 0.8vw rgba(1, 180, 148, 0.3);
}

.SearchResultsPage_paginationButton__b5rN0.SearchResultsPage_disabled__L\+6ur {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

/* Responsive para móvil */
@media (max-width: 480px) {
  .SearchResultsPage_pageLayout__70IVb {
    flex-direction: column;
    overflow-y: auto; /* Permitir scroll vertical en el layout principal */
    height: auto; /* Dejar que la altura se ajuste al contenido */
  }

  .SearchResultsPage_contentWithMenu__i2lu1 {
    width: 100%;
  }

  .SearchResultsPage_searchPageContainer__MdoQT {
    padding: 4vw;
    margin-top: 15vw; /* Ajustado para el menú móvil (15vw de altura) */
    margin-left: 0; /* Eliminar margen lateral en móvil */
    width: 100%; /* Asegurar que ocupe todo el ancho */
    min-height: calc(100vh - 15vw);
    overflow: visible; /* El scroll lo maneja el padre .pageLayout */
  }

  .SearchResultsPage_searchTitle__kcYoR {
    font-size: 5vw;
  }

  .SearchResultsPage_resultsCount__kZtTm {
    font-size: 3vw;
  }

  .SearchResultsPage_backButton__J\+zOZ {
    padding: 3vw 5vw;
    font-size: 3.5vw;
    border-radius: 1.5vw;
  }

  .SearchResultsPage_recipesGrid__2Ci5d {
    grid-template-columns: 1fr;
    gap: 4vw;
  }

  .SearchResultsPage_recipeCardUnique__q7K0L {
    border-radius: 2vw;
  }

  .SearchResultsPage_recipeImage__VXQbk {
    height: 50vw; /* Aumentar altura para mejor visualización */
    border-radius: 2vw 2vw 0 0;
  }

  .SearchResultsPage_subcardRecipeCard__25JtM {
    padding: 3vw;
  }

  .SearchResultsPage_recipeTitle__9wq19 {
    font-size: 4.5vw; /* Aumentar tamaño para legibilidad */
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .SearchResultsPage_recipeInfo__PtQ-a p {
    font-size: 3.5vw;
  }

  .SearchResultsPage_categoriaSpan__gL9AA {
    font-size: 3vw;
    padding: 1vw 2.5vw;
    border-radius: 2vw;
  }

  .SearchResultsPage_noResults__4LaGB {
    max-width: 90vw;
    padding: 8vw;
  }

  .SearchResultsPage_noResults__4LaGB h2 {
    font-size: 4.5vw;
  }

  .SearchResultsPage_noResults__4LaGB p {
    font-size: 3.5vw;
  }

  .SearchResultsPage_pagination__4fusD {
    padding: 4vw;
    gap: 2vw;
  }

  .SearchResultsPage_paginationButton__b5rN0 {
    padding: 3vw 4vw;
    font-size: 3.5vw;
    min-width: 10vw;
    height: 10vw;
  }

  .SearchResultsPage_spinner__XJR64 {
    width: 8vw;
    height: 8vw;
    border-width: 0.8vw;
  }
}

