:root {
   --font-weight: 400;
}

.woocommerce-page .woocommerce {
   font-size: 1rem;
   h1,
   h2,
   h3,
   h4,
   h5,
   h6 {
      font-size: 1rem;
   }
   h1.page-title {
      font-size: var(--wp--preset--font-size--x-large);
   }
   h2 {
      font-size: var(--wp--preset--font-size--medium);
   }
   h3 {
      font-size: 1.25rem;
   }
}

/* ==========================================================================
GENERAL
========================================================================== */

.woocommerce-notices-wrapper {
   width: 100%;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-warning,
.woocommerce-message {
   padding: 1em;
   position: relative;
   list-style: none outside;
   width: auto;
   word-wrap: break-word;
   border-radius: var(--wp--custom--border-radius);
   font-size: 0.875rem;
   margin-block-end: 1rem;
   a,
   .button {
      background: none;
      height: auto;
      padding: 0 0 0 0.938rem;
      float: right;
      border-radius: 0;
      margin-inline-start: 1.875rem;
      border: none;
      font-weight: 400;
      display: block;
      font-size: 0.875rem;
      line-height: 1.5;
      min-width: auto;
      font-weight: var(--font-weight);
      text-decoration: none;
      &:hover {
         background: none;
         color: currentColor;
         opacity: .8;
      }
   }
}

.woocommerce-message {
   background-color: #d4edda;
   color: #155724;
   a,
   .button {
      color: #155724;
      border-left: 1px solid #155724;
      &:hover {
         background: none;
      }
   }
}

.woocommerce-error {
   background-color: #f8d7da;
   color: #721c24;
   a,
   .button {
      color: #721c24;
      border-left: 1px solid #721c24;
      &:hover {
         background: none;
      }
   }
}

.woocommerce-info {
   background-color: #d1ecf1;
   color: #0c5460;
   a,
   .button {
      color: #0c5460;
      border-left: 1px solid #0c5460;
      &:hover {
         background: none;
      }
   }
}

.woocommerce-warning {
   background-color: #fff3cd;
   color: #997404;
   a,
   .button {
      color: #997404;
      border-left: 1px solid #997404;
      &:hover {
         background: none;
      }
   }
}

.return-to-shop,
.cart-empty {
   text-align: center;
}

@media (max-width: 767px) {
   .woocommerce-error,
   .woocommerce-info,
   .woocommerce-warning,
   .woocommerce-message {
      display: flex;
      gap: 0 var(--wp--custom--main-size);
      justify-content: space-between;
      flex-wrap: wrap;
      .button,
      a {
         float: none;
         border: none;
         margin-inline-start: 0;
         padding: 0;
      }
   }
}

@media (min-width: 768px) {
   .woocommerce-error,
   .woocommerce-info,
   .woocommerce-warning,
   .woocommerce-message {
      padding: 1.2em 2em;
      &:last-child {
         margin-block-end: 2rem;
      }
   }
}

.single_add_to_cart_button,
.add_to_cart_button {
   &.loading {
      animation: none !important;
      transition: none !important;
      background-image: url(../images/loading-light.svg);
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 1.25rem;
      color: transparent !important;
   }
}

.added_to_cart {
   display: none !important;
}

.product {
   .new,
   .onsale {
      background-color: #dc3545;
      position: absolute;
      top: .938rem;
      color: #FFFFFF;
      padding: .313rem .625rem;
      text-transform: uppercase;
      border-radius: .25rem;
      z-index: 5;
      display: block;
      font-size: 0.75rem;
      line-height: 1;
   }
   .new {
      background-color: var(--wp--preset--color--black);
   }
}

.star-rating {
   position: relative;
   width: 5rem;
   height: 1.125rem;
   overflow: hidden;
   margin: 0;
   font-size: 1rem;
   span {
      display: block;
      height: 1.125rem;
      &:before {
         line-height: 0.9;
         content: '\2605 \2605 \2605 \2605 \2605';
         opacity: 0.5;
         color: #856404;
         display: block;
      }
   }
   strong {
      opacity: 0;
   }
   span {
      overflow: hidden;
   }
}

p.stars {
   display: inline-block;
   margin: 0;
   a {
      display: inline-block;
      text-decoration: none;
      height: 1.2rem;
      overflow: hidden;
      &:before {
         display: block;
         line-height: 1;
         content: '\2605';
         color: #856404;
         opacity: 0.5;
         font-size: 1.2rem;
      }
      &:hover:before,
      &.active:before {
         opacity: 0.5;
      }
      &.active~a::before {
         opacity: .2;
      }
   }
}

.woocommerce {
   .col-1,
   .col-2 {
      flex: unset;
      width: unset;
   }
   label {
      font-weight: 700;
      margin-block-end: .2rem;
   }
   table:not(.variations) {
      font-size: 0.875rem;
      th,
      td {
         padding: .5rem 0;
         border-bottom: 1px solid var(--border-color);
      }
   }
}

.woocommerce-product-gallery__trigger {
   color: transparent;
   background-color: #FFF;
   background-repeat: no-repeat;
   background-position: center;
   background-size: 1rem;
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3e%3c/svg%3e");
   width: 2rem;
   height: 2rem;
   border-radius: .25rem;
}

/* ==========================================================================
LOOP PRODUCTS
========================================================================== */

.section-store-wc {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   >* {
      margin-block-start: calc(var(--wp--custom--main-size) / 2);
      flex: 0 0 auto;
      width: 100%;
   }
   .woocommerce-result-count {
      display: none;
      opacity: .5;
      font-size: .875rem;
   }
   .wrap-actions-store-filters,
   .woocommerce-result-count,
   .woocommerce-ordering {
      margin: 0;
      flex: 0 0 auto;
      width: auto;
   }
   .woocommerce-ordering {
      margin-inline-start: auto;
      flex: 0 0 auto;
      .orderby {
         border: none;
         font-size: .875rem;
         background-size: 1rem;
         opacity: .5;
         padding: 0;
         background-position: right 50%;
         padding-inline-end: 1.3rem;
         text-align: end;
      }
   }
}

@media (min-width: 1200px) {
   .section-store-wc {
      .woocommerce-result-count {
         display: block;
      }
   }
}

ul.products {
   list-style: none;
   padding: 0;
   margin: var(--wp--custom--main-size) 0 0 0;
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: var(--wp--custom--main-size) calc(var(--wp--custom--main-size) / 2);
   .product-category,
   .product {
      position: relative;
      display: flex;
      flex-direction: column;
      a {
         position: relative;
         display: block;
         width: 100%;
         text-decoration: none;
      }
      >a {
         margin: 0;
         display: block;
         max-width: none;
         width: 100%;
         img {
            border-radius: var(--wp--custom--border-radius);
            +* {
               margin-block-start: calc(var(--wp--custom--main-size) / 2);
            }
         }
      }
      .woocommerce-loop-category__title,
      .woocommerce-loop-product__title {
         font-size: 1.125rem;
         margin-block-start: calc(var(--wp--custom--main-size) / 2);
      }
      .price {
         display: block;
         font-size: .9rem;
         margin-block-start: .5rem;
         del {
            opacity: .5;
         }
         ins {
            text-decoration: none;
         }
      }
      .mark,
      mark {
         color: var(--wp--preset--color--black);
         background: none;
      }
      .button.product_type_external,
      .add_to_cart_button {
         margin-block-start: auto;
         display: none;
      }
      .added_to_cart {
         text-align: center;
         padding: .375rem .75rem;
      }
      .new {
         top: .938rem;
         left: .938rem;
      }
      .onsale {
         left: inherit;
         right: .938rem;
      }
      .star-rating {
         margin-block-start: 0.3rem !important;
      }
      &.outofstock {
         position: relative;
         &:after {
            position: absolute;
            content: "Agotado";
            top: .938rem;
            left: .938rem;
            display: inline-block;
            padding: .5em .6em;
            font-size: 80%;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: .25rem;
            background-color: #f8d7da;
            color: #721c24;
         }
      }
   }
}

@media (min-width: 768px) {
   ul.products {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-gap: var(--wp--custom--main-size);
      .product {
         .woocommerce-LoopProduct-link {
            padding-block-end: var(--wp--custom--main-size);
         }
         .button.product_type_external,
         .add_to_cart_button {
            display: block;
         }
      }
   }
}

@media (min-width: 992px) {
   ul.products {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-gap: calc(var(--wp--custom--main-size) * 1.25);
   }
}

@media (min-width: 1200px) {
   ul.products {
      padding-block-start: 0;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      &.columns-1 {
         grid-template-columns: 1fr;
      }
      &.columns-2 {
         grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      &.columns-3 {
         grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      &.columns-4 {
         grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      &.columns-5 {
         grid-template-columns: repeat(5, minmax(0, 1fr));
      }
   }
}

/* ==========================================================================
SINGLE PRODUCT
========================================================================== */

.single-product {
   .product {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      position: relative;
      a {
         text-decoration: none;
      }
      .onsale {
         right: .938rem;
      }
      div.images {
         figure {
            margin: 0;
         }
      }
      .entry-summary {
         margin-block-start: calc(var(--wp--custom--main-size) / 2);
         width: 100%;
         >* {
            margin-block-start: .5rem;
            margin-block-end: 0;
            padding: 0;
            &:first-child {
               margin-block-start: 0;
            }
         }
         .product_title {
            font-size: var(--wp--preset--font-size--x-large);
         }
         .woocommerce-product-rating {
            .woocommerce-review-link {
               display: none;
            }
         }
         .pwb-single-product-brands {
            .pwb-text-before-brands-links {
               display: inline-block;
            }
         }
         .price {
            padding: 0;
            display: block;
            del {
               opacity: 0.5;
            }
            ins {
               text-decoration: none;
            }
            p {
               margin: 0;
               font-size: 0.875rem;
            }
         }
         .woocommerce-product-details__short-description {
            margin-block-start: var(--wp--custom--main-size);
            p:last-child {
               margin: 0;
            }
         }
         p.stock {
            display: inline-block;
            padding: .5em .6em;
            font-size: 80%;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: var(--wp--custom--border-radius);
            &.in-stock {
               background-color: #d4edda;
               color: #155724;
            }
            &.out-of-stock {
               background-color: #f8d7da;
               color: #721c24;
            }
         }
         form.cart {
            margin-block-start: var(--wp--custom--main-size);
            display: flex;
            flex-wrap: wrap;
            gap: .5rem;
            >* {
               flex: 0 0 auto;
               width: 100%;
            }
            .quantity {
               width: 120px;
            }
            .quantity .qty {
               text-align: center;
            }
            p.stock {
               width: auto;
            }
            &.variations_form {
               display: block;
               >* {
                  &:not(:first-child) {
                     margin-block-start: 1rem;
                  }
               }
               .woocommerce-variation-add-to-cart {
                  display: flex;
                  flex-wrap: wrap;
                  gap: .5rem;
                  >* {
                     flex: 0 0 auto;
                     width: 100%;
                  }
               }
            }
            .screen-reader-text {
               display: none;
            }
            .reset_variations {
               color: #ff0000;
            }
            .single_variation_wrap {
               width: 100%;
            }
            .variations {
               padding: 0;
               margin: unset;
               width: 100%;
               overflow: hidden;
               td,
               tr {
                  display: list-item;
                  padding: 0;
                  list-style: none;
               }
               td {
                  text-align: top;
                  vertical-align: top;
                  label {
                     margin: 0 0 0.313rem 0;
                  }
               }
               tr:not(:first-child) {
                  padding-block-start: .5rem;
               }
            }
            .reset_variations {
               display: inline-block;
               margin-block-start: 8px;
               display: none !important;
            }

            .single_variation_wrap {
               .single_variation {
                  margin-block-end: 1rem;
                  >* {
                     &:not(:first-child) {
                        margin-block-start: 1rem;
                        margin-block-end: 0;
                     }
                  }
               }
               .woocommerce-variation-description {
                  p {
                     font-size: 0.875rem;
                     opacity: 0.5;
                  }
               }
               .woocommerce-variation-availability {
                  display: none !important;
               }
            }
         }
         .product_meta {
            margin-block-start: var(--wp--custom--main-size);
            font-size: 0.875rem;
            display: flex;
            flex-wrap: wrap;
            gap: .25rem 1.25rem;
            .sku,
            a {
               font-weight: var(--font-weight);
            }
            span {
               padding: 0;
               display: block;
               span {
                  padding: 0;
                  display: inline-block;
               }
            }
         }
      }
      /* REVIEWS */
      .commentlist {
         list-style: none;
         padding: 0;
         margin: 0;
         .review,
         .comment {
            background-color: rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            position: relative;
            border-radius: var(--wp--custom--border-radius);
            &:not(:first-child) {
               margin-block-start: 1rem;
            }
            p {
               font-size: 0.875rem;
            }
            .comment-text {
               >* {
                  margin-block-start: .5rem;
                  margin-block-end: 0;
               }
               .woocommerce-review__awaiting-approval {
                  font-style: normal;
                  opacity: 0.5;
               }
               .avatar {
                  display: none;
               }
            }
         }
      }
      #review_form_wrapper {
         margin-block-start: var(--wp--custom--main-size);
         #reply-title {
            font-weight: var(--font-weight);
            font-size: var(--wp--preset--font-size--large);
            display: block;
         }
         #commentform {
            margin-block-start: .5rem;
            label {
               margin-block-end: .25rem;
               font-weight: var(--font-weight);
            }
            >* {
               margin-block-start: .5rem;
               margin-block-end: 0;
            }
            .stars {
               margin-block-start: 0;
            }
            .comment-form-cookies-consent {
               clear: both;
               display: flex;
               align-items: flex-start;
               padding-block-start: 1rem;
               input {
                  margin-inline-end: 0.5rem;
                  margin-block-start: 0.313rem;
               }
            }
            textarea {
               height: 5rem;
            }
            .form-submit {
               margin-block-start: 1rem;
               .submit {
                  width: 100%;
               }
            }
         }
         .woocommerce-noreviews {
            padding: 1em;
            margin: 0 0 1em;
            position: relative;
            list-style: none outside;
            width: auto;
            word-wrap: break-word;
            border-radius: var(--wp--custom--border-radius);
            font-size: 0.875rem;

            background-color: #d1ecf1;
            color: #0c5460;
         }
      }
   }
}

.woocommerce-product-gallery {
   position: relative;
   .woocommerce-product-gallery__trigger {
      position: absolute;
      left: 1rem;
      top: 1rem;
      z-index: 5;
   }
   .woocommerce-product-gallery {
      a {
         display: block;
      }
   }
   img {
      max-width: none;
      width: 100%;
      border-radius: var(--wp--custom--border-radius);
   }
   .flex-control-nav {
      padding: 0;
      list-style: none;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: .5rem;
      margin: .5rem 0;
      img {
         border-radius: var(--wp--custom--border-radius);
      }
   }
}

@media (min-width: 768px) {
   .single-product {
      .product {
         .onsale {
            right: unset;
            left: 50%;
            margin-inline-start: -90px;
         }
         .entry-summary,
         .woocommerce-product-gallery {
            width: 50%;
         }
         .single_add_to_cart_button {
            padding-inline: 2rem;
         }
         .entry-summary {
            margin-block-start: 0;
            padding-inline-start: 5%;
         }
         .woocommerce-Reviews {
            display: grid;
            grid-gap: 3rem;
            grid-template-columns: repeat(2, minmax(0, 1fr));
         }
         #review_form_wrapper {
            margin-block-start: 0;
            .comment-form-author {
               float: left;
               width: calc(50% - 0.625rem);
            }
            .comment-form-email {
               float: right;
               width: calc(50% - 0.625rem);
            }
            .form-submit {
               clear: both;
            }
         }
      }
   }
}

@media (max-width: 991px) {
   .single-product .product .entry-summary form.cart {
      &.grouped_form {
         .woocommerce-grouped-product-list {
            tr {
               th,
               td {
                  width: 100%;
                  display: block;
                  clear: both;
                  border: none;
                  label {
                     margin: 0;
                  }
                  &:before,
                  &:after {
                     content: "";
                     display: table
                  }
                  &:after {
                     clear: both
                  }
               }
               .woocommerce-grouped-product-list-item__label {
                  padding: 0;
               }
               .woocommerce-grouped-product-list-item__quantity {
                  padding-block-end: .3rem;
               }
               .woocommerce-grouped-product-list-item__price {
                  padding-block-start: 0;
               }
            }
         }
      }
   }
}

@media (min-width: 992px) {
   .single-product {
      .product {
         .entry-summary {
            form.cart {
               &.variations_form .woocommerce-variation-add-to-cart,
               &:not(.variations_form) {
                  flex-wrap: nowrap;
                  .single_add_to_cart_button {
                     width: auto;
                     min-width: 12rem;
                  }
               }
               &.grouped_form {
                  display: block;
                  .single_add_to_cart_button {
                     margin-block-start: 1rem;
                  }
                  .woocommerce-grouped-product-list {
                     tr {
                        align-items: center;
                        td {
                           border: none;
                           &:not(:first-child) {
                              padding-inline-start: 1rem;
                           }
                        }
                     }
                  }
               }
            }
         }
      }
   }
}

/* ==========================================================================
RELATED
========================================================================== */

.up-sells,
.related.products {
   width: 100%;
   margin-block-start: calc(var(--wp--custom--main-size) * 2);
   h2:first-child {
      margin-block-end: 0;
   }
   ul.products {
      margin-block-start: var(--wp--custom--main-size);
   }
}

@media (min-width: 768px) {
   .up-sells,
   .related.products {
      ul.products {
         grid-template-columns: repeat(3, minmax(0, 1fr));
         .product:nth-child(3):not(:last-child) {
            display: none;
         }
      }
   }
}

@media (min-width: 992px) {
   .up-sells,
   .related.products {
      ul.products {
         grid-template-columns: repeat(4, minmax(0, 1fr));
         .product:nth-child(3):not(:last-child) {
            display: flex;
         }
      }
   }
}

@media (min-width: 1200px) {
   .up-sells,
   .related.products {
      margin-block-start: calc(var(--wp--custom--main-size) * 3);
   }
}

/* ==========================================================================
TABS
========================================================================== */

.woocommerce-tabs {
   width: 100%;
   margin-block-start: calc(var(--wp--custom--main-size) * 2) !important;
   ul.tabs {
      padding: 0;
      margin: 0;
      list-style: none;
      display: flex;
      display: none;
      &::before,
      &::after {
         display: none;
      }
      li {
         border: none;
         border-radius: 0;
         margin: 0;
         background: none;
         flex: auto;
         a {
            display: block;
            padding: 0.625rem 0.313rem;
            text-align: center;
            border-bottom: 1px solid currentColor;
            color: var(--border-color);
            font-size: 0.875rem;
         }
         &::before,
         &::after {
            display: none;
         }
         &.active {
            margin: 0;
            background: none;
            a {
               color: #000;
            }
            &::before,
            &::after {
               display: none;
            }
         }
      }
   }
   .woocommerce-Tabs-panel {
      margin-block-start: 0;
      text-align: start;
      h2 {
         font-size: 1.2rem;
         display: none;
         +* {
            margin-block-start: 0;
         }
      }
      h3 {
         font-size: 1rem;
      }
      p {
         font-size: clamp(0.875rem, 0.8380rem + 0.1852vw, 1rem);
      }
   }
   .woocommerce-product-attributes {
      width: 100%;
      td,
      th {
         width: 50%;
         vertical-align: middle;
         p {
            margin: 0;
         }
      }
   }
}

/* @media (min-width: 768px) {
   .woocommerce-tabs {
      margin-block-start: calc(var(--wp--custom--main-size) * 3) !important;
   }
} */

@media (min-width: 992px) {
   .woocommerce-tabs {
      ul.tabs {
         justify-content: center;
         li {
            a {
               font-size: 1rem;
            }
         }
      }
   }
}

@media (min-width: 1200px) {
   .woocommerce-tabs {
      .woocommerce-Tabs-panel {
         margin-block-start: calc(var(--wp--custom--main-size) * 1.5);
      }
   }
}

/* ==========================================================================
CART
========================================================================== */

.cart-empty {
   font-size: 1.25rem;
   max-width: 800px;
   margin-inline: auto;
   &:before {
      content: '';
      display: block;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .49.598l-1 5a.5.5 0 0 1-.465.401l-9.397.472L4.415 11H13a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5M3.102 4l.84 4.479 9.144-.459L13.89 4zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4m7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2m7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3e%3c/svg%3e");
      width: 100px;
      height: 100px;
      background-size: cover;
      background-position: center;
      margin: 0 auto var(--wp--custom--main-size) auto;
      opacity: .3;
   }
}

.cart-empty.woocommerce-info {
   background: none;
}

.woocommerce-page {
   .wp-block-woocommerce-cart {
      .wc-block-components-product-name {
         font-weight: var(--font-weight);
         text-decoration: none;
      }
      .wc-block-cart-item__remove-link {
         color: #721c24 !important;
      }
   }
   .wc-block-components-quantity-selector {
      input.wc-block-components-quantity-selector__input {
         font-weight: normal;
         font-size: 1rem;
      }
      .wc-block-components-quantity-selector__button:focus {
         box-shadow: none;
      }
   }
   .wc-block-components-product-badge {
      background-color: #dc3545;
      color: #FFFFFF;
      padding: .3rem .5rem;
      line-height: 1;
   }
   .wc-block-components-order-summary-item__regular-individual-price {
      opacity: .5;
   }
   .wc-block-components-radio-control-accordion-content {
      font-size: 0.875rem;
      opacity: .7;
      padding-block-start: 0;
      padding-block-end: 1rem;
   }
}

.woocommerce-page {
   .wc-blocks-components-select .wc-blocks-components-select__container,
   .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[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"] {
      border-color: var(--border-color);
   }
}

.woocommerce-cart-empty {
   h1 {
      text-align: center;
      display: none;
   }
}

.woocommerce-cart-form {
   .cart_item {
      a {
         text-decoration: none;
      }
      .product-name {
         font-weight: var(--font-weight);
      }
      .product-remove {
         font-size: 2rem;
         line-height: 1;
         text-align: center;
         a {
            color: #721c24;
         }
      }
      .product-thumbnail {
         a {
            display: block;
            text-align: start;
         }
         img {
            max-width: 3.125rem;
            border-radius: var(--wp--custom--border-radius);
         }
      }
      .qib-button-wrapper {
         float: left;
      }
   }
   td.actions {
      padding-block: 2rem !important;
      border: none !important;
   }
}

.cart-collaterals {
   .cross-sells {
      margin-block: calc(var(--wp--custom--main-size) * 1.5);
   }
}

.cart_totals {
   background-color: rgba(0, 0, 0, 0.03);
   padding: var(--wp--custom--main-size);
   border-radius: var(--wp--custom--border-radius);
   .shop_table_responsive {
      tr {
         th,
         td {
            display: table-cell;
            text-align: unset;
            clear: unset;
            vertical-align: top;
            &:before,
            &:after {
               content: unset;
            }
            &[data-title]::before {
               content: unset;
            }
         }
         td {
            padding-inline-start: 1rem !important;
         }
      }
   }
   .wc-proceed-to-checkout {
      margin-block-start: var(--wp--custom--main-size);
      .button {
         width: 100%;
         display: block;
         padding-block: 0.8rem;
      }
   }
}

.woocommerce-shipping-methods {
   list-style: none;
   padding: 0;
   margin: 0;
   li {
      display: flex;
      gap: .5rem;
   }
}

.woocommerce-page {
   .shipping-calculator-form {
      p,
      .form-row {
         margin-block-start: calc(var(--wp--custom--main-size) / 2);
      }
      .button {
         width: 100%;
      }
   }
}

@media (max-width: 767px) {
   .woocommerce-cart-form {
      .cart_item {
         td:not(:last-child) {
            border: none !important;
         }
         td:last-child {
            padding-block-end: 1.5rem;
         }
         .product-remove {
            height: 0;
            text-align: end;
            a {
               display: inline-block;
               color: #721c24;
               transform: translateY(5px);
            }
         }
         .qib-button-wrapper {
            float: right;
         }
      }
      td.actions {
         display: flex !important;
         flex-direction: column-reverse;
         .button {
            width: 100%;
         }
         .coupon {
            button {
               margin-block-start: .5rem;
            }
            +.button {
               margin-block-end: 2rem;
            }
         }
      }
   }
}

@media (min-width: 768px) {
   .woocommerce-cart-form {
      td.actions {
         text-align: end;
         button {
            min-width: 10rem;
         }
         .coupon {
            float: left;
            width: 25rem;
            display: flex;
            input {
               border-radius: var(--wp--custom--border-radius) 0 0 var(--wp--custom--border-radius);
            }
            .button {
               border-radius: 0 var(--wp--custom--border-radius) var(--wp--custom--border-radius) 0;
            }
         }
      }
   }
}

@media (min-width: 1200px) {
   .cart-collaterals {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      >* {
         flex: 0 0 45%;

      }
      .cart_totals {
         margin-inline-start: auto;
         padding: calc(var(--wp--custom--main-size) * 1.5);
         th {
            width: 30%;
         }
      }
      .cross-sells {
         margin-block-start: 0;
      }
   }
}

/* ==========================================================================
LOGIN
========================================================================== */

body.woocommerce-account {
   .woocommerce {
      #customer_login {
         --wp--custom--main-size: .75rem;
         display: flex;
         flex-wrap: wrap;
         gap: calc(var(--wp--custom--main-size) * 4) 0;
         .col-1,
         .col-2 {
            flex: 0 0 100%;
         }
         .woocommerce-form {
            margin-block-start: var(--wp--custom--main-size);
            .woocommerce-button {
               width: 100%;
            }
         }
         .woocommerce-form-login {
            .woocommerce-button {
               margin-block-start: var(--wp--custom--main-size);
            }
         }
         .woocommerce-privacy-policy-text {
            margin-block-start: var(--wp--custom--main-size);
            font-size: 0.875rem;
            opacity: .7;
         }
      }
   }
}

@media (min-width: 992px) {
   body.woocommerce-account {
      .woocommerce {
         #customer_login {
            justify-content: space-between;
            .col-1,
            .col-2 {
               flex: 0 0 47%;
            }
            .woocommerce-form {
               margin-block-start: calc(var(--wp--custom--main-size) * 3);
               .woocommerce-button {
                  width: 12rem;
               }
            }
         }
      }
   }
}


@media (min-width: 1200px) {
   body.woocommerce-account {
      .woocommerce {
         #customer_login {
            .col-1,
            .col-2 {
               flex: 0 0 45%;
            }
         }
      }
   }
}

.woocommerce-lost-password {
   .wp-block-post-title {
      max-width: 31.25rem;
      margin: 0 auto;
   }
   .woocommerce-ResetPassword {
      &.lost_reset_password {
         max-width: 31.25rem;
         margin: 0 auto;
         .button {
            width: 100%;
            margin-block-start: 0.313rem;
         }
      }
   }
}


/* ==========================================================================
ACCOUNT
========================================================================== */

.woocommerce-MyAccount-navigation {
   ul {
      list-style: none;
      margin: 0;
      padding: 0;
      li {
         a {
            display: block;
            padding: .5rem 1rem;
            display: flex;
            align-items: center;
            font-size: 1rem;
         }
      }
      .woocommerce-MyAccount-navigation-link {
         a {
            color: var(--wp--preset--color--black);
            border-radius: var(--wp--custom--border-radius);
            text-decoration: none;
         }
         &.is-active {
            a {
               background-color: var(--wp--preset--color--black);
               color: #FFFFFF;
            }
         }
      }
   }
}

.woocommerce-MyAccount-content,
.woocommerce-order-details {
   >* {
      margin-block-end: calc(var(--wp--custom--main-size) * 1.5);
   }
}

@media (max-width: 991px) {
   body.woocommerce-account {
      .woocommerce-MyAccount-navigation {
         ul {
            width: 100vw;
            margin-inline-start: -1.5rem;
            padding-inline: 1.5rem;
            display: flex;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: -ms-autohiding-scrollbar;
            a {
               text-wrap: nowrap;
            }
         }
         .woocommerce-MyAccount-navigation-link {
            &:first-child:not(.is-active) a {
               padding-inline-start: 0;
            }
            &:last-child:not(.is-active) a {
               padding-inline-end: 0;
            }
         }
      }
   }
}

.woocommerce-MyAccount-content {
   margin-block-start: calc(var(--wp--custom--main-size) * 2);
   .woocommerce-notices-wrapper:empty {
      +* {
         margin-block-start: 0 !important;
      }
   }
   .woocommerce-EditAccountForm {
      em {
         opacity: .5;
         font-size: .875rem;
         display: block;
         padding-block-start: .313rem;
         font-style: normal;
      }
   }
   .edit {
      color: #dc3545;
      font-size: 80%;
   }
   .woocommerce-orders-table {
      .button {
         font-size: .75rem;
         line-height: 1;
         padding: .2rem .6rem;
         min-width: auto;
         width: auto;
         margin: 0.188rem 0;
      }
   }
   .woocommerce-pagination--without-numbers {
      margin-block-start: var(--wp--custom--main-size);
   }
   .wc-item-meta {
      margin: 0;
      li {
         display: flex;
         gap: .5rem;
         p {
            margin: 0;
         }
      }
   }
}

.addresses,
.woocommerce-Addresses {
   margin-block-start: var(--wp--custom--main-size);
   display: grid;
   grid-template-columns: minmax(0, 1fr);
   gap: var(--wp--custom--main-size);
   .woocommerce-Address-title {
      gap: var(--wp--custom--main-size);
      justify-content: space-between;
      h2 {
         font-size: 24px;
      }
   }
   address {
      margin-block-start: calc(var(--wp--custom--main-size) / 2);
      margin-block-end: 0;
      p {
         margin: 0;
      }
   }
}

@media (min-width: 768px) {
   .addresses,
   .woocommerce-Addresses {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

.woocommerce-order-details,
.woocommerce-address-fields {
   margin-block-start: var(--wp--custom--main-size);
}

@media (min-width: 992px) {
   .woocommerce-account {
      .woocommerce:after {
         content: "";
         display: block;
         clear: both;
      }
   }
   body.woocommerce-account {
      .woocommerce-MyAccount-navigation {
         margin-block-start: 0;
         width: 25%;
         float: left;
      }
      .woocommerce-MyAccount-content {
         width: 75%;
         padding-inline-start: 5%;
         float: right;
         min-height: 300px;
         margin-block-start: 0;
         .woocommerce-orders-table {
            .button {
               width: 100%;
            }
         }
      }
   }
}

@media (max-width: 767px) {
   table.shop_table_responsive {
      thead {
         display: none
      }
      tr {
         th,
         td {
            display: block;
            text-align: end;
            clear: both;
            &:before,
            &:after {
               content: "";
               display: table
            }
            &:after {
               clear: both
            }
            &[data-title]::before {
               content: attr(data-title) ": ";
               font-weight: 600;
               float: left
            }
         }
         &.woocommerce-orders-table__row:not(:first-child) {
            th:first-child {
               padding-block-start: calc(var(--wp--custom--main-size) * 2);
            }
         }
      }
   }
}

/* ==========================================================================
CHECKOUT
========================================================================== */

.woocommerce-form-login-toggle+.woocommerce-form-login {
   display: grid;
   grid-template-columns: minmax(0, 1fr);
   gap: 0.75rem 1.5rem;
   padding-inline: 1rem;
   padding-block-end: 2rem;
   p {
      margin: 0 !important;
   }
   .clear {
      display: none !important;
   }
   .woocommerce-button {
      margin-block-start: 0.75rem;
      width: 100%;
   }
}

.woocommerce-form-coupon {
   display: grid;
   grid-template-columns: minmax(0, 1fr);
   gap: 0.75rem 1.5rem;
   padding-inline: 1rem;
   padding-block-end: 2rem;
   p {
      margin: 0 !important;
   }
   button {
      width: 100%;
   }
}

form.woocommerce-checkout {
   margin-block-start: var(--wp--custom--main-size);
   .form-row.place-order,
   #payment,
   #order_review,
   .woocommerce-billing-fields__field-wrapper {
      margin-block-start: calc(var(--wp--custom--main-size) * 1.5);
   }
   .woocommerce-account-fields {
      margin-block-start: calc(var(--wp--custom--main-size) * 1.5);
      label {
         margin-block-end: 0;
      }
      p.create-account {
         margin: 0;
      }
      div.create-account {
         padding-block: var(--wp--custom--main-size);
         p:first-child {
            margin: 0;
         }
      }
   }
   .woocommerce-billing-fields:last-child {
      padding-block-end: var(--wp--custom--main-size);
   }
   .woocommerce-form__label-for-checkbox {
      display: inline-block;
      /* flex-wrap: wrap;
      align-items: flex-start; */
      .woocommerce-form__input {
         transform: translateY(2px);
      }
   }
   .woocommerce-shipping-fields {
      margin-block-start: calc(var(--wp--custom--main-size) / 1.5);
      #ship-to-different-address {
         >label {
            margin-block-end: 0;
            font-size: 1rem;
         }
      }
      .shipping_address {
         padding-block: var(--wp--custom--main-size);
         p:first-child {
            margin-block-start: 0;
         }
      }
   }
   .woocommerce-additional-fields {
      margin-block-start: calc(var(--wp--custom--main-size) * 1.5);
   }
   .woocommerce-checkout-review-order-table {
      th,
      td {
         vertical-align: top;
         width: 50%;
      }
   }
   .woocommerce-terms-and-conditions-wrapper {
      font-size: 0.875rem;
      margin: 0;
   }
   .woocommerce-terms-and-conditions {
      margin-block-start: var(--wp--custom--main-size);
      border: 1px solid var(--border-color);
      padding: 1rem;
      font-size: 0.875rem;
      border-radius: var(--wp--custom--border-radius);
      >* {
         opacity: 0.6;
      }
   }
   #place_order {
      width: 100%;
      padding-block: .8rem;
      margin-block-start: var(--wp--custom--main-size);
   }
}

.wc_payment_methods {
   padding: 0;
   margin: 0;
   list-style: none;
   li {
      background-color: rgba(0, 0, 0, .05);
      padding: 1.25rem;
      border-radius: var(--wp--custom--border-radius);
      display: flex;
      flex-wrap: wrap;
      gap: 0 .3rem;
      align-items: center;
      &:not(:first-child) {
         margin-block-start: .5rem;
      }
      label {
         margin: 0;
      }
      img {
         max-width: 80px;
      }
      .payment_box {
         flex: 0 0 100%;
         font-size: 0.875rem;
         opacity: .5;
         padding-inline-start: 1.2rem;
      }
      &:only-child {
         .payment_box {
            padding-inline-start: 0;
         }
      }
   }
}

@media (min-width: 768px) {
   .woocommerce-form-coupon-toggle,
   .woocommerce-form-login-toggle {
      .woocommerce-info {
         margin-block-end: 1rem;
      }
   }
   .woocommerce-form-login-toggle+.woocommerce-form-login {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      .clear {
         display: none !important;
      }
      p:not(.form-row) {
         grid-column: span 2;
      }
      .woocommerce-button {
         width: 12rem;
      }
   }
   .woocommerce-form-coupon {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: center;
      p:not(.form-row) {
         grid-column: span 2;
      }
   }
}

@media (min-width: 992px) {
   .woocommerce-checkout {
      &:after {
         content: '';
         display: block;
         clear: both;
      }
      #customer_details {
         float: left;
         width: 55%;
         padding-inline-end: 1.875rem;
         .col-1,
         .col-2 {
            max-width: 100%;
         }
      }
      #order_review,
      #order_review_heading {
         float: right;
         width: 45%;
         padding-inline-start: 1.875rem;
         margin-block-start: 0;
      }
   }
}

@media (min-width: 1200px) {
   .woocommerce-form-coupon {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      p:not(.form-row) {
         grid-column: unset;
      }
   }
   form.woocommerce-checkout {
      margin-block-start: calc(var(--wp--custom--main-size) * 2);
   }
}

/* ==========================================================================
ORDER PAY
========================================================================== */

.woocommerce-order-pay {
   article {
      --wp--style--global--content-size: 800px;
   }
   .woocommerce-order {
      max-width: 800px;
      margin-inline: auto;
   }
   .woocommerce {
      --wp--style--global--wide-size: 800px;
   }
   .order_details {
      background-color: rgba(0, 0, 0, 0.03);
      padding: var(--wp--custom--main-size);
      border-radius: var(--wp--custom--border-radius);
      font-size: 0.875rem;
      list-style: none;
      margin-block-start: var(--wp--custom--main-size);
      li {
         border-bottom: 1px solid var(--border-color);
         padding: 0.313rem;
         &:last-child {
            border: none;
         }
      }
   }
   &.woocommerce-checkout {
      #order_review {
         float: none;
         padding: 0;
         width: 100%;
      }
   }
   #payment {
      margin-block-start: var(--wp--custom--main-size);
   }
   .woocommerce-terms-and-conditions-wrapper {
      margin-bottom: var(--wp--custom--main-size);
   }
   .woocommerce-terms-and-conditions-wrapper {
      font-size: 0.875rem;
   }
}

/* ==========================================================================
ORDER RECEIVED
========================================================================== */

.woocommerce-order-received {
   article {
      --wp--style--global--content-size: 800px;
   }
   .woocommerce-order {
      max-width: 800px;
      margin-inline: auto;
   }
   .woocommerce-order-details,
   .addresses,
   .woocommerce-order-overview,
   .woocommerce-order-overview+p {
      background-color: rgba(0, 0, 0, 0.03);
      padding: var(--wp--custom--main-size);
      border-radius: var(--wp--custom--border-radius);
      font-size: 0.875rem;
   }
   .woocommerce-order-overview {
      list-style: none;
      margin-block-start: var(--wp--custom--main-size);
      li {
         border-bottom: 1px solid var(--border-color);
         padding: 0.313rem;
         &:last-child {
            border: none;
         }
      }
   }
   .woocommerce-table--order-details {
      a {
         text-decoration: none;
      }
      ul {
         font-size: 0.875rem;
         margin: 0;
         padding: 0;
         list-style: none;
         opacity: .5;
         li {
            display: flex;
            gap: 0.375rem;
            p {
               margin: 0;
               font-size: 0.875rem;
            }
         }
      }
   }
   h2.woocommerce-order-details__title,
   h2.woocommerce-column__title {
      font-size: 1.25rem;
   }
}

@media (min-width: 1200px) {
   .woocommerce-order-received {
      .woocommerce-order-details,
      .addresses,
      .woocommerce-order-overview,
      .woocommerce-order-overview+p {
         padding: calc(var(--wp--custom--main-size) * 1.2);
      }
   }
}

/* ==========================================================================
FORMULARIOS
========================================================================== */

.woocommerce-page {
   .form-row {
      margin-block-start: 1rem;
      label {
         margin-block-end: 0.188rem;
      }
   }
}

.woocommerce-EditAccountForm,
.woocommerce-address-fields__field-wrapper {
   --wp--custom--main-size: .75rem;
   legend {
      padding-bottom: var(--wp--custom--main-size);
      font-weight: var(--font-weight);
      font-size: 1.5rem;
   }
   fieldset {
      margin-block-start: calc(var(--wp--custom--main-size) * 2);
   }
}

.form-row.woocommerce-invalid-required-field {
   input {
      border-color: #d64122;
   }
}

.woocommerce {
   .password-input {
      display: block;
      width: 100%;
      position: relative;
      .show-password-input {
         position: absolute;
         width: 3.125rem;
         height: 100%;
         top: 0;
         right: 0;
         background-size: 1.5rem;
         background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8M1.173 8a13 13 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5s3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5s-3.879-1.168-5.168-2.457A13 13 0 0 1 1.172 8z'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0'/%3e%3c/svg%3e");
         background-repeat: no-repeat;
         background-position: center;
         opacity: 0.5;
         cursor: pointer;
         &.display-password {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7 7 0 0 0-2.79.588l.77.771A6 6 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755q-.247.248-.517.486z'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='currentColor'%3e%3cpath fill-rule='evenodd' d='M3.35 5.47q-.27.24-.518.487A13 13 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7 7 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12z'/%3e%3c/svg%3e");
         }
      }
   }
   .woocommerce-password-hint {
      opacity: 0.7;
      line-height: 1.5 !important;
      display: block;
   }
   .woocommerce-password-strength {
      position: relative;
      padding: .5rem 1rem;
      margin-block-end: 0.5rem;
      border: 1px solid transparent;
      border-radius: var(--wp--custom--border-radius);
      margin-block-start: .625rem;
      font-size: .875rem;
      &.short {
         color: #721c24;
         background-color: #f8d7da;
         border-color: #f5c6cb;
      }
      &.good,
      &.bad {
         color: #856404;
         background-color: #fff3cd;
         border-color: #ffeeba;
      }
      &.strong {
         color: #155724;
         background-color: #d4edda;
         border-color: #c3e6cb;
      }
   }
}

/* ==========================================================================
PLUS MINUS BUTTON
========================================================================== */

body.woocommerce-page {
   .qib-button-wrapper {
      margin: 0;
      border: 1px solid var(--border-color);
      justify-content: space-between;
      border-radius: 3rem;
      float: none;
      .qib-button {
         &.minus,
         &.plus {
            background: transparent;
            border: none;
            border-radius: 0;
            &:hover {
               background: transparent;
               opacity: .5;
            }
         }
      }
      .quantity {
         flex: 1 1 100%;
         input.input-text.qty.text {
            border: none;
            padding-inline: 0;
            font-size: 1rem;
         }
      }
   }
}

@media (min-width: 992px) {
   body.woocommerce-page {
      .qib-button-wrapper {
         width: 7rem !important;
      }
   }
}

/* ==========================================================================
VARIATION SWATCHES FOR WOOCOMMERCE
========================================================================== */

body.woocommerce-page {
   &.rtwpvs {
      .rtwpvs-terms-wrapper {
         .rtwpvs-term:not(.rtwpvs-radio-term) {
            border: 1px solid var(--wp--preset--color--black);
            box-shadow: none !important;
            border-radius: var(--wp--custom--border-radius);
            transition-duration: .5s !important;
            span {
               color: var(--wp--preset--color--black);
               transition: none;
            }
            &:hover,
            &.selected {
               background-color: var(--wp--preset--color--black) !important;
               span {
                  color: #FFF !important;
               }
            }
            &.disabled {
               opacity: 0.5;
            }
         }
      }
   }
}

/* ==========================================================================
SEARCH
========================================================================== */

.dgwt-wcas-sf-wrapp {
   input[type="search"].dgwt-wcas-search-input {
      border-radius: var(--wp--custom--border-radius);
      font-size: 1rem;
      font-style: normal;
      &:focus {
         box-shadow: unset;
      }
   }
   .dgwt-wcas-search-submit::before {
      display: none;
   }
   button.dgwt-wcas-search-submit {
      background: transparent;
   }
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-webkit-input-placeholder {
   font-style: normal;
   color: var(--wp--preset--color--black);
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-moz-placeholder {
   font-style: normal;
   color: var(--wp--preset--color--black);
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-moz-placeholder {
   font-style: normal;
   color: var(--wp--preset--color--black);
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-ms-input-placeholder {
   font-style: normal;
   color: var(--wp--preset--color--black);
}

.dgwt-wcas-has-submit .dgwt-wcas-search-submit svg path {
   fill: rgba(0, 0, 0, .5);
}

.dgwt-wcas-suggestions-wrapp>* {
   max-width: 800px;
   margin: 0 auto;
}

.dgwt-wcas-suggestions-wrapp {
   border: none;
   padding-bottom: var(--wp--custom--main-size);
   a {
      text-decoration: none;
   }
}

/* ==========================================================================
FILTERS YITH
========================================================================== */

.yith-wcan-filters {
   background: none;
   .yith-wcan-filter {
      h4.filter-title {
         font-size: 1rem;
         border-bottom: 1px solid rgba(0, 0, 0, 0.1);
         padding-bottom: 0.625rem;
         margin-bottom: 0.625rem;
      }
      label {
         margin: 0;
      }
      .yith-wcan-dropdown.open {
         box-shadow: none;
         border: 1px solid #D7D7D7;
         .dropdown-wrapper {
            box-shadow: none;
            border: 1px solid #D7D7D7;
            .active {
               a {
                  color: var(--wp--preset--color--black);
               }
            }
         }
      }
      .filter-items {
         &.filter-color {
            padding-top: 0.313rem;
            margin: 0;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
            grid-gap: 0.313rem;
         }
         .filter-item {
            &.filter-has-1-column {
               margin: 0;
               width: auto;
            }
            >a:hover,
            label>a:hover {
               color: var(--wp--preset--color--black);
            }
            &.active>label>a {
               color: var(--wp--preset--color--black);
            }
            &.color {
               .term-color {
                  margin: 0;
                  border: none;
                  .color-swatch {
                     text-align: center;
                     &:before {
                        font-family: 'Material Symbols Outlined';
                        color: #FFFFFF;
                        font-size: 1.5rem;
                        display: block;
                        line-height: 35px;
                     }
                  }
               }
               &.active {
                  .term-color {
                     .color-swatch:before {
                        content: '\e876';
                     }
                  }
                  >a:after {
                     display: none;
                  }
               }
            }
            &.checkbox {
               line-height: 1;
               padding: 0.25rem 0;
               input {
                  position: absolute;
                  opacity: 0;
                  cursor: pointer;
                  height: 0;
                  width: 0;
               }
               input:checked~a:before {
                  background-color: var(--wp--preset--color--black);
                  content: '\e876';
                  font-family: 'Material Symbols Outlined';
                  color: #FFFFFF;
               }
               a {
                  display: block;
                  height: 1.25rem;
                  line-height: 1.25rem;
                  padding-top: 0.25rem;
                  position: relative;
                  padding-left: 1.875rem;
                  &:before {
                     display: inline-block;
                     content: "";
                     width: 1.25rem;
                     height: 1.25rem;
                     background-color: #DEE4F1;
                     transform: translateY(0.25rem);
                     border-radius: 2px;
                     text-align: center;
                     position: absolute;
                     left: 0;
                     top: 0;
                  }
               }
            }
            &.label {
               padding: 3px 0.625rem;
            }
            &.label.active:not(.with-image),
            &.label:not(.with-image):not(.disabled):hover {
               background-color: var(--wp--preset--color--black);
               box-shadow: none;
            }
         }
      }
   }
}

/* ==========================================================================
SIDE CART WOOCOMMERCE
========================================================================== */

.xoo-wsc-product {
   box-shadow: none;
   border: none;
}

.xoo-wsc-product dl.variation dd,
.xoo-wsc-product dl.variation dt {
   font-style: normal;
   opacity: .5;
   ul {
      padding: 0 0 0 1em;
   }
}

dt.variation-Productosenlote {
   display: none !important;
}

/* ==========================================================================
PAY U
========================================================================== */

.wompi-button-holder {
   margin-top: var(--wp--custom--main-size);
}