.producto-ficha {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1100px;
    gap: 2rem;
}

.producto-contenido {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.producto-galeria {
    flex: 1 1 45%;
    position: relative;
}

.imagen-principal {
    position: relative;
}

.imagen-principal img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
}

.flecha-izquierda {
    left: 10px;
}

.flecha-derecha {
    right: 10px;
}

.miniaturas {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.2s;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.producto-detalle {
    flex: 1 1 45%;
}

.producto-detalle h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #3C2352;
}

.ficha-tecnica {
    list-style: none;
    padding: 0;
}

.ficha-tecnica li {
    margin-bottom: 6px;
    font-size: 15px;
}

.ficha-tecnica strong {
    color: #3C2352;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secundario {
    background: #3C2352;
    color: #fff;
}

.btn-secundario:hover {
    background: #502a70;
}

/* Descripción */
.producto-descripcion {
    max-width: 1100px;
    margin: 2rem auto;
    background: #FCEB90;
    padding: 1.5rem;
    border-radius: 8px;
    color: #2c1b3a;
}

/* Relacionados */
.productos-relacionados {
    max-width: 1100px;
    margin: 2rem auto;
}

.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.relacionado-item img {
    width: 100%;
    border-radius: 6px;
}

.relacionado-item h3 {
    font-size: 1rem;
    text-align: center;
    margin-top: 6px;
}