.accessories-link {
    background-image: url(/wp-content/uploads/2026/01/manifold-gauge-series-accessories.jpg);
    height: 160px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: flex;
    align-items: end;
    padding: 20px;
    position: relative;
    /* clip-path: polygon(0 0, 100% 0, 100% 70%, 80% 100%, 0 100%); */
    border-radius: 4px;
    overflow: hidden;
}

.accessories-link {
    color: white;
    z-index: 1;
}

.accessories-link:hover {
    color: var(--e-global-color-accent);
}

.accessories-link::before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(27, 26, 35, .0) 0%, var(--e-global-color-dark-background-2) 90%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.elementor-widget-shortcode:not(.with-picture) .facetwp-type-radio {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media screen and (min-width: 1600px) {
    .elementor-widget-shortcode:not(.with-picture) .facetwp-type-radio {
        gap: 15px;
    }
}

.elementor-widget-shortcode:not(.with-picture) .facetwp-radio,
.elementor-widget-shortcode:not(.with-picture) .facetwp-checkbox {
    background: 0 0 !important;
    position: relative;
    padding-left: 30px !important;
}

.elementor-widget-shortcode:not(.with-picture) .facetwp-radio::before,
.elementor-widget-shortcode:not(.with-picture) .facetwp-checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 20px;
    height: 20px;
    outline: 1px #666 solid;
    background-color: #fff;
    border-radius: 2px;
}

.elementor-widget-shortcode:not(.with-picture) .facetwp-radio:hover::before,
.elementor-widget-shortcode:not(.with-picture) .facetwp-checkbox:hover::before {
    background-color: var(--e-global-color-accent);
}

.elementor-widget-shortcode:not(.with-picture) .facetwp-radio.checked::before,
.elementor-widget-shortcode:not(.with-picture) .facetwp-checkbox.checked::before {
    background-color: var(--e-global-color-accent);
    background-image: url(/wp-content/uploads/2026/01/checked.svg) !important;
    background-size: 75%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* fix height */
.bd-products-grid .elementor-loop-container {
    grid-auto-rows: auto !important;
}

.bd-products-grid .elementor-loop-container .e-loop-item {
    height: 100%;
}

.bd-breadcrumbs a {
    color: white;
}

.bd-breadcrumbs .bd-breadcrumb-current {
    font-weight: bold;
}

.products-wrapper {
    align-items: start;
    gap: 40px;
}

@media screen and (min-width: 1920px) {
    .products-wrapper {
        gap: 80px;
    }
}

/* product grid, make the sidebar 25 and 20%, make the right col natural */
#facetwp-filters-wrapper {
    background-image: linear-gradient(to right, #606060, #4C4C4C);
    font-size: .9rem;
    border-radius: 20px;
}

.filters-heading::after {
    background: #C6C6C6;
}

.facetwp-facet {
    margin-bottom: 30px !important;
}

@media screen and (max-width: 1023px) {
    .products-wrapper {
        gap: 20px;
    }
}

@media screen and (min-width: 768px) {
    #facetwp-filters-wrapper {
        width: 30% !important;
        padding: 20px;
    }
}

@media screen and (min-width: 1024px) {
    #facetwp-filters-wrapper {
        width: 25% !important;
    }
}

@media screen and (min-width: 1366px) {
    #facetwp-filters-wrapper {
        width: 23% !important;
        padding: 25px;
    }
}

@media screen and (min-width: 2000px) {
    #facetwp-filters-wrapper {
        width: 20% !important;
        padding: 30px;
    }
}

.products-col {
    width: auto !important;
    flex: 1 !important;
}

@media screen and (max-width: 1600px) {

    .bd-products-grid .bd-grid-spec-item,
    .bd-products-grid .bd-grid-spec-item .elementor-heading-title {
        font-size: 14px !important;
    }
}

#cf7-b2b-cart .cart-item {
    background: #313036;
    border-radius: 4px;
    padding: 20px 40px 20px 20px;
}

#cf7-b2b-cart .product-more {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    font-weight: bold;
    margin-top: 20px;
}

#cf7-b2b-cart .product-content {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

#cf7-b2b-cart .product-sku {
    margin: 0;
}

#cf7-b2b-cart .cart-item .product-more:has(input:checked)+.product-content {
    display: flex !important;
}

#cf7-b2b-cart .product-content p {
    margin: 0;
    font-size: .9rem;
}

#cf7-b2b-cart .product-more::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(/wp-content/uploads/2026/01/chevron-down.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: .25s ease-in;
}

#cf7-b2b-cart .product-more:hover::after {
    transform: translateY(-50%) translateX(10px);
}

#cf7-b2b-cart .product-remove {
    background-image: none;

    -webkit-mask: url(/wp-content/plugins/cf7-b2b-inquiry/assets/close.svg) no-repeat center;
    -webkit-mask-size: contain;
    mask: url(/wp-content/plugins/cf7-b2b-inquiry/assets/close.svg) no-repeat center;
    mask-size: contain;

    background-color: white;
}

.filter-breadcrumbs {
    margin-top: 120px;
}

.with-picture .facetwp-checkbox,
.with-picture .facetwp-checkbox .facetwp-display-value,
.with-picture .facetwp-radio,
.with-picture .facetwp-radio .facetwp-display-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.with-picture .facetwp-checkbox,
.with-picture .facetwp-radio {
    padding: 4px 0;
    margin: 0 0 8px;
}

.with-picture .facetwp-checkbox .pic,
.with-picture .facetwp-radio .pic {
    position: relative;
    flex: 0 0 40px;
    border-radius: 4px;
    overflow: hidden;
}

.with-picture .facetwp-checkbox .pic img,
.with-picture .facetwp-radio .pic img {
    display: block;
    width: 40px;
    height: 40px;
}

.with-picture .facetwp-checkbox .pic::before,
.with-picture .facetwp-radio .pic::before {
    content: "";
    display: block;
    position: absolute;
    background: white;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.with-picture .facetwp-checkbox .pic::after,
.with-picture .facetwp-radio .pic::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    z-index: 12;
}

.with-picture .facetwp-checkbox:hover .pic::before,
.with-picture .facetwp-radio:hover .pic::before {
    background: var(--e-global-color-accent);
}

.with-picture .facetwp-checkbox.checked .pic::after,
.with-picture .facetwp-radio.checked .pic::after,
.with-picture .facetwp-checkbox:hover .pic::after,
.with-picture .facetwp-radio:hover .pic::after {
    box-shadow: inset 0 0 0 1px var(--e-global-color-accent);
}

.with-picture .facetwp-checkbox.checked .pic::after,
.with-picture .facetwp-radio.checked .pic::after {
    background-color: rgba(0, 0, 0, .75);
    background-image: url(/wp-content/uploads/2026/01/checked-yellow.svg);
    background-size: 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.with-picture .facetwp-checkbox img,
.with-picture .facetwp-radio img {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    position: relative;
    z-index: 10;
}

.add-to-cart-container {
    font-family: var(--font-stack-heading);
    font-weight: bold;
}

/* this need to add to the plugin */
#cf7-b2b-add-to-cart-error-popup,
#cf7-b2b-add-to-cart-popup {
    z-index: 10000;
}