.main {
    background-color: #f3efbf;
}

span {
  font-size: 25px;
}

/* LÍNEA DE PRODUCTO CON PRECIO */

.linea-producto {
  padding-right: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.linea-producto .producto {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 500;
}

.linea-producto .linea {
  flex: 1;
  border-bottom: 1px dotted #332f24;
  min-width: 10px;
}

.linea-producto .precio {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 500;
}

h3 {
  font-size: 60px;
}

h4 {
    font-weight: bold;
}

.zumo {
    margin-top: 30px;
}

/* MATCHA */

.matcha {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 550px;
}

.matcha {
    background-color: rgba(240, 248, 255, 0.247);
    padding: 20px;
    border: 4px solid #332f24;
    border-radius: 30px;
}

.matcha .texto h3 {
  font-size: 60px;
}

.matcha .texto h4 {
  font-size: 50px;
}

.img-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.img-matcha {
  bottom: 35px;
  right: 60px;
  position: relative;
  height: 180px;
  object-fit: contain;
  z-index: 1;
}

/*LECHES*/

.leches {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  width: 440px;
}

.leches img {
    position: relative;
    right: 15px;
    z-index: 4;
    height: 120px; 
    object-fit: contain;
}

.leches div {
  z-index: 2;
  object-fit: contain;
  position: relative;
  left: -60px;
  padding: 12px;
  border: 4px solid #332f24;
  border-radius: 10px;
  background: #f3f0cc;
  overflow: hidden;
}

.leches div::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, transparent 45%, rgba(51,47,36,0.14) 46%, rgba(51,47,36,0.14) 47%, transparent 48%),
    linear-gradient(225deg, transparent 45%, rgba(51,47,36,0.10) 46%, rgba(51,47,36,0.10) 47%, transparent 48%);
  background-size: 24px 24px, 36px 36px;
  mix-blend-mode: multiply;
  opacity: 0.95;
  border-radius: inherit;
}

/*ZUMO*/

.zumo {
    display: flex;
    width: 70%;
    position: relative;
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    padding: 30px;
    border: 4px solid #332f24;
    border-radius: 30px;
    max-width: 600px;
}

.zumo h3 {
  font-size: 60px;
  width: 60%;
  position: absolute;
  z-index: 10;
}

.zumo img {
  width: 300px;
  margin-left: auto;
  align-self: flex-start;
  position: relative;
}

/* COOKIES */

.cookies {
  margin-right: 20px;
  text-align: center;
  align-items: center;
}

.cookies {
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 85%;
     text-align: center;
    align-items: center;
    padding: 20px;
    border: 4px solid #332f24;
    border-radius: 30px;
    max-width: 600px;
}

.cookies h4 {
  width: 70%;
  margin: 0 auto;
  text-align: center;
}

.cookies img {
  margin: 20px;
  width: 80%;
  max-width: 500px;
}

/*COCA DE PISTO*/

.coca-pisto {
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 80%;
    text-align: center;
    align-items: center;
    padding: 20px;
    border: 4px solid #332f24;
    border-radius: 30px;
    max-width: 600px;
}

.coca-pisto h4 {
  margin-top: 20px;
}

.coca-pisto img {
  margin: 20px;
  width: 80%;
  max-width: 500px;
  height: auto;
}

/* COCA DE ALMENDRAS */

.coca-almendras {
    margin-top: 30px;
    background-color: rgba(240, 248, 255, 0.247);
    padding: 30px;
    align-self: center;
    align-items: center;
    width: 80%;
    border: 4px solid #332f24;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
}

.coca-almendras h4 {
  width: 100%;
  text-align: center;
}

.coca-almendras img {
  width: 80%;
  max-width: 500px;
  height: auto;
}

/* TROZO DE PIZZA */

.pizza {
    margin-top: 30px;
    background-color: rgba(240, 248, 255, 0.247);
    padding: 30px;
    align-self: center;
    align-items: center;
    width: 80%;
    border: 4px solid #332f24;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
}

.pizza h4 {
  width: 100%;
  text-align: center;
}

.pizza img {
  width: 80%;
  max-width: 500px;
  height: auto;
}

/* Titulos (no se porque lo de tostas jajajaj) */

.tostas {
  display: flex;
  margin-top: 50px;
}

/*Imagen del cuadro de las tostadas*/

.col-md-6:has(.imagen) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  padding-left: 10px;
}

.imagen {
  margin-top: 60px;
  border: solid 4px #332f24;
  border-radius: 30px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
  max-width: 800px;
}

/*Elige pan*/

.elige-pan {
  
  margin-bottom: 20px;
}

/*CREA TU PROPIA TOSTADA*/

.crea-tostada {
  margin-top: 30px;
}

.crea-tostada img {
  position: relative;
}

.ingredientes {
  margin-top: 30px;
}

.cuadro-ing {
  z-index: 2;
  object-fit: contain;
  position: relative;
  left: -20px;
  padding: 12px;
  width: 25%;
  border: 4px solid #332f24;
  border-radius: 10px;
  background: #f3f0cc;
  overflow: hidden;
  display: flex;
  justify-content: center ;
  align-items: center;
  flex-direction: column ;
  line-height: 0.8;
  margin: 0 auto;
}

.cuadro-ing .linea-producto {
  padding-right: 0;
}

.hide-mobile {
  display: flex;
}

.show-mobile {
  display: none;
}

/* MEDIA QUERIES */

@media (max-width: 1594px) {
  
  .zumo h3 {
    font-size: 40px;
  }

}

@media (max-width: 1243px) {
  
  .zumo h3 {
    font-size: 28px;
  }

  .zumo img {
    height: 270px;
    width: auto;
  }

  .matcha {
    width: 400px;
  }

  .matcha .texto h3 {
    font-size: 40px;
  }

  .matcha .texto h4 {
    font-size: 30px;
  }

}

@media (max-width: 975px) {

  main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .col-md-1 {
    display: none; 
  }
  .col-md-5 {
    width: 100%; 
  }


  /*LINEA PRODUCTO*/

  /* NO BORRAR */
  /*EN EL PC HAY 80 PX DE MARGIN-RIGHT, 
   AQUI HAY QUE QUITARLO*/

  .linea-producto {
    padding-right: 0;
  }

  .tostas {
    padding-bottom: 10px;
  }


  .lista {
    padding-left: 30px;
  }


  /*LECHE*/

  .leches {
   max-width: 390px;
   width: 100%;
  }

  .leches div span {
   font-size: 20px;
  }

  /*MATCHA*/

  .matcha {
    width: 10px;
    
  }

  .matcha .texto h3 {
  font-size: 40px;
  }

  .matcha .texto h4 {
    font-size: 30px;
  }

  .img-matcha {
    top: 5px;
    height: 130px;
  }

}

/*Transicion Md (VISTA MÓVIL)*/

@media (max-width: 768px) {

  h3 {
    font-size: 28px;
  }

  span {
    font-size: 22px;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: flex;
  }

  .zumo {
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 30px;
    border: 4px solid #332f24;
    border-radius: 30px;
  }

  /* MATCHA */

  .matcha {
    width: 400px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 30px;
    border: 4px solid #332f24;
    border-radius: 30px;
  }

  .img-wrapper {
    margin-bottom: 30px;
  }

  .img-matcha {
    position: relative;
    right: 20px;
    height: 150px;
    top: 0px;
  }

  .matcha .texto h3 {
    font-size: 35px;
  }

  .matcha .texto h4 {
    font-size: 30px;
  }

  /*COOKIES*/

  .cookies {
    margin-top: 20px;
  }

  .cookies {
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 10px;
    border: 4px solid #332f24;
    border-radius: 30px;
  }

  .cookies h4 {
    width: 100%;
  }

  /* COCA DE ALMENDRA */

  .coca-almendras {
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 30px;
    border: 4px solid #332f24;
    border-radius: 30px;
  }

  .coca-almendras h4 {
    text-align: center;
  }

  .coca-almendras img {
    width: 100%;
    height: auto;
  }

  /* COCA DE PISTO */

  .coca-pisto {
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 20px;
    border: 4px solid #332f24;
    border-radius: 30px;
  }

  /* TROZO DE PIZZA */

  .pizza {
    margin-top: 20px;
    background-color: rgba(240, 248, 255, 0.247);
    width: 100%;
    padding: 30px;
    border: 4px solid #332f24;
    border-radius: 30px;
    text-align: center;
  }

  .pizza h4 {
    width: 100%;
    text-align: center;
  }

  .pizza img {
    width: 100%;
    height: auto;
  }

  /* CREA TU PROPIA TOSTADA - MÓVIL */

  .cuadro-ing {
    width: 100% !important;
    margin-bottom: 20px;
    left: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /*IMAGEN TOSTADA*/

    .imagen {
      margin: 0 auto;
      width: auto;
      max-width: 90%;
      display: block;
    }

  /* Centrar columnas y bloques en móvil */
  .col-md-10,
  .col-md-5,
  .col-md-6,
  .col-md-4,
  .cookies,
  .matcha,
  .zumo,
  .coca-pisto,
  .coca-almendras,
  .pizza,
  .crea-tostada {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }

  /* Asegurar que el contenedor de imagen no tenga padding que fuerce alineado a la izquierda */
  .col-md-6:has(.imagen) {
    padding-left: 10px;
    padding-right: 10px;
  }




}