:root {
    --color-fondo: #bbbdc1;
    --color-texto: #2e7d32;
    --color-boton: #4caf50;
    --color-blanco: #fff;
    --color-hover: #e65100;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-fondo);
    background-image: linear-gradient(rgba(187,189,193,0.7), rgba(187,189,193,0.2)), url('/img/fondo-futuro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-texto);
}

.producto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

@media (max-width: 900px) {
    .producto-layout {
        grid-template-columns: 1fr;
    }
}

.carrusel-container {
    background: var(--color-blanco);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.carrusel {
    position: relative;
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1);
}

.carrusel-img.visible {
    opacity: 1;
}

.botones-carrusel {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.btn-carrusel {
    background: var(--color-boton);
    color: var(--color-blanco);
    border: none;
    padding: 0.7rem 1.1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(44, 167, 80, 0.15);
    transition: background 0.3s, transform 0.2s;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-carrusel:hover {
    background: var(--color-hover);
    transform: scale(1.12);
}

.descripcion-producto {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
}

.descripcion-producto h2 {
    text-align: center;
}

.descripcion-producto p {
    text-align: justify;
}

.info-derecha {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
	text-align: center;      /* Centra texto */
}

.info-seccion {
    background: var(--color-blanco);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	text-align: center;      /* Centra texto */
}

.lista-simple {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0;
}

.form-carrito label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-carrito select,
.form-carrito input {
    width: 80%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.boton-carrito {
    background: var(--color-boton);
    color: var(--color-blanco);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}

.boton-carrito:hover {
    background: var(--color-hover);
    transform: scale(1.05);
}

ul.lista-simple {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  text-align: center;
  display: block;
}

ul.lista-simple li {
  text-align: center;
}

.botones-fichas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin: 1.2rem 0 0.5rem 0;
}

.boton-ficha {
  background: var(--color-boton);
  color: var(--color-blanco);
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(44, 167, 80, 0.08);
  transition: background 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.boton-ficha:hover {
  background: var(--color-hover);
  transform: scale(1.07);
}

  footer {
      text-align: center;
      padding: 1rem;
      background: #2e7d32;
      color: #fff;
    }
	
	footer p {
		text-align: center;
	}
