.product-Detail1 {
    display: flex;
    position: absolute;
    flex-direction: column;
    top: 80px;
    justify-content: center;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto; /* opcional para dividir con guiones según el idioma */
    padding-bottom: 100px;
}


.box-Detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;  
    justify-content: center; 
    gap: 10px; 
}
.box-Detail2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: calc(50% - 250PX);
    max-width: 300px;
    height: 200px;
    border-radius: 8px;
    background-color: #fff;
    color: #0f2a46;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    
}
.box-Detail4 {
    display: flex;
    padding: 10px;
    flex-direction: column;
    border-radius: 8px;
    background-color: #fff;
    color: #0f2a46;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    width:255px;
    height: 185px;
}

.box-Detail5 {
    padding: 30px;
    
}
.DESCRIPCION_ {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    color: #0f2a46;
    
}

.buttons_ {
    display: flex;
    align-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background-color: transparent;
    
}

.buttonCar, .buttonPay1 {
    flex: 1 1 10px;           /* crecer, encoger, base mínima */
    min-width: 10px;          /* ancho mínimo por caja */
    background-color: transparent;
    border-color: transparent;
    cursor: pointer;
    
}

.buttonCar:hover, .buttonPay1:hover {
    transform: scale(1.1);

}

.buttonPay svg {
    position: relative;
    max-width: 80px;
    right: 15px;
    
}

.productDetail-content img { 
    width: 100%;
    height: 185px;
    padding: 0;
    margin: 0;
}

.box-Detail3 {
    display: flex;
    justify-content: center;
    align-items: center;
    
    
}

.nav {
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.nav.left {
    z-index: 910;
}

.nav.right {
    z-index: 910;
    
}

/* Fondo oscuro */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

/* Contenedor principal del modal */
.modal {
    background: #E9E5D6;
    padding: 25px 40px;
    border-radius: 20px;
    min-width: 50%;
    min-height: 70dvh;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Centra el texto general */
}

/* Encabezados y párrafos */
.modal h2, .modal h3, .modal p {
    margin: 10px 0;
}

/* Botón para cerrar */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #555;
}

/* === SECCIÓN PRODUCTO === */
.product-list {
    list-style: none;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Justifica hacia la izquierda */
    align-items: center;
    gap: 8px;
    padding: 8px 8px;
    flex-direction: column;
}

.product-list li {
    display: flex;
    
    justify-content: space-between; /* Separa nombre y precio */
    align-items: center;

    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    background-color: #f5f3ea; /* Fondo suave para separar visualmente */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* === MÉTODOS DE PAGO === */
.MetodosPago {
    display: flex;
    justify-content: space-around; /* Centra los botones */
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 25px;
    text-align: center;
}

.MetodosPago1 {
    text-align: center;
    background-color: transparent;
}

.contraentrega, 
.MetodosPago1 button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    
}

.contraentrega:hover,
.MetodosPago1 button:hover {
    transform: scale(1.1);
}

.product-list {
    padding: 7px;
    list-style: none;
}

.product-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
}

.modal-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: right;
    padding: 0;
    margin: 0;
}



.form-check {
    padding: 7px;
    margin: 10px 0;
}


/* Centering the modal form */
.modal-form {
    padding-left: 5%;
    justify-self: center;
}

.color-selector {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.2s, border-color 0.2s;
}

.color-option:hover {
    transform: scale(1.2);
    border-color: #000;
}