.titulo-patchcord {
    text-align: center;
    margin-bottom: 1rem;
}

.btn {
    background-color: #7744d9;
    padding: 0.5rem;
    color: #fff;
    border: none;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    border-radius: 0;
}

/* TABS Y PAGINACION */
.tabs button,
.paginacion-patch-cord button {
    display: block;
    width: 100%;
}

.tabs .actual,
.btn:hover {
    background-color: #271151;
    font-weight: bold;
    color: #fff;
}
.paginacion-patch-cord {
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .tabs,
    .paginacion-patch-cord {
        display: flex;
        max-width: 1124px;
        margin: 2rem auto;
    }
    .tabs {
        justify-content: center;
    }
    .paginacion-patch-cord {
        justify-content: space-around;
    }
    .paginacion-patch-cord button {
        width: 150px;
    }
}
.ocultar {
    visibility: hidden;
}
.seccion {
    padding: 1rem 0;
    display: none;
    max-width: 1124px;
    margin: auto;
}
.seccion h4,
.seccion p {
    text-align: center;
    margin-bottom: 0.5rem;
}
.mostrar {
    display: block;
}

/* SELECCIONAR TIPO DE FIBRA */
#tipos-fibra {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 70%;
    gap: 1rem;
    margin-bottom: 2rem;

}
@media (min-width: 480px) {
    #tipos-fibra {
        flex-direction: row;
        justify-content: center;
    }
}
.tipo-fibra,
.producto-fibra,

.conector-nombre,
.tipo-pulido,
.tipo-revestimiento {
    background-color: #eff2f7;
}

.tipo-fibra {
    padding: 1rem 2rem;
    border: 0.2rem #7744d9 solid;
    cursor: pointer;
    border-radius: 1rem;
    text-align: center;
}
.tipo-fibra p {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0;
}
.tipo-seleccionado,
.tipo-fibra:hover,
.producto-seleccionado,
.producto-fibra:hover {
    background-color: #7744d9;
    color: #fff;
}

#productos-fibra {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 480px) {
    #productos-fibra {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 760px) {
    #productos-fibra {
        grid-template-columns: repeat(3, 1fr);
    }
}
.producto-fibra {
    padding: 1rem 0;
    border: 0.2rem #7744d9 solid;
    cursor: pointer;
    border-radius: 1rem;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.producto-fibra p {
    font-weight: bold;
}
.nombre-producto {
    grid-column: 1 / 3;
}

/* Conectores */
.conectores {
    width: 60%;
    margin: auto;
}

@media (min-width: 480px) {
    .conectores {
        display: flex;
        justify-content: center;
        column-gap: 2rem;
    }
}
.conector {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.conector p {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.5rem;
    border: 0.2rem solid #7744d9;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
}
.conector-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.conector-seleccionado,
.conector p:hover {
    background-color: #7744d9;
    color: #fff;
    cursor: pointer;
}

/* Tipo de Pulido */
.tipos-pulido {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.tipo-pulido {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 0.2rem solid #7744d9;
    border-radius: 1rem;
}
.tipo-pulido p {
    font-weight: bold;
    font-size: 1rem;
    padding: 1rem;
    padding: 1rem;
    margin-bottom: 0;
}
.tipo-pulido-seleccionado,
.tipo-revestimiento-seleccionado,
.tipo-pulido:hover,
.tipo-revestimiento:hover {
    background-color: #7744d9;
    color: #fff;
}

/* Tipos de Revestimiento */
.tipos-revestimiento {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 0.1rem solid gray;
}
.tipo-revestimiento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 0 auto;
    padding: 1rem;
    border: 0.2rem solid #7744d9;
    border-radius: 1rem;
    cursor: pointer;
    max-width: 280px;
}
.tipo-revestimiento:last-of-type {
    margin-bottom: 1rem;
}
.tipo-revestimiento p {
    margin-bottom: 0;
}
.nombre-revestimiento {
    grid-row: 1 / 3;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}
.unidad-revestimiento {
    grid-row: 1 / 3;
    font-size: 1rem;
    align-content: center;
    text-transform: uppercase;
    font-weight: bold;
}
.especificacion-revestimiento {
    grid-column: 1 / 3;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
}
.campo-revestimiento {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 480px){
    .campo-revestimiento {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

.campo-revestimiento label {
    margin-bottom: 0;
    align-content: center;
    font-weight: bold;
    font-size: 1rem;
}
#longitud-fibra {
    padding: 0.4rem;
    width: 10rem;
    background-color: #eff2f7;
    border: 0.1rem solid #7744d9;
}

/* Resumen */
.resumen h4,
.formulario-contacto h4 {
    font-weight: bold;
    font-size: 1.1rem;
}
.resumen p {
    font-weight: bold;
    font-size: 0.9rem;
}

.resumen p span {
    text-transform: uppercase;
    color: #7744d9;
    font-weight: bold;
}

/* Formulario */
.formulario-contacto,
.campo-formulario {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.formulario-contacto {
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
    border-top: 0.1rem solid gray;
}
.campo-formulario {
    width: 90%;
}
.campo-formulario label {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    align-content: center;
    margin-bottom: 0;
}
.campo-formulario input {
    border: 0.1rem solid #7744d9;
    padding: 0.6rem;
    font-size: 0.9rem;
    background-color: #eff2f7;
}
input:focus {
    outline: none;
}
.boton-enviar {
    background-color: #7744d9;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
}
.boton-enviar:hover {
    background-color: #271151;
}
.alerta-patchcord {
    margin: auto;
}
.alerta-contacto,
.alerta-patchcord {
    width: 90%;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}
.alerta-error {
    background-color: red;
}
.alerta-exito {
    background-color: green;
}
.hidden {
    display: none;
}
