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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; 
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #333;
  padding-top: 95px; 
}

.barra-superior {
  background-color: blue;
  color: white;
  font-weight: bold;
  font-size: 0.75rem;
  height: 35px;
  line-height: 35px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  text-align: center;  
  padding-right: 15px; 
}

.barra-navegacion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  width: 100%;
  position: fixed;
  top: 35px;
  left: 0;
  z-index: 1000;
}

.boton-pedido {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

.navegacion-izquierda,
.navegacion-derecha {
  display: flex;
  align-items: center;
}

.navegacion-izquierda a,
.navegacion-derecha a {
  margin: 0 1.5rem;
  font-size: 0.95rem;
}

.navegacion-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateX(-45px);
}

.barra-navegacion a {
  text-decoration: none;
  color: blue;
  font-weight: bold;
  font-size: 0.85rem;
}

.barra-navegacion::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: blue;
  position: absolute;
  bottom: 0;
  left: 0;
}

.imagen-logo {
  height: 70px;
  object-fit: contain;
  margin-left: -30px;
}

.hamburguesa {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 1rem;
}

.hamburguesa span {
  height: 3px;
  width: 25px;
  background: blue;
  margin: 4px 0;
  border-radius: 2px;
}

.menu-movil {
  display: none;
  flex-direction: column;
  background: white;
  position: fixed;
  top: 95px;
  right: 0;
  width: 100%;
  z-index: 999;
}

.menu-movil a {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: blue;
  font-weight: bold;
  text-align: center;
}

.menu-movil a.boton-pedido-movil {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

@media (max-width: 768px) {
  .navegacion-izquierda,
  .navegacion-derecha {
    display: none;
  }

  .navegacion-centro {
    transform: none;
    margin-left: 1rem;
    justify-content: flex-start;
  }

  .imagen-logo {
    margin-left: 0;
    height: 60px;
  }

  .hamburguesa {
    display: flex;
  }

  .barra-superior {
    text-align: center;
    padding-right: 0;
  }
}

.contenedor-principal {
  display: flex;
  width: 100%;
}

.columna-imagenes {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-imagenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%; 
}

.cuadro-imagen {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: white; 
  position: relative;
}

.cuadro-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  border: 1px solid #ccc;
  background-color: white;
}

.columna-info {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.info-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.azulejo-unico img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: white;
  cursor: none; 
}

.texto-azulejo {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1rem;
  color: blue;
}

.precio-azulejo {
  font-size: 1rem;
  font-weight: bold;
  color: blue;
}

.boton-pedido-azulejo {
  background-color: white;
  color: blue;
  border: 2px solid blue;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.boton-pedido-azulejo:hover {
  background-color: blue;
  color: white;
}

.medidas-movil {
  display: none;
  margin-top: 0.8rem;
}

.medidas-movil img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .medidas-movil {
    display: block;
  }

  .cursor-recuadro {
    display: none !important;
  }

  .contenedor-principal {
    flex-direction: column-reverse;
    height: auto;
  }

  .columna-imagenes,
  .columna-info {
    width: 100%;
    padding: 0; 
  }

  .grid-imagenes {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%; 
  }

  .cuadro-imagen {
    aspect-ratio: 1 / 1; 
  }

  .cuadro-imagen img {
    object-fit: cover; 
  }

  .azulejo-unico img {
    width: 100%;
    max-width: 280px;
  }

  .texto-azulejo {
    font-size: 1.3rem;
  }

  .precio-azulejo {
    font-size: 1.1rem;
  }

  .boton-pedido-azulejo {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .barra-superior {
    padding-right: 0;
    text-align: center;
  }
}

.cursor-recuadro {
  position: fixed;
  pointer-events: none;
  width: 250px;
  height: auto;
  display: none;
  z-index: 2000;
  cursor: none;
}

@media (max-width: 768px) {
  .menu-movil a.boton-pedido-movil {
    font-weight: normal;
  }
}

@media (min-width: 769px) {
  .barra-navegacion a.boton-pedido {
    font-weight: normal;
  }
}

