.wc-block-mini-cart__badge {
    font-size: var(--wp--preset--font-size--tiny);
    background-color: var(--wp--preset--color--link-color);
}



.woocommerce-page {

    :where(.wp-element-button, .wp-block-button__link),
    .wp-block-woocommerce-empty-cart-block p a,
    .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button,
    .wc-block-cart__submit-container .wp-element-button,
    .wc-block-components-totals-coupon__form .wp-element-button,
    .wc-block-checkout__actions_row .wp-element-button .woocommerce-cart-form .actions .button,
    .restore-item,
    .wc-block-grid .wc-block-grid__products .wc-block-components-product-button button,
    #review_form #respond .form-submit input,
    a.button,
    button.single_add_to_cart_button,
    button[name=add-to-cart],
    button[type=submit]:not(.wp-block-search__button),
    input[name=submit],
    button.button,
    .wc-proceed-to-checkout a.checkout-button.alt,
    button.button:disabled,
    button.button:disabled[disabled] {
        background-color: var(--wp--preset--color--button-color);
        border: 1px solid var(--wp--preset--color--button-color);
        color: var(--wp--preset--color--light);
        font-size: var(--wp--preset--font-size--normal);
        font-weight: var(--wp--custom--font-weight--medium);
        height: auto;
        line-height: 1.75;
        text-decoration: none;
        margin-top: 0.5rem;
        padding-top: clamp(0.5rem, 1vw, 1rem);
        padding-right: clamp(1.25rem, 2vw, 3rem);
        padding-bottom: clamp(0.5rem, 1vw, 1rem);
        padding-left: clamp(1.25rem, 2vw, 3rem);
        text-transform: capitalize;
        transition: all 0.4s;
        @include border(0);

        &:hover,
        &:focus {
            color: var(--wp--preset--color--button-color);
            background-color: transparent;

        }
    }
}

/** Product Listing Page **/
.wc-block-components-product-sale-badge {
    background: var(--wp--preset--color--link-color);
    border: none;
    color: var(--wp--preset--color--background);
}

.woocommerce .woocommerce-ordering select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    max-width: 100%;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='9.71' viewBox='0 0 16 9.71'><path d='M7.776,18.136.655,11.015a.879.879,0,0,1,0-1.244l.831-.831a.879.879,0,0,1,1.242,0L8.4,14.583l5.67-5.643a.879.879,0,0,1,1.242,0l.831.831a.879.879,0,0,1,0,1.244L9.02,18.136A.879.879,0,0,1,7.776,18.136Z' transform='translate(-0.398 -8.683)' fill='%23646262'/></svg>");
    background-size: 16px 6px;
    background-repeat: no-repeat;
    background-position: right 8px center;
    font-size: 15px !important;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    word-wrap: normal;
    line-height: 1.3;
    min-width: 160px;
    padding: 10px 14px;
    color: var(--wp--preset--color--body-text);



    border: none;
}

.wc-block-product-template {
    .wc-block-components-product-price {
        font-size: 18px !important;
    }

    .wp-element-button {
        font-size: 16px !important;
        border: 1px solid var(--wp--preset--color--link-color) !important;


        &:hover,
        &:focus {
            border: 1px solid var(--wp--preset--color--link-color) !important;
        }
    }
}


/** Product Single Page **/

.wc-block-components-notice-banner {
    font-size: var(--wp--preset--font-size--normal);
}

.wc-block-components-notice-banner>.wc-block-components-notice-banner__content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.woocommerce-notices-wrapper {
    z-index: 9;
    position: relative;

    .wc-block-components-notice-banner.is-success {
        background-color: var(--wp--preset--color--peach-puff);
    }
}

.woocommerce .wp-block-woocommerce-product-collection>h2,
.wp-block-woocommerce-product-details .woocommerce-Tabs-panel h2 {
    font-size: var(--wp--preset--font-size--post-title);
}

.wp-block-woocommerce-product-collection,
.wp-block-woocommerce-product-details {
    margin-top: var(--wp--custom--spacing--normal)
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 3 !important;
}

body.woocommerce :where(.wp-element-button, .wp-block-button__link),
.woocommerce div.product form.cart .wp-element-button {
    background-color: var(--wp--preset--color--button-color);
    border-radius: 5px;
    border: 1px solid var(--wp--preset--color--button-color);
    font-weight: var(--wp--custom--font-weight--medium);

    &:hover,
    &:focus {
        background-color: transparent;
        color: var(--wp--preset--color--link-color);
    }
}

.wp-block-woocommerce-product-meta .wp-block-post-terms.taxonomy-product_brand {
    margin-top: 21px;
    border-top: 1px solid var(--wp--preset--color--border-color);
    padding-top: 21px;
}

.wp-block-woocommerce-product-meta .wp-block-post-terms {
    margin-top: 14px;

    a:hover {
        color: var(--wp--preset--color--button-color);
    }
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: var(--wp--preset--font-size--medium);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    color: var(--wp--preset--color--button-color) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    max-width: 900px;
}

/** Cart page CSS **/
.woocommerce-account .wp-block-post-title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout main .woocommerce {
    max-width: var(--wp--style--global--wide-size);
    font-size: var(--wp--preset--font-size--huge-post-title);
    font-family: var(--wp--preset--font-family--merriweather)
}

.woocommerce-account main .woocommerce {
    max-width: var(--wp--style--global--wide-size);
}

.wc-block-components-product-name {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--medium);
    text-decoration: none;

    &:hover,
    &:focus {
        color: var(--wp--preset--color--link-color);
    }
}

.wc-block-cart .wc-block-cart__totals-title,
thead th {
    font-size: var(--wp--preset--font-size--body-small);
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    margin: 0 !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
}

.wp-block-header .wc-block-mini-cart.wp-block-woocommerce-mini-cart {
    visibility: visible !important;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:hover,
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus {
    border: none;
}

/** Checkout Page Css **/
.wc-blocks-components-select .wc-blocks-components-select__select {
    border: 1px solid var(--wp--preset--color--border-color);
}

.wp-block-woocommerce-checkout-order-summary-block {
    background-color: var(--wp--preset--color--peach-puff)
}

.wc-block-components-title.wc-block-components-title {
    font-size: var(--wp--preset--font-size--post-title);
    line-height: 1.5;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
    font-size: var(--wp--preset--font-size--normal);
    font-weight: var(--wp--custom--font-weight--medium);
    line-height: 1.5;
    cursor: pointer;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-formatted-money-amount {
    font-size: var(--wp--preset--font-size--body-default);
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    font-size: var(--wp--preset--font-size--medium);
    color: var(--wp--preset--color--tan-brown);
    font-weight: var(--wp--custom--font-weight--medium);
    text-transform: capitalize;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
    height: 56.25px;
}

.wp-block-woocommerce-mini-cart-footer-block :where(.wp-element-button, .wp-block-button__link) {
    background-color: var(--wp--preset--color--button-color);
    border: 2px solid var(--wp--preset--color--button-color);

    &:hover,
    &:focus {
        background-color: transparent;
        border: 2px solid var(--wp--preset--color--button-color);
        color: var(--wp--preset--color--button-color);
    }
}

.wp-block-woocommerce-mini-cart-footer-block .wc-block-components-button:not(.is-link).outlined {
    border: 1px solid var(--wp--preset--color--button-color);
    color: var(--wp--preset--color--button-color);

    &:hover,
    &:focus {
        box-shadow: none;
        background-color: var(--wp--preset--color--button-color);
        color: var(--wp--preset--color--light);
    }
}

.woocommerce select:focus-visible {
    border: none;
    outline: none;
    box-shadow: none;
}

.wc-blocks-components-select .wc-blocks-components-select__select {
    border: 1px solid var(--wp--preset--color--border-color);
}

.wc-blocks-components-select .wc-blocks-components-select__select:focus-visible,
.wc-blocks-components-select .wc-blocks-components-select__select:focus {
    border-color: var(--wp--preset--color--button-color) !important;
    border-width: 1px !important;
    outline: none;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
    height: 60px;
}

.select2-container .select2-selection--single {
    height: 60px;
    display: block;
    border: 1px solid var(--wp--preset--color--border-color);
}

.select2-container .select2-dropdown,
.select2-container .select2-selection {
    border: 1px solid var(--wp--preset--color--border-color);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--wp--preset--color--button-color);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--wp--preset--color--body-text);
}

.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
    background-color: #fff;
}

.woocommerce-page .select2-container .select2-results__option {
    font-size: 16px;
}

.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-form .wc-block-components-text-input.is-active input[type=email],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=number],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=password],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=tel],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=text],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=url],
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input.is-active input[type=email],
.wc-block-components-text-input.is-active input[type=number],
.wc-block-components-text-input.is-active input[type=password],
.wc-block-components-text-input.is-active input[type=tel],
.wc-block-components-text-input.is-active input[type=text],
.wc-block-components-text-input.is-active input[type=url],
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-page form .form-row .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 1.25rem 1.1rem;
    height: 60px;
    font-size: 16px;
}

.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {

    left: 1.1em !important;
}

.wc-block-components-form .wc-block-components-text-input input,
.wc-blocks-components-select .wc-blocks-components-select__select {
    padding: 1.25rem 1.1rem 0 !important;
}

/** My Account Page **/
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: none;
    padding: clamp(28px, 5vw, 42px);
    margin: 2em 0;
    text-align: left;
    border-radius: 5px;
    background: var(--wp--preset--color--peach-puff);
}

.woocommerce form.login,
.woocommerce form.register {
    max-width: 480px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 65%;
}

header.woocommerce-Address-title.title h2 {
    font-size: var(--wp--preset--font-size--post-title);
    line-height: 1.38;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--wp--preset--color--peach-puff) !important;
    padding: 28px;
    box-sizing: border-box;
    border-radius: 10px;
}

.woocommerce-account .addresses .title .edit {
    float: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    list-style: none;
    padding: 0.5em 0;

    &.is-active a {
        color: var(--wp--preset--color--button-color);
        font-weight: var(--wp--custom--font-weight--bold);
        text-decoration: none;
    }

    a {
        text-decoration: none;
        font-weight: var(--wp--custom--font-weight--medium);
        font-size: var(--wp--preset--font-size--normal);

        &:hover,
        &:focus {
            color: var(--wp--preset--color--button-color);
            font-weight: var(--wp--custom--font-weight--bold);
        }
    }
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    margin-top: 25px;
}