/* Title section styles */

#product-navigator {
    margin: 4rem 0rem 4rem 0rem;
}
#product-navigator #product-search {
    position: relative;
}

#product-navigator .title-block-section {
    text-transform: uppercase;
    color: #fff;
    font-size: 8.75rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #e2e2e2;
    font-weight: bold;
    position: absolute;
    right: 0rem;
    top: -8rem;
    box-sizing: border-box;
    z-index: -1;
}

@media screen and (max-width: 1280px) {
    #product-navigator .title-block-section {
        font-size: 5.75rem;
        top: -5.3rem;
    }
}
@media screen and (max-width: 980px) {
    #product-navigator .title-block-section {
        font-size: 5.75rem;
        top: -5.2rem;
    }
    #product-search {
        margin-top: 6rem;
    }
}
@media screen and (max-width: 600px) {
    #product-navigator .title-block-section {
        font-size: 5rem;
        top: -4.8rem;
    }
}
@media screen and (max-width: 500px) {
    #product-navigator .title-block-section {
        font-size: 3.5rem;
        top: -3.2rem;
    }
    #product-search {
        margin-top: 4rem;
    }
}

/*Red line on subheaders*/

.product-navigator-content .red-line-subtitle img {
    margin-bottom: 0.3rem;
}

/*TO DO Search inputs and selector*/

@media screen and (max-width: 1320px) {
    .product-search {
        padding: 0px var(--wp--style--root--padding-left) 0px var(--wp--style--root--padding-right);
    }
}

.product-search input {
    box-shadow: #ccc 0px 0px 0px 1px;
    border-radius: 4px;
    width: calc(100% - 90px);
    margin-right: 16px;
    line-height: 32px;
    position: relative;
    top: -3px;
    background: #fff;
}

.product-search button {
    border-radius: 4px;
}

.product-search svg {
    fill: white;
    transform: rotate(270deg);
}

.product-search input:focus,
.product-search textarea:focus {
    background: white !important;
}

/*Category block style*/

.product-search:last-child > div > div {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

@media screen and (max-width: 992px) {
    .product-search:last-child > div {
        flex-wrap: wrap;
    }
    .product-search:last-child > div > div {
        flex-basis: 48% !important;
        padding-top: var(--wp--preset--spacing--2-rem) !important;
        padding-right: var(--wp--preset--spacing--3-rem) !important;
        padding-bottom: var(--wp--preset--spacing--2-rem) !important;
        padding-left: var(--wp--preset--spacing--3-rem) !important;
        min-height: 80px !important;
    }
}

@media screen and (max-width: 769px) {
    .product-search:last-child > div > div {
        flex-basis: 48% !important;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        align-items: center;
    }
    .product-search:last-child > div > div:last-child {
        flex-direction: column;
    }
    .product-search:last-child > div > div:last-child * {
        width: 100%;
        text-align: left;
    }
}

.product-search:last-child > div > div img {
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 769px) {
    .product-search:last-child > div > div figure {
        width: 56px;
        flex-basis: 56px;
    }
}

.product-search:last-child > div > div p {
    font-weight: 700;
    max-height: 42px;
    overflow: hidden;
}
@media screen and (max-width: 769px) {
    .product-search:last-child > div > div p {
        flex-grow: 1;
        text-align: left;
        margin-top: 0px !important;
    }
}

.product-search:last-child > div > div .wp-block-button:last-child .wp-block-button__link {
    margin-top: 8px;
}

/*The second flex is to create a 2 column magic element. If it works, dont touch it*/

.product-search > div:last-child > div {
    flex: 1 0 15%;
}
.product-search > div:last-child > div:last-child {
    flex-basis: 32%;
}

/*Last element responsive floats*/

.product-navigator .wp-block-button {
    flex-basis: 100%;
}

.product-navigator .wp-block-button .wp-block-button__link {
    justify-content: left;
}
@media screen and (max-width: 769px) {
    .product-navigator .wp-block-buttons {
        margin-top: 0px !important;
    }
}
