.woocommerce-page #main {
    margin-top: 50px;
    padding: 90px 0;
}

.woocommerce-page:not(.single-product) h1 {
    text-align: center;
}

.woocommerce .entry-title,
.woocommerce h1 {
    font-size: 48px;
}

nav.woocommerce-breadcrumb {
    display: none;
}

ul#menu-placeholder-menu .menu-item a span.cart-item-count {
    color: #fff;
    /* margin: 0 10px; */
    background-color: var(--cta);
    border-radius: 45px;
    width: 16px;
    display: inline-block;
    text-align: center;
    position: absolute;
    right: 5px;
}

/* shop page */
.woocommerce-shop .yith-ywraq-add-to-quote {
    width: 100%;
    text-align: center;
}

.woocommerce-shop .products .product {
    border: 1px solid var(--primary);
    border-radius: 45px;
    padding: 15px 20px!important;
    z-index: 10;
    overflow: hidden;
}

.woocommerce.woocommerce-shop ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.woocommerce.woocommerce-shop ul.products li.product a.add-request-quote-button.button {
    margin: 5px 0;
}

.woocommerce.woocommerce-shop ul.products li.product a.woocommerce-loop-product__link img {
    border: none;
}

/* archive pages */
.woocommerce.product-list-page ul.products li.product {
    border: 1px solid var(--primary);
    display: flex;
    padding: 15px;
    align-items: center;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 1.5em;
    order: 0;
    padding: 0;
}

ul.products li.product .attributes p {
    margin-bottom: 0;
    font-size: 16px;
}

.woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link img {
    /* max-width: 10%;
    margin: 0 auto;
    order: 5;
    border: 1px solid var(--primary); */
    display: none;
}

.woocommerce.woocommerce-shop ul.products li.product a.woocommerce-loop-product__link img {
    max-width: 50%;
    margin: 0 auto;
    margin-top: 20px;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link::before {
    content: '';
    position: absolute;
    width: 98%;
    height: 30px;
    top: -1px;
    left: 1%;
    background-color: #7e95b6;
    border-radius: 45px 45px 0 0;
    z-index: 1;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover img {
    opacity: .8;
    transition: opacity .4s ease-in-out;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover h2 {
    color: #98aac5;
    transition: color .4s ease-in-out;
}

.archive-top-bar {
    background-color: var(--primaryalt);
    text-align: right;
    border-radius: 45px;
    margin-bottom: 16px;
}

.archive-top-bar h3 {
    color: var(--primary-l-4);
    padding: 10px 5%;
}

/* archive, product list page */
.product-list-page.woocommerce-page ul.products.columns-4 li.product {
    width: 100%;
    margin: 0;
}

.woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    width: 100%;
}

.product-list-page a.woocommerce-LoopProduct-link.woocommerce-loop-product__link::before {
    display: none;
}

.product-list-page.woocommerce-page ul.products.columns-4 li.product:nth-child(even) {
    background-color: var(--primary-l-4);
}

.woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link .attributes {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link .attributes > span {
    width: 100%;
}

.product-list-page .product-list-header > div span {
    width: 100%;
    font-weight: 700;
}

.woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link h2 { 
    width: 10%;
    font-size: 22px;
    margin-right: 10px;
}

.product-list-header span.title {
    width: 10%;
    margin-right: 10px;
}

.product-list-page .product-list-header {
    background-color: var(--primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
    font-weight: 700;;
}

.product-list-page .product-list-header > div {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.product-list-header .rfq {
    width: 20%;
    margin-left: 20px;
}

body.woocommerce .button-primary,
body.woocommerce .button-secondary,
body.woocommerce .button-cta {
    background-image: url(/wp-content/uploads/arrow-up-right-light-full.svg);
    background-repeat: no-repeat;
    background-position-x: 90%;
    margin: 5px 0;
}

.term-description > p {
    text-align: center;
}

.term-description p > a {
    margin: 0 10px;
    width: 30%;
}

.filter-wrap {
    display: flex;
    /* flex-wrap: wrap; */
    column-gap: 10px;
    justify-content: flex-start;
}

.filter-wrap .filter-item {
    width: calc(33% - 20px);
}

.filter-wrap .filter-item h4 {
    color: var(--primary);
}

a.facetwp-reset {
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: underline;
    font-size: 14px;
}

.woocommerce.product-list-page a.button.product_type_simple.add_to_cart_button {
    width: 20%;
    margin: 0;
    text-align: center;
    padding: 15px;
    height: 10%;
    margin-left: 15px;
}

div.yith-ywraq-add-to-quote {
    width: 20%;
}

.woocommerce ul.products li.product a.add-request-quote-button.button {
    margin: 0 15px;
    padding: 15px;
    text-transform: uppercase;
    font-size: .9em;
}

/* two column feature on category pages */
.archive .two-col-feature {
    margin: 50px 0;
}

.two-col-feature .row-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.two-col-feature .row-inner .f-text.feature-1 {
    width: calc(50% - 40px);
}

.two-col-feature .row-inner .f-text.feature-2 {
    width: calc(50% - 40px);
    position: relative;
}

.two-col-feature .row-inner .f-text {
    border: 1px solid var(--primary);
    border-radius: 45px;
}

.two-col-feature .row-inner .f-text h2 {
    padding: 40px 20px;
    background-color: var(--primaryalt);
    color: #fff;
    border-radius: 45px 45px 0 0;
}

.two-col-feature .row-inner .f-text p {
    margin: 40px 20px;
}

.product-features {
    list-style-type: none;
    margin-left: 0px !important;
}

.feature-2 .feature-content {
    padding: 30px;
    position: relative;
}

.f-text.feature-2 .feature-content {
    max-height: 500px;
    overflow-y: scroll;
}

.f-text.feature-2 img {
    display: block;
    width: 300px;
}

.feature-content li {
    margin-bottom: 8px;
    padding-left: 0 !important;
    font-size: 13px;
    line-height: 15px;
}

.feature-content li strong {
    color: #124db2 !important;
    margin-bottom: 2px;
    display: block;
}

.product-info img {
    display: block;
    margin: 0 auto;
}

/* product pages */
.woocommerce-tabs.wc-tabs-wrapper {
    width: 100%;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, 
.woocommerce table.shop_attributes tr:nth-child(even) th {
    background: var(--primary-l-4);
}

.single-product header.site-header {
    background: url(/wp-content/uploads/hero-water-treatment.jpg);
    /* position: relative; */
}

.tax-product_cat header.site-header {
    background: url(https://stg-mediavalve-mvstg.kinsta.cloud/wp-content/uploads/cta-bg-default.jpg);
    background-position: bottom center;
    background-attachment: fixed;
}

.single-product header.site-header::after,
.tax-product_cat header.site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(26 115 232 / 22%);
    z-index: 2;
}

.single-product header.site-header .wrap,
.tax-product_cat header.site-header .wrap {
    z-index: 5;
    position: relative;
}

.single-product div.yith-ywraq-add-to-quote {
    width: fit-content;
    margin-top: 0!important;
}

.woocommerce.single-product .product div.yith-ywraq-add-to-quote a {
    margin-top: 0;
}

/* rfq page */
.yith-request-a-quote-page main#genesis-content {
    padding-top: 100px;
}

#yith-ywrq-table-list img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 200px;
}

@media only screen and (max-width: 959px) {
    .woocommerce-page #main {
        padding: 50px 5% 0;
    }

    .two-col-feature .row-inner .f-text {
        width: 100%!important;
        margin: 10px 0;
    }

    .term-description p > a {
        width: calc(50% - 20px);
        margin: 10px;
    }

    .woocommerce ul.products li.product a.woocommerce-loop-product__link img {
        display: none;
    }

    .product-list-page .product-list-header {
        font-size: 16px;
    }

    .woocommerce.product-list-page ul.products li.product {
        flex-wrap: wrap;
    }

    .product-list-page .product-list-header > div span {
        width: calc(100% / 7);
    }

    .woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link .attributes {
        width: 100%;
    }

    .woocommerce.product-list-page div.yith-ywraq-add-to-quote {
        margin: 0 auto;
    }

    .woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link h2 {
        font-size: 18px;
        width: 17%;
    }

    .woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link .attributes > span {
        width: 100%;
    }

    .woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link {
        align-items: flex-start;
    }

    .filter-wrap .filter-item {
        width: calc(50% - 20px);
    }
}

@media only screen and (max-width: 768px) {
    .product-list-page .product-list-header {
        display: none;
    }

    .woocommerce.product-list-page ul.products li.product span.style, 
    .woocommerce.product-list-page ul.products li.product span.insert, 
    .woocommerce.product-list-page ul.products li.product span.shaft,
    .woocommerce.product-list-page ul.products li.product span.operator {
        display: none;
    }

    .woocommerce.product-list-page ul.products li.product a.woocommerce-loop-product__link h2 {
        width: 200px;
    }

    .filter-wrap .filter-item {
        width: 100%;
    }

    .term-description p > a {
        width: 100%;
        margin: 10px 0;
    }

    .woocommerce div.product div.woocommerce-product-gallery {
        width: 100%;
        margin: 0;
    }

    .woocommerce div.product div.summary.entry-summary {
        width: 100%;
    }

    div.yith-ywraq-add-to-quote {
        width: fit-content;
        max-width: 350px;
    }

    .woocommerce.product-list-page ul.products li.product {
        flex-wrap: nowrap;
    }
}

@media only screen and (max-width: 500px) {
    .woocommerce.product-list-page ul.products li.product {
        flex-wrap: wrap;
    }
}