/* Estilos para la guÃ­a de tallas de Pikolinos */

.sizeguide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: "mukta-regular";
    color: #353332;
    line-height: 1.5;
}

.sizeguide-content .numberlist {
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 45px;
}

.sizeguide-content .wrap-inner {
    width: 100%;
}

.sizeguide-content .page-title {
    margin-bottom: 25px;
}

.sizeguide-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.sizes-content-description-shoes {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sizes__content__title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    text-transform: none;
    color: #353332;
}

/* Estilos para el selector de hombre/mujer */
.sizes__guide-W_M {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 18px;
}

.sizes__guide__title-WOM,
.sizes__guide__title-MAN {
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
}

.sizes__guide__title-WOM.active,
.sizes__guide__title-MAN.active {
    color: #353332;
}

.sizes__guide-separador {
    width: 1px;
    height: 20px;
    background-color: #d3d3d3;
    margin: 0 15px;
}

/* Estilos para las tablas */
.sizes__guide__table-WOM,
.sizes__guide__table-MAN {
    width: 100%;
    margin: 0 auto 40px;
    border-collapse: collapse;
    display: none;
    table-layout: fixed; /* Asegura que las columnas mantengan el mismo ancho */
}

.sizes__guide__table-WOM.active,
.sizes__guide__table-MAN.active {
    display: table;
}

.sizes__guide__table-WOM {
    display: table;
}

.sizes__guide__table__header {
    background-color: #FFFFFF;
    width: 100%;
}

/* Forzar el fondo blanco en los encabezados de tabla con alta especificidad */
.sizes__guide__tables-container table thead tr.sizes__guide__table__header th.sizes__guide__table__title-cell {
    background-color: #FFFFFF !important;
    line-height: 18px;
}

.sizes__guide__tables-container td {
    color: #000 !important;
    line-height: 18px;
}

.sizes__guide__table__row {
    width: 100%;
}

.sizes__guide__table__title-cell {
    padding: 15px;
    color: #212529;
    background-color: #FFFFFF !important;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    width: 25%; /* Asegura que cada columna ocupe exactamente el mismo espacio */
    line-height: 18px;
}

.sizes__guide__table__cell {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #212529;
    width: 25%; /* Asegura que cada columna ocupe exactamente el mismo espacio */
    white-space: nowrap; /* Evita que el texto se divida en mÃºltiples lÃ­neas */
    line-height: 18px;
}

.sizes__guide__table__cell.is-gray {
    background-color: #ececec;
}

/* SecciÃ³n de cÃ³mo medir el pie */
.div {
    margin-top: 50px;
}

.medir-pies {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.div-2 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #353332;
}

.div-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .div-3 {
        flex-direction: row;
        align-items: flex-start;
        /* justify-content: space-between; */
    }
    
    /* Ajustar el ancho de la columna de imagen al 25% */
    .div-3 > img.img-feet {
        width: 20%;
        max-width: 20%;
        margin-right: 20px;
    }
    
    .div-7 {
        width: 80%;
        max-width: 80%;
    }
}

.img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.img-feet {
    max-width: 150px;
}

.div-7 {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.div-8, .div-10, .div-12 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.img-7, .img-8, .img-9 {
    width: 30px;
    height: 30px;
    margin-right: 15px;
    flex-shrink: 0;
}

.div-9, .div-11, .div-13 {
    font-size: 15px;
    line-height: 1.5;
}

.div-14 {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#img-10 {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

.div-15 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.div-16 {
    background-color: #e1241b;
    color: white;
    padding: 12px 30px;
    display: block;
    margin: 0 auto 50px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: fit-content;
}

.div-16:hover {
    background-color: #c01c16;
}

.text-center {
    text-align: center;
}

/* Estilos para la secciÃ³n de contacto */
.infofax-block {
    background-color: #f7f7f7;
    padding: 30px 20px;
    border-radius: 5px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
}

.infofax-inrow {
    margin-bottom: 10px;
    font-size: 15px;
}

.infofax-block p {
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
}

/* SecciÃ³n de preguntas */
.decorates-block {
    margin: 40px auto;
    max-width: 800px;
}

.decorates-inrow {
    display: flex;
    margin-bottom: 30px;
}

.dechelp-icon {
    width: 24px;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #353332;
}

.faquser-div h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #353332;
}

.faquser-div p {
    font-size: 15px;
    margin-bottom: 10px;
}

.faquser-div a {
    color: #353332;
    text-decoration: underline;
    font-weight: 500;
}

.faquser-div a:hover {
    color: #000;
}

/* Enlaces de navegaciÃ³n inferior */
.faq-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
    margin: 30px 0 40px;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

.faq-menu li {
    margin: 0 15px 10px;
}

.faq-menu li a {
    color: #353332;
    text-decoration: none;
    text-transform: lowercase;
    font-size: 14px;
}

.faq-menu li a:hover {
    text-decoration: underline;
}

.faq-menu li.active a {
    font-weight: bold;
}

/* Ocultar la tabla redundante al final */
.size-guide-footer-table {
    display: none;
}

/* Estilos responsive */
@media screen and (max-width: 767px) {
    .sizes__guide__table-WOM,
    .sizes__guide__table-MAN {
        display: block;
        overflow-x: auto; /* Permite desplazamiento horizontal si es necesario */
        -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento en iOS */
        width: 100%;
        margin: 0 auto 15px;
        table-layout: auto; /* Cambiado de fixed a auto para mejor adaptaciÃ³n en mÃ³viles */
    }
    
    .sizes__guide__tables-container {
        width: 100%;
        margin: 0 auto;
        overflow-x: auto;
    }

    .sizes__guide__table__header,
    .sizes__guide__table__row {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    /* Asegura que las filas mantengan su integridad y ocupen todo el ancho */
    .sizes__guide__table__row {
        min-width: 100%;
    }
    
    .sizes__guide__table__title-cell,
    .sizes__guide__table__cell {
        width: 25%;
        padding: 10px 5px;
        font-size: 13px;
        white-space: nowrap; /* Previene que el texto se rompa */
        display: table-cell;
        text-align: center;
    }

    .div {
        margin-top: 20px;
    }

    .div-2 {
        margin-bottom: 20px;
    }

    .div-3 {
        flex-direction: column;
    }
    
    .img {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .img-feet {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .div-7 {
        max-width: 100%;
    }
    
    .faq-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-menu li {
        margin: 5px 0;
    }
}

/* Script para hacer las tablas interactivas */
@media screen and (min-width: 768px) {
    .sizes__guide__table-WOM,
    .sizes__guide__table-MAN {
        max-width: 800px;
    }
}