﻿.producto-detalle {
    text-align: left;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

    .producto-detalle h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .producto-detalle img {
        max-width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .producto-detalle p {
        font-size: 18px;
        margin-bottom: 5px;
    }


.producto-detalle {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 20px;
}

    .producto-detalle img {
        flex: 1;
        max-width: 30%;
        height: auto;
        border-radius: 5px;
        margin-right: 20px;
    }

    .producto-detalle div.info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding-left: 15%;
    }

    .producto-detalle h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .producto-detalle p {
        font-size: 18px;
        margin-bottom: 5px;
    }

.botones-producto,
.valoraciones {
    display: inline-flex;
    align-items: center; /* Alinea verticalmente los elementos */
}
.valoraciones{
    margin-top: 30px;
}

.btnSubmit {
    margin-left: 10px; /* Espacio entre los botones y el RadioButtonList */
}

.rating-container {
    margin-right: 10px; /* Espacio entre el RadioButtonList y el botón de valorar */
}

.btnCarrito, .btnDeseos, .btnSubmit {
    text-align: center;
    padding: 10px;
    background-color: #94604f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center; /* Centrar contenido verticalmente */
    justify-content: center; /* Centrar contenido horizontalmente */
    margin-right: 10px;
}

.btnCarrito, .btnSubmit {
    width: 380px;
    height: 50px; /* Altura fija para ambos botones */
}
.btnSubmit {
    width: 100px;
    height: 40px; /* Altura fija para ambos botones */
    padding:5px;
}

    .btnDeseos {
        width: auto;
        height: 50px; /* Altura fija para ambos botones */
    }

    /* Estilo para la imagen dentro de los botones */


    /* Efecto hover para los botones */
    .btnCarrito:hover, .btnDeseos:hover {
        background-color: #7b4f3e; /* Color de fondo al hacer hover */
        transform: scale(1.05); /* Aumenta el tamaño al hacer hover */
    }
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
}

    .rating input {
        display: none;
    }

    .rating label {
        font-size: 30px;
        color: #ccc;
        cursor: pointer;
    }

        .rating input:checked ~ label,
        .rating label:hover,
        .rating label:hover ~ label {
            color: #f5b301;
        }

            .rating input:checked ~ label:hover,
            .rating input:checked ~ label:hover ~ label {
                color: #f5b301;
            }


@media screen and (orientation: portrait) {

    .producto-detalle h2 {
        font-size: 40px;
        
    }

    .producto-detalle p {
        font-size: 30px;
    }


    .btnCarrito {
        font-size: 30px;
        height: 100%;
    }

    .btnDeseos {
        width: auto;
        height: 60px; /* Altura fija para ambos botones */
    }

}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }