/* =========================================
   PRODUCT HEADER HERO
========================================= */

.product-header {
    width: 100vw;
    max-width: 100vw;

    position: relative;
    overflow: hidden;

    background: #ffffff;

    /* romper contenedor WordPress */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 60px;
}

/* Fondo imagen */
.product-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: var(--productheader-bg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;

    z-index: 0;
    pointer-events: none;
}

/* Contenedor interno */
.product-header-inner {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 40px;

    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    position: relative;
    z-index: 1;
}

/* =========================================
   TEXTO
========================================= */

.product-header-content {
    max-width: 50%;
}

.product-header-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;

    margin-bottom: 24px;
}

.product-header-subtitle {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #374151;
}

.product-header-subtitle strong {
    font-weight: 800;
    color: #2563eb;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

    .product-header-inner {
        min-height: 500px;
    }

    .product-header-title {
        font-size: 46px;
    }

    .product-header-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {

    .product-header-content {
        max-width: 56%;
    }

    .product-header-title {
        font-size: 40px;
    }
}

@media (max-width: 820px) {

    .product-header-content {
        max-width: 62%;
    }

    .product-header-title {
        font-size: 34px;
    }
}

@media (max-width: 640px) {

    .product-header::before {
        background-position: bottom;
        background-size: 150% auto;
    }

    .product-header-inner {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;

        padding: 0px 20px 100px;
        min-height: auto;
    }

    .product-header-content {
        max-width: 100%;
    }

    .product-header-title {
        font-size: 30px;
    }

    .product-header-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 420px) {

    .product-header-title {
        font-size: 26px;
    }

    .product-header-subtitle {
        font-size: 16px;
    }
}
