/* ========================================
   STYLES - Semana Gastronómica Rivas
   Enfoque: Desktop-first con BEM
   ======================================== */

/* ========================================
   RESET Y BASE
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.sgr-body {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  line-height: 1.6;
  color: var(--sgr-color-gray-900);
  background-color: var(--sgr-color-gray-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ========================================
   HEADER
   ======================================== */

.sgr-header {
  background-color: var(--sgr-color-white);
  border-bottom: 1px solid var(--sgr-color-gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sgr-header__container {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 var(--sgr-spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 108px;
}

.sgr-header__title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 28px;
  font-weight: var(--sgr-font-weight-medium);
  color: rgba(0, 0, 0, 0.8);
  letter-spacing: -0.532px;
}

.sgr-header__logout-btn,
.sgr-header__logoin-btn {
  font-family: var(--sgr-font-asap-condensed);
  background-color: var(--sgr-color-primary);
  color: var(--sgr-color-white);
  padding: var(--sgr-spacing-sm) var(--sgr-spacing-lg);
  border-radius: var(--sgr-border-radius-md);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  transition: background-color var(--sgr-transition-fast);
}

.sgr-header__logout-btn:hover,
.sgr-header__logoin-btn:hover {
  background-color: var(--sgr-color-primary-dark);
}

.sgr-header__logout-btn:focus-visible,
.sgr-header__logoin-btn:focus-visible {
  outline: 2px solid var(--sgr-color-primary);
  outline-offset: 2px;
}

/* ========================================
   MAIN
   ======================================== */

.sgr-main {
  min-height: calc(100vh - 200px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.sgr-hero {
  width: 100%;
  margin-bottom: var(--sgr-spacing-2xl);
  margin-top: 50px;
}

.sgr-hero__image-wrapper {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 var(--sgr-spacing-xl);
  overflow: hidden;
  border-radius: var(--sgr-border-radius-xl);
}

.sgr-hero__image {
  width: 100%;
  border-radius: var(--sgr-border-radius-xl);
}

/* ========================================
   INTRO SECTION
   ======================================== */

.sgr-intro {
  margin-bottom: var(--sgr-spacing-2xl);
}

.sgr-intro__container {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 var(--sgr-spacing-xl);
  text-align: center;
}

.sgr-intro__title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 38px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-blue-dark);
  margin-bottom: var(--sgr-spacing-sm);
  line-height: 1.3;
}

.sgr-intro__subtitle {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 20px;
  color: #5a6374;
  font-weight: var(--sgr-font-weight-regular);
}

/* ========================================
   SEARCH SECTION
   ======================================== */

.sgr-search {
  margin-bottom: var(--sgr-spacing-2xl);
}

.sgr-search__wrapper {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sgr-search__container {
  display: flex;
  gap: var(--sgr-spacing-md);
  align-items: flex-end;
  border-radius: 20px;
  background: #FFF;
  box-shadow: 0 3px 7px 0 rgba(14, 31, 53, 0.12);
  padding: 20px;
}

.sgr-search__input-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sgr-spacing-xs);

}

.sgr-search__filter-wrapper {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--sgr-spacing-xs);
}

.sgr-search__label {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-medium);
  color: var(--sgr-color-gray-700);
  display: block;
}

.sgr-search__input {
  font-family: var(--sgr-font-asap-condensed);
  width: 100%;
  height: 52px;
  padding: 15px 20px;
  border: 1px solid var(--sgr-color-gray-300);
  border-radius: var(--sgr-border-radius-md);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  background-color: var(--sgr-color-white);
  transition: border-color var(--sgr-transition-fast);
}

.sgr-search__input:focus {
  outline: none;
  border-color: var(--sgr-color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.sgr-search__input::placeholder {
  color: var(--sgr-color-gray-500);
}

/* ========================================
   CUSTOM SELECT
   ======================================== */

.sgr-custom-select {
  position: relative;
  width: 100%;
}

.sgr-custom-select__native {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
}

.sgr-custom-select__trigger {
  font-family: var(--sgr-font-asap-condensed);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  height: 52px;
  padding: 15px 20px;
  background-color: var(--sgr-color-white);
  border: 1px solid var(--sgr-color-gray-300);
  border-radius: var(--sgr-border-radius-md);
  cursor: pointer;
  transition: border-color var(--sgr-transition-fast);
  user-select: none;
}

.sgr-custom-select__trigger:hover {
  border-color: var(--sgr-color-gray-400);
}

.sgr-custom-select--open .sgr-custom-select__trigger {
  border-color: var(--sgr-color-primary);
}

.sgr-custom-select__text {
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  flex: 1;
}

.sgr-custom-select__icon {
  flex-shrink: 0;
  transition: transform var(--sgr-transition-fast);
}

.sgr-custom-select--open .sgr-custom-select__icon {
  transform: rotate(180deg);
}

.sgr-custom-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--sgr-color-white);
  border: 1px solid var(--sgr-color-gray-300);
  border-radius: var(--sgr-border-radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--sgr-transition-fast);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}

.sgr-custom-select--open .sgr-custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sgr-custom-select__option {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color var(--sgr-transition-fast);
}

.sgr-custom-select__option:hover {
  background-color: var(--sgr-color-gray-100);
}

.sgr-custom-select__option:first-child {
  border-radius: var(--sgr-border-radius-md) var(--sgr-border-radius-md) 0 0;
}

.sgr-custom-select__option:last-child {
  border-radius: 0 0 var(--sgr-border-radius-md) var(--sgr-border-radius-md);
}

/* ========================================
   RESTAURANTS SECTION
   ======================================== */

.sgr-restaurants {
  margin-bottom: var(--sgr-spacing-3xl);
}

.sgr-restaurants__container {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 20px;
}

.sgr-restaurants__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sgr-spacing-lg);
}

/* ========================================
   CARD COMPONENT
   ======================================== */

.sgr-card {
  background-color: var(--sgr-color-white);
  border-radius: var(--sgr-border-radius-lg);
  overflow: hidden;
  box-shadow: 0 3px 7px 0 rgba(14, 31, 53, 0.12);
  transition: transform var(--sgr-transition-fast), box-shadow var(--sgr-transition-fast);
}

.sgr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 3px 7px 0 rgba(14, 31, 53, 0.12);
}

.sgr-card__link {
  display: block;
  width: 100%;
  height: 100%;
}

.sgr-card__link:focus-visible {
  outline: 2px solid var(--sgr-color-primary);
  outline-offset: 2px;
}

.sgr-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.sgr-card__badge {
  font-family: var(--sgr-font-asap-condensed);
  position: absolute;
  top: var(--sgr-spacing-sm);
  left: var(--sgr-spacing-sm);
  background-color: #fee5e2;
  color: #ff2424;
  padding: 5px 10px;
  border-radius: var(--sgr-border-radius-md);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  text-transform: capitalize;
  z-index: 10;
  display: flex;
  align-items: center;
}

.sgr-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--sgr-transition-base);
}

.sgr-card:hover .sgr-card__image {
  transform: scale(1.05);
}

.sgr-card__content {
  padding: var(--sgr-spacing-md);
}

.sgr-card__title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 20px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-blue-dark);
  margin-bottom: 4px;
}

.sgr-card__description {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-regular);
  color: #8994a9;
  margin-bottom: 8px;
}

.sgr-card__votes {
  display: flex;
  align-items: center;
  gap: var(--sgr-spacing-xs);
}

.sgr-card__icon {
  color: var(--sgr-color-primary);
  flex-shrink: 0;
}

.sgr-card__votes-count {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  color: var(--sgr-color-primary);
}

/* ========================================
   PAGINATION
   ======================================== */

.sgr-pagination {
  margin-bottom: var(--sgr-spacing-3xl);
}

.sgr-pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.sgr-pagination__item {
  display: flex;
}

.sgr-pagination__link {
  font-family: var(--sgr-font-asap-condensed);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  background-color: transparent;
  transition: all var(--sgr-transition-fast);
  line-height: normal;
}

.sgr-pagination__link:hover {
  background-color: var(--sgr-color-gray-100);
  border-color: #D1D5DB;
}

.sgr-pagination__link:focus-visible {
  outline: 2px solid var(--sgr-color-primary);
  outline-offset: 2px;
}

.sgr-pagination__link--active {
  background-color: var(--sgr-color-white);
  border-color: #EF4444;
  color: #EF4444;
}

.sgr-pagination__link--active:hover {
  background-color: var(--sgr-color-white);
  border-color: #DC2626;
  color: #DC2626;
}

.sgr-pagination__link--arrow {
  padding: 15px 20px;
}

.sgr-pagination__link--arrow svg {
  display: block;
}

/* ========================================
   DETAIL PAGE
   ======================================== */

.sgr-detail {
  margin-top: 50px;
  margin-bottom: var(--sgr-spacing-3xl);
}

.sgr-detail__wrapper {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sgr-detail__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #D8DBE1;
  border-radius: 10px;
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  color: #323232;
  transition: background-color var(--sgr-transition-fast);
  margin-bottom: 40px;
}

.sgr-detail__back-btn:hover {
  background-color: #C8CBD1;
}

.sgr-detail__back-btn svg {
  flex-shrink: 0;
}

.sgr-detail__content {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.sgr-detail__image-wrapper {
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  height: 518px;
}

.sgr-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgr-detail__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: 0 40px;
}

.sgr-detail__header {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sgr-detail__badge {
  font-family: var(--sgr-font-asap-condensed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background-color: #fee5e2;
  color: #ff2424;
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  border-radius: 10px;
  align-self: flex-start;
}

.sgr-detail__title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 32px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-blue-dark);
  line-height: normal;
}

.sgr-detail__location {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sgr-detail__location svg {
  flex-shrink: 0;
}

.sgr-detail__location span {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-regular);
  color: #8994a9;
}

.sgr-detail__description {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 20px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  line-height: normal;
}

.sgr-detail__vote-card {
  background-color: var(--sgr-color-white);
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.sgr-detail__vote-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sgr-detail__vote-label {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-medium);
  color: #5a6374;
  line-height: normal;
}

.sgr-detail__vote-count {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 46px;
  font-weight: var(--sgr-font-weight-bold);
  color: #EF4444;
  line-height: normal;
}

.sgr-detail__vote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  background-color: #EF4444;
  color: var(--sgr-color-white);
  border-radius: 10px;
  font-family: var(--sgr-font-asap-condensed);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-bold);
  transition: background-color var(--sgr-transition-fast);
  width: 100%;
  max-width: 280px;
  height: 42px;
}

.sgr-detail__vote-btn:hover {
  background-color: #DC2626;
}

.sgr-detail__vote-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sgr-detail__vote-btn--voted {
  background-color: #22C55E;
}

.sgr-detail__vote-btn--voted:hover {
  background-color: #16A34A;
}

.sgr-detail__vote-message {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-medium);
  color: #788193;
  text-align: center;
  line-height: normal;
}

/* Versión sin login */
.sgr-detail__vote-btn--login {
  background-color: #EF4444;
}

.sgr-detail__vote-btn--login:hover {
  background-color: #DC2626;
}

.sgr-detail__vote-note {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  text-align: center;
  line-height: normal;
}

.sgr-detail__vote-note a {
  font-weight: var(--sgr-font-weight-bold);
  color: #EF4444;
  transition: color var(--sgr-transition-fast);
}

.sgr-detail__vote-note a:hover {
  color: #DC2626;
}

/* ========================================
   AUTH PAGE (CREAR CUENTA / LOGIN)
   ======================================== */

.sgr-auth {
  margin-top: 25px;
  margin-bottom: var(--sgr-spacing-3xl);
}

.sgr-auth__breadcrumb {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto 20px;
  padding: 0 20px;
}

.sgr-auth__wrapper {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 120px;
  align-items: flex-start;
}

.sgr-auth__image-wrapper {
  flex: 1;
  min-width: 0;
  max-width: 622px;
  height: 641px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.sgr-auth__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sgr-auth__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgr-auth__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #D8DBE1;
  border-radius: 10px;
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  color: #323232;
  transition: background-color var(--sgr-transition-fast);
  align-self: flex-start;
}

.sgr-auth__form-container {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sgr-auth__back-btn:hover {
  background-color: #C8CBD1;
}

.sgr-auth__back-btn svg {
  flex-shrink: 0;
}

.sgr-auth__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.sgr-auth__form-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.sgr-auth__form-title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 32px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-black);
  line-height: normal;
}

.sgr-auth__form-subtitle {
  font-family: var(--sgr-font-nunito);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  line-height: normal;
}

.sgr-auth__form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sgr-auth__form-label {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  color: #5a6374;
  line-height: normal;
}

.sgr-auth__form-input {
  font-family: var(--sgr-font-asap-condensed);
  width: 100%;
  height: 52px;
  padding: 15px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  background-color: var(--sgr-color-white);
  transition: border-color var(--sgr-transition-fast);
}

.sgr-auth__form-input:focus {
  outline: none;
  border-color: var(--sgr-color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.sgr-auth__form-input::placeholder {
  color: #8994a9;
}

.sgr-auth__form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.sgr-auth__form-btn {
  width: 100%;
  height: 42px;
  padding: 10px;
  background-color: #EF4444;
  color: var(--sgr-color-white);
  border-radius: 10px;
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-bold);
  transition: background-color var(--sgr-transition-fast);
  line-height: normal;
}

.sgr-auth__form-btn:hover {
  background-color: #DC2626;
}

.sgr-auth__form-link {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  text-align: center;
  line-height: normal;
}

.sgr-auth__form-link a {
  font-weight: var(--sgr-font-weight-bold);
  color: #EF4444;
  transition: color var(--sgr-transition-fast);
}

.sgr-auth__form-link a:hover {
  color: #DC2626;
}

/* ========================================
   MODAL (LOGIN)
   ======================================== */

.sgr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sgr-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.sgr-modal__content {
  position: relative;
  background-color: var(--sgr-color-white);
  border-radius: 20px;
  box-shadow: 0 3px 7px 0 rgba(14, 31, 53, 0.12);
  padding: 30px;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

.sgr-modal__close-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 20px;
}

.sgr-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity var(--sgr-transition-fast);
  padding: 0;
  width: 20px;
  height: 20px;
}

.sgr-modal__close:hover {
  opacity: 0.7;
}

.sgr-modal__close svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sgr-modal__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.sgr-modal__title {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 32px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-black);
  line-height: normal;
}

.sgr-modal__title_home {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 32px;
  font-weight: var(--sgr-font-weight-bold);
  color: var(--sgr-color-blue-dark);
  line-height: normal;
}

.sgr-modal__subtitle {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  line-height: normal;
}

.sgr-modal__subtitle_home {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 18px;
  font-weight: var(--sgr-font-weight-semibold);
  color: var(--sgr-color-blue-light);
  line-height: normal;
}

.sgr-modal__subtitle_secondary {
  color: var(--sgr-color-secondary);
}

.sgr-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sgr-modal__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sgr-modal__label {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-semibold);
  color: #5a6374;
  line-height: normal;
}

.sgr-modal__input {
  font-family: var(--sgr-font-asap-condensed);
  width: 100%;
  height: 52px;
  padding: 15px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  background-color: var(--sgr-color-white);
  transition: border-color var(--sgr-transition-fast);
}

.sgr-modal__input:focus {
  outline: none;
  border-color: var(--sgr-color-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.sgr-modal__input::placeholder {
  color: #8994a9;
}

.sgr-modal__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sgr-modal__btn {
  width: 100%;
  height: 42px;
  padding: 10px;
  background-color: #EF4444;
  color: var(--sgr-color-white);
  border-radius: 10px;
  font-family: var(--sgr-font-asap-condensed);
  font-size: 16px;
  font-weight: var(--sgr-font-weight-bold);
  transition: background-color var(--sgr-transition-fast);
  line-height: normal;
}

.sgr-modal__btn:hover {
  background-color: #DC2626;
}

.sgr-modal__link {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-regular);
  color: #5a6374;
  text-align: center;
  line-height: normal;
}

.sgr-modal__link a {
  font-weight: var(--sgr-font-weight-bold);
  color: #EF4444;
  transition: color var(--sgr-transition-fast);
}

.sgr-modal__link a:hover {
  color: #DC2626;
}

/* ========================================
   FOOTER
   ======================================== */

.sgr-footer {
  background-color: var(--sgr-color-white);
  border-top: 1px solid var(--sgr-color-gray-300);
  padding: var(--sgr-spacing-xl) 0;
  margin-top: auto;
}

.sgr-footer__container {
  max-width: var(--sgr-container-max-width);
  margin: 0 auto;
  padding: 0 var(--sgr-spacing-xl);
  text-align: center;
}

.sgr-footer__copyright {
  font-family: var(--sgr-font-asap-condensed);
  font-size: 14px;
  font-weight: var(--sgr-font-weight-regular);
  color: #8994a9;
  letter-spacing: -0.266px;
}

/* ========================================
   MEDIA QUERIES - TABLET
   ======================================== */

@media (max-width: 1023px) {

  /* Header */
  .sgr-header__container {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-header__title {
    font-size: 20px;
  }

  .sgr-header__logout-btn {
    padding: var(--sgr-spacing-xs) var(--sgr-spacing-md);
    font-size: 14px;
  }

  /* Hero */
  .sgr-hero__image-wrapper {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-hero__image {
    /*height: 200px;*/
  }

  /* Intro */
  .sgr-intro__container {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-intro__title {
    font-size: 28px;
  }

  .sgr-intro__subtitle {
    font-size: 18px;
  }

  /* Search */
  .sgr-search__wrapper {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-search__container {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .sgr-search__filter-wrapper {
    width: 100%;
  }

  /* Restaurants Grid */
  .sgr-restaurants__container {
    padding: 20px;
  }

  .sgr-restaurants__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sgr-spacing-md);

  }

  /* Card */
  .sgr-card__image-wrapper {
    height: 160px;
  }

  /* Detail Page */
  .sgr-detail__wrapper {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-detail__back-btn {
    font-size: 14px;
    padding: 8px;
  }

  .sgr-detail__content {
    gap: 30px;
  }

  .sgr-detail__image-wrapper {
    height: 450px;
  }

  .sgr-detail__info {
    padding: 0 24px;
  }

  .sgr-detail__badge {
    font-size: 14px;
    padding: 4px 8px;
  }

  .sgr-detail__title {
    font-size: 26px;
  }

  .sgr-detail__location svg {
    width: 16px;
    height: 16px;
  }

  .sgr-detail__location span {
    font-size: 16px;
  }

  .sgr-detail__description {
    font-size: 17px;
  }

  .sgr-detail__vote-card {
    padding: 24px 16px;
  }

  .sgr-detail__vote-label {
    font-size: 16px;
  }

  .sgr-detail__vote-count {
    font-size: 38px;
  }

  .sgr-detail__vote-btn {
    font-size: 15px;
    padding: 10px;
  }

  /* Auth Page */
  .sgr-auth__breadcrumb {
    padding: 0 var(--sgr-spacing-lg);
  }

  .sgr-auth__wrapper {
    padding: 0 var(--sgr-spacing-lg);
    gap: 40px;
  }

  .sgr-auth__image-wrapper {
    max-width: 400px;
    height: 550px;
  }

  .sgr-auth__form-container {
    max-width: 360px;
  }

  .sgr-auth__back-btn {
    font-size: 14px;
    padding: 8px;
  }

  .sgr-auth__form {
    gap: 16px;
  }

  .sgr-auth__form-title {
    font-size: 28px;
  }

  .sgr-auth__form-subtitle {
    font-size: 16px;
  }

  .sgr-auth__form-label {
    font-size: 15px;
  }

  .sgr-auth__form-input {
    height: 50px;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* Footer */
  .sgr-footer__container {
    padding: 0 var(--sgr-spacing-lg);
  }
}

/* ========================================
   MEDIA QUERIES - SMALL TABLET
   ======================================== */

@media (max-width: 900px) {

  /* Auth Page */
  .sgr-auth__wrapper {
    gap: 30px;
  }

  .sgr-auth__image-wrapper {
    max-width: 350px;
    height: 500px;
  }

  .sgr-auth__form-container {
    max-width: 320px;
  }

  .sgr-auth__form-title {
    font-size: 26px;
  }

  .sgr-auth__form-subtitle {
    font-size: 15px;
  }
}

/* ========================================
   MEDIA QUERIES - MOBILE
   ======================================== */

@media (max-width: 767px) {

  /* Header */
  .sgr-header__container {
    padding: 0 var(--sgr-spacing-md);
    min-height: 72px;
    gap: var(--sgr-spacing-sm);
  }

  .sgr-header__title {
    font-size: 14px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sgr-header__logout-btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Hero */
  .sgr-hero {
    margin-bottom: var(--sgr-spacing-xl);
  }

  .sgr-hero__image-wrapper {
    padding: 0 var(--sgr-spacing-md);
    border-radius: var(--sgr-border-radius-md);
  }

  .sgr-hero__image {
    border-radius: var(--sgr-border-radius-md);
  }

  /* Intro */
  .sgr-intro {
    margin-bottom: var(--sgr-spacing-xl);
  }

  .sgr-intro__container {
    padding: 0 var(--sgr-spacing-md);
  }

  .sgr-intro__title {
    font-size: 24px;
  }

  .sgr-intro__subtitle {
    font-size: 16px;
  }

  /* Search */
  .sgr-search {
    margin-bottom: var(--sgr-spacing-xl);
  }

  .sgr-search__wrapper {
    padding: 0 var(--sgr-spacing-md);
  }

  .sgr-search__container {
    padding: 20px;
    gap: var(--sgr-spacing-sm);
  }

  .sgr-search__input {
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .sgr-custom-select__trigger {
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .sgr-custom-select__option {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* Restaurants Grid */
  .sgr-restaurants {
    margin-bottom: var(--sgr-spacing-xl);
  }

  .sgr-restaurants__container {
    padding: 0 var(--sgr-spacing-md);
  }

  .sgr-restaurants__grid {
    grid-template-columns: 1fr;
    gap: var(--sgr-spacing-md);
  }

  /* Card */
  .sgr-card__image-wrapper {
    height: 200px;
  }

  .sgr-card__content {
    padding: var(--sgr-spacing-md);
  }

  .sgr-card__title {
    font-size: 18px;
  }

  /* Pagination */
  .sgr-pagination {
    margin-bottom: var(--sgr-spacing-xl);
  }

  .sgr-pagination__list {
    gap: 8px;
  }

  .sgr-pagination__link {
    padding: 12px 16px;
    font-size: 14px;
  }

  .sgr-pagination__link--arrow {
    padding: 12px 16px;
  }

  /* Footer */
  .sgr-footer {
    padding: var(--sgr-spacing-lg) 0;
  }

  .sgr-footer__container {
    padding: 0 var(--sgr-spacing-md);
  }

  /* Detail Page */
  .sgr-detail {
    margin-top: 30px;
  }

  .sgr-detail__wrapper {
    padding: 0 var(--sgr-spacing-md);
  }

  .sgr-detail__back-btn {
    font-size: 13px;
    padding: 8px;
    gap: 6px;
    margin-bottom: 24px;
  }

  .sgr-detail__back-btn svg {
    width: 16px;
    height: 16px;
  }

  .sgr-detail__content {
    flex-direction: column;
    gap: 24px;
  }

  .sgr-detail__image-wrapper {
    height: 280px;
  }

  .sgr-detail__info {
    padding: 0;
    gap: 32px;
    justify-content: flex-start;
  }

  .sgr-detail__title {
    font-size: 24px;
  }

  .sgr-detail__location svg {
    width: 16px;
    height: 16px;
  }

  .sgr-detail__location span {
    font-size: 14px;
  }

  .sgr-detail__description {
    font-size: 16px;
  }

  .sgr-detail__vote-card {
    padding: 24px 16px;
  }

  .sgr-detail__vote-label {
    font-size: 16px;
  }

  .sgr-detail__vote-count {
    font-size: 36px;
  }

  .sgr-detail__vote-btn {
    font-size: 14px;
    padding: 12px;
  }

  .sgr-detail__vote-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Auth Page */
  .sgr-auth {
    margin-top: 30px;
  }

  .sgr-auth__breadcrumb {
    padding: 0 var(--sgr-spacing-md);
    margin-bottom: 20px;
  }

  .sgr-auth__wrapper {
    padding: 0 var(--sgr-spacing-md);
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .sgr-auth__back-btn {
    font-size: 13px;
    padding: 8px;
    gap: 6px;
  }

  .sgr-auth__back-btn svg {
    width: 16px;
    height: 16px;
  }

  .sgr-auth__image-wrapper {
    flex: none;
    width: 100%;
    max-width: none;
    height: 300px;
  }

  .sgr-auth__form-container {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .sgr-auth__form {
    gap: 16px;
  }

  .sgr-auth__form-title {
    font-size: 24px;
  }

  .sgr-auth__form-subtitle {
    font-size: 15px;
  }

  .sgr-auth__form-label {
    font-size: 14px;
  }

  .sgr-auth__form-input {
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .sgr-auth__form-btn {
    font-size: 15px;
  }

  /* Modal */
  .sgr-modal__content {
    padding: 24px;
    max-width: 500px;
    gap: 18px;
  }

  .sgr-modal__title {
    font-size: 24px;
  }

  .sgr-modal__subtitle {
    font-size: 15px;
  }

  .sgr-modal__input {
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .sgr-footer__copyright {
    font-size: 12px;
  }
}

/* ========================================
   MEDIA QUERIES - EXTRA SMALL (320px)
   ======================================== */

@media (max-width: 375px) {

  /* Header */
  .sgr-header__container {
    padding: 0 12px;
    min-height: 64px;
    gap: 8px;
  }

  .sgr-header__title {
    font-size: 13px;
    letter-spacing: -0.3px;
  }

  .sgr-header__logout-btn {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
  }

  /* Search */
  .sgr-search__wrapper {
    padding: 0 12px;
  }

  .sgr-search__container {
    padding: 16px;
  }

  /* Restaurants */
  .sgr-restaurants__container {
    padding: 12px;
  }

  /* Detail Page */
  .sgr-detail__wrapper {
    padding: 0 12px;
  }

  .sgr-detail__back-btn {
    font-size: 12px;
    padding: 6px 8px;
  }

  .sgr-detail__image-wrapper {
    height: 240px;
  }

  .sgr-detail__title {
    font-size: 22px;
  }

  .sgr-detail__description {
    font-size: 15px;
  }

  .sgr-detail__vote-count {
    font-size: 32px;
  }

  .sgr-detail__vote-btn {
    font-size: 13px;
    padding: 10px;
  }

  /* Auth Page */
  .sgr-auth__breadcrumb {
    padding: 0 12px;
  }

  .sgr-auth__wrapper {
    padding: 0 12px;
  }

  .sgr-auth__image-wrapper {
    height: 250px;
  }

  .sgr-auth__back-btn {
    font-size: 12px;
    padding: 6px 8px;
  }

  .sgr-auth__form-title {
    font-size: 22px;
  }

  .sgr-auth__form-subtitle {
    font-size: 14px;
  }

  .sgr-auth__form-input {
    height: 46px;
    font-size: 13px;
  }

  .sgr-auth__form-btn {
    font-size: 14px;
  }
}

.text-center {
  text-align: center !important;
}

#votacion,
#info {
  scroll-margin-top: 115px;
}

.wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.wp-pagenavi span,
.wp-pagenavi a {
  font-family: var(--sgr-font-asap-condensed);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 16px;
  font-weight: var(--sgr-font-weight-medium);
  color: #8994a9;
  background-color: transparent;
  transition: all var(--sgr-transition-fast);
  line-height: normal;
  width: 50px;
  height: 50px;
}

.wp-pagenavi span.current {
  background-color: var(--sgr-color-white) !important;
  border-color: #EF4444 !important;
  color: #EF4444 !important;
}

.mlm-login_form {
  width: 100% !important;
  background-color: transparent !important;
}

.mlm-login_label {
  font-family: var(--sgr-font-asap-condensed) !important;
  font-size: 16px !important;
  font-weight: var(--sgr-font-weight-semibold) !important;
  color: #5a6374 !important;
  line-height: normal !important;
  text-align: start;
}

.mlm-login_submit {
  width: 100% !important;
  height: 42px !important;
  padding: 10px !important;
  background-color: #EF4444 !important;
  color: var(--sgr-color-white) !important;
  border-radius: 10px !important;
  font-family: var(--sgr-font-asap-condensed) !important;
  font-size: 16px !important;
  font-weight: var(--sgr-font-weight-bold) !important;
  transition: background-color var(--sgr-transition-fast) !important;
  line-height: normal !important;
}

.mlm-login_input {
  font-family: var(--sgr-font-asap-condensed) !important;
  width: 100% !important;
  height: 52px !important;
  padding: 15px 20px !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: var(--sgr-font-weight-medium) !important;
  color: #8994a9 !important;
  background-color: var(--sgr-color-white) !important;
  transition: border-color var(--sgr-transition-fast) !important;
}

.mlm-login-notice {
  width: 100% !important;
}


/* ========================================
   GALLERY STYLES
   ======================================== */

/* Gallery Container */
.sgr-detail__gallery {
  flex: 1;
  min-width: 0;
}

/* Main Image Wrapper - Clickable */
.sgr-detail__image-wrapper {
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  height: 518px;
  cursor: pointer;
  transition: opacity var(--sgr-transition-fast);
}

.sgr-detail__image-wrapper:hover {
  opacity: 0.95;
}

.sgr-detail__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbnails Container */
.sgr-detail__thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.sgr-detail__thumbnail {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--sgr-transition-fast);
  position: relative;
}

.sgr-detail__thumbnail:hover {
  border-color: var(--sgr-color-primary);
  transform: scale(1.05);
}

.sgr-detail__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   GALLERY MODAL
   ======================================== */

.sgr-gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sgr-gallery-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 1;
}

.sgr-gallery-modal__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: auto;
}

/* Close Button */
.sgr-gallery-modal__close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sgr-transition-fast);
  z-index: 3;
}

.sgr-gallery-modal__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Image Container */
.sgr-gallery-modal__image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.sgr-gallery-modal__image {
  max-width: 90vw;
  max-height: 84vh;
  /* 70vh * 1.2 = 84vh (20% más grande) */
  width: 720px;
  height: 550px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

/* Navigation Buttons */
.sgr-gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--sgr-transition-fast);
  z-index: 3;
}

.sgr-gallery-modal__nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.sgr-gallery-modal__nav svg path {
  stroke: #323232;
}

.sgr-gallery-modal__nav--prev {
  left: -70px;
}

.sgr-gallery-modal__nav--next {
  right: -70px;
}

/* Modal Thumbnails */
.sgr-gallery-modal__thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow: hidden;
}

.sgr-gallery-modal__thumbnail:nth-child(n+4) {
  display: none;
}

.sgr-gallery-modal__thumbnail {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--sgr-transition-fast);
  opacity: 0.6;
}

.sgr-gallery-modal__thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.sgr-gallery-modal__thumbnail--active {
  border-color: var(--sgr-color-primary);
  opacity: 1;
}

.sgr-gallery-modal__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   GALLERY RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1023px) {

  .sgr-detail__image-wrapper {
    height: 450px;
  }

  .sgr-detail__thumbnails {
    gap: 12px;
    margin-top: 12px;
  }

  .sgr-gallery-modal__nav--prev {
    left: -60px;
  }

  .sgr-gallery-modal__nav--next {
    right: -60px;
  }

  .sgr-gallery-modal__image {
    max-height: 72vh;
    /* 60vh * 1.2 = 72vh (20% más grande) */
  }
}

/* ========================================
   GALLERY RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 767px) {

  .sgr-detail__image-wrapper {
    height: 280px;
  }

  .sgr-detail__thumbnails {
    gap: 8px;
    margin-top: 8px;
  }

  .sgr-detail__thumbnail {
    border-radius: 8px;
  }

  /* Gallery Modal Mobile */
  .sgr-gallery-modal {
    padding: 16px;
  }

  .sgr-gallery-modal__content {
    gap: 16px;
  }

  .sgr-gallery-modal__close {
    top: -50px;
    width: 40px;
    height: 40px;
  }

  .sgr-gallery-modal__close svg {
    width: 20px;
    height: 20px;
  }

  .sgr-gallery-modal__image {
    max-height: 60vh;
    /* 50vh * 1.2 = 60vh (20% más grande) */
    border-radius: 12px;
  }

  /* Hide navigation buttons on mobile - use swipe instead */
  .sgr-gallery-modal__nav {
    display: none;
  }

  .sgr-gallery-modal__thumbnails {
    gap: 12px;
  }

  .sgr-gallery-modal__thumbnail {
    border-radius: 8px;
    border-width: 2px;
  }
}

/* ========================================
   GALLERY RESPONSIVE - EXTRA SMALL
   ======================================== */

@media (max-width: 375px) {

  .sgr-detail__image-wrapper {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .sgr-gallery-modal__image {
    width: 90vw;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 15px;
  }
}

.sgr-custom-select.active .sgr-custom-select__trigger {
  background-color: #f0f8ff;
  border-color: #ff2424;
}

.sgr-custom-select.active .sgr-custom-select__text {
  color: #ff2424;
  font-weight: bold;
}

.sgr-custom-select__option.selected {
  background-color: #ff2424;
  color: #fff;
}

.sgr-custom-select.active .sgr-custom-select__icon path {
  stroke: #ff2424;
}

.star-food {
  background-color: #EBF5FF !important;
  color: #123457 !important;
}

/* Contenedor del menú */
.sgr-header__nav {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
}

/* Lista del menú */
.sgr-header__menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 30px;
}

/* Items del menú */
.sgr-header__menu li {
  margin: 0;
  padding: 0;
}

/* Enlaces del menú */
.sgr-header__menu li a {
  font-family: var(--sgr-font-asap-condensed);
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #133555;
  text-decoration: none;
  transition: color 0.3s;
}

/* Hover del menú */
.sgr-header__menu li a:hover {
  color: #0a2a4f;
}

@media (max-width: 768px) {
  .sgr-header__nav {
    display: none;
  }
}

.sgr-modal_home {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

/* Mostrar modal */
.sgr-modal_home.show {
  display: flex;
}

.sgr-modal_text_alert {
  font-family: var(--sgr-font-asap-condensed);
  font-weight: var(--sgr-font-weight-semibold);
  font-style: var(--sgr-font-weight-semibold);
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0%;
  color: var(--sgr-color-blue-dark);
  margin-bottom: 10px;
}

.w-100 {
  display: block;
  width: 100% !important;
  padding: 10px 10px;
  text-align: center;
}

.sgr-info-section {
  margin: 20px auto;
  padding: 0 var(--sgr-spacing-xl);
  max-width: var(--sgr-container-max-width);
}

.sgr-info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background-color: white;
  border-radius: 20px;
  padding: 20px;
}

/* Columna izquierda: texto */
.content-left {
  flex: 1 1 50%;
  min-width: 300px;
  padding: 40px 20px;
}

/* Columna derecha: imagen */
.content-right {
  flex: 1 1 50%;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen dentro de content-right */
.content-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Adaptación a móviles */
@media (max-width: 768px) {
  .sgr-info-section {
    padding: 0 var(--sgr-spacing-md);
  }

  .sgr-info {
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
  }

  .content-left,
  .content-right {
    flex: 1 1 100%;
  }
}

.items-modal,
.items-modal li {
  font-family: var(--sgr-font-asap-condensed);
  color: #2C4F73;
}

.sgr-modal__header_home {
  padding-bottom: 8px;
}

.sgr-card__badge svg,
.sgr-detail__badge svg {
  margin-right: 0.4em;
}

.price {
  font-family: var(--sgr-font-asap-condensed);
  font-weight: 600;
  font-style: var(--sgr-font-weight-semibold);
  font-size: 32px;
  color: #EF4444;
}

.sgr-detail__location-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.close-text {
  font-family: var(--sgr-font-asap-condensed);
  font-weight: 600;
  font-style: var(--sgr-font-weight-semibold);
  color: #EF4444;
  border-radius: 10px;
  border: 1px #EF4444 solid;
  padding: 10px 20px;
}