/*
Theme Name: apricotspace

WooCommerce styles override
*/
:root {
    --space-left: 25px;
    --sidebar-width: 279px
}


.woocommerce a,
.load-cart a {
    text-decoration: none;
}

/* product single */
.wc-product__top {
    display: flex;
    background-color: var(--white);
    padding: 20px 10px 30px 20px;
}

.in-stock {
    display: none;
}

.onsale {
    background-color: var(--accent);
    border-radius: 5px;
    padding: 3px 7px;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: var(--white);
    position: absolute;
    z-index: 2;
    left: 16px;
    top: 16px;
}

.variations tr,
.woocommerce-variation-add-to-cart,
.summary .cart:not(.variations_form),
.out-of-stock {
    padding-top: 20px;
}

.product_title,
.product-cost,
.variations tr,
.product_meta,
.woocommerce-variation-add-to-cart,
.summary .cart:not(.variations_form),
.out-of-stock {
    padding-left: var(--space-left);
}

.variations tr,
.product-cost,
.product_meta {
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--light-grey);
}

/* slider */
.wc-product__images {
    position: relative;
    line-height: 0;
    font-size: 0;
    max-width: 642px;
    width: 100%;
    margin: 0 32px 0 0;
}

.rtwpvg-images {
    max-width: 100%;
    width: 100%;
}

.rtwpvg-slider-wrapper {
    border-radius: var(--radius);
    border: 1px solid var(--light-grey);
    margin: 0 0 24px 0;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-next-arrow,
.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-prev-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.rtwpvg-thumbnail-slider .swiper-slide {
    margin-right: 23px !important;
    width: 110px;
    height: 140px;
    border-radius: var(--half-gap);
    border: 2px solid var(--light-grey);
    transition: 0.3s;
    box-sizing: border-box;
    opacity: 1 !important;
}

.rtwpvg-thumbnail-slider .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--dark-grey);
}

.rtwpvg-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger {
    background: url(img/zoom-in.svg) center no-repeat;
    background-size: 30px auto;
    right: 10px;
    bottom: 10px;
}

.rtwpvg-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger .dashicons {
    display: none;
}
.rtwpvg-slider-prev-arrow.swiper-button-disabled, .rtwpvg-slider-next-arrow.swiper-button-disabled {
    cursor: auto!important;
}
.rtwpvg-images:not(.rtwpvg-has-product-thumbnail) .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-prev-arrow,
.rtwpvg-images:not(.rtwpvg-has-product-thumbnail) .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-slider-next-arrow {
    visibility: hidden;
}

@media screen and (max-width: 1200px) {
    .wc-product__images {
        width: 56%;
    }
}

@media screen and (max-width: 1024px) {
    .rtwpvg-thumbnail-slider .swiper-slide {
        height: 120px;
    }
}

@media screen and (max-width: 800px) {
    .wc-product__top {
        display: block;
        padding: 20px;
        box-shadow: 0px 0px 6px 5px rgba(0, 0, 0, 0.04);
    }

    .wc-product__images {
        max-width: unset;
        width: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width:576px) {
    .wc-product__top {
        padding: 5px 5px 20px;
    }

    .wc-product__images .onsale {
        top: 10px;
        left: 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .wc-product__images .yith-add-to-wishlist-button-block {
        top: 10px;
        right: 10px;
    }

    .wc-product__images .yith-wcwl-add-to-wishlist-button svg,
    .wc-product__images .yith-wcwl-add-to-wishlist-button img.yith-wcwl-custom-icon {
        width: 24px;
    }

    .rtwpvg-images .rtwpvg-wrapper .rtwpvg-slider-wrapper .rtwpvg-trigger {
        right: 5px;
        bottom: 5px;
    }

    .rtwpvg-thumbnail-slider .swiper-slide {
        height: 100px;
    }
}

/* summary */
.summary {
    border-left: 1.5px solid var(--light-grey);
    flex: 1;
}

.product_title {
    margin-bottom: 14px;
}

.product-cost-title {
    margin-bottom: 10px;
}

.summary .price {
    display: block;
    margin: 0 0 0 32px;
    font-weight: 700;
    font-size: 24px;
    line-height: 23px;
    color: rgba(0, 0, 0, 0.9);
}

.summary .price del {
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: line-through;
    color: rgba(0, 0, 0, 0.4);
    margin-right: 20px;
}

.product-cost.hidden .product-cost-html {
    visibility: hidden;
    opacity: 0;
}

.product-cost__title {
    margin: 0 0 10px 0;
}

.price ins {
    background: none;
}

.out-of-stock {
    color: var(--red);
}

.product_meta {
    padding-top: 20px;
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
    margin: 0;
}

.product_meta__item {
    display: flex;
    align-items: center;
}

.product_meta__item--stores {
    align-items: flex-start;
    position: relative;
}
.product_meta__loader, 
.thwvsf-loading:after {
    display: block;
    width: 24px;
    height: 24px;
    background: url(./img/loader.gif) center no-repeat;
    background-size: cover;
    position: relative;
    z-index: 2;;
}
.thwvsf-loading:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}
.thwvsf-loading:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 1);
    z-index: 1;
    pointer-events: none;
}
.thwvsf-loading {
    position: relative;
}
.product_meta__term {
    font-weight: 400;
    flex-shrink: 0;
}

.product_meta__term--stores p {
    margin: 0;
}

.product_meta__def {
    color: var(--wc-grey);
    margin-left: 13px;
}

@media screen and (max-width: 800px) {
    :root {
        --space-left: 10px;
    }

    .summary {
        border-left: none;
        border-top: 1.5px solid var(--light-grey);
        margin: 30px 0 0;
        padding: 30px 0 0;
    }

    .summary .price {
        margin-left: 0;
    }

}

/* tabs */
.woocommerce-tabs {
    width: 100%;
    margin-top: 30px;
}

/* variations */
.variations {
    margin: 0;
}

.variations tr {
    display: flex;
    flex-direction: column;
}

.variations-label-wr {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.variations-label-wr>label {
    margin: 0 15px 0 0;
    font-weight: bold;
}

.variations-name {
    color: var(--wc-grey);
    font-weight: 400;
    text-transform:uppercase;
}

.variations-pa_size {
    display: none;
}

.variations tr {
    padding: 20px var(--space-left);
}

/* add to cart */
.woocommerce-variation-price {
    display: none;
}

.woocommerce-variation-add-to-cart,
.summary .cart:not(.variations_form) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.quantity-wr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--light-grey);
    height: 44px;
    width: 164px;
    padding: 10px 20px;
    box-sizing: border-box;
    margin: 0 30px 0 0;
}
.quantity {
    transition: 0.4s;
}
.quantity.disabled  {
    opacity: 0.5;
} 
.quantity.disabled .quantity-wr, .quantity.disabled button, .quantity.disabled input {
    pointer-events: none;
}
.quantity-action-btn {
    background: none;
    border: none;
    box-shadow: none;
    color: var(--black);
    padding: 0;
    min-height: unset;
    width: 17px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
}

.quantity-action-btn:hover {
    background: none;
}

.quantity-action-btn:disabled {
    pointer-events: none;
    opacity: 0.4;
    background: none;
}

.quantity-minus::before {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--black);
}

.quantity-plus::before {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--black);
}

.quantity-plus::after {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--black);
    position: absolute;
    transform: rotate(90deg);
}

.qty {
    width: 60px;
    border: none;
    height: 100%;
    padding: 5px;
    margin: 0 10px;
    font-weight: 600;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
    /* Firefox Fix */
    outline: none;
}

.qty::-webkit-inner-spin-button,
.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media screen and (max-width: 800px) {
    .quantity-wr {
        margin-right: 0;
        width: 149px;
    }
}

/* swatches */
.thwvsf_fields .thwvsf-wrapper-ul {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: 20px;
    list-style: none;
}

.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default {
    width: 34px;
    height: 34px;
}

.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-color-li {
    padding: 0;
    border-radius: 0;
    margin: 0 0 0 0;
    cursor: pointer;
    position: relative;
}
.product .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected:after {
content: '\2714';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    color: #cecece;
    text-shadow: 0 0 1.5px #000000;
}
.wishlist-table .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected:after ,
.product-item .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected:after {
    top: 0;
}
.thwvsf_fields .thwvsf-rad-li {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.thwvsf_fields .thwvsf-rad-li .checkmark,
.thwvsf-rad-li .th-container:hover input~.checkmark {
    background: rgba(0, 0, 0, 0) url(img/checkbox.svg) center no-repeat;
    border-radius: 0;
    transition: 0.3s;
}

.thwvsf_fields .thwvsf-rad-li .th-container .checkmark:after,
.thwvsf_fields .thwvsf-rad-li .th-container input:checked~.checkmark:after,
.thwvsf_fields .thwvsf-rad-li .th-container:hover .checkmark:after {
    display: none;
    content: "";
}

.thwvsf_fields .thwvsf-rad-li .th-container input:checked~.checkmark {
    background: rgba(0, 0, 0, 0) url(img/checkbox-selected.svg) center no-repeat;
}

/* sizes swatch like checkbox */
.thwvsf-wrapper-ul .thwvsf-label-li.attr_swatch_design_1 {
    display: block;
    position: relative;
    /* -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    -moz-transition: background 0.3s;
    transition: background 0.3s; */
    transition: none;
    background-image: url(img/checkbox.svg);
    background-repeat: no-repeat;
    background-position-y: 1px;
    min-height: 24px;
    padding-left: 30px;
    color: var(--black);
}

.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-label-li.attr_swatch_design_1 {
    height: unset;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-label-li.attr_swatch_design_1.thwvsf-selected {
    background-image: url(img/checkbox-selected.svg);
}

.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-label-li.attr_swatch_design_1.thwvsf-selected.deactive {
    background-image: url(img/checkbox.svg);
}

/* .thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-label-li.attr_swatch_design_1.deactive  {
    background-image: url(img/checkbox-passive.svg);
} */
.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_1.deactive::before,
.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_1.deactive::after,
.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attribute_pa_size.out_of_stock::after,
.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attribute_pa_size.out_of_stock::before {
    background: none !important;
}
.thwvsf-wrapper-ul .thwvsf-wrapper-item-li.deactive, .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attribute_pa_size.out_of_stock {
    display: none;
}
.thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected, .thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected:hover, .thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default:hover  {
    -webkit-box-shadow: 0 0 0 2px #cbd2d6;
    box-shadow: 0 0 0 2px #cbd2d6;
}
/* wc notices */
.woocommerce-notices-wrapper {
    color: var(--accent);
    text-decoration: underline;
    margin-bottom: 15px;
}

.woocommerce-notices-wrapper .button {
    text-transform: none;
    color: var(--black);
    margin-left: 15px;
}

.woocommerce-notices-wrapper .button:hover {
    color: var(--accent);
}

.woocommerce-notices-wrapper li {
    margin-bottom: 10px;
}

/* cart page */
.cart-page-content .woocommerce-notices-wrapper {
    visibility: hidden;
    height: 0px;
    overflow: hidden;
    padding: 0;
}

.cart-outer {
    background: var(--white);
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    overflow: hidden;
}

.shop_table {
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
    border-collapse: collapse;
    margin-bottom: 0;
    background: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    position: relative;
}

.shop_table thead tr {
    background: var(--light-grey);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--black);
}

.shop_table thead th,
.shop_table thead td {
    padding: 10px;
    border: none;
}

.shop_table td,
.shop_table th {
    padding: 16px 8px;
    border-bottom: 1px solid var(--light-grey);
    box-sizing: content-box;
}

.shop_table tbody td:first-child {
    padding-left: 16px;
}

.shop_table thead th:first-child,
.shop_table thead td:first-child {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}

.shop_table thead th:last-child,
.shop_table thead td:last-child {
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.shop_table a {
    text-decoration: none;
    color: var(--black);
}

.shop_table a:hover {
    color: var(--accent);
}

td.product-remove {
    width: 24px;
}

td.product-thumbnail {
    width: 120px;
    line-height: 1;
}

.product-price,
.product-subtotal,
.product-quantity {
    text-align: center;
}

.product-remove a {
    display: block;
    width: 24px;
    height: 24px;
    background: url(img/close.svg) center / contain no-repeat;
    line-height: 0;
    font-size: 0;
}

.product-thumbnail img {
    width: 120px;
    height: 120px;
    border: 1px solid var(--light-grey);
    border-radius: var(--radius);
    object-fit: cover;
}

.product-name a {
    display: block;
    max-width: 210px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.variation {
    margin-top: 10px;
}

.variation-item {
    display: flex;
}

.variation dt {
    font-weight: 400;
}

.variation dd {
    margin: 0 0 0 5px;
}

.product-price del {
    font-weight: 500;
    opacity: 0.4;
}

.product-price ins {
    font-weight: 700;
    opacity: 0.9;
    margin-left: 5px;
    background: none;
}

.product-quantity .quantity-wr {
    margin: 0 auto;
}

/* cart totals */
.cart_totals {
    padding: 30px;
}

.cart_totals a {
    text-decoration: none;
}

.cart_totals_top {
    max-width: 330px;
    width: 100%;
    margin: 0 0 0 auto;
}

.cart_totals__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.totals-table {
    margin-bottom: 20px;
}

.totals-table th,
.totals-table td {
    border-bottom: 1px solid var(--light-grey);
    padding: 8px 0;
}

.totals-table th {
    text-align: left;
    text-transform: uppercase;
    padding-right: 10px;
    font-weight: inherit;
}

.totals-table td {
    text-align: right;
}

.cart-subtotal,
.order-sale {
    font-weight: 500;
}

.cart-subtotal th {
    color: var(--dark-grey);
}

.order-sale {
    color: var(--accent);
}

.order-total {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}

.order-total td {
    font-weight: 700;
}

.cart-total-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.shared-cart-wr a {
    margin-right: 20px;
    color: var(--accent);
}

.wc-proceed-to-checkout {
    display: flex;
    justify-content: flex-end;
}

.wc-proceed-to-checkout .wc-forward {
    color: var(--black);
}

/* wcssc-cart plugin */
.created-on {
    font-weight: 500;
    font-size: 15px;
    line-height: 23px;
    text-transform: uppercase;
    opacity: 0.4;
}

.wcssc-cart .entry-header {
    margin-bottom: 20px;
}

.wcssc-cart .entry-title {
    margin-bottom: 5px;
}

.wcssc-cart .shop_table {
    margin-top: 20px;
}

.wcssc-cart .shop_table tbody tr:last-child {
    text-align: center;
}

.wcssc-cart .shop_table thead,
.wcssc-cart .shop_table tbody {
    position: relative;
}

.wcssc-cart .shop_table::before,
.wcssc-cart .load-cart::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.wcssc-cart .shop_table::before {
    border-left: 1px solid var(--light-grey);
    border-right: 1px solid var(--light-grey);
}

.wcssc-cart .load-cart::before {
    border: 1px solid var(--light-grey);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.wcssc-cart .load-cart {
    text-align: right;
    position: relative;
    padding: 20px 30px 30px;
    background-color: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
}

.wcssc-cart .load-cart .button {
    position: relative;
}

#wcssc-button-container {
    display: none;
}

.shared-cart-text {
    position: relative;
    margin: 0 0 20px auto;
    max-width: 978px;
}

/* share cart modal */
.modal-open .modal {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.modal-dialog {
    width: 100%;
}

.modal-header .close {
    box-shadow: none;
    font-size: 35px;
    background: var(--white);
    color: var(--dark-grey);
}
/* photoswipe */
.pswp__caption {
    display: none!important;
}
@media screen and (max-width: 800px) {

    .cart-outer,
    .wcssc-cart .shop_table::before,
    .wcssc-cart .load-cart::before {
        border: none;
    }

    .woocommerce-cart-form__contents thead {
        display: none;
    }

    .woocommerce-cart-form__contents tr {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 10px;
        position: relative;
    }

    .woocommerce-cart-form__contents td,
    .woocommerce-cart-form__contents th {
        border: none;
        padding: 10px 16px;
    }

    .woocommerce-cart-form__contents td.product-thumbnail {
        padding-right: 10px;
    }

    .woocommerce-cart-form__contents td.product-name {
        padding-left: 10px;
        padding-right: 5px;
    }

    .woocommerce-cart-form__contents td.product-subtotal {
        padding-bottom: 20px;
    }

    .woocommerce-cart-form__contents td.product-remove {
        padding: 0;
    }

    .product-remove {
        position: absolute;
        top: 6px;
        right: 6px;
    }

    .product-price,
    .product-quantity,
    .product-subtotal {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
    }

    .product-name {
        align-self: center;
    }

    .product-price::before,
    .product-quantity::before,
    .product-subtotal::before {
        content: attr(data-title);
        display: block;
        width: 120px;
        text-transform: uppercase;
        margin-right: 20px;
    }

    .woocommerce-cart-form__contents .product-subtotal {
        border-bottom: 1px solid var(--light-grey);
    }

    .product-quantity .quantity-wr {
        width: 100%;
    }

    .product-quantity .quantity {
        flex-shrink: 1;
        max-width: 164px;
        width: 100%;
    }

    .product-quantity .qty {
        min-width: 20px;
        width: 20px;
    }

    .cart_totals {
        padding: 40px 8px 20px;
    }

    .totals-table {
        margin-bottom: 0;
    }

    .cart_totals_top {
        max-width: 400px;
    }

    .cart-total-actions>div {
        margin: 20px 0 0;
    }

    .wcssc-cart .shop_table tr:last-child {
        border-bottom: 1px solid var(--light-grey);
        padding-bottom: 10px;
    }

    .wcssc-cart .shop_table tbody tr:last-child td:first-child {
        display: none;
    }

    .wcssc-cart .shop_table tbody tr:last-child {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media screen and (max-width: 576px) {
    .cart_totals_top {
        margin-left: 0;
    }

    .cart-total-actions {
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .shared-cart-wr a {
        margin-right: 0;
    }

    .wcssc-cart .shop_table tbody tr:last-child {
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }

    .wcssc-cart .load-cart {
        padding: 20px 10px;
    }
}

/* checkout */
.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}

.woocommerce-billing-fields .form-row {
    margin: 0;
}

.woocommerce-billing-fields label {
    margin: 0 0 13px 0;
}

/* order review */
.woocommerce-checkout-review-order {
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--light-grey);
}

#order_review .shop_table {
    font-weight: 500;
}

#order_review th,
#order_review td {
    text-align: left;
    padding: 20px 40px;
}

#order_review .cart-subtotal th {
    color: var(--black);
}

#order_review thead th,
#order_review thead td {
    padding: 10px 40px;
}

#order_review .cart_item .product-name {
    color: var(--dark-grey);
}

#order_review .product-name .product-quantity,
#order_review .variation {
    color: var(--black);
}

#shipping_method,
#payment .wc_payment_methods {
    list-style-type: none;
    margin: 0;
}

#shipping_method label,
#payment .wc_payment_methods label {
    margin: 0;
    display: inline-block;
}

#shipping_method li+li,
.wc_payment_methods li+li {
    margin-top: 10px;
}

#shipping_method input,
.wc_payment_methods input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    width: 1px;
    margin: -1px;
    padding: 0;
}

.woocommerce-checkout-payment .wc_payment_methods {
    padding: 20px 40px;
    border-bottom: 1px solid var(--light-grey);
}

.wc_payment_method .payment_box {
    padding-left: 30px;
    opacity: 0.9;
}

.payment_box .qr-code {
    width: 120px;
    height: 120px;
    background: var(--white);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.place-order {
    padding: 15px 30px 30px 40px;
    display: flex;
    flex-direction: column;
}

.place-order .button {
    margin: var(--gap) 0 0 auto;
}

.checkout .woocommerce-error {
    margin-left: var(--gap);
}

.checkout .woocommerce-error a {
    color: rgb(231, 20, 20);
}

.woocommerce-privacy-policy-text {
    max-width: 978px;
    margin-left: auto;
    text-align: right;
}

@media screen and (max-width: 800px) {
    #order_review thead tr {
        background: none;
    }

    #order_review thead th {
        border-bottom: 1px solid var(--light-grey);
    }

    #order_review th,
    #order_review td,
    .woocommerce-checkout-payment .wc_payment_methods {
        padding: 20px 16px;
    }

    #order_review thead th,
    #order_review thead td {
        padding: 10px 16px;
    }

    #order_review .product-quantity {
        display: inline;
    }

    #order_review .product-quantity::before {
        content: none;
    }

    .place-order {
        padding: 20px 16px;
    }
}

@media screen and (max-width: 576px) {
    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 100%;
    }
}

/* thank you / order recieved */
.woocommerce-order-received .entry-content,
.woocommerce-order-received .entry-header {
    text-align: center;
}

.go-shop-wr {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.go-shop-wr .btn--accent {
    color: var(--white);
    text-decoration: none;
}

.go-shop-wr .btn--accent:hover {
    color: var(--accent);
}

.text-center {
    text-align: center;
}

@media screen and (max-width: 800px) {
    .go-shop-wr {
        margin: 50px;
    }
}

/* YITH plugin */
.yith-add-to-wishlist-button-block {
    position: absolute;
    top: 16px;
    right: 16px;
    margin-top: 0;
}

.yith-wcwl-theme-button-style.yith-wcwl-add-to-wishlist-button:is(button),
.yith-wcwl-theme-button-style.yith-wcwl-add-to-wishlist-button:is(button):hover {
    box-shadow: none;
    padding: 0;
    min-height: unset;
    background: none;
}

.yith-wcwl-add-to-wishlist-button__label {
    display: none;
}

.yith-wcwl-add-to-wishlist-button svg,
.yith-wcwl-add-to-wishlist-button img.yith-wcwl-custom-icon {
    height: auto;
}

.yith-wcwl-add-to-wishlist-button img {
    position: static;
}

.yith-wcwl-feedback-messages-container {
    display: none;
}

/* whishlist page */
.wishlist-items-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.wishlist-item.product-item {
    margin: 0;
    position: relative;
    width: auto;
}

.wishlist-item .remove {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    background: url(img/heart-filled.svg) center top no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    line-height: 0;
    font-size: 0;
    display: block;
}

.wishlist-pagination {
    margin: var(--gap) 0 0 0;
}

@media screen and (max-width: 1024px) {
    .wishlist-items-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 800px) {
    .wishlist-items-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
}

/* shop */
/* products slider */
.products-listing.swiper {
    margin: -8px;
    padding: 8px;
}

/* product loop */
.product-item {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    background-color: var(--white);
    padding: 8px;
    margin-right: var(--gap);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 280px;
    height: auto;
}

.products-listing .product-item {
    margin-right: var(--gap);
    width: 280px;
}

.products-listing .product-item:last-child {
    margin-right: 0;
}

.woocommerce-loop-product__link {
    margin: -8px;
}

.product-thumb {
    background-color: var(--white);
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
    /* height: 279px; */
    margin-bottom: 0;
    position: relative;
}

.woocommerce-loop-product__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    margin: 15px 8px 8px 8px;
    height: 24px;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-term-info {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-brand {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.5);
}

.product-cat, .product-gender {
    font-weight: 300;
    font-size: 15px;
    line-height: 21px;
    color: rgba(0, 0, 0, 0.7);
}

.loop-out-of-stock {
    font-weight: 500;
    font-size: 15px;
    line-height: 21px;
    text-align: center;
    color: var(--red);
    margin: 5px 0;
}

.product-item .price {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.9);
    display: block;
    margin: 0;
}

.product-item-price {
    margin: 8px 0;
}

.product-item-price del {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.4);
}

.woocommerce-Price-currencySymbol {
    font-family: sans-serif, Arial, monospace;
    font-weight: 400;
}

.product-item .button,
.product-item .added_to_cart {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--white);
    padding: 5px;
    min-height: 30px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    position: relative;
    width: 100%;
    margin-top: auto;
    box-shadow: 0px 2px 6.8px 0px rgba(0, 0, 0, 0.25);
}

.add_to_cart_button:hover {
    color: var(--white);
}

.add_to_cart_button::before {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background: url(img/cart.svg) center / contain no-repeat;
    margin-right: 15px;
}

.product-item .thwvsf_fields {
    margin-top: 8px;
}

.product-item .thwvsf_fields .thwvsf-wrapper-ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    overflow: auto hidden;
    scrollbar-width: none;
    /* for Firefox */
    -ms-overflow-style: none;
    /* for Internet Explorer, Edge */
    padding: 2px;
    margin: 0;
}

.product-item .thwvsf_fields .thwvsf-wrapper-ul::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none;
    /* for Chrome, Safari, and Opera */
}

.product-item .thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-div {
    width: 19px;
    height: 19px;
    box-shadow: 0 0 0 1px #e0e0e0;
    border-radius: 2px;
    flex-shrink: 0;
}

.product-item .thwvsf-wrapper-ul .thwvsf-item-span-color {
    display: block;
    width: 100%;
    height: 100%;
}

.product-item .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-div:hover {
    -webkit-box-shadow: 0 0 0 2px #cbd2d6;
    box-shadow: 0 0 0 2px #cbd2d6;
}

.product-item .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-div.thwvsf-selected,
.product-item .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-div.thwvsf-selected:hover {
    -webkit-box-shadow: 0 0 0 1.5px #000000;;
    box-shadow: 0 0 0 1.5px #000000;;
    border: none;
}

@media screen and (max-width: 576px) {
    .products-listing.swiper {
        margin-right: calc(0px - var(--box-padding));
    }

    .products-listing .product-item {
        width: 170px;
        margin-right: 8px;
    }

    .product-thumb {
        /* height: 200px; */
        border-radius: 14px;
    }

    .yith-add-to-wishlist-button-block,
    .wishlist-item .remove {
        right: 8px;
        top: 8px;
    }

    .yith-wcwl-add-to-wishlist-button svg,
    .yith-wcwl-add-to-wishlist-button img.yith-wcwl-custom-icon,
    .wishlist-item .remove {
        width: 17px;
    }

    .wishlist-item .remove {
        height: 17px;
    }

    .onsale {
        font-size: 10.03px;
        line-height: 1;
        left: 8px;
        top: 8px;
    }

    .woocommerce-loop-product__title {
        font-size: 12.9px;
        line-height: 17.2px;
        height: 18px;
        margin-top: 5px;
    }

    .product-brand,
    .product-cat, .product-gender {
        font-size: 10.6px;
        line-height: 12.9px;
    }

    .product-cat, .product-gender {
        margin-top: 4px;
    }

    .product-item .price {
        font-size: 12.9px;
        line-height: 100%;
    }

    .product-item-price del {
        font-weight: 500;
        font-size: 11.46px;
        line-height: 100%;
    }

    .product-item .button,
    .product-item .added_to_cart {
        font-weight: 500;
        font-size: 10.75px;
        line-height: 100%;
        min-height: 21px;
        border-radius: 7px;
    }

    .add_to_cart_button::before {
        width: 10px;
        height: 10px;
        margin-right: 10px;
    }

    .product-item .thwvsf_fields .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.thwvsf-div {
        width: 13px;
        height: 13px;
    }

    .product-item .thwvsf-wrapper-ul .thwvsf-wrapper-item-li.attr_swatch_design_default.thwvsf-selected:after {
        font-size: 10px;
    }
}

/* result products */
.store-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin: 21px 0 0;
}

.store-products .product-item {
    margin: 0;
    width: auto;
}

@media screen and (max-width: 1024px) {
    .store-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 800px) {
    .store-display {
        width: 100%;
    }

    .store-products {
        gap: 9px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 680px) {
    .store-products {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* shop page */
.store-results .woocommerce-notices-wrapper {
    display: none;
}

.store-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: var(--sidebar-width) auto;
    grid-template-rows: 44px auto auto;
    gap: 0 var(--gap);
}

.woocommerce-no-products-found {
    margin-top: 65px;
}

.store-sidebar {
    grid-row: 1 / -2;
    margin-top: 19px;
    position: relative;
}

.store-sidebar__title {
    font-weight: 600;
    font-size: 26px;
    line-height: 100%;
    text-transform: uppercase;
    margin: 0 0 var(--gap);
}

.store-sidebar__btn {
    display: none;
}

.store-filter {
    background-color: var(--white);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    text-transform: capitalize;
}

.store-filter.sidebar-categories {
    margin-bottom: 30px;
}

.store-filter__group {
    padding: var(--gap);
    border-bottom: 1px solid rgba(220, 220, 220, 0.5);
}

.store-filter__group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-filter__group-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: var(--black);
    margin: 0 0 0;
}

.store-filter__group-toggle {
    display: block;
    width: 20px;
    height: 30px;
    background: url(img/filter-arrow.svg) right center no-repeat;
    background-size: 15px auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.store-filter__group-toggle.rotate {
    transform: rotate(180deg);
    background-position: left center;
}

.store-filter__group-list {
    max-height: 425px;
    overflow: hidden auto;
    margin: 0;
    padding: 0;
}

.store-filter__group-list .store-filter__group-list {
    max-height: unset;
}

.store-filter__group-list::-webkit-scrollbar {
    width: 2px;
}

.store-filter__group-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.store-filter__group-list::-webkit-scrollbar-thumb {
    background: rgba(113, 112, 112, 0.6);
    border-radius: 10px;
}

.store-filter__group-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.store-filter__group>.store-filter__group-list:first-of-type {
    margin-top: var(--gap);
}

.store-filter__group-list ul {
    padding-left: 5px;
}

.store-filter__group-item {
    margin: 10px 0 10px 10px;
}

.store-filter__group-list:last-child {
    margin-bottom: 10px;
}

.store-filter__group-list:last-child li:last-child {
    margin-bottom: 0;
}

.store-filter__group-item-link.active {
    font-weight: 500;
    color: var(--accent);
}

.store-filter__group-list--price {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.store-filter__group-list.store-filter__group-list--price {
    margin-bottom: 0;
}
.store-filter__group--size {
    text-transform: uppercase;
}
.price-label {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.price-text {
    margin-bottom: -10px;
    display: block;
    position: relative;
    z-index: 1;
}

.price-field {
    border: none;
    border-bottom: 1px solid var(--light-grey);
    border-radius: 0px;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0;
}

.store-filter__group--submit {
    padding-bottom: 30px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.store-filter__group--submit .btn {
    padding: 10px;
    flex: 1;
}
@media screen and (max-width: 800px) {
    .store-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        margin-top: 15px;
    }

    .store-sidebar {
        max-width: 400px;
        width: 100%;
        z-index: 5;
    }

    .store-sidebar__title {
        display: none;
    }

    .store-sidebar__btn {
        display: flex;
        z-index: 3;
        width: 100%;
        text-transform: uppercase;
        position: relative;
        z-index: 2;
    }

    .store-sidebar__btn:hover {
        background-color: var(--white);
        color: var(--black);
    }

    .store-filter {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .store-sidebar.toggled .store-filter {
        display: block;

    }
}

/* search form */
.woocommerce-product-search {
    position: relative;
}

.woocommerce-product-search-field {
    background: none;
    border-radius: 10px;
    padding: 10px 65px 10px 32px;
}

.woocommerce-product-search-submit,
.woocommerce-product-search-submit:hover {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: unset;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.woocommerce-product-search-submit svg {
    height: 24px;
    width: 24px;
}

@media screen and (max-width: 1024px) {
    .woocommerce-product-search-field {
        border-radius: var(--radius);
        padding: 10px 55px 10px 24px;
    }

    .woocommerce-product-search-submit,
    .woocommerce-product-search-submit:hover {
        right: 24px;
    }
}

/* sorting */
.wc-store-sorting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 0 -19px;
}

.wc-sorting-form {
    display: flex;
    align-items: center;
}

.wc-sorting-form label {
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    margin: 0 16px 0 0;
    flex-shrink: 0;
}

.wc-sorting-form select {
    height: 40px;
    line-height: 1;
    border-radius: 10px;
}

.select2-wr {
    position: relative;
}

.woocommerce-show-count .show-count,
.wc-sorting-form .selection .select2-selection {
    width: auto !important;
    min-width: 85px;
    height: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    border: 1px solid var(--select2);
    height: 40px;
    margin: 0;
    position: relative;
}

.wc-sorting-form .selection .select2-selection {
    border-radius: 10px !important;
}

.wc-sorting-form .select2.select2-container--open .select2-selection::after {
    content: "";
    position: absolute;
    left: -1px;
    bottom: -13px;
    display: block;
    width: 100%;
    height: 25px;
    background-color: var(--white);
    border: 1px solid var(--select2);
    border-top: none;
    border-bottom: none;
    z-index: -1;
    box-sizing: content-box;
}

.wc-sorting-form .select2.select2-container--above .select2-selection::after {
    bottom: 0;
    top: -13px;
}

.wc-sorting-form .select2-container--open .select2-dropdown {
    border: 1px solid var(--select2);
    border-top: none;
    padding: 0 16px;
    border-radius: 0 0 10px 10px;
}

.wc-sorting-form .select2-container--open .select2-dropdown--above {
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--select2);
    border-bottom: none;
}

.wc-sorting-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 1.1;
    padding: 0 5px 0 0;
    color: var(--black);
}

.wc-sorting-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.wc-sorting-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    background: url(img/dropdown.svg) center no-repeat;
    background-size: 14px auto;
    display: block;
    position: static;
    transform: none;
}

.wc-sorting-form .select2-results__option {
    font-size: 15px;
    line-height: 23px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 8px 0;
}

.wc-sorting-form .select2-results__option:last-child {
    border-bottom: none;
}

.wc-sorting-form .show-count-wr .select2-results__option {
    text-align: center;
}

.wc-sorting-form .select2-container--default .select2-results__option[aria-selected=true],
.wc-sorting-form .select2-container--default .select2-results__option[data-selected=true],
.wc-sorting-form .select2-container--default .select2-results__option--highlighted[aria-selected=true],
.wc-sorting-form .select2-container--default .select2-results__option--selected {
    background-color: var(--white);
    color: var(--black);
}

.wc-sorting-form .select2-container--default .select2-results__option[data-selected=true] {
    font-weight: 600;
}

@media screen and (max-width: 800px) {
    .wc-store-sorting {
        order: -1;
        width: 100%;
        margin: 0;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .wc-sorting-form {
        margin: 5px;
    }

    .wc-sorting-form .select2-container,
    .wc-sorting-form .orderby {
        width: auto !important;
    }

    .wc-sorting-form label {
        font-size: 16px;
        line-height: 100%;
        margin-right: 5px;
    }

    .wc-sorting-form select,
    .woocommerce-show-count .show-count,
    .wc-sorting-form .selection .select2-selection {
        min-width: 75px;
        height: 34px;
        font-size: 14px;
        line-height: 100%;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .wc-sorting-form .selection .select2-selection {
        border-radius: 20px !important;
    }

    .wc-sorting-form .select2-container--open .select2-dropdown {
        border-radius: 0 0 20px 20px;
    }

    .wc-sorting-form .select2-container--open .select2-dropdown--above {
        border-radius: 20px 20px 0 0;
    }

    .wc-sorting-form .select2-results__option {
        padding: 5px 0;
    }
}