body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fdf6e3; /* color beige claro para fondo cálido */
  color: #4b3b21; /* texto marrón oscuro */
  overflow-x: hidden;
}

.screen {
  display: none;
  height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  padding-top: 70px;
}

.visible {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
}

.logo {
  font-size: 2rem;
  color: #c49b38; /* dorado cálido */
  margin-bottom: 0.5rem;
  text-shadow: 0 0 5px #b28c23;
}

.logo span {
  display: block;
  font-size: 1rem;
  color: #8b6d20;
}

.tagline {
  font-size: 1rem;
  color: #6b5c2d;
  font-style: italic;
}

.btn-round {
  margin-top: 2rem;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c49b38, #a5811e);
  border: none;
  font-size: 2.5rem;
  color: black;
  box-shadow: 0 8px 15px rgba(196, 155, 56, 0.7);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-round:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 20px rgba(196, 155, 56, 0.9);
}

.cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  flex-wrap: wrap;
}

.card {
  background: #fff9e1;
  border-radius: 12px;
  padding: 0.8rem;
  width: 140px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(181, 153, 69, 0.3);
  color: #4b3b21;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(196, 155, 56, 0.4);
}

.card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.card-title {
  font-weight: bold;
  margin-top: 0.5rem;
}

.card-price {
  font-size: 0.9rem;
  color: #7e6b2c;
  margin: 0.2rem 0;
}

.card button {
  background: #7e6b2c;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.card button:hover {
  background: #65571e;
}

.nav-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.nav-btn {
  font-size: 2rem;
  padding: 12px 26px;
  border-radius: 50px;
  background: #c49b38;
  color: black;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.nav-btn:hover {
  background: #a5811e;
  transform: scale(1.1);
}

/* Logo pequeño en menús */
.menu-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 50px;
  opacity: 0.6;
  border-radius: 6px;
  box-shadow: 0 0 8px #c49b38;
}

/* Estilos para visor 3D */
#card {
  margin: 2em auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(196, 155, 56, 0.4);
  overflow: hidden;
  background-color: #fff9e1;
  position: relative;
  padding: 1rem;
  color: #4b3b21;
}

model-viewer {
  width: 100%;
  height: 400px;
  background-color: transparent;
  border-radius: 12px;
}

.attribution {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75em;
  font-size: 1rem;
  color: #c49b38;
  font-weight: bold;
}

#visor3d {
  background: #fff9e1;
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  font-size: 1.5rem;
  background: #c49b38;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: black;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 8px #c49b38;
  transition: background 0.3s, transform 0.3s;
}

.back-btn:hover {
  background: #a5811e;
  transform: scale(1.2);
}

#model-viewer {
  width: 100%;
  height: 400px;
}

#loader {
  margin-top: 1rem;
  font-weight: bold;
  color: #c49b38;
}

.hidden {
  display: none;
}
