body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    padding: 20px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

nav ul li a {
    text-decoration: none;
    color: #8b76ab;
}

.comercial-header {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #fbfcfc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-color: #8b76ab;
}


.mini-splits {
    padding: 20px;
}

.mini-splits h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    margin-left: 45px;
}

.split-content {
    display: flex;
    align-items: flex-start;
}

.image-container {
    flex: 0 0 25%;
    margin-right: 20px;
    display: flex;
    justify-content: center;
}

.main-image {
    width: 80%;
    height: auto;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-start;
    flex: 1;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-start;
    flex: 1;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-start;
    flex: 1;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: calc(22% - 20px); /* Ajuste de tamaño */
    display: grid;
    grid-template-rows: auto auto 90px auto auto;
}

.product-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

h3 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: normal;
    color: #999;
}

h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.info-link {
    display: block;
    color: #007BFF;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
}



.btn {
    display: inline-block;
    padding: 8px 18px;
    background-color: #007BFF;
    color: white;
    border-radius: 25px;
    text-decoration: none;
}

.btn:hover {
    background-color: #0056b3;
}


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

/* Contenido del modal */
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px; 
    width: 55%; 
    max-width: 1200px;
    position: fixed;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
    display: flex;
    gap: 30px; 
}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #aaa;
    font-size: 28px; 
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Estructura del contenido */
.modal-body {
    display: flex;
    align-items: flex-start;
}

.modal-left {
    flex: 1;
    margin-right: 30px; 
}

.modal-right {
    flex: 3; 
}

/* Estilo de la imagen */
.modal-image {
    width: 250px; 
    height: auto;
    border-radius: 10px; 
}

/* Estilo del título */
.modal-right h3 {
    font-size: 28px; 
    margin-bottom: 20px;
}

/* Estilo de los párrafos y lista */
.modal-right p {
    margin-bottom: 15px;
    font-size: 18px; 
}

.modal-right ul {
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: disc;
    font-size: 18px; 
}

.modal-right ul li {
    margin-bottom: 5px;
}

/* Botón de ficha técnica */
.btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 10px 25px; 
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    font-size: 18px;
}

.btn:hover {
    background-color: #0056b3;
}

.modal-right .btn-whatsapp {
    background-color: var(--verde-whatsapp);
}
