body {
    background-color: #F6F7F8;
}

/* --- BREADCRUMB (NAV) --- */
.breadcrumb {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.breadcrumb_lista {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.breadcrumb_item {
    display: flex;
    align-items: center;
}

.breadcrumb_link {
    color: #4C6C9A;
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: 500;
}

.breadcrumb_link:hover {
    text-decoration: underline;
}

.breadcrumb_separador {
    display: flex;
    align-items: center;
    margin-left: 12px;
    margin-right: 12px;
}

.breadcrumb_separador svg {
    display: block;
}

.breadcrumb_actual {
    color: var(--P3);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2rem;
}

/* --- SECCIÓN PRODUCTO --- */
.producto {
    margin-bottom: 10rem;
}

.producto_superior {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* grid-template-columns: 1fr 1fr; */
    column-gap: 6rem;
    margin-bottom: 4rem;
}

/* --- BLOQUE VISUAL (GALERÍA) --- */
.producto_display {
    background-color: #ffffff;
    border-radius: 2rem;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


.producto_imagen {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    height: auto;
}

.producto_galeria {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.producto_galeria-item {
    width: 14rem;
    height: 14rem;
    border-radius: 12px;
    border: 2px solid rgba(36, 156, 211, 0.2);
    background-color: #e8f1fe;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.producto_galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.producto_galeria-item--video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto_galeria-item.activo {
    border-color: var(--P1);
    fill: var(--P1);
}

.producto_tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-top: 2rem;
}

.producto_tabs-btn {
    padding: 1.5rem 3rem 1.5rem 0;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #94a3b8;
    position: relative;
}

.producto_tabs-btn.activo {
    color: #00a8e8;
}

.producto_tabs-btn.activo::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80%;
    height: 3px;
    background-color: #00a8e8;
}

/* --- COLUMNA DE INFORMACIÓN --- */
.producto_tag {
    background-color: #e3f2fd;
    color: var(--P1);
    padding: 6px 4rem;
    border: solid 1px #3f9be1c7;
    border-radius: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-transform: uppercase;
    display: inline-block;
}

.producto_titulo {
    font-size: 4.8rem;
    line-height: 4.8rem;
    font-weight: 800;
    color: var(--P3);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.producto_precios {
    display: flex;
    align-items: center;
}
.producto_precio-main {
    font-size: 3rem;
    line-height: 3.6rem;
    font-weight: 800;
    color: #00a8e8;
}
.producto_precio-old {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: #4c6d9aad;
    text-decoration: line-through;
    margin-left: 12px;
}

.producto_extracto {
    color: #4c6d9aad;
    font-size: 1.8rem;
    line-height: 2.9rem;
    font-weight: 460;
    margin-top: 25px;
}
.producto_extracto strong {
    color: var(--P3);
}

/* --- SELECTOR DE COLORES (CSS LINEA nth-child) --- */
.producto_selector {
    margin-top: 3.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #E7ECF3;
    box-shadow: 0px 0px 5px #e5e5e596;
}

.producto_selector-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.producto_selector-titulo {
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.7px;
    font-weight: 800;
    color: var(--P3);
}

.producto_selector-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-size: 1.2rem;
    line-height: 1.6rem;
    color: var(--P1);
    text-decoration: none;
    font-weight: 700;
}

.producto_selector-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.producto_swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.producto_swatch:hover {
    transform: scale(1.1);
}

.producto_swatch.active {
    border: solid 2px #00a8e8 !important;
    outline: 2px solid #d0e2fb !important;
    outline-offset: 2px;
}

/* Asignación de colores por posición */
.producto_swatch:nth-child(1) { background-color: #ffffff; border: solid 2px #d0e2fb;}
.producto_swatch:nth-child(2) { background-color: #4d94ff; }
.producto_swatch:nth-child(3) { background-color: #ff4d4d; }
.producto_swatch:nth-child(4) { background-color: #22c55e; }
.producto_swatch:nth-child(5) { background-color: #ffcc00; }
.producto_swatch:nth-child(6) { background-color: #ff7a00; }
.producto_swatch:nth-child(7) { background-color: #cbd5e0; }
.producto_swatch:nth-child(8) { background-color: #403026; }

/* --- BOTONES DE ACCIÓN --- */
.producto_acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 4.5rem;
}

.producto_btn {
    padding: 1.6rem 0;
    border-radius: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.2px;
    font-size: 1.6rem;
    line-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.producto_btn--cart {
    background-color: #e91b60;
}

.producto_btn--cart:hover {
    background-color: rgb(225, 17, 86);
}

.producto_btn--wpp {
    background-color: #22B159;
}

.producto_btn--wpp:hover {
    background-color: rgb(26, 163, 79);
}

/* --- BLOQUE INFERIOR (FICHA TÉCNICA) --- */
.producto_inferior {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 8rem;
}

.producto_parrafo {
    color: #4C6C9A;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 2.6rem;
}

.producto_lista {
    margin-top: 3rem;
}

.producto_lista-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 18px;
    color: #4C6C9A;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: normal;
}

.producto_data-card {
    background-color: #ffffff;
    border: 1px solid #E7ECF3;
    padding: 2.6rem;
    border-radius: 1.5rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.03);
}

.producto_data-titulo {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: bold;
    color: var(--P3);
    margin-bottom: 2rem;
}

.producto_data-fila {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.producto_data-fila:last-child {
    border-bottom: none;
}

.producto_data-label {
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: normal;
    color: #4C6C9A;
}

.producto_data-valor {
    font-size: 1.4rem;
    line-height: 2rem;
    font-weight: bold;
    color: var(--P3);
}



/* --- BLOQUE SUGERENCIAS --- */
.sugerencias {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.sugerencias_titulo {
    font-size: 3rem;
    line-height: 3.6rem;
    font-weight: bold;
    color: var(--P3);
    margin-bottom: 3.4rem;
}

.sugerencias_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* --- TARJETA --- */
.sugerencias_card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #E7ECF3;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sugerencias_card:hover {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
}

.sugerencias_visual {
    background-color: #f8f9fa;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 4rem;
}

.sugerencias_img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sugerencias_cuerpo {
    padding: 2rem;
}

.sugerencias_nombre {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: bold;
    color: #0D131B;
    margin: 0;
    text-transform: uppercase;
}

.sugerencias_linea {
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-weight: normal;
    color: #4C6C9A;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.sugerencias_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sugerencias_precio {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: bold;
    color: var(--P1);
}

.sugerencias_link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #00a8e8;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}
.sugerencias_link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.sugerencias_link:hover {
    background-color: #00a8e8;
    color: #ffffff;
    border-color: #00a8e8;
}

/* --- RESPONSIVE GRID - FLEX--- */
@media (max-width: 1225px) {
    .sugerencias_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .producto_superior, 
    .producto_inferior {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .producto_display {
        max-width: 600px;
        max-height: 600px;
        margin: 0 auto;
    }

    .producto_imagen {
        max-height: 540px;
    }

    .producto_galeria {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .producto_display {
        max-width: 550px;
        max-height: 550px;

        margin: 0 auto;
    }

    .producto_imagen {
        max-height: 500px;
    }
}

@media (max-width: 600px) {
    .sugerencias_grid {
        grid-template-columns: 1fr;
    }

    .producto_superior, 
    .producto_inferior {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* Responsive fonts*/
@media (max-width: 768px) {
    .producto_tag {
        font-size: 1rem;
        line-height: 1.5rem;
        letter-spacing: 0.5px;
    }

    .producto_titulo {
        font-size: 3rem;
        line-height: 3.6rem;
    }

    .producto_precio-main {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }

    .producto_precio-old {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

    .producto_extracto {
        font-size: 1.6rem;
        line-height: 2.6rem;
    }

    .producto_selector-titulo {
        font-size: 1.2rem;
        line-height: 1.6rem;
        letter-spacing: 0.6px;
    }

    .producto_selector-link {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .producto_swatch {
        width: 3.2rem;
        height: 3.2rem;
    }

    .producto_btn {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .producto_btn svg {
        width: 1.665rem;
        height: 1.665rem;
    }


    /* parte 2 */

    .producto_tabs-btn {
        font-size: 1.2rem;
        line-height: 1.6rem;
        letter-spacing: 1.2px;
    }

    .producto_parrafo {
        font-size: 1.4rem;
        line-height: 2.28rem;
    }

    .producto_lista-item {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .producto_data-label {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
    
    .producto_data-valor {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }


    /* parte 3 */

    .sugerencias_titulo {
        font-size: 2.4rem;
        line-height: 3.2rem;
    }

    .sugerencias_nombre {
        font-size: 1.4rem;
        line-height: 2rem;
        letter-spacing: -0.35px;
    }

    .sugerencias_linea {
        font-size: 1.1rem;
        line-height: 1.65rem;
    }

    .sugerencias_precio {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .sugerencias_link {
        width: 32px;
        height: 32px;
    }

    .sugerencias_link svg {
        width: 13.33px;
        height: 13.33px;
    }
}

@media (max-width: 630px) {
    .producto_selector-grid {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding: 1rem 5px;
    }
    .producto_swatch {
        flex-shrink: 0;
    }
    
    .producto_tabs {
        overflow-x: auto;
    }

    .producto_tabs-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 550px) {
    .producto_galeria-item {
        width: 106px;
        height: 106px;
    }

    .producto_acciones {
        grid-template-columns: 1fr;
    }

    .producto_display {
        padding: 2rem;
    }
}