.woocommerce-ordering select {
  padding: 0.6rem;
}

// .woocommerce a {
//   text-decoration: none;
// }

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

.woocommerce-products-header__title.page-title {
  margin-top: 0px;
}

.woocommerce a.added_to_cart {
  display: block;
}

h2.wc-block-mini-cart__title {
  font-size: var(--wp--preset--font-size--body-default);
}

.wc-block-components-drawer__close-wrapper {
  button {
    margin-top: 0;
  }
}

.wc-block-components-totals-coupon__form {
  flex-direction: column;
  gap: 0;

  .wp-element-button {
    margin: 0;
  }
}

.wp-block-button.wc-block-components-product-button
  .wc-block-components-product-button__button,
.place-order .button,
.wc-block-cart__submit-container .wp-element-button,
.wc-block-checkout__actions_row .wp-element-button {
  background-color: var(--wp--preset--color--button-bg-color);
  border: 1px solid transparent;
  color: var(--wp--preset--color--dark-color);
  font-size: var(--wp--preset--font-size--upper-heading);
  font-weight: var(--wp--custom--typography--font-weight--normal);
  height: auto;
  line-height: var(--wp--custom--typography--line-height--paragraph);
  margin-top: 0;
  padding-top: clamp(0.8rem, 1vw, 1.25rem);
  padding-right: clamp(1.25rem, 2vw, 3rem);
  padding-bottom: clamp(0.8rem, 1vw, 1.25rem);
  padding-left: clamp(1.25rem, 2vw, 3rem);
  text-transform: uppercase;
  @include border(45px);
  box-sizing: border-box;
}

.wc-block-product-template__responsive {
  row-gap: 2rem;
}

.place-order .button {
  width: auto;
}

.wc-block-checkout__actions_row .wp-element-button {
  width: auto;
}

.wc-block-components-notice-banner.is-success,
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment,
.wc-block-components-notice-banner.is-info {
  background-color: var(--wp--preset--color--secondary-bg-color);
  color: var(--wp--preset--color--color-light);
  border-color: var(--wp--preset--color--primary-border-color);
}

.wc-block-components-notice-banner {
  align-items: center;
}

.wc-block-components-notice-banner
  > .wc-block-components-notice-banner__content:last-child {
  @include flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
}

.wc-block-components-notice-banner
  > .wc-block-components-notice-banner__content
  .wc-forward {
  background-color: var(--wp--preset--color--button-bg-color) !important;
  @include border(45px);
  border: 1px solid transparent;
  color: var(--wp--preset--color--dark-color) !important;
  font-size: var(--wp--preset--font-size--upper-heading);
  font-family: var(--wp--preset--font-family--proza-libre);
  font-weight: var(--wp--custom--typography--font-weight--normal);
  height: auto;
  line-height: var(--wp--custom--typography--line-height--paragraph);
  margin-top: 0.5rem;
  padding-top: clamp(0.8rem, 1vw, 1.25rem) !important;
  padding-right: clamp(1.25rem, 2vw, 3rem) !important;
  padding-bottom: clamp(0.8rem, 1vw, 1.25rem) !important;
  padding-left: clamp(1.25rem, 2vw, 3rem) !important;
  margin-top: 0;
  opacity: 1;
  text-transform: uppercase;
  text-decoration: none;

  &:is(:hover, :focus) {
    border-color: var(--wp--preset--color--hover-color);
    background-color: transparent !important;
    color: var(--wp--preset--color--color-light) !important;
  }
}

.single-product.woocommerce {
  span.onsale {
    border-radius: 0;
    left: 0;
    line-height: 1;
    min-width: auto;
    min-height: auto;
    padding: 0.25rem 0.5rem;
    top: 0.5rem;
    margin: 0;
    right: auto;
    z-index: 1;
  }
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
  z-index: 1;
}

.woocommerce ul.products li.product .onsale {
  margin: 0;
}

.wc-block-components-product-sale-badge {
  border-radius: 0;
  border: 0;
  font-size: var(--wp--preset--font-size--tiny);
  left: 0;
  line-height: 1;
  min-width: auto;
  min-height: auto;
  padding: 4px 11px;
  top: 0.5rem;
  right: auto;
  z-index: 1;
}

.woocommerce-page .wp-block-search__inside-wrapper button[type="submit"] {
  @include border(0 45px 45px 0);
}

.woocommerce-page {
  .restore-item,
  a.button,
  input[name="submit"],
  button[type="submit"],
  button.button {
    background-color: var(--wp--preset--color--button-bg-color);
    @include border(45px);
    border: 1px solid transparent;
    color: var(--wp--preset--color--dark-color);
    font-size: var(--wp--preset--font-size--upper-heading);
    font-family: var(--wp--preset--font-family--proza-libre);
    font-weight: var(--wp--custom--typography--font-weight--normal);
    height: auto;
    line-height: var(--wp--custom--typography--line-height--paragraph);
    margin-top: 0.5rem;
    padding-top: clamp(0.8rem, 1vw, 1.25rem);
    padding-bottom: clamp(0.8rem, 1vw, 1.25rem);
    padding-left: clamp(1.25rem, 2vw, 3rem);
    padding-right: clamp(1.25rem, 2vw, 3rem);
    text-transform: uppercase;

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

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
  height: auto;
  width: auto;
  margin-left: 0 !important;
}

del {
  opacity: 0.5;
  margin-right: 0.5em;
}

address {
  word-break: break-all;
}

.wp-block-button.wc-block-grid__product-add-to-cart {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;

  a.added_to_cart.wc-forward {
    font-size: 20px;
  }
}

.wc-block-grid .wc-block-grid__product {
  position: relative;

  .wc-block-grid__product-onsale,
  .wc-block-grid__product-image .wc-block-grid__product-onsale {
    @include transition(width 0.5s ease-in-out);
    border: 0;
    left: 0;
    right: auto;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 1rem;
    border-radius: 0;
    font-size: var(--wp--preset--font-size--tiny);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    min-width: auto;
    min-height: auto;
    line-height: 1;
    text-align: center;
    z-index: 1;
  }
}

.woocommerce-page .woocommerce-cart-form .actions .button {
  padding-top: clamp(0.8rem, 1vw, 1.25rem) !important;
  padding-right: clamp(1.25rem, 2vw, 3rem) !important;
  padding-bottom: clamp(0.8rem, 1vw, 1.25rem) !important;
  padding-left: clamp(1.25rem, 2vw, 3rem) !important;
}

.woocommerce ul.products li.product a.added_to_cart.wc-forward,
a.added_to_cart.wc-forward {
  text-decoration: underline;
}

.woocommerce {
  span.onsale {
    @include transition(0.5s ease-in-out);
    border: 0;
    border-radius: 0;
    font-size: var(--wp--preset--font-size--tiny);
    line-height: 1;
    left: 0;
    min-width: auto;
    min-height: auto;
    padding: 0.25rem 0.5rem;
    top: 1rem;
    z-index: 1;
  }

  .added_to_cart.wc-forward {
    margin: 0;
  }

  nav.woocommerce-pagination ul {
    border: 0;

    li {
      border: 0;

      span,
      a {
        border-radius: 0.4rem;
        padding: 0.75rem;
      }

      &:not(:last-child) {
        margin-right: 0.5rem;
      }
    }
  }

  table.variations select {
    margin-bottom: 0.25rem;
    padding: 0.75rem;
  }

  .single_variation_wrap input[type="number"],
  table.cart td.actions .coupon .input-text {
    border-radius: 0;
    padding: 0.6rem;
  }

  div.product span.price {
    font-size: var(--wp--preset--font-size--extra-large);
  }

  #respond input#submit,
  .woocommerce-message a {
    font-size: var(--wp--preset--font-size--upper-heading);
    margin-top: 0;
  }

  div.product .woocommerce-tabs ul.tabs {
    @include flex;
    gap: 1rem;
    padding: 0;

    li {
      background-color: transparent;
      border-radius: 0;
      border: 0;
      margin: 0;
      padding: 0;
      text-transform: capitalize;

      &.active {
        background: transparent;

        a {
          border-bottom: 1px solid;
          background-color: transparent;
        }
      }

      a {
        font-weight: var(--wp--custom--typography--font-weight--normal);
        font-size: var(--wp--preset--font-size--body-default);
        color: var(--wp--preset--color--color-light);
        border-bottom: 1px solid transparent;
      }

      &:before,
      &:after {
        display: none;
      }
    }
  }

  table.shop_table th,
  table.shop_table td {
    padding: 15px;
  }

  .woocommerce-input-wrapper textarea {
    border-radius: 0;
  }

  .comment-form-comment textarea {
    border-radius: 0;
    min-height: 12.5rem;
  }
}

.woocommerce ul.products li.product .price {
  font-size: inherit;
}

.woocommerce a.remove {
  color: var(--wp--preset--color--danger-color) !important;

  &:hover,
  &:focus {
    color: var(--wp--preset--color--color-light) !important;
    background: var(--wp--preset--color--danger-color);
  }
}

.wc-block-components-validation-error {
  p {
    color: var(--wp--preset--color--danger-color) !important;
  }
}

.wc-block-components-notice-banner.is-error {
  background-color: var(--wp--preset--color--secondary-bg-color);
  color: var(--wp--preset--color--color-light);
}

.stock.out-of-stock,
.required-field-message,
.woocommerce-error::before {
  color: var(--wp--preset--color--danger-color);
}

.woocommerce-error {
  border-color: var(--wp--preset--color--danger-color);
}

.wp-block-woocommerce-mini-cart-contents
  a.components-button.wc-block-components-button.wp-element-button {
  color: var(--wp--preset--color--dark-color);
  padding-top: clamp(0.8rem, 1vw, 1.25rem);
  padding-right: clamp(1.25rem, 2vw, 3rem);
  padding-bottom: clamp(0.8rem, 1vw, 1.25rem);
  padding-left: clamp(1.25rem, 2vw, 3rem);
}

.woocommerce-checkout main .woocommerce {
  max-width: 1400px;
}

.woocommerce-page .woocommerce-cart-form #coupon_code {
  height: 69.88px;
}

.woocommerce-cart .amount {
  font-size: var(--wp--preset--font-size--content-heading);
}

.woocommerce .woocommerce-breadcrumb,
#catch-breadcrumb {
  margin-top: 1rem;
  margin-bottom: 0;
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 1rem;
}

.amount,
.price,
.woocommerce div.product p.price {
  font-weight: var(--wp--custom--typography--font-weight--bold);
  font-size: var(--wp--preset--font-size--content-heading);
}

.woocommerce-variation-description,
.woocommerce-product-details__short-description {
  font-size: var(--wp--preset--font-size--body-default);
}

.woocommerce ul.products li.product .button {
  box-sizing: border-box;
}

.woocommerce ul.products li.product .price del {
  font-weight: var(--wp--custom--typography--font-weight--bold);
}

.woocommerce-cart table.cart {
  td.product-subtotal,
  tr.cart-subtotal {
    font-weight: 700;
  }

  .qty {
    height: 2.5rem;
  }
}

.woocommerce table.shop_table th {
  text-transform: uppercase;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  font-size: var(--wp--preset--font-size--medium);
}

.woocommerce-page .woocommerce-cart-form {
  .coupon {
    @include flex;
  }

  .product-thumbnail {
    width: 2.5rem;
  }
}

.woocommerce {
  .woocommerce-cart-form .actions button[type="submit"],
  button.single_add_to_cart_button,
  button[name="add-to-cart"],
  .woocommerce-cart-form #coupon_code,
  .woocommerce-cart-form .actions .button,
  button[type="submit"]:not(.wp-block-search__button) {
    margin-top: 0;
    min-height: auto;
  }

  .quantity .qty {
    height: 100%;
    min-width: 4.5rem;
    text-align: left;
  }
}

table.variations th {
  text-align: left;
  width: 3rem;
}

.woocommerce div.product form.cart .variations label {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--typography--font-weight--bold);
  text-transform: uppercase;
}

.woocommerce div.product div.images .flex-control-thumbs {
  background: var(--wp--preset--color--secondary-bg-color);
  @include flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;

  li {
    border: 1px solid;
  }
}

.woocommerce table.variations tr {
  margin-bottom: 0;

  td {
    input,
    select {
      height: 2.8rem;
      min-width: 100%;
    }
  }
}

.product_meta {
  display: flex;
  flex-direction: column;
  font-size: var(--wp--preset--font-size--medium);
}

form.cart,
.variations_form.cart .woocommerce-variation-add-to-cart {
  @include flex;
}

.variations_form.cart,
form.cart.grouped_form {
  display: block;
}

form.cart.grouped_form input[type="number"] {
  height: 2.5rem;
}

.select2-container--default .select2-selection--single {
  height: 2.75rem;
}

.woocommerce-page .select2-container .select2-search__field,
.woocommerce-page .select2-container .select2-selection {
  height: auto;
  padding: 0.625rem 1.1rem;
}

.woocommerce form .form-row.woocommerce-validated .select2-container,
.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
  border-color: var(--wp--preset--color--hover-color);
}

.wc-block-components-button:not(.is-link).contained {
  @include transition(0.5s ease-in-out);
}

.wc-block-components-drawer__close-wrapper
  .wc-block-components-button:not(.is-link).contained {
  padding: 0;
  border: 0;
  right: 25px;

  &:hover,
  &:focus {
    border: 0;
  }
}

.woocommerce-checkout {
  .wc-block-mini-cart,
  .wp-block-group .cart-row .cart-text {
    display: none;
  }
}

.wc-block-mini-cart__footer-actions .wc-block-components-button:not(.is-link) {
  min-height: auto;
}

.woocommerce-page
  .select2-container
  .select2-selection
  .select2-selection__arrow {
  top: 50%;
  @include transform(translateY(-50%));
}

.wc-block-mini-cart__button:hover:not([disabled]) {
  opacity: 1;
}

.cart-empty {
  width: 100%;
}

.wc-block-mini-cart__button {
  cursor: pointer;
  opacity: 1;
  padding: 7px;
  @include flex;
  flex-direction: row-reverse;
  color: var(--wp--preset--color--color-light);

  .wc-block-mini-cart__amount {
    font-size: var(--wp--preset--font-size--medium);
    margin: 0;
    color: var(--wp--preset--color--color-light);
    font-weight: var(--wp--custom--typography--font-weight--bold);
  }

  span.wc-block-mini-cart__badge {
    background-color: var(--wp--preset--color--button-bg-color);
    border: 0;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--typography--font-weight--normal);
    height: 1.2em;
    min-width: 1.2em;
    margin-left: -6px;
    line-height: 1;
  }

  svg.wc-block-mini-cart__icon {
    // font-size: 13px;
  }
}

.woocommerce-cart .wc-block-mini-cart.wp-block-woocommerce-mini-cart {
  display: none;
}

ul.wc-block-grid__products {
  a,
  ins {
    text-decoration: none;
  }

  .wc-block-grid__product {
    text-align: left;
    flex: auto;

    .wc-block-grid__product-image img {
      position: relative;
      width: 100%;
      z-index: 1;
    }
  }
}

.wc-block-grid.has-3-columns .wc-block-grid__product {
  flex: auto;
}

.wc-block-grid__product {
  border: 0;
}

.wc-block-sort-select__select,
form.woocommerce-ordering select {
  border: 1px solid var(--wp--preset--color--primary-border-color);
  background-color: transparent;
  color: var(--wp--preset--color--color-light);
  margin-bottom: 1rem;
  padding: 0.6rem 1.25rem;

  option {
    color: var(--wp--preset--color--dark-color);
  }
}

.wc-block-sort-select {
  display: flex;
  justify-content: flex-end;
}

a.wc-block-components-product-name {
  text-decoration: none;
}

.woocommerce-form-login__submit.wp-element-button {
  width: 100%;
}

button.wc-block-pagination-page {
  border-radius: 8px;
  cursor: pointer;
  padding: 0.75rem 1rem;
}

.wc-block-components-button:not(.is-link).outlined:hover,
.wc-block-components-button:not(.is-link).outlined:focus {
  border-color: transparent;
}

.woocommerce ul.products li.product .onsale,
.wc-block-components-product-sale-badge span,
.wc-block-components-product-image {
  right: auto;
  left: 0;
}

.wc-block-components-product-sale-badge.wc-block-grid__product-onsale {
  @include transition(width 0.5s ease-in-out);
  background-color: var(--wp--preset--color--hover-color);
  border: 0;
  left: 0;
  right: auto;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 1rem;
  border-radius: 0;
  font-size: var(--wp--preset--font-size--tiny);
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  min-width: auto;
  min-height: auto;
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.wc-block-mini-cart__footer
  .wc-block-mini-cart__footer-actions
  .wc-block-components-button.outlined:not(:focus) {
  box-shadow: none;
}

.wc-block-product-search {
  .wc-block-product-search__button {
    margin: 0;
    border-radius: 0 2.25rem 2.25rem 0;
    padding: 0.75rem;
  }

  .wc-block-product-search__field {
    border-radius: 2.25rem 0 0 2.25rem;
    padding: 0.5rem;
  }
}

.wc-block-product-search .wc-block-product-search__field input {
  border-radius: 2.25rem 0 0 2.25rem;
}

.components-base-control.wc-block-product-search__field.input-control {
  padding: 0;
}

.wc-block-components-pagination {
  margin-top: 2.25rem;
}

.wc-block-components-pagination__page:not(:last-child) {
  margin-right: 1rem;
}

.wc-block-grid .wc-block-grid__products {
  .wc-block-grid__product {
    .wc-block-grid__product-title {
      font-size: var(--wp--preset--font-size--body-default);
      font-family: var(--wp--preset--font-family--proza-libre);
      font-weight: var(--wp--custom--typography--font-weight--medium);
    }
  }

  .wc-block-components-product-button {
    @include flex;
    flex-direction: column;
  }
}

.woocommerce button.button[type="submit"] {
  &:hover,
  &:focus {
    transform: none;
  }
}

.wc-block-components-product-price span {
  font-size: var(--wp--preset--font-size--upper-heading);
}

.woocommerce ul.products li.product .star-rating {
  margin-top: 1rem;
}

.wc-block-grid .wc-block-grid__products {
  display: grid !important;
  flex-wrap: wrap;
  grid-template-columns: 1fr;
  grid-gap: 2rem;

  li.wc-block-grid__product {
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0 !important;
  }
}

.woocommerce .products ul,
.woocommerce ul.products {
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: 1fr;
  grid-gap: 30px;
}

.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  margin: 0;
  width: 100%;
}

.wc-block-components-price-slider--is-input-inline
  .wc-block-components-price-slider__controls
  .wc-block-components-price-slider__amount {
  background-color: transparent;
  @include border(0 !important);
  max-width: 5rem;
  padding: 0.6rem;
}

.wc-block-price-filter {
  @include flex;
  flex-direction: column-reverse;

  .wc-block-components-price-slider__actions {
    order: -1;
    @include flex;
    flex-direction: column-reverse;
    margin-top: var(--wp--custom--spacing--extra-small);

    button.wc-block-filter-submit-button {
      color: var(--wp--preset--color--dark-color);
      border: 1px solid transparent;
      @include border(45px);
      width: 100%;

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

.wc-block-rating-filter__actions {
  @include flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wc-block-filter-submit-button {
  @include border(0);
  width: 100%;

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

.wc-block-components-price-slider__range-input-progress {
  --range-color: var(--wp--preset--color--primary-border-color);
  height: 1px;
  top: 3px;
}

.wc-block-components-price-slider__range-input-wrapper:before {
  background-color: var(--wp--preset--color--hover-color);
  opacity: 1;
  top: 3px;
}

input[type="range"]::-webkit-slider-thumb {
  background-color: var(--wp--preset--color--secondary-bg-color);
  border: 1px solid var(--wp--preset--color--button-bg-color);
}

input[type="range"]::-webkit-slider-thumb {
  box-shadow: none;
  border-radius: 50%;
  background-color: var(--wp--preset--color--secondary-bg-color);
  border: 1px solid var(--wp--preset--color--button-bg-color);
  cursor: ew-resize;
  height: 0.8rem;
  position: relative;
  width: 0.8rem;
  z-index: 999;

  &:hover,
  &:focus {
    transform: scale(1.2);
    border: none;
    border-color: 1px solid #000;
    background-color: var(--wp--preset--color--hover-color);
  }
}

//  Input range style for chrome
.home .wp-block-section:nth-child(odd) {
  input[type="range"]::-webkit-slider-thumb {
    background-color: var(--wp--preset--color--foreground);
    border: 1px solid var(--wp--preset--color--primary-border-color);
  }
}

.home .wp-block-section:nth-child(even) {
  input[type="range"]::-webkit-slider-thumb {
    background-color: var(--wp--preset--color--secondary-bg-color);
    border: 1px solid var(--wp--preset--color--primary-border-color);
  }
}

.wc-block-price-filter__range-input-wrapper.wc-block-components-price-slider__range-input-wrapper:hover {
  cursor: ew-resize;
}

//  Input range style for Firefox

input[type="range"]::-moz-range-thumb {
  background-color: var(--wp--preset--color--button-bg-color);
  border: none;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: ew-resize;
  height: 0.8rem;
  position: relative;
  width: 0.8rem;
  z-index: 999;

  &:hover,
  &:focus {
    transform: scale(1.2);
    border: 1px solid var(--wp--preset--color--primary-border-color);
    background-color: var(--wp--preset--color--button-bg-color);
  }
}

.wp-block-woocommerce-product-categories ul {
  margin: 0;

  li {
    margin-bottom: 0;

    &:not(:last-child) {
      a {
        margin-bottom: clamp(15px, 3vw, 20px);
      }
    }

    a {
      display: inline-block;
    }
  }

  ul {
    padding-left: 25px;
  }
}

.woocommerce-account .wp-block-post-title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-checkout .wp-block-post-title {
  max-width: 100%;
}

.woocommerce-account .addresses .title {
  display: flex;
  align-items: center;

  .edit {
    margin-bottom: 0;
  }
}

.wc-block-attribute-filter-list {
  .wc-block-components-checkbox__label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
  }
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark {
  transform: scale(1);
  transform-origin: bottom left;
}

.wc-block-components-checkbox
  .wc-block-components-checkbox__input[type="checkbox"]:not(:checked)
  + .wc-block-components-checkbox__mark {
  transform: scale(0);
  display: flex;
}

.wc-block-components-checkbox
  .wc-block-components-checkbox__input[type="checkbox"] {
  transition: 0.3s ease-in-out;

  &:focus {
    outline-color: var(--wp--preset--color--color-light);
  }

  &:checked {
    background: var(--wp--preset--color--button-bg-color);
    border-color: transparent;
    transform: rotate(180deg);
    border-radius: 50%;

    + svg {
      fill: var(--wp--preset--color--dark-color);
    }
  }
}

// APPLY TO ALL SORT OF CHECKBOX EVEN CLASS ARE CHANGED

.woocommerce form.checkout input[type="checkbox"] {
  appearance: none;
  background-color: var(--wp--preset--color--color-light);
  border: 1px solid var(--wp--preset--color--border-color);
  @include border(6px);
  display: inline-block;
  height: 1.5em;
  font-size: 1rem;
  min-height: 1.5em;
  min-width: 1.5em;
  text-align: center;
  @include transition(0.5s ease-in-out);
  -webkit-appearance: none;
  position: relative;
  width: 1.5em;

  &:after {
    border-bottom: 2px solid var(--wp--preset--color--dark-color);
    border-right: 2px solid var(--wp--preset--color--dark-color);
    content: "";
    position: absolute;
    @include transition(0.5s ease-in-out);
    @include transform(rotate(45deg) scale(0));
    transform-origin: center left;
    height: 15px;
    top: 2px;
    right: 8px;
    width: 5px;
  }

  &:checked {
    background-color: var(--wp--preset--color--button-bg-color);
    @include transform(rotate(360deg));
    border-color: transparent;
    border-radius: 50%;
    color: var(--wp--preset--color--color-light);

    &:after {
      @include transform(rotate(45deg) scale(1));
    }
  }
}

.woocommerce .woocommerce-breadcrumb a,
.entry-breadcrumbs span.breadcrumb a,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb span {
  font-size: 14px;
  font-family: var(--wp--preset--font-family--hind);
}

.banner .wp-block-heading.wp-block-post-title {
  margin-bottom: 0;
}

ins.wc-block-components-product-price__value.is-discounted {
  background: transparent;
}

.wc-block-components-quantity-selector
  .wc-block-components-quantity-selector__button--plus {
  border-left: 1px solid var(--wp--preset--color--primary-border-color);
}

.woocommerce-billing-fields__field-wrapper select {
  height: 55px;
  color: #fff;
  background: transparent;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  input.wc-block-components-quantity-selector__input {
    border-bottom: 1px solid var(--wp--preset--color--primary-border-color);
    border-top: 1px solid var(--wp--preset--color--primary-border-color);
  }
}

.wc-block-components-quantity-selector
  .wc-block-components-quantity-selector__button {
  border: 1px solid var(--wp--preset--color--primary-border-color);
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  border-color: var(--wp--preset--color--primary-border-color);
}

.wc-block-components-quantity-selector:after {
  content: none;
}

.woocommerce table.shop_attributes {
  td,
  th {
    border: 1px solid var(--wp--preset--color--primary-border-color);
    padding-inline: 15px;
  }
}

.woocommerce #reviews {
  .comment_container {
    @include flex;
    gap: 1rem;

    .star-rating {
      font-size: var(--wp--preset--font-size--body-default);
    }
  }

  .commentlist {
    padding: 0;
  }

  #comments ol.commentlist li .comment-text p.meta {
    font-size: var(--wp--preset--font-size--tiny);
  }
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  margin: 0;
  width: 100%;
}

.description {
  font-size: var(--wp--preset--font-size--body-default);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  background: transparent;
  border: 0;
  width: 3.5rem;
  position: relative;
  height: 3.5rem;
}

.woocommerce-products-header__title.page-title {
  display: none;
}

.woocommerce h1.product_title.entry-title {
  font-size: var(--wp--preset--font-size--extra-large);
}

.woocommerce div.product .woocommerce-tabs {
  .woocommerce-Tabs-panel {
    max-width: var(--wp--style--global--content-size);
  }
}

.woocommerce-page .cart-collaterals h2 {
  margin-top: 0;
}

.woocommerce-Tabs-panel h2 {
  font-size: var(--wp--preset--font-size--body-default);
  font-weight: var(--wp--custom--typography--font-weight--normal);
}

// My ACCOUNT PAGE

.woocommerce-account .woocommerce-MyAccount-navigation li:first-child {
  padding-top: 0;
}

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

  a {
    background: var(--wp--preset--color--secondary-bg-color);
    border: 1px solid transparent;
    display: block;
    padding: 0.5rem;
  }

  &:not(:last-child) {
    margin-bottom: 5px;
  }

  &:hover,
  &:hover {
    a {
      background-color: transparent;
      border-color: var(--wp--preset--color--primary-border-color);
      text-decoration: none;
    }
  }

  &.is-active {
    a {
      background-color: transparent;
      border-color: var(--wp--preset--color--primary-border-color);
      color: var(--wp--preset--color--hover-color);
      text-decoration: none;
    }
  }
}

.woocommerce div.product .woocommerce-tabs .panel {
  font-size: 0.9rem;
}

.woocommerce .woocommerce-message {
  box-sizing: border-box;

  a {
    float: right;
  }
}

.woocommerce a.remove {
  color: var(--wp--preset--color--danger-color) !important;

  &:hover,
  &:focus {
    color: var(--wp--preset--color--color-light) !important;
    background: var(--wp--preset--color--danger-color);
  }
}

.woocommerce .woocommerce-message {
  box-sizing: border-box;

  a {
    float: right;
  }
}

.select2-results__options {
  font-size: var(--wp--preset--font-size--small);
}

.woocommerce-page .select2-container .select2-dropdown {
  padding: 0.9rem 0.7rem;
}

form.woocommerce-form.woocommerce-form-login.login {
  max-width: 630px;
  margin-inline: auto;
}

.woocommerce-account .woocommerce-notices-wrapper + h2 {
  text-align: center;
}

.woocommerce-form-register__submit {
  width: 100%;
}

.woocommerce-error {
  border-color: var(--wp--preset--color--danger-color);

  &:before {
    color: var(--wp--preset--color--danger-color);
  }
}

.woocommerce-account main .woocommerce,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout main .woocommerce {
  max-width: 1400px;
}

header.woocommerce-Address-title h3 {
  font-size: 1rem;
  margin-right: 0.5rem;
}

.woocommerce-page .woocommerce-customer-details address {
  width: 100%;
}

.woocommerce-notice--success {
  color: #2eab2e;
}

section.related.products {
  clear: both;
}

#billing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5em;
  margin: 0;

  .wc-block-components-text-input,
  .wc-block-components-country-input,
  .wc-block-components-state-input {
    float: none;
    width: 100%;
    margin: 0;
  }
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__quantity {
  background: var(--wp--preset--color--button-bg-color);
  color: var(--wp--preset--color--dark-color);
  border: 0;
  box-shadow: none;
  min-width: 20px;
  min-height: 20px;
  padding: 2px;

  span {
    font-family: var(--wp--preset--font-family--proza-libre);
    font-size: var(--wp--preset--font-size--tiny);
  }
}

.wc-block-components-form #billing + .wc-block-components-text-input {
  margin-top: 5px;
}

.wc-block-components-sidebar-layout {
  display: grid;
  gap: var(--wp--custom--spacing--normal);
  grid-template-columns: 1fr;

  .wc-block-components-sidebar,
  .wc-block-components-main {
    width: auto;
  }
}

.wc-block-components-product-badge {
  border-color: var(--wp--preset--color--hover-color);
}

.wc-block-components-sidebar,
.is-mobile.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-main {
  background-color: var(--wp--preset--color--secondary-bg-color);
  padding: 1rem !important;
}

.components-combobox-control__suggestions-container input {
  padding-top: 1.5rem !important;
}

.wp-block-post {
  .wp-block-button.is-style-rock-tune-button .wp-block-button__link:before,
  .wp-block-post-excerpt__more-link:before {
    background-color: var(--wp--preset--color--color-light);
  }
}

.wp-block-post {
  .wp-block-button.is-style-rock-tune-button .wp-block-button__link:after,
  .wp-block-post-excerpt__more-link:after {
    border-color: var(--wp--preset--color--color-light);
  }
}

.wc-block-grid__product .wc-block-grid__product-image,
.wc-block-grid__product .wc-block-grid__product-link {
  width: 100%;
}

.wc-block-components-drawer {
  width: calc(var(--drawer-width) + 100px);
  @include transform(translateX(-100%));
}

.woocommerce a.added_to_cart {
  margin-top: 0;
}

// COMMON PADDING FOR ALL INPUT OF WOO

.wc-block-components-form
  .wc-block-components-text-input
  input:-webkit-autofill,
.wc-block-components-form .wc-block-components-text-input input[type="text"],
.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="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-combobox
  .wc-block-components-combobox-control
  input.components-combobox-control__input,
.wc-block-components-combobox
  .wc-block-components-combobox-control
  input.components-combobox-control__input,
.wc-block-components-form
  .wc-block-components-combobox
  .wc-block-components-combobox-control
  input.components-combobox-control__input,
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input[type="text"],
.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="tel"],
.wc-block-components-text-input.is-active input[type="text"],
.wc-block-components-text-input.is-active input[type="url"] {
  padding: 1rem;
  height: 60px;
  max-height: 100%;
  padding-bottom: 10px;
}

.wc-block-components-form
  .wc-block-components-text-input
  input:-webkit-autofill
  + label,
.wc-block-components-combobox.is-active
  .wc-block-components-combobox-control
  label.components-base-control__label,
.wc-block-components-combobox:focus-within
  .wc-block-components-combobox-control
  label.components-base-control__label,
.wc-block-components-form
  .wc-block-components-combobox.is-active
  .wc-block-components-combobox-control
  label.components-base-control__label,
.wc-block-components-form
  .wc-block-components-combobox:focus-within
  .wc-block-components-combobox-control
  label.components-base-control__label,
.wc-block-components-form .wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:-webkit-autofill + label,
.wc-block-components-text-input.is-active label {
  @include transform(translateY(5px));
  font-size: 12px;
  left: 18px;
}

table.woocommerce-table {
  th {
    text-align: left;
  }
}

.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
  border: 1px solid var(--wp--preset--color--border-color);
}

.wp-block-woocommerce-legacy-template {
  font-size: var(--wp--preset--font-size--large);
}

.woocommerce-page {
  ul.woocommerce-order-overview {
    padding: 0.5em;
    border: 1px solid var(--wp--preset--color--border-color);
  }
}

.woocommerce-column.woocommerce-column--2.woocommerce-column--shipping-address.col-2,
.woocommerce-column.woocommerce-column--1.woocommerce-column--billing-address.col-1 {
  address {
    border: 1px solid var(--wp--preset--color--border-color);
    width: 100%;
  }
}

.woocommerce div.product form.cart table.variations td select {
  filter: invert(1);
  border-color: #d0d0d0;
}

.wc-block-components-totals-coupon__form
  .wc-block-components-totals-coupon__input {
  flex: 1;
}

input#wc-block-components-totals-coupon__input-coupon {
  border-radius: 45px;
}

.wc-block-components-shipping-calculator-address
  .wc-block-components-shipping-calculator-address__button.outlined {
  border-color: transparent;
  box-shadow: none !important;
  span.wc-block-components-button__text {
    color: var(--wp--preset--color--dark-color);
    transition: 0.5s ease-in-out;
  }
  &:hover,
  &:focus {
    box-shadow: none;
    border-color: var(--wp--preset--color--button-bg-color);
    span.wc-block-components-button__text {
      color: var(--wp--preset--color--color-light);
    }
  }
}
