/* es-styles.css */

/* --- Base Styles --- */
body {
  margin: 0;
  padding: 0;
  background: white;
  font-family: 'regular', sans-serif; /* Asegúrate de que tus fuentes estén cargadas */
  color: #000;
}

/* --- Main Container --- */
.es-container {
  margin: 0 auto;
  padding: 1rem; /* Padding base para móvil */
}

/* --- Flags Section (assuming common styles) --- */
.flags { /* Mantén esta clase si es compartida con otros idiomas */
  align-content: center;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.flags img {
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: transform 0.2s;
}

.flags img:hover {
  transform: scale(1.1);
}

/* --- Intro Section --- */
.es-intro-section {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.es-intro-image img {
  margin: 0;
  height: 300px;
  width: 300px;
  max-width: 100%; /* Asegura que no desborde */
}

.es-intro-text-wrapper {
  margin: 0;
  font-size: 7.5px; /* Base, el h1 lo ajustará */
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-intro-title {
  font-family: 'regular', serif;
   font-size: clamp(1.6rem, 4vw, 2.2rem); /* Ajuste de tamaño para el título principal */
  line-height: 1.35;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

/* --- Paragraph Section --- */
.es-paragraph-section {
  margin-bottom: 2rem;
}

.es-paragraph-text {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em; /* Tamaño estándar para el párrafo */
  line-height: 1.8;
  font-weight: 100;
  padding: 0 0.8rem; /* Padding lateral ligero */
}

.es-strong-text {
  font-weight: 700;
}

/* --- Animations (common) --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Section Headings (General) --- */
.es-section-heading {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'regular', sans-serif;
  letter-spacing: 2px;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 10vw, 4rem); /* Ajuste dinámico para títulos de sección */
  margin-bottom: 1rem;
  border-bottom: 2px solid black;
  padding-bottom: 0.5rem;
}

/* --- Brunch Section --- */
.es-brunch-section {
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 2px solid black;
  margin: 2rem 0;
}

.es-brunch-card {
  margin-bottom: 2rem;
}

.es-brunch-card-title {
  font-family: 'regular', sans-serif;
  font-size: clamp(2.4em, 8.8vw, 3.3em); /* Tamaño estándar */
  font-weight: 400;
  line-height: 1.2;
  margin: 2rem 0 1rem;
  text-align: center;
}

.es-brunch-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  font-family: 'italic', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  text-transform: uppercase;
  text-align: center;
}

.es-brunch-item {
  margin-bottom: 0.2rem;
}

.es-brunch-image {
  max-width: 150px;
  height: auto;
  margin-top: 1rem;
}

/* --- Prices (General) --- */
.es-price {
  font-family: 'regular', serif;
  font-size: 2.3em;
  font-weight: bold;
  text-align: center;
  display: block;
}

/* --- Main Category Heading (e.g., SALADO, DULCES) --- */
.es-main-category-heading {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 10vw, 5rem); /* Dinámico, similar al original */
  border-bottom: 2px solid black;
  margin-top: 3rem;
  padding-bottom: 0.5rem;
  white-space: nowrap; /* Mantener en una línea si es posible */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Item Containers (Toasts, Pancakes, etc.) --- */
.es-category-content {
  margin: 3rem auto;
  padding: 0 1rem;
}

.es-item-container {
  border-bottom: 2px solid black;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  font-family: 'italic', sans-serif;
}

.es-item-header {
  display: flex;
  flex-direction: column; /* Apilar título e íconos */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.es-item-title {
  font-family: 'regular', serif;
  font-size: clamp(1.8rem, 6.5vw, 2.1rem); /* Tamaño estándar */
  line-height: 1.2;
  margin: 0 0 15px 0;
  text-align: center;
  width: 100%;
}

.es-allergen-icons {
  font-size: 1.1rem;
  margin-top: 5px;
  display: block;
  width: 100%;
  text-align: center;
}

.es-allergen-icons img {
  width: 25px;
  height: 25px;
  margin: 0 3px;
}

.es-item-description {
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.5;
  font-weight: 400;
  padding: 0 0.5rem;
}

.es-item-price {
  font-size: 1.6em;
  display: block;
  text-align: center;
  margin-top: 10px;
}

/* --- Item Lists (Tartas, Croissants) --- */
.es-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'regular', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.es-item-list-entry {
  padding: 0.8rem 0;
  border-bottom: 1px solid #000;
  text-align: center;
  font-size: 0.8em;
  white-space: nowrap; /* Mantener en una línea si es posible */
  overflow: hidden;
  text-overflow: ellipsis;
}

.es-item-list-entry:last-child {
  border-bottom: none;
}

/* --- Pancake Specifics --- */
.es-pancake-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
  padding: 1rem 0;
  flex-wrap: nowrap;
  flex-direction: row;
}

.es-pancake-info {
  text-align: left;
  font-size: 0.95rem;
  flex-grow: 1;
}

.es-pancake-info strong {
  display: block;
  font-size: 1em;
}

.es-pancake-info span {
  font-size: 0.85em;
}

.es-pancake-price {
  font-size: 1rem;
  font-family: 'regular', sans-serif;
  text-align: right;
}

/* --- Croissants Specifics --- */
.es-croissant-prices {
  text-align: right;
}

.es-croissant-prices p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: nowrap;
}

.es-croissant-prices span {
  margin-left: 15px;
}

/* --- Drinks Section --- */
.es-drinks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.es-drink-item,
.es-tea-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #000000;
  font-family: 'regular', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  flex-direction: row;
  text-align: left;
  white-space: nowrap; /* Mantener en una línea si es posible */
  overflow: hidden;
  text-overflow: ellipsis;
}

.es-tea-item {
  border-bottom: none;
}

/* --- Juices Section --- */
.es-juice-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #000;
  padding: 1rem 0;
  flex-wrap: nowrap;
  flex-direction: row;
}

.es-juice-info {
  font-size: 0.95rem;
  text-align: left;
  max-width: 60%;
  line-height: 1.5;
}

.es-juice-info span {
  font-size: 0.9rem;
}

.es-juice-price {
  text-align: right;
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.3rem;
}

/* --- Footer Image & Text --- */
.es-footer-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

.es-footer-text {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9em;
  line-height: 1.6;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

/* --- Font Faces (common) --- */
@font-face {
  font-family: 'italica';
  src: url('TheSilverEditorial-Italic.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'regular';
  src: url('TheSilverEditorial-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* --- Media Queries for wider mobile/tablet screens --- */
@media (min-width: 480px) {
  .es-container {
    padding: 1.5rem;
  }

  .es-intro-image img {
    height: 350px;
    width: 350px;
  }

  .es-intro-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .es-paragraph-text {
    font-size: 1.1em;
  }

  .es-section-heading,
  .es-main-category-heading {
    font-size: clamp(2rem, 11vw, 4.5rem);
  }

  .es-brunch-card-title {
    font-size: 3em;
  }

  .es-price {
    font-size: 2.8em;
  }

  .es-item-title {
    font-size: 2.2em;
  }

  .es-item-description {
    font-size: 1em;
  }

  .es-item-price {
    font-size: 1.8em;
  }

  .es-item-list-entry {
    font-size: 0.95em;
  }

  .es-pancake-info strong {
    font-size: 1.1em;
  }

  .es-pancake-info span {
    font-size: 0.9em;
  }

  .es-pancake-price {
    font-size: 1.1rem;
  }

  .es-croissant-prices p {
    font-size: 1em;
  }

  .es-drinks-list li,
  .es-tea-item {
    font-size: 1.05rem;
  }

  .es-juice-info {
    font-size: 1em;
  }

  .es-juice-price {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .es-container {
    max-width: 720px;
    padding: 2rem;
  }

  .es-intro-section {
    flex-direction: row;
    align-items: center;
  }

  .es-intro-image img {
    max-width: 250px;
    height: auto;
  }

  .es-intro-title {
    font-size: 3.5rem;
    line-height: 1.3;
  }

  .es-paragraph-text {
    font-size: 1.2em;
    text-align: left;
    padding: 0;
  }

  .es-section-heading,
  .es-main-category-heading {
    font-size: 4.5em;
  }

  .es-brunch-section,
  .es-category-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .es-brunch-card-title {
    font-size: 4em;
  }

  .es-price {
    font-size: 4em;
  }

  .es-item-title {
    font-size: 2.8em;
  }

  .es-item-description {
    font-size: 1.1em;
  }

  .es-item-price {
    font-size: 2.2em;
  }

  .es-item-list-entry {
    font-size: 1.1em;
  }

  .es-pancake-info strong {
    font-size: 1.2em;
  }

  .es-pancake-info span {
    font-size: 1em;
  }

  .es-pancake-price {
    font-size: 1.2rem;
  }

  .es-croissant-prices p {
    font-size: 1.1em;
  }

  .es-drinks-list li,
  .es-tea-item {
    font-size: 1.15rem;
  }

  .es-juice-info {
    font-size: 1.1em;
  }

  .es-juice-price {
    font-size: 1.2rem;
  }
  
.logos_intro{
  display: flex;
  flex-direction: column;
  align-items: center;
}
}

.footer {
  background-color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-image {
  height: 50px;
  width: 60px;
  object-fit: contain;
}

.footer-icon svg {
  height: 40px;
  width: 40px;
  color: #333;
}

.footer-bottom {
  margin-top: 10px;
  font-size: 14px;
  color: #ffffff;
}
.footer-bottom {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.footer-bottom:hover {
  opacity: 0.7;
}
