/*-----------------------------------------------------------------------
    WooCommerce 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;
    }
}

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

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

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error li,
.woocommerce .woocommerce-notice,
.woocommerce .woocommerce-message {
    padding: 8px 15px !important;
    margin: 0 0 10px !important;
    line-height: 1.5;
    background: rgba(var(--soft-blue-rgb), 40%);
}

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

.woocommerce .woocommerce-error li {
    background: rgba(var(--red-rgb), 25%);
}

.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: 2px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0;
    background-color: transparent !important;
}

.woocommerce .woocommerce-info a:hover,
.woocommerce .woocommerce-error a:hover,
.woocommerce .woocommerce-notice a:hover,
.woocommerce .woocommerce-message a:hover,
.woocommerce .woocommerce-info .button:hover,
.woocommerce .woocommerce-error .button:hover,
.woocommerce .woocommerce-notice .button:hover,
.woocommerce .woocommerce-message .button:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
}

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

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

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

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

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: calc(50% - (15px / 2)) !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 p a {
    text-decoration: underline;
}

.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 */

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

/* Quantity Selector */

.woocommerce .quantity {
    position: relative;
}

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

.woocommerce .quantity input {
    padding-left: 44px !important;
    padding-right: 44px !important;
    text-align: center !important;
    z-index: 9;
}

.woocommerce .quantity span {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    position: absolute;
    top: 0;
    z-index: 99;
    cursor: pointer;
    font-size: 18px;
    color: var(--black);
}

.woocommerce .quantity span.decrement {
    left: 0;
}

.woocommerce .quantity span.increment {
    right: 0;
}

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

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

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

.woocommerce table .product-thumbnail img {
    width: 100px;
    height: auto;
    margin: 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;
        border: 0 !important;
    }

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

    .woocommerce table.shop_table_responsive td[data-title]:before {
        content: attr(data-title);
        font-size: 14px;
        font-weight: 600;
        max-width: 100px;
        position: absolute;
        left: 10px;
        top: 10px;
    }

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

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

.woocommerce span.onsale,
.woocommerce p.stock {
    display: inline-block;
    font-size: 10px !important;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--navy-blue);
    padding: 6px 10px !important;
    background: var(--soft-blue);
}

.woocommerce p.stock.out-of-stock {
    color: var(--white);

    background: var(--navy-blue);
}

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

.woocommerce-Price-amount,
.woocommerce-Price-amount * {
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
}

.woocommerce .price del {
    opacity: 50%;
}

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

form.woocommerce-cart-form .product-remove a {
    display: block;
    text-align: center;
    font-size: 20px !important;
    text-decoration: none;
}

form.woocommerce-cart-form .product-remove a:hover {
    color: var(--red);
}

form.woocommerce-cart-form .product-name,
form.woocommerce-cart-form .product-name a {
    font-weight: 500;
    text-decoration: none;
}

form.woocommerce-cart-form .product-thumbnail {
    width: 100px;
}

form.woocommerce-cart-form .product-quantity .quantity {
    max-width: 200px;
}

/* Coupon */

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

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

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

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

/* 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,
.wc-proceed-to-checkout .checkout-button:focus,
.wc-proceed-to-checkout .checkout-button:hover {
    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 (min-width: 771px) {
    form.woocommerce-cart-form .coupon {
        float: left;
    }

    form.woocommerce-cart-form button[name="update_cart"] {
        float: right;
    }
}

@media (max-width: 770px) {
    form.woocommerce-form-coupon button {
        width: 100%;
    }

    form.woocommerce-cart-form button[name="update_cart"] {
        margin-top: 15px;
        width: 100%;
    }
}

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

.woocommerce-checkout form.checkout,
.woocommerce-checkout form.checkout > .flex-layout {
    margin: 15px 0;
}

.woocommerce-checkout form.checkout {
    display: block;
}

.woocommerce-checkout form.checkout > .flex-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 60px;
}

.woocommerce-checkout form.checkout h3 {
    margin-block-end: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #ship-to-different-address,
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-block-end: 20px !important;
}

/* Accounts */

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

/* Shipping */

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

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

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

/* Payment */

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

.woocommerce-checkout ul.wc_payment_methods {
    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 {
    width: auto !important;
    height: 20px !important;
    display: inline-block;
    margin: 0 3px 2px 0 !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.payment_method_square_credit_card .wc-square-credit-card-new-payment-method-form {
    width: 100%;
    margin-top: 24px;
}

/* Place Order */

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

/* Responsive */

@media (max-width: 990px) {
    .woocommerce-checkout form.checkout > .flex-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

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

.woocommerce ul.woocommerce-order-overview {
    display: flex !important;
    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 dotted var(--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-MyAccount-content h1,
.woocommerce-account .woocommerce-MyAccount-content h2 {
    font-size: 35px;
}

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

/* Navigation */

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--black);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 20px;
    border-bottom: 3px solid transparent;
    text-decoration: none;
}

.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"] {
    display: none;
}

/* Order Comments */

.woocommerce-account ol.woocommerce-OrderUpdates {
    margin: 0;
}

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

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

.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;
    opacity: 50%;
    margin-bottom: 10px;
}

/* Addresses */

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

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

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

/* Responsive */

@media (max-width: 770px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 30px;
    }

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

    .woocommerce-account .woocommerce-MyAccount-navigation ul li {
        width: fit-content;
    }
}

/*-----------------------------------------------------------------------
    Block - Product Feed / Listing
-----------------------------------------------------------------------*/

.swell-theme .entry-product .inner-entry-content > *:not(:first-child) {
    text-align: center;
    margin-top: 3px;
}

.swell-theme .entry-product .inner-entry-content .group-categories {
    justify-content: center;
}

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

.block-single-product-detail {
    min-width: 100%;
    overflow: clip !important;
}

.block-single-product-detail .inner-block-wrap.flex-layout {
    gap: clamp(40px, 10%, 120px);
    align-items: flex-start;
}

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

/* Summary */

.block-single-product-detail .product-summary {
    min-width: 340px;
}

/* Gallery */

.block-single-product-detail .product-gallery {
    min-width: 300px;
    max-width: 500px;
}

.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;
    height: 80px;
    opacity: 40%;
    transition: var(--transition) opacity;
    cursor: pointer;
}

.block-single-product-detail .product-gallery .carousel-product-gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 100%;
}

/* Cart Form */

.block-single-product-detail .product-cart-form {
    margin: 20px 0;
}

.block-single-product-detail form.cart .quantity {
    max-width: 160px;
    flex: 1;
}

.block-single-product-detail form.cart button[type="submit"] {
    flex: 1;
}

.block-single-product-detail form.cart table.variations,
.block-single-product-detail form.cart table.variations th,
.block-single-product-detail form.cart table.variations td {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.block-single-product-detail form.cart table.variations tr:not(:first-child) {
    margin-top: 20px;
}

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

.block-single-product-detail form.cart table.variations input,
.block-single-product-detail form.cart table.variations select {
    width: 100%;
}

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

/* Variations Form */

.block-single-product-detail form.cart.variations_form {
    position: relative;
    flex-direction: column;
    gap: 15px;
}

.block-single-product-detail form.cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.block-single-product-detail form.cart .woocommerce-variation-price > * {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--navy-blue);
}

.block-single-product-detail form.cart .woocommerce-variation-price > *,
.block-single-product-detail form.cart .woocommerce-variation-description > *,
.block-single-product-detail form.cart .woocommerce-variation-availability > * {
    display: block;
    margin-bottom: 15px;
}

.block-single-product-detail form.cart .woocommerce-variation-availability > * {
    display: inline-block;
}

/* Responsive */

@media (max-width: 782px) {
    .block-single-product-detail .inner-block-wrap.flex-wrap {
        gap: 40px;
    }

    .block-single-product-detail .product-summary,
    .block-single-product-detail .product-gallery {
        min-width: 100%;
        max-width: 100%;
    }
}
