/* Contenedor para centrar la tarjeta en la pantalla */
.detalle-contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Cambiamos min-height por un padding más generoso */
    padding: 80px 20px; 
    background-color: #f4f4f4; /* Un gris muy suave para que la tarjeta blanca resalte */
    margin: 0;
}

/* La tarjeta blanca con sombra */
.tarjeta-detalle {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Sombra suave */
    display: flex;
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    padding: 40px;
    gap: 30px;
}

.btn-volver {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-volver:hover {
    color: #d32f2f; 
}

.btn-volver i {
    font-size: 1.1rem;
}

/* Estilo para la imagen */
.seccion-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.seccion-imagen img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Estilo para el texto */
.seccion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.titulo-producto {
    font-family: 'Playfair Display', serif; /* O la que uses en MarSeg */
    color: #330000; /* Color vino/oscuro de tu logo */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.precio-producto {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.descripcion-producto {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Botones */
.botones-accion {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-carrito {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-carrito:hover {
    background: #e0e0e0;
}

.btn-comprar {
    background-color: #4a1a1a;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-comprar:hover {
    background-color: #330000;
    color: white;
}

/* Responsive: Para celulares la tarjeta se vuelve vertical */
@media (max-width: 600px) {
    .tarjeta-detalle {
        flex-direction: column;
        text-align: center;
    }
    .botones-accion {
        justify-content: center;
    }
}