.block-cabecera {
    padding-top: var(--size-padding);
    padding-bottom: var(--size-padding);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.block-cabecera .link {
    margin-top: 20px;
}
.block-cabecera .text {
    width: 100%;
}

.block-cabecera .link a {
    font-size: var(--size-btn);
    letter-spacing: 0.8px;
    text-decoration: underline;
    font-weight: 600;
    display: flex;
    width: max-content;
}

.block-cabecera .link svg {
    margin-right: 0.5rem;
    width: 20px;
}

.block-cabecera .link.type_1 svg {
    display: none;
}

.block-cabecera .link.type_1 a {
    background-color: var(--ydevs-2);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 400;
    width: max-content;
    display: inline-block;
    user-select: none;
}

.block-cabecera .container {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.woocommerce-products-header .block-cabecera {
    padding-bottom: 3rem;
}

.block-cabecera .container-descr .descr {
    width: 100%;
}

.block-cabecera .subtitle {
    font-family: var(--font-title);
    font-size: var(--size-title-big);
    line-height: 1.25;
    font-weight: 300;
    /*width: 60%;*/
    margin-top: 0;
    margin-bottom: 1em;
}

.block-cabecera .subtitle > * {
    margin-bottom: 0;
}

.block-cabecera .subtitle a {
    color: unset;
    text-decoration: underline !important;
}

.block-cabecera .descr {
    font-family: var(--font-title);
    font-size: var(--size-text);
    font-weight: 300;
}

.block-cabecera .descr strong {
    font-weight: 600;
}

.block-cabecera .links_container {
    display: flex;
    align-items: center;
}

.block-cabecera .links_container .link {
    margin-right: 1.75rem;
}
.block-cabecera .links_container .link:last-child {
    margin-right: 0;
}

.block-cabecera .imagen {
    width: 100%;
}

.descr p {
    margin-bottom: 0;
}

.block-cabecera .imagen div {
    height: 76vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.cabecera-con-botones .container-descr {
    padding-bottom: 0;
    width: 100%;
}

.block-cabecera.cabecera-con-botones .link.type_1 a:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-transition: all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1);
    transition: all 0.25s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.block-cabecera.cabecera-con-botones .subtitle {
    margin-bottom: 0;
    width: 100%;
}

.block-cabecera.cabecera-con-botones .links_container {

}

.block-cabecera.cabecera-con-botones {
    padding-bottom: calc(var(--size-padding)/2);
}

.block-cabecera.cabecera-con-botones .link.type_1 a {
    border-radius: 30px;
    -webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15) !important;
    padding: 10px 20px;
}

@media (max-width: 992px) {
    .block-cabecera .subtitle {
        margin-bottom: 1rem;
        padding-bottom: 0;
        width: 100%;
    }

    .block-cabecera .imagen div {
        height: 62vh;
    }
    .woocommerce-products-header .block-cabecera .descr {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .block-cabecera.cabecera-con-botones .container-descr {
        padding: 0;
        flex-direction: column;
    }
    .block-cabecera.cabecera-con-botones .links_container {
        flex-direction: row;
        width: 100%;
        padding-bottom: 20px;
        scrollbar-width: none;
    }
    .block-cabecera.cabecera-con-botones .links_container::-webkit-scrollbar {
        display: none;
    }
    .block-cabecera.cabecera-con-botones .links_container {
        justify-content: flex-start;
        overflow-x: auto;
    }
    .block-cabecera.cabecera-con-botones .link {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .block-cabecera .links_container .link {
        margin-right: 1.75rem;
    }
    .block-cabecera .links_container .link:last-child {
        margin-right: 1.75rem;
    }
}

