.woocommerce-billing-fields #billing_address_1_field,
.woocommerce-billing-fields #billing_address_2_field,
.woocommerce-billing-fields #billing_city_field,
.woocommerce-billing-fields #billing_state_field,
.woocommerce-billing-fields #billing_postcode_field {
    visibility: hidden;
    height:0; width:0;
    display: none;
    overflow: hidden;
    margin:0;
}

/* All Brands Page */

.woocommerce-js .pwb-all-brands .pwb-brands-cols-outer {
    /* flex-direction: column; */
    flex-direction: row;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    /* max-height: 60vh; */
    margin-top: 1em;
}

.woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 {
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-items: flex-end;
    align-content: center;
    width: calc(25% - 15px);
}

.woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 small {
    visibility: hidden;
    width:0; height:0;
    display: none;
}

.woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 p {
    margin:0;
    font-size: 1em;
    line-height: 1.2;
}

.pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 img {
    max-width: 100px;
    padding-right: 15px;
}

.yith-wcwl-add-to-wishlist-button:is(button) svg, .yith-wcwl-add-to-wishlist-button:is(button) img {
    width: 16px;
    height: 16px;
}

/* ARCHIVE PAGE START */

.woocommerce .archive-description {
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}

.woocommerce .archive-description img {
    max-width: 220px;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.woocommerce .archive-description p {
    max-width: 960px;
}

.archive .kadence-shop-top-row {
    padding-bottom: 15px;
}

.archive .pwb-brands-in-loop a {
    pointer-events: none;
    cursor: default;
}

.archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin-top: 0;
}

#main .product-details .price,
.home #main .product-details .price,
.archive.woocommerce ul.products li.product .price {
    font-weight: 700;
}

.woocommerce #main section.related.products {
    height: auto;
    min-height: fit-content;
}

.product-archive-title {
	margin-top: 1rem;
}

.products .product-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left:0;
}

.home .products .product-details {
    align-items: flex-start;
    flex-wrap: wrap;
}

.product > *,
.products h2 {
    text-align: left;
}

.products .product-details>* {
    width: 100%;
    order: 1;
}

.products .product-details .pwb-brands-in-loop {
    order: 0;
    font-weight: 500;
    font-size: .85em;
    line-height: 1.1;
    letter-spacing: .01em;
    margin-bottom: .5em;
    text-transform: uppercase;
}

.woocommerce ul.products li.product .product-details h2.woocommerce-loop-product__title {
    font-weight: 700;
    font-size: 1em;
}

.woocommerce ul.products li.product .product-details .product-short-description p {
    margin-top: 0;
    margin-bottom: 0.25em;
    font-size: .85em;
}

.woocommerce ul.products li.product .product-details .price,
.woocommerce ul.products li.product .product-details .product-action-wrap {
    width: auto;
    margin-top:0;
}

.products .product-details .pwb-brands-in-loop {
    /* padding-right: 25px; */
}

.woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button.add_to_cart_button,
ul.products .product-action-wrap .button.add_to_cart_button,
.yith-add-to-wishlist-button-block span {
    visibility: hidden;
    width:0;
    height:0;
    display: none;
}

/* .woocommerce ul.products:not(.woo-archive-btn-button) li:where(:not(.woo-archive-btn-button) ) .button:not(.kb-button):after,
.woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button.add_to_cart_button:after,
ul.products .product-action-wrap .button.add_to_cart_button:after {
    content:"";
    display: inline-block;
    position: absolute;
    right:0; top:12px;
    padding:0;
    width: 18px;
    height: 18px;
    background-image: url("../img/busket.svg");
    background-size: contain;
    background-repeat: no-repeat;
    visibility: visible;
} */

.woocommerce-ordering {
    font-size: 13px;
    font-weight: 400;
}

.woocommerce-ordering select.orderby,
.woocommerce-ordering select.orderby option {
    font-weight: 400;
	color: var(--e-global-color-kadence4);
}

.products .product {
    width: calc(25% - 18px);
    margin-bottom: 25px;
}

/* .related .products .product {
    width: calc(16.67% - 20px);
    margin-bottom: 32px;
} */

.related .products .product {
        width: calc(25% - 15px);
        margin-bottom: 30px;
}

.woocommerce ul.products li.product.entry .entry-content-wrap {
    padding: 10px 20px 0 0;
    padding-left: 0;
    margin: 0;
}

.woocommerce ul.products li.product.entry .entry-content-wrap h2 {
    padding-top: 0;
}

.woocommerce ul.products:not(.woo-archive-btn-button) li.product:where(:not(.woo-archive-btn-button) ) .button:not(.kb-button) {
    color: var(--e-global-color-kadence2);
}

/* WISH LIST */

.woocommerce-wishlist #wrapper .woocommerce-message {
    visibility: hidden;
    width:0; height:0;
    display: none;
}

.yith-add-to-wishlist-button-block {
    margin: 0 auto;
}

#wrapper .yith-wcwl-add-to-wishlist-button:is(button) {
    gap: 1px;
    padding: 0;
    /* font-size: .9rem; */
}

.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor svg.yith-wcwl-icon-svg, .yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor img {
    max-width: 18px;
    width: 18px;
}

.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    vertical-align: middle;
    display: inline-block;
    margin:0;
    margin-top: .35em;
    margin-left: 1em;
}

.woocommerce #wrapper .wishlist-title {
    margin-bottom: 2em;
}

.woocommerce #wrapper .wishlist-title .show-title-form {
    display: none;
    visibility: hidden;
    height:0; width: 0;
}

.woocommerce #wrapper .wishlist-title h2 {
    margin-left:0;
    padding-left:0;
}

.woocommerce #wrapper table.wishlist_table thead,
.woocommerce #wrapper table.wishlist_table thead tr,
.woocommerce #wrapper table.wishlist_table thead tr th,
.woocommerce #wrapper table.wishlist_table thead tr th span {
    background: transparent;
    font-size: 0;
    line-height: 0.1;
    color: transparent;
    height:0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.woocommerce #wrapper table.wishlist_table tbody tr {
    border-top: 1px solid #eee;
    position: static;
}

#wrapper .wishlist_table.mobile {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left:-30px;
}

#wrapper .wishlist_table.mobile li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1.5em;
    min-width: 320px;
    width: 33.3%;
    /* height: 110px; */
    padding-left: 30px;
    position: relative;
}

@media screen and (max-width:820px) {

    #wrapper .wishlist_table.mobile li {
        width: 50%;
    }
    
}

@media screen and (max-width:640px) {

    #wrapper .wishlist_table.mobile li {
        width: 100%;
    }
}

#wrapper .wishlist_table.mobile li .item-wrapper {
    margin-bottom: 0;
}

#wrapper .wishlist_table.mobile li .item-wrapper .item-details {

}

#wrapper .wishlist_table.mobile li .item-details h3 {
    font-size: 1rem;
    margin-bottom: 3px;
}

#wrapper .wishlist_table.mobile li .item-wrapper .product-thumbnail {
    max-width: 70px;
    margin-right: 5px;
}

#wrapper .wishlist_table.mobile li .item-wrapper .product-thumbnail img {
    max-height: 70px;
    width: auto;
}

#wrapper .wishlist_table.mobile li .item-wrapper {
    width: calc(100% - 30px);
}

#wrapper .wishlist_table.mobile li .item-details table.item-details-table {
    margin-bottom: 0;
}

#wrapper .wishlist_table.mobile .item-details-table .label {
    width: 0;
    visibility: hidden;
    display: none;
}

#wrapper .wishlist_table.mobile .item-details-table .value {
    text-align: left;
    padding: 0;
}

#wrapper .wishlist_table.mobile .product-add-to-cart a.button {
    display: block !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}

#wrapper .wishlist_table.mobile li .product-remove {
    background-color: #aaa;
    padding: 0 5px;
    position: absolute;
    right: 0;
    top: 0;
}

#wrapper .wishlist_table.mobile li .product-remove .fa-trash:before {
    content: "\00D7";
    color: #fff;
    font-size: 1.25rem;
    font-weight: 400;
}

/* END OF WISH LIST */

/* SINGLE PRODUCT PAGE START */

.woocommerce .product-title .kadence-breadcrumbs {
    font-size: 13px;
}

.woocommerce div.entry.product div.images .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child) {
    opacity: 0;
}

.woocommerce div.entry.product div.images .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image.flex-active-slide {
    opacity: 1;
}

.woocommerce .sp-tab__tab-content li {
    line-height: 1.3;
    padding-bottom: .5em;
}

.woocommerce div.entry.product form.cart {
    margin-bottom: 1em;
}

.woocommerce div.entry.product .single-product-payments {
    display: block;
    clear: left;
    padding: 0;
    border: none;
    margin-bottom: 1em;
}

.woocommerce div.entry.product .single-product-payments legend {
    padding-left: 0;
    margin-bottom: .35em;
    font-weight: 600;
    color: #aaa;
}

.woocommerce div.entry.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images {
    max-width: 50%;
    width: auto;
}

.woocommerce div.product div.summary>:first-child {
    padding-top: 0;
    margin-bottom: 1em;
}

.cart {
    float:left;
}

.woocommerce div.entry.product div.summary,
.woocommerce #content div.product div.summary,
.woocommerce-page div.product div.summary,
.woocommerce-page #content div.product div.summary {
    float: left;
    margin-top: 0;
    margin-left: 30px;
    margin-bottom: 1.25em;
    width: auto;
    min-width: 30%;
}

.woocommerce div.entry.product .woocommerce-tabs,
.woocommerce #content div.product .woocommerce-tabs,
.woocommerce-page div.product .woocommerce-tabs,
.woocommerce-page #content div.product .woocommerce-tabs {
    clear:right;
    float:left;
    margin-left: 30px;
    width: auto;
    min-width: 30%;
    max-width: 600px;
    max-width: 45%;
}

.woocommerce div.entry.product .woocommerce-tabs ul.tabs {
    padding-left:0;
}

.woocommerce div.entry.product div.summary h1,
.woocommerce #content div.product div.summary h1,
.woocommerce-page div.product div.summary h1,
.woocommerce-page #content div.product div.summary h1 {
    font-size: 1.5rem;
}

.woocommerce div.entry.product div.summary .price,
.woocommerce #content div.product div.summary .price,
.woocommerce-page div.product div.summary .price,
.woocommerce-page #content div.product div.summary .price {
    margin: .5em 0;
    font-weight: 600;
}

.woocommerce div.entry.product .woocommerce-product-details__short-description {
    margin-bottom: 1.25em;
    font-size: 13px;
}

.woocommerce div.entry.product div.images.woocommerce-product-gallery {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-height: 60dvh;
}

.woocommerce div.entry.product div.images.woocommerce-product-gallery .flex-viewport {
    width: 84%;
}

.woocommerce div.entry.product div.images.woocommerce-product-gallery .flex-direction-nav {
    position: absolute;
    top:0; left:0;
    display: none !important;
    visibility: hidden;
    width:0;
    height:0;
}

.woocommerce div.entry.product div.images .flex-control-thumbs {
    margin-top: 0;
    transform: none;
    display: flex;
    left:0;
    margin: 0;
    position: static;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 15%;
    gap: 5px;
}

.woocommerce div.entry.product div.images .flex-control-thumbs li:first-child,
.woocommerce div.entry.product div.images .flex-control-thumbs li {
    max-width: 100px;
    max-height: 100px;
    width: 6dvw;
    height: 6dvw;
    /* height:120px; */
}

.woocommerce div.entry.product div.images .flex-control-thumbs li img {
    border-top: none;
    border-bottom: 5px solid var(--global-palette9);
    border-right: 5px solid var(--global-palette9);
    border-left: 0;
    object-fit: cover;
    width: 100%;
}

.pwb-text-before-brands-links {
        display: none !important;
    }

.product-action-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    margin-left: auto;
    position: absolute;
    right:0; top:3px;
}

.product .product-details .pwb-brands-in-loop {
    padding-right: 25px;
}

.wpr-grid .wpr-grid-item {
    width: calc(25% - 18px);
    margin-bottom: 32px;
}

.woocommerce div.entry.product div.images .flex-control-thumbs li:first-child {
    padding-left: 0;
}

.woocommerce div.entry.product div.images img {
    max-width: 100%;
    width: auto;
    max-height: 60dvh;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce div.entry.product div.images,
.woocommerce #content div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce-page #content div.product div.images {
    /* width: auto; */
}

.woocommerce table.woocommerce-product-attributes.shop_attributes {
    border-top: none;
}

html body.woocommerce.sptpro-smart-tabs .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel#tab-additional_information {
    padding-top: 5px;
}

.woocommerce table.woocommerce-product-attributes.shop_attributes tr:nth-child(even) td,
.woocommerce table.woocommerce-product-attributes.shop_attributes tr:nth-child(even) th {
    background: transparent;
}

/* @media screen and (max-width:1480px) {

    .related .products .product {
        width: calc(20% - 19px);
        margin-bottom: 32px;
    }
} */


@media screen and (max-width:1140px) {

    .products .product {
        width: calc(33.33% - 16px);
        margin-bottom: 24px;
    }

    .related .products .product {
        width: calc(25% - 15px);
        margin-bottom: 30px;
    }

    .woocommerce-js .pwb-all-brands .pwb-brands-cols-outer {
        /* justify-content: space-between; */
        gap: 12px;
    }

    .woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 {
        width: calc(33% - 8px);
    }
}

@media screen and (max-width:1024px), screen and (orientation: portrait) {
    .woocommerce div.entry.product div.images.woocommerce-product-gallery {
        min-height: 50dvh;
    }
    .woocommerce div.entry.product div.images img {
        max-height: 50dvh;
    }

    #main .e-con-inner {
        gap: 8px 7px;
    }

    #main .elementor-button-wrapper .elementor-button {
        padding:5px 10px;
        font-size: 12px;
        letter-spacing: 0.02em;
    }
}

@media screen and (max-width:990px) {

    .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 img {
        max-width: 90px;
        padding-right: 12px;
    }
}

@media screen and (max-width:820px) {

    .products .product {
        width: calc(50% - 8px);
        margin-bottom: 16px;
    }
    /* .related .products .product {
        width: calc(33.33% - 10px);
        margin-bottom: 24px;
    } */
    .woocommerce div.entry.product div.summary,
    .woocommerce #content div.product div.summary,
    .woocommerce-page div.product div.summary,
    .woocommerce-page #content div.product div.summary,
    .woocommerce div.entry.product .woocommerce-tabs,
    .woocommerce #content div.product .woocommerce-tabs,
    .woocommerce-page div.product .woocommerce-tabs,
    .woocommerce-page #content div.product .woocommerce-tabs {
        margin-left: 20px;
    }
}

@media screen and (max-width:760px) {

    .woocommerce div.entry.product div.images {
        margin-bottom: .5em;
        padding-bottom: .5em;
    }

    .woocommerce div.entry.product div.summary,
    .woocommerce #content div.product div.summary,
    .woocommerce-page div.product div.summary,
    .woocommerce-page #content div.product div.summary,
    .woocommerce div.entry.product .woocommerce-tabs,
    .woocommerce #content div.product .woocommerce-tabs,
    .woocommerce-page div.product .woocommerce-tabs,
    .woocommerce-page #content div.product .woocommerce-tabs {
        margin-left: 0;
        float: none;
        clear:both;
        width: 100%;
        max-width: 100%;
    }

    .woocommerce div.entry.product div.images .flex-control-thumbs li:first-child,
    .woocommerce div.entry.product div.images .flex-control-thumbs li {
        width: 12dvw;
        height: 12dvw;
    }

    .woocommerce div.entry.product div.images,
    .woocommerce #content div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce-page #content div.product div.images {
        max-width: 100%;
        width: auto;
    }

    .woocommerce div.entry.product div.images.woocommerce-product-gallery {
        min-height: 0;
    }
    .woocommerce div.entry.product div.images img {
        max-height: 75dvh;
    }
    
    .products .product-details .pwb-brands-in-loop {
        text-transform: none;
    }

    .woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 {
        width: calc(50% - 7px);
    }

    .woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 small {
        visibility: hidden;
        width:0; height:0;
        display: none;
    }

    .woocommerce-js .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 p {
        font-size: .8em;
    }

    .pwb-all-brands .pwb-brands-cols-outer .pwb-brands-col3 img {
        max-width: 60px;
        padding-right: 7px;
    }

    .woocommerce .archive-description p {
        font-size: .8em;
    }

    .woocommerce .archive-description img {
        max-width: 38%;
        margin-right: 1em;
        margin-bottom: .75em;
    }
}

@media screen and (max-width:560px) {

    .products .product {
        width: calc(50% - 6px);
        margin-bottom: 12px;
    }

    .related .products .product {
        width: calc(50% - 6px);
        margin-bottom: 12px;
    }
}

@media screen and (max-width:767px) {

    .kadence-shop-top-row {
        margin-top: 1rem;
    }
    
}