/*-----------------------------------------------------------------------
    Content & Layouts
-----------------------------------------------------------------------*/

.woocommerce-cart .wysiwyg-content ul li:before,
.woocommerce-checkout .wysiwyg-content ul li:before,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:before {
    display: none !important;
}

.woocommerce-cart .wysiwyg-content ul:not(.woocommerce-error) li,
.woocommerce-checkout .wysiwyg-content ul:not(.woocommerce-error) li,
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    padding: 0 !important;
}

/* Columns */

.col2-set {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 770px) {
    .col2-set {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

/* Spinner */

.bwa-theme .product-cart-form .wcwl_elements .spinner,
.bwa-theme .woocommerce-account .waitlist-products .spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--white-rgb), 50%);
    background-size: 22px;
    background-position: center;
}

/*-----------------------------------------------------------------------
    Shop Notices
-----------------------------------------------------------------------*/

.woocommerce-NoticeGroup,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-notice,
.woocommerce .woocommerce-message {
    width: 100%;
    clear: both;
    border: 0;
    list-style: none;
    display: block !important;
    outline: none !important;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error li,
.woocommerce div.woocommerce-error,
.woocommerce .woocommerce-notice,
.woocommerce .woocommerce-message {
    padding: 12px 15px !important;
    margin: 0 0 15px !important;
    color: var(--black);
    line-height: 1.5;
    background: var(--light-grey);
    border-radius: var(--border-radius-sm);
}

.woocommerce .woocommerce-notices-wrapper > *:last-child {
    margin: 0 0 25px !important;
}

.woocommerce .woocommerce-error li,
.woocommerce div.woocommerce-error {
    /* margin: 0 !important; */
    background: rgba(var(--red-rgb), 15%);
}

.woocommerce .woocommerce-error:before,
.woocommerce .woocommerce-error li:before,
.woocommerce .woocommerce-info:before,
.woocommerce .woocommerce-notice:before,
.woocommerce .woocommerce-message:before {
    display: none;
}

.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-notice a,
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-notice .button,
.woocommerce .woocommerce-message .button {
    display: inline !important;
    min-width: auto;
    width: fit-content;
    /* margin-left: 4px !important; */
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: inherit !important;
    line-height: 1.5 !important;
    color: var(--black) !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: inherit !important;
    background-color: transparent !important;
}

.woocommerce .woocommerce-error a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    transition: var(--transition) opacity;
}

.woocommerce .woocommerce-error a:hover,
.woocommerce .woocommerce-info a:hover,
.woocommerce .woocommerce-message a:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-message .button:hover {
    opacity: 60%;
}

/*-----------------------------------------------------------------------
   WooCommerce Forms
-----------------------------------------------------------------------*/

.woocommerce-checkout form .form-row .checkout-inline-error-message {
    margin: 5px 0;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #c02b0a;
}

form.woocommerce-cart-form .coupon,
.woocommerce form:not([id*="gform"]),
.woocommerce form:not([id*="gform"]) fieldset,
.woocommerce form:not([id*="gform"]) .woocommerce-address-fields,
.woocommerce form:not([id*="gform"]) *[class*="fields__field-wrapper"] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.woocommerce form h1,
.woocommerce form h2,
.woocommerce form h3 {
    flex: 100%;
}

.woocommerce form p a {
    text-decoration: underline;
}

.woocommerce form .form-row {
    width: 100%;
    margin: 0 !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: calc(50% - 10px) !important;
}

.woocommerce form label[class*="label-for-checkbox"],
.woocommerce form label[class*="label-for-checkbox"] span {
    display: flex !important;
    align-items: center;
    margin-bottom: 0 !important;
    text-transform: none !important;
}

.woocommerce form .clear,
.woocommerce form button.show-password-input {
    display: none !important;
}

/* Login / Register */

form.woocommerce-form-login,
form.woocommerce-form-register {
    width: 100%;
    margin: auto;
    flex-direction: column;
}

form.woocommerce-form-login button[type="submit"],
form.woocommerce-form-register button[type="submit"] {
    margin-top: 15px !important;
}

/* Edit Account */

.woocommerce form.woocommerce-EditAccountForm p.form-row span em {
    display: none;
}

/* Quantity Selector */

.bwa-theme .quantity {
    position: relative;
}

.bwa-theme .quantity.quantity-hidden {
    display: none;
}

.bwa-theme .quantity input::-webkit-outer-spin-button,
.bwa-theme .quantity input::-webkit-inner-spin-button {
    appearance: none;
    -webkit-appearance: none;
}

.bwa-theme .quantity input {
    padding-left: 35px;
    padding-right: 35px;
    text-align: center;
    border-color: var(--mid-grey) !important;
    z-index: 9;
}

.bwa-theme .quantity span {
    position: absolute;
    top: 0;
    width: 30px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    z-index: 99;
    cursor: pointer;
}

.bwa-theme .quantity span.decrement {
    left: 0;
    border-right: 1px solid var(--mid-grey);
}

.bwa-theme .quantity span.increment {
    right: 0;
    border-left: 1px solid var(--mid-grey);
}

/*-----------------------------------------------------------------------
    Tables
-----------------------------------------------------------------------*/

.woocommerce table .button,
.woocommerce table .button:hover,
.woocommerce table .button:focus {
    display: inline-block !important;
}

.woocommerce table .product-remove {
    text-align: center;
}

.woocommerce table .product-name a {
    text-decoration: underline;
}

.woocommerce table .product-remove a:hover,
.woocommerce table .product-name a:hover {
    color: var(--red);
}

.woocommerce table .product-thumbnail img {
    width: 100px;
    height: auto;
    margin: 0 auto !important;
}

.woocommerce table .product-quantity {
    width: 200px;
}

.woocommerce table .product-subtotal small,
.woocommerce table .product-subtotal small * {
    color: var(--black);
}

/* Variations */

.woocommerce table .product-name dl,
.woocommerce table .product-name ul.wc-item-meta {
    margin: 10px 0 0;
}

.woocommerce table .product-name dl *,
.woocommerce table .product-name ul.wc-item-meta li * {
    font-size: 12px !important;
    line-height: 18px !important;
}

.woocommerce table .product-name dl dt {
    float: left;
    margin-right: 5px;
    display: block;
    font-weight: 500 !important;
    margin: 0 2px 0 0;
}

.woocommerce table .product-name dl dt,
.woocommerce table .product-name dl dd,
.woocommerce table .product-name ul.wc-item-meta li {
    margin: 0 2px 2px 0 !important;
}

/* Responsive */

@media (max-width: 770px) {
    .woocommerce table.shop_table_responsive,
    .woocommerce table.shop_table_responsive thead,
    .woocommerce table.shop_table_responsive tbody,
    .woocommerce table.shop_table_responsive th,
    .woocommerce table.shop_table_responsive td,
    .woocommerce table.shop_table_responsive tr {
        display: block;
    }

    .woocommerce table.shop_table_responsive th,
    .woocommerce table.shop_table_responsive td,
    .woocommerce table.shop_table_responsive tr {
        position: relative;
        width: 100% !important;
        min-width: 100% !important;
    }

    .woocommerce table.shop_table_responsive td {
        border-top: 0;
    }

    .woocommerce table.shop_table_responsive tr:first-child {
        border-top: 1px solid var(--mid-grey) !important;
    }

    .woocommerce table.shop_table_responsive td.product-remove {
        background: var(--pale-grey);
    }

    .woocommerce table.shop_table_responsive td[data-title] {
        padding-left: 120px;
    }

    .woocommerce table.shop_table_responsive td[data-title]:before {
        content: attr(data-title) ": ";
        width: 100px;
        position: absolute;
        left: 10px;
        top: 12px;
        font-size: 12px !important;
        font-weight: 500 !important;
        letter-spacing: 1px;
        text-transform: uppercase !important;
    }

    .woocommerce table.shop_table_responsive thead,
    .woocommerce table.shop_table_responsive th {
        display: none;
    }
}

/*-----------------------------------------------------------------------
    Badges
-----------------------------------------------------------------------*/

.bwa-theme .product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}

.bwa-theme span.badge {
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.bwa-theme span.badge.badge-eco-100,
.bwa-theme span.badge.badge-eco-royalties,
.bwa-theme span.badge.badge-plastic-free,
.bwa-theme span.badge.badge-natural-fibres,
.bwa-theme span.badge.badge-sustainable,
.bwa-theme span.badge.badge-organic-cotton {
    color: var(--green);
}

.bwa-theme span.badge.badge-sale,
.bwa-theme span.badge.badge-out-of-stock,
.bwa-theme span.badge.badge-low-stock,
.bwa-theme span.badge.badge-discontinued,
.bwa-theme span.badge.badge-clearance {
    color: var(--red);
}

/*-----------------------------------------------------------------------
    Buttons
-----------------------------------------------------------------------*/

.bwa-theme .product-cart-form .button,
.bwa-theme .product-cart-form .button:hover,
.bwa-theme .product-cart-form .button:focus,
.bwa-theme .product-cart-form .wc-forward,
.bwa-theme .product-cart-form .wc-forward:hover,
.bwa-theme .product-cart-form .wc-forward:focus,
.bwa-theme .woocommerce .woocommerce-button,
.bwa-theme .woocommerce .woocommerce-button:hover,
.bwa-theme .woocommerce .woocommerce-button:focus,
.bwa-theme .woocommerce-form-coupon *[type="submit"],
.bwa-theme .woocommerce-form-coupon *[type="submit"]:hover,
.bwa-theme .woocommerce-form-coupon *[type="submit"]:focus,
.bwa-theme .woocommerce-cart-form .actions *[type="submit"],
.bwa-theme .woocommerce-cart-form .actions *[type="submit"]:hover,
.bwa-theme .woocommerce-cart-form .actions *[type="submit"]:focus,
.bwa-theme .woocommerce-checkout .add_gift_card_form .button,
.bwa-theme .woocommerce-checkout .add_gift_card_form .button:hover,
.bwa-theme .woocommerce-checkout .add_gift_card_form .button:focus,
.bwa-theme form#yith-wcwl-form table .product-add-to-cart a,
.bwa-theme form#yith-wcwl-form table .product-add-to-cart a:hover,
.bwa-theme form#yith-wcwl-form table .product-add-to-cart a:focus {
    flex: 1;
    padding: 10px 20px !important;
    font-size: 12px !important;
    line-height: 20px !important;
    text-align: center;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    color: var(--black) !important;
    text-decoration: none !important;
    background: transparent !important;
    border: 1px solid var(--mid-grey) !important;
    border-radius: var(--border-radius-sm) !important;
    transition: var(--transition) border-color;
}

.bwa-theme .product-cart-form .button:hover,
.bwa-theme .product-cart-form .wc-forward:hover,
.bwa-theme .woocommerce .woocommerce-button:hover,
.bwa-theme .woocommerce-form-coupon *[type="submit"]:hover,
.bwa-theme .woocommerce-cart-form .actions *[type="submit"]:hover,
.bwa-theme .woocommerce-checkout .add_gift_card_form .button:hover,
.bwa-theme form#yith-wcwl-form table .product-add-to-cart a:hover {
    color: var(--black) !important;
    border-color: var(--black) !important;
}

.bwa-theme .product-cart-form.is-quick-add .ajax_add_to_cart.added {
    display: none !important;
}

/*-----------------------------------------------------------------------
    Price
-----------------------------------------------------------------------*/

.product-price,
.product-price *,
.woocommerce .price ins,
.woocommerce .price del,
.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    text-decoration: none;
}

.bwa-theme .price-suffix,
.bwa-theme .woocommerce-price-suffix {
    font-size: 0.8em !important;
}

.product-price del,
.woocommerce .price del {
    text-decoration: line-through;
    opacity: 50%;
}

.bwa-theme .product-price:not(td, th),
.bwa-theme .product-price:not(td, th) * {
    color: var(--dark-grey);
}

.bwa-theme .wwp-wholesale-pricing-details {
    display: inline-block;
}

.bwa-theme .wwp-wholesale-pricing-details .price-text {
    display: none;
}

/*-----------------------------------------------------------------------
    Entry - Product
-----------------------------------------------------------------------*/

/* Default */

.bwa-theme *[class^="entry-product"] .product-title {
    font-size: 14px;
}

.bwa-theme .entry-product,
.bwa-theme .entry-product .inner-entry-content {
    display: flex;
    flex-direction: column;
}

.bwa-theme .entry-product .inner-entry-image {
    overflow: hidden;
    background: var(--white);
}

.bwa-theme .entry-product .inner-entry-image .background-image {
    transition: var(--transition) opacity;
}

.bwa-theme .entry-product .inner-entry-image .background-image.on-hover {
    opacity: 0;
}

.bwa-theme .entry-product:hover .inner-entry-image .background-image.on-hover {
    opacity: 1;
}

/* .bwa-theme .entry-product:hover .inner-entry-image .background-image {
    transform: scale(105%);
} */

.bwa-theme .entry-product .inner-entry-content {
    padding: 20px;
    flex: 1;
}

.bwa-theme .entry-product .inner-entry-meta {
    gap: 0 20px;
}

.bwa-theme .entry-product .inner-entry-content .product-cart-form {
    margin: auto 0 0 !important;
}

/* Thumbnail */

.bwa-theme .entry-product-thumbnail {
    padding: 5px;
    background: var(--white);
    display: flex !important;
    gap: 20px;
    width: 380px;
    border: 1px solid transparent;
    transition: var(--transition) border-color;
}

.bwa-theme .entry-product-thumbnail:hover {
    border-color: var(--mid-grey);
}

.bwa-theme .entry-product-thumbnail .inner-entry-image {
    width: 130px;
}

.bwa-theme .entry-product-thumbnail .inner-entry-content {
    flex: 1;
    padding: 10px;
}

/* Image Panel */

.bwa-theme .listing-products .entry-image-panel {
    grid-column: span 2;
    overflow: hidden;
}

.bwa-theme .listing-products .entry-image-panel .background-image {
    transition: var(--transition) transform;
}

.bwa-theme .listing-products .entry-image-panel:hover .background-image {
    transform: scale(105%);
}

/* Responsive */

@media (max-width: 1200px) and (min-width: 770px) {
    .bwa-theme .listing-products .entry-image-panel {
        grid-column: span 2;
        aspect-ratio: 5 / 3;
    }
}

@media (max-width: 640px) {
    .bwa-theme .listing-products .entry-image-panel {
        grid-column: span 1;
    }
}

/*-----------------------------------------------------------------------
    Product Cart Form
-----------------------------------------------------------------------*/

.bwa-theme .product-cart-form form.cart,
.bwa-theme .product-cart-form.is-quick-add,
.bwa-theme .product-cart-form .woocommerce_gc_giftcard_form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bwa-theme .product-cart-form form.cart .form-row {
    padding: 0;
}

/* Quantity */

.bwa-theme .product-cart-form .quantity:not(.quantity-hidden) {
    width: 100px;
}

/* Quick Add */

.bwa-theme .product-cart-form.is-quick-add .quantity input {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.bwa-theme .product-cart-form.is-quick-add .quantity span {
    height: 32px;
    line-height: 30px;
}

.bwa-theme .product-cart-form.is-quick-add .button,
.bwa-theme .product-cart-form.is-quick-add .wc-forward {
    padding: 5px 15px !important;
}

/* Variations */

.bwa-theme .product-cart-form table.variations,
.bwa-theme .product-cart-form table.variations th,
.bwa-theme .product-cart-form table.variations td {
    width: 100%;
    margin: 0 !important;
}

.bwa-theme .product-cart-form table.variations tr:not(:first-child) {
    margin-top: 10px;
}

.bwa-theme .product-cart-form table.variations tr,
.bwa-theme .product-cart-form table.variations th,
.bwa-theme .product-cart-form table.variations td {
    display: block;
    text-align: left;
    padding: 0;
    border: 0;
    background: transparent;
}

.bwa-theme .product-cart-form table.variations input,
.bwa-theme .product-cart-form table.variations select {
    width: 100%;
}

.bwa-theme .product-cart-form a.reset_variations {
    visibility: hidden;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    margin: 6px 0 6px 8px;
    font-size: 12px;
    text-decoration: underline;
}

.bwa-theme .product-cart-form .variations_form {
    flex-direction: column;
    gap: 15px;
}

.bwa-theme .product-cart-form .woocommerce-variation {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 10px;
}

.bwa-theme .product-cart-form .woocommerce-variation > * {
    margin: 0;
    display: block;
}

.bwa-theme .product-cart-form .woocommerce-variation p.stock {
    margin: 3px 0;
}

.bwa-theme .product-cart-form .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bwa-theme .product-cart-form .woocommerce-variation-add-to-cart-disabled {
    pointer-events: none;
    opacity: 50%;
}

/* NYP & Gift Cards */

.bwa-theme .product-cart-form .nyp label .woocommerce-Price-currencySymbol {
    display: none;
}

.bwa-theme .product-cart-form .nyp,
.bwa-theme .product-cart-form .woocommerce_gc_giftcard_form {
    flex: 0 0 100%;
}

.bwa-theme .product-cart-form .woocommerce_gc_giftcard_form {
    flex-direction: column;
    margin-bottom: 10px;
}

.bwa-theme .product-cart-form .nyp-terms,
.bwa-theme .product-cart-form .woocommerce_gc_giftcard_form .description {
    font-size: 13px !important;
    color: var(--dark-grey);
    order: 2;
}

/* Waitlist */

.bwa-theme .product-cart-form .wcwl_elements {
    margin-top: 15px;
    padding: 15px;
    background: var(--light-grey);
    border-radius: var(--border-radius-sm);
    position: relative;
}

.bwa-theme .product-cart-form .wcwl_elements .wcwl_intro,
.bwa-theme .product-cart-form .wcwl_elements .wcwl_notice {
    margin: 0 0 15px !important;
}

.bwa-theme .product-cart-form .wcwl_elements button.woocommerce_waitlist {
    margin: 0 !important;
}

.bwa-theme .product-cart-form .wcwl_elements button.woocommerce_waitlist:not(:hover) {
    border-color: rgba(var(--dark-grey-rgb), 70%) !important;
}

.bwa-theme .product-cart-form .wcwl_elements .wcwl_notice {
    padding: 0 !important;
}

.bwa-theme .product-cart-form .wcwl_elements button.wcwl_notice_dismiss {
    display: none !important;
}

/*-----------------------------------------------------------------------
    Single Product
-----------------------------------------------------------------------*/

.block-single-product-detail {
    min-width: 100%;
}

.block-single-product-detail div[class*="container"] > .flex-layout {
    gap: 80px;
    align-items: stretch;
}

/* Gallery */

.block-single-product-detail .product-gallery {
    width: 100%;
    position: relative;
}

.block-single-product-detail .product-gallery .image-zoom-container:not(:first-child),
.block-single-product-detail .product-gallery .carousel-product-gallery-thumbs {
    margin-top: 10px;
}

.block-single-product-detail .product-gallery .carousel-product-gallery-thumbs .swiper-slide {
    width: 80px;
    border: 1px solid var(--light-grey);
    transition: var(--transition) border-color;
    cursor: pointer;
}

.block-single-product-detail .product-gallery .carousel-product-gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
    border-color: var(--mid-grey);
}

.bwa-theme .block-single-product-detail .is-desktop-only {
    display: block;
}

.bwa-theme .block-single-product-detail .is-mobile-only {
    display: none;
}

/* Summary */

.block-single-product-detail .product-summary {
    flex: 1;
}

.block-single-product-detail .product-summary .product-sku {
    margin: 5px 0 0;
}

.block-single-product-detail .product-summary .product-badges {
    margin: 0 0 10px;
}

.block-single-product-detail .product-summary .product-price,
.block-single-product-detail .product-summary .yith-add-to-wishlist-button-block,
.block-single-product-detail .product-summary .stock,
.block-single-product-detail .product-summary .product-cart-form,
.block-single-product-detail .product-summary .product-artist {
    margin: 20px 0;
}

.block-single-product-detail .product-summary .stock {
    display: none;
}

.block-single-product-detail .product-accordion .entry-accordion {
    background: transparent;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-top: 1px solid var(--mid-grey);
    border-radius: 0 !important;
}

.block-single-product-detail .product-accordion .entry-accordion:last-child {
    border-bottom: 1px solid var(--mid-grey);
}

.block-single-product-detail .product-accordion .entry-accordion svg {
    height: 24px;
    min-height: 24px;
}

.block-single-product-detail .product-accordion .entry-accordion.is-active .trigger-accordion svg {
    transform: rotate(135deg);
}

.block-single-product-detail .product-accordion .entry-accordion .wysiwyg-content > * {
    margin-top: 10px !important;
}

.block-single-product-detail .product-artist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.block-single-product-detail .product-artist .image-square {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    overflow: hidden;
    margin-right: 20px;
}

.block-single-product-detail .product-artist a {
    text-decoration: underline;
}

/* Cart Form */

.block-single-product-detail .product-cart-form span.badge:not(.badge-out-of-stock) {
    display: block;
    margin-bottom: 20px;
}

/* Responsive */

@media (min-width: 861px) {
    .block-single-product-detail .product-gallery {
        min-width: 450px;
        width: 55%;
    }

    .block-single-product-detail .product-summary .inner-product-summary {
        position: sticky;
        top: calc(var(--header-height) + 30px);
        transition: var(--transition) top;
    }

    body.is-scrolled .block-single-product-detail .product-summary .inner-product-summary {
        top: calc(var(--header-height) + 30px);
    }

    body.admin-bar .block-single-product-detail .product-summary .inner-product-summary {
        top: calc(var(--header-height) + var(--admin-height) + 30px);
    }

    /* body.admin-bar.is-scrolled .block-single-product-detail .product-summary .inner-product-summary {
        top: calc(var(--header-height) + var(--admin-height));
    } */
}

@media (max-width: 860px) {
    .block-single-product-detail .flex-layout:has(.product-gallery, .product-summary) {
        gap: 40px !important;
    }

    .block-single-product-detail .is-desktop-only {
        display: none !important;
    }

    .block-single-product-detail .is-mobile-only {
        display: block !important;
    }
}

/*-----------------------------------------------------------------------
    Shop Archive
-----------------------------------------------------------------------*/

.block-category-detail .wysiwyg-content p {
    max-width: 700px;
}

.bwa-theme .listing-products {
    border-top: 1px solid var(--mid-grey);
}

.bwa-theme .listing-products[class*="grid-col-"] {
    gap: 0;
    margin-left: -1px;
    margin-right: -1px;
}

.archive-product .listing-products .entry-product {
    border-bottom: 1px solid var(--mid-grey);
    border-right: 1px solid var(--mid-grey);
}

.archive-product .woocommerce-pagination {
    max-width: var(--container-md);
    margin: 50px auto;
    grid-column: span 4;
}

.archive-product .woocommerce-pagination ul,
.archive-product .woocommerce-pagination ul a,
.archive-product .woocommerce-pagination ul span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-product .woocommerce-pagination ul {
    gap: 10px;
}

.archive-product .woocommerce-pagination ul li a,
.archive-product .woocommerce-pagination ul li span {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background: var(--light-grey);
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius-sm);
}

.archive-product .woocommerce-pagination ul li span {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.archive-product .woocommerce-pagination ul li a:hover {
    border-color: var(--mid-grey);
}

.archive-product .woocommerce-pagination ul li a svg {
    width: 14px;
    height: 14px;
}

/* Not Found */

.archive-product .not-found {
    padding: 50px 0;
    border-top: 1px solid var(--mid-grey);
}

/* Responsive */

@media (max-width: 1200px) {
    .archive-product .listing-products.grid-col-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-product .woocommerce-pagination {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .archive-product .listing-products.grid-col-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .archive-product .woocommerce-pagination {
        grid-column: span 1;
        margin: 30px auto;
    }
}

/*-----------------------------------------------------------------------
    Product Filter
-----------------------------------------------------------------------*/

.archive-product .product-filter-head {
    padding: 10px 0;
    border-top: 1px solid var(--mid-grey);
}

.archive-product .product-filter-head > .flex-layout {
    gap: 20px;
}

/* Results */

.archive-product .filter-results {
    flex: 1;
    gap: 10px;
}

.archive-product .filter-results .tag-filter {
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--light-grey);
    font-size: 12px;
    line-height: 10px;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition) border-color;
}

.archive-product .filter-results .tag-filter svg {
    width: 10px;
    height: 10px;
}

.archive-product .filter-results .tag-filter:hover {
    border-color: var(--mid-grey);
}

/* Filter Popup */

.bwa-theme #popup-product-filter .popup-overlay {
    justify-content: flex-start;
}

.bwa-theme #popup-product-filter .popup-overlay > *[class*="container"] {
    transform: translateY(0);
    transform: translateX(-20px);
}

.bwa-theme #popup-product-filter.is-active .popup-overlay > *[class*="container"] {
    transform: translateX(0);
}

.bwa-theme #popup-product-filter .container {
    position: relative;
    padding: 0;
    margin: 0 !important;
    width: 460px;
    height: 100%;
    max-height: 100%;
    background: var(--cream);
}

.bwa-theme #popup-product-filter .trigger-close-popup,
.bwa-theme #popup-product-filter .filter-clear {
    position: relative;
    top: auto;
    right: auto;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 1px !important;
    transition: var(--transition) color;
    cursor: pointer;
}

.bwa-theme #popup-product-filter .trigger-close-popup:hover,
.bwa-theme #popup-product-filter .filter-clear:hover {
    color: var(--red);
}

/* Filter Form */

.archive-product form.form-filter-sort {
    display: flex;
    align-items: center;
    gap: 15px;
}

.archive-product form.form-filter-sort label,
.archive-product form.form-filter-sort select {
    min-width: fit-content;
    font-size: 14px !important;
    line-height: 20px !important;
}

.archive-product form.form-filter-sort select {
    flex: 1;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background-position: right center !important;
}

.archive-product form.form-filter-sort select {
    padding-right: 25px !important;
}

.bwa-theme form.form-filter-products {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bwa-theme form.form-filter-products .filter-header,
.bwa-theme form.form-filter-products .filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bwa-theme form.form-filter-products .filter-header {
    padding: 40px 20px 15px;
}

.bwa-theme form.form-filter-products .filter-footer {
    padding: 15px 20px 40px;
}

.bwa-theme form.form-filter-products .filter-footer .button {
    flex: 1;
}

.bwa-theme form.form-filter-products .filter-body {
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    overflow: visible;
    overflow: auto;
    flex: 1;
}

.bwa-theme form.form-filter-products .filter-group {
    padding: 15px 20px;
}

.bwa-theme form.form-filter-products .filter-group:not(:last-of-type) {
    border-bottom: 1px solid var(--black);
}

.bwa-theme form.form-filter-products .filter-group .trigger-filter-group {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.bwa-theme form.form-filter-products .filter-group .trigger-filter-group svg {
    width: 16px;
    height: 16px;
}

.bwa-theme form.form-filter-products .filter-group .trigger-filter-group span {
    font-size: 20px;
    text-transform: uppercase !important;
}

.bwa-theme form.form-filter-products .filter-group label {
    margin: 10px 0 0 !important;
    cursor: pointer;
}

.bwa-theme form.form-filter-products .filter-group .inner-group-items {
    padding: 5px;
    display: none;
}

.bwa-theme form.form-filter-products .filter-group.is-active .inner-group-items {
    display: block;
}

/* Checkbox Filters */

.bwa-theme form.form-filter-products .filter-group input[type="checkbox"] {
    vertical-align: middle;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    background-size: 12px !important;
}

/* Colour Filters */

.bwa-theme form.form-filter-products .filter-group.is-active .trigger-filter-group svg {
    transform: rotate(135deg);
}

.bwa-theme form.form-filter-products .filter-group.filter-colour.is-active .inner-group-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bwa-theme form.form-filter-products .filter-group.filter-colour label,
.bwa-theme form.form-filter-products .filter-group.filter-colour input[type="checkbox"] {
    margin: 0 !important;
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
}

.bwa-theme form.form-filter-products .filter-group.filter-colour label {
    border-radius: 2px !important;
    background-size: cover !important;
}

.bwa-theme form.form-filter-products .filter-group.filter-colour input[type="checkbox"] {
    border: 0 !important;
    background: transparent !important;
    border-radius: 1px !important;
}

.bwa-theme form.form-filter-products .filter-group.filter-colour input[type="checkbox"]:checked {
    outline: 1px solid var(--dark-grey) !important;
    outline-offset: 2px;
}

/* Responsive */

@media (max-width: 990px) {
    .archive-product .product-filter-head {
        padding: 15px 0;
    }

    .archive-product .filter-results {
        flex: 0 0 100%;
        order: 99;
    }
}

@media (max-width: 640px) {
    .archive-product .product-filter-head .trigger-popup span {
        display: none;
    }
}

/*-----------------------------------------------------------------------
    Cart
-----------------------------------------------------------------------*/

/* Coupon */

form.woocommerce-form-coupon,
form.woocommerce-cart-form .coupon {
    align-items: center;
    gap: 10px;
}

form.woocommerce-cart-form .coupon,
form.woocommerce-cart-form .coupon input,
form.woocommerce-cart-form .coupon *[type="submit"],
form.woocommerce-form-coupon *[type="submit"] {
    margin: 0 !important;
    width: fit-content !important;
}

form.woocommerce-form-coupon p,
form.woocommerce-cart-form .coupon p {
    width: 100%;
}

form.woocommerce-form-coupon {
    margin-bottom: 20px;
}

form.woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}

/* Totals */

.wc-proceed-to-checkout,
.woocommerce-cart .cart-collaterals {
    margin-top: 30px;
}

.woocommerce-cart .cross-sells {
    margin-bottom: 30px;
}

.wc-proceed-to-checkout .checkout-button {
    max-width: fit-content;
    margin: 0 0 0 auto !important;
    float: none;
}

/* Shipping Calculator */

form.woocommerce-shipping-calculator {
    display: block;
}

a.shipping-calculator-button {
    flex: 100%;
    margin: 5px 0;
    display: block;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: none;
    display: inline-block;
}

a.shipping-calculator-button:hover {
    font-style: underline;
}

.shipping-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-calculator-form > p:first-child {
    margin-top: 10px;
}

/* Empty Message */

.woocommerce-cart .return-to-shop .button {
    /* margin: 20px auto 0; */
    display: inline-block !important;
    font-style: normal !important;
    text-decoration: none !important;
    transition: var(--transition);
}

/* Responsive */

@media (max-width: 770px) {
    form.woocommerce-cart-form .coupon,
    form.woocommerce-form-coupon {
        flex-direction: column;
    }

    form.woocommerce-cart-form .coupon,
    form.woocommerce-cart-form .coupon input,
    form.woocommerce-cart-form .coupon *[type="submit"],
    form.woocommerce-form-coupon .form-row,
    form.woocommerce-form-coupon *[type="submit"] {
        min-width: 100%;
    }
}

/*-----------------------------------------------------------------------
    Checkout
-----------------------------------------------------------------------*/

.woocommerce-checkout #customer_details > div,
.woocommerce-checkout .shipping_address {
    margin: 20px 0;
}

.woocommerce-checkout .shipping_address {
    margin-bottom: 10px;
}

.woocommerce-checkout-review-order {
    width: 100%;
}

/* Accounts */

.woocommerce-checkout form.woocommerce-form-login {
    max-width: 100% !important;
}

/* Shipping */

.woocommerce ul.woocommerce-shipping-methods {
    width: 100%;
}

.woocommerce-checkout ul.woocommerce-shipping-methods li {
    display: flex;
}

.woocommerce-checkout ul.woocommerce-shipping-methods li label {
    margin: 2px 0 !important;
}

.woocommerce-page .wysiwyg-content ul.woocommerce-shipping-methods:not(:last-child) {
    margin-bottom: 10px !important;
}

.woocommerce-page ul.woocommerce-shipping-methods li label,
.woocommerce-page ul.woocommerce-shipping-methods li label * {
    font-weight: inherit !important;
    font-size: inherit !important;
}

.woocommerce-page ul.woocommerce-shipping-methods li label[for*="bwa_wholesale_shipping"] {
    padding: 12px 15px;
    background: var(--light-grey);
    border-radius: var(--border-radius-sm);
}

.woocommerce-page table .woocommerce-shipping-destination {
    font-size: 14px !important;
}

/* Payment */

.woocommerce-checkout .woocommerce-checkout-payment {
    padding: 15px;
    background: var(--light-grey);
}

.woocommerce-checkout ul.wc_payment_methods {
    margin: 0 !important;
}

.woocommerce-checkout ul.wc_payment_methods,
.woocommerce-checkout ul.wc_payment_methods .payment_box .wc-stripe-upe-element {
    width: 100%;
}

.woocommerce-checkout ul.wc_payment_methods li {
    margin: 0 0 15px !important;
}

.woocommerce-checkout ul.wc_payment_methods .wc_payment_method > input,
.woocommerce-checkout ul.wc_payment_methods .wc_payment_method > label {
    display: inline-block !important;
    vertical-align: middle;
}

.woocommerce-checkout ul.wc_payment_methods .wc_payment_method > label img {
    max-width: 28px !important;
    max-height: 28px !important;
    display: inline-block !important;
    vertical-align: middle;
}

.woocommerce-checkout ul.wc_payment_methods .payment_box {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    background: var(--white);
}

.woocommerce-checkout ul.wc_payment_methods .payment_box p.woocommerce-SavedPaymentMethods-saveNew {
    display: flex;
}

.woocommerce-checkout ul.wc_payment_methods .payment_box .wc-saved-payment-methods[data-count="0"] {
    display: none;
}

/* Gift Card Balance */

.woocommerce-checkout .update_totals_on_change label[for="use_gift_card_balance"],
.woocommerce-checkout #bwa_wholesale_terms_checkbox_field label {
    line-height: 24px !important;
}

.woocommerce-checkout .gift-card .codes_label,
.woocommerce-checkout .gift-card .balance_label {
    margin: 10px 0 0;

    float: left;
    margin-right: 5px;
    display: block;
    font-weight: 500 !important;
    margin: 0 2px 0 0;
}

.woocommerce-checkout .gift-card span.amount {
    display: block;
}

.woocommerce-checkout .gift-card span:not(.amount, .amount *),
.woocommerce-checkout .gift-card small {
    font-size: 12px !important;
    line-height: 18px !important;
}

/* Place Order */

form.woocommerce-checkout button#place_order {
    margin: 15px 0;
}

/*-----------------------------------------------------------------------
    Thank You
-----------------------------------------------------------------------*/

.woocommerce ul.woocommerce-order-overview {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.woocommerce ul.woocommerce-order-overview li:not(:last-child) {
    padding: 0 20px 0 0 !important;
    margin: 5px 20px 5px 0 !important;
    border-right: 1px dashed var(--mid-grey);
}

.woocommerce table .wc-item-meta,
.woocommerce table .wc-item-meta li {
    padding: 0;
}

.woocommerce table .wc-item-meta li:before {
    display: none;
}

.woocommerce table .wc-item-meta {
    display: block;
}

.woocommerce table .wc-item-meta li {
    display: flex;
    gap: 5px;
}

.woocommerce .woocommerce-customer-details {
    margin-top: 30px;
}

/*-----------------------------------------------------------------------
    Account
-----------------------------------------------------------------------*/

.woocommerce-account .woocommerce h1,
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce h3 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 200px;
    margin-right: 80px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
}

.woocommerce-account .woocommerce-MyAccount-content > *:not(.woocommerce-notices-wrapper) {
    margin: 0 0 15px !important;
}

/* Navigation */

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:before {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black) !important;
    text-decoration: none;
    border: 1px solid var(--mid-grey);
    border-radius: var(--border-radius-sm);
    transition: var(--transition) border-color;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:hover a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    border-color: var(--black);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li[class*="downloads"],
body.is-wholesaler.woocommerce-account .woocommerce-MyAccount-navigation ul li[class*="giftcards"] {
    display: none;
}

/* Orders */

.woocommerce-account ol.woocommerce-OrderUpdates {
    margin: 0;
    list-style: none;
    width: 100%;
}

.woocommerce-account ol.woocommerce-OrderUpdates li:before,
.woocommerce-account ol.woocommerce-OrderUpdates li .clear {
    display: none;
}

.woocommerce-account ol.woocommerce-OrderUpdates li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--light-grey);
    border-radius: var(--border-radius-sm);
}

.woocommerce-account ol.woocommerce-OrderUpdates li .comment-text > * {
    margin: 5px 0 !important;
    display: block;
}

.woocommerce-account ol.woocommerce-OrderUpdates li p.meta {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    color: var(--dark-grey);
}

.woocommerce-order-details .order-again {
    margin: 30px 0;
}

/* Gift Card */

.woocommerce-account .woocommerce-Giftcards .amount,
.woocommerce-account .woocommerce-Giftcards .amount * {
    font-weight: 400 !important;
}

.woocommerce-account .woocommerce-MyAccount-Giftcards-form .button {
    min-width: max-content;
}

/* Waitlist */

.woocommerce-account .waitlist-products {
    padding-top: 30px;
    border-top: 1px solid var(--mid-grey);
}

.woocommerce-account .waitlist-products .waitlist-single-product {
    position: relative;
}

.woocommerce-account .waitlist-products .waitlist-single-product h4 {
    margin: 10px 0 !important;
}

.woocommerce-account .waitlist-products .waitlist-single-product a {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 20px;
    margin-right: 30px;
}

.woocommerce-account .waitlist-products .waitlist-single-product a .waitlist-thumbnail {
    width: 100px;
}

.woocommerce-account .waitlist-products .waitlist-single-product a .waitlist-thumbnail img {
    aspect-ratio: 1 / 1;
}

.woocommerce-account .waitlist-products .waitlist-single-product p,
.woocommerce-account .waitlist-products .waitlist-single-product a.wcwl_remove_product {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.woocommerce-account .waitlist-products .waitlist-single-product a.wcwl_remove_product {
    font-size: 0 !important;
    width: 20px;
    height: 20px;
    background: url(../img/icon-close.svg) 50% no-repeat;
    background-size: 8px;
}

/* Addresses */

address {
    padding: 15px;
    background: var(--light-grey);
    border-radius: var(--border-radius-sm);
}

.woocommerce .woocommerce-Address-title > * {
    display: block;
    margin: 0 0 10px !important;
}

.woocommerce .woocommerce-Address-title a {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 770px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 100%;
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin: 0 0 40px 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0 5px;
    }
}

/*-----------------------------------------------------------------------
    Wishlist
-----------------------------------------------------------------------*/

.bwa-theme .product-summary .yith-add-to-wishlist-button-block a {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.bwa-theme .product-summary .yith-add-to-wishlist-button-block a:hover {
    text-decoration: underline;
}

.bwa-theme form#yith-wcwl-form table .product-add-to-cart {
    text-align: center;
}

.bwa-theme form#yith-wcwl-form table .product-add-to-cart a {
    display: block !important;
    margin: 5px auto;
    width: 100% !important;
}

.bwa-theme form#yith-wcwl-form .yith_wcwl_wishlist_footer {
    width: 100%;
    max-width: 500px;
}

.bwa-theme form#yith-wcwl-form .yith-wcwl-share {
    float: none;
}

.bwa-theme form#yith-wcwl-form .wishlist-title-container,
.bwa-theme form#yith-wcwl-form .yith-wcwl-share .yith-wcwl-after-share-section small,
.bwa-theme form#yith-wcwl-form .yith-wcwl-share ul {
    display: none !important;
}

.bwa-theme .yith-wcwl-feedback-messages-container {
    display: none !important;
}
