/* Reset básico para el componente si se usa aislado */
* {
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

/* --- Estilos Principales del Widget --- */

.choose-widget-section {
    padding: 20px 0px;
    max-width: 1236px;
    margin: auto;
    width: 100%;
}

.choose-widget-header {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
}

.choose-widget-title {
    font-size: 30px;
    color: #181A20;
    font-weight: 600;
    margin-bottom: 10px;
}

.choose-widget-description {
    color: #000;
    font-size: 20px;
    line-height: 1.6;
    max-width: 789px;
    margin: 0 auto;
    font-weight: 400;
    padding: 8px 0;
}

.choose-widget-read-more {
    color: #46AD67;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.choose-widget-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Columna Izquierda (Imagen) */
.choose-widget-image-col {
    flex: 1; /* Ajuste para mejor responsividad */
}

.choose-widget-image-col img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Asegura que la imagen no se deforme */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Columna Derecha (Acordeón) */
.choose-widget-content-col {
    flex: 1;
}

.choose-widget-list {
    position: relative;
    padding-left: 20px;
}

/* Item del Acordeón */
.choose-widget-item {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
}

/* Línea vertical verde/gris */
.choose-widget-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #ddd;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.choose-widget-item.active::before {
    background-color: #46AD67;
}

/* Header del Item (Clickable) */
.choose-widget-item-header {
    cursor: pointer;
    padding: 4px 0;
}

.choose-widget-item-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #181A20;
    transition: color 0.3s ease;
}

.choose-widget-item.active .choose-widget-item-header h3 {
    color: #46AD67;
}

/* Cuerpo del Item (Contenido oculto) */
.choose-widget-item-body {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    color: #181A20;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.choose-widget-item.active .choose-widget-item-body {
    max-height: 200px;
    padding: 8px 0;
}

/* Botón dentro del acordeón */
.choose-widget-btn {
    margin-top: 10px;
    padding: 7px 20px;
    border-radius: 8px;
    color: #46AD67;
    border: 1px solid #46AD67;
    font-size: 14px;
    font-weight: 500;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choose-widget-btn:hover {
    background-color: #46ad67;
    color: white;
}

/* --- Responsive / Media Queries (Mobile) --- */
@media (max-width: 480px) {
    .choose-widget-section {
        padding: 0px 15px;
        margin: auto;
    }

    .choose-widget-header {
        padding-top: 50px;
    }

    .choose-widget-title {
        font-size: 20px;
        color: #181A20;
        font-weight: 600;
    }

    .choose-widget-description {
        color: #000;
        font-size: 15px;
        line-height: 1.6;
        max-width: 900px;
        margin: 0 auto;
        font-weight: 400;
        padding: 8px 0;
    }

    .choose-widget-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .choose-widget-image-col {
        width: 100%;
    }
    
    .choose-widget-image-col img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .choose-widget-content-col {
        width: 100%;
    }

    .choose-widget-list {
        padding: 0%;
    }
}