:root {
  /* variables for swatch style */
  --yay-swatches-swatch-border;
  --yay-swatches-swatch-border-active;
  --yay-swatches-swatch-border-radius;
  --yay-swatches-swatch-size;
  /* variables for button style */
  --yay-swatches-button;
  --yay-swatches-button-active;
  --yay-swatches-button-border;
  --yay-swatches-button-border-radius;
  --yay-swatches-button-border-active;
  --yay-swatches-button-text;
  --yay-swatches-button-text-active;
  --yay-swatches-button-font-size;
  --yay-swatches-button-padding;

}

.variations_form .yay-swatch-variant-default-wrapper,
.variations_form .yay-swatch-variant-default-wrapper select {
  display: none !important;
}

.yay-swatches-archive-reset-button.yay-swatches-reset-class {
  display: none;
}

.variations_form {
  visibility: hidden;
  opacity: 0;
  height: 0px;
}

.bundled_item_cart_content.variations_form.yay-swatch-clicked {
  display: block !important;
  height: auto;
}

.yay-swatches-wrapper .variations_form.cart .yay-swatches-archive-reset-button .value {
  margin-top: 0px !important;
  margin-bottom: 0px !important;

}

.variations_form.cart .yay-swatch-reset-variations,
tr.yay-swatches-wc-archive-page.yay-swatches-archive-last .value {
  margin-bottom: 7px !important;
}

.yay-swatches-archive-wrapper.yay-swatch-variation-init-called {
  margin-bottom: 15px !important;
}

.hide-yay-swatch-class {
  display: none !important;
}

.yay-swatches-attribute-term:hover {
  cursor: pointer;
}

.yay-swatches-wrapper .variations_form .reset_variations:focus {
  outline: none;
}

.yay-swatches-swatch {
  display: inline-block;
  box-shadow: 0px 0px 0px 2px var(--yay-swatches-swatch-border);
  border-radius: var(--yay-swatches-swatch-border-radius);
  margin: 0px 10px 10px 0px;
  /*10px 12px 0px 0px*/
  height: var(--yay-swatches-swatch-size);
  width: var(--yay-swatches-swatch-size);
  overflow: hidden;
}

.yay-swatches-swatch-automated {
  display: inline-block;
  border: 2px solid var(--yay-swatches-swatch-border);
  border-radius: var(--yay-swatches-swatch-border-radius);
  margin-right: 7px;
  height: var(--yay-swatches-swatch-size);
  width: var(--yay-swatches-swatch-size);
  overflow: hidden;
}

.yay-swatches-swatch-variant-image {
  display: inline-block;
  border: 2px solid var(--yay-swatches-swatch-border);
  border-radius: var(--yay-swatches-swatch-border-radius);
  margin-right: 7px;
  height: var(--yay-swatches-swatch-size);
  width: var(--yay-swatches-swatch-size);
  overflow: hidden;
}

.yay-swatches-action-plus-archive-wrapper .yay-swatches--plus-btn {
  display: none;
}

.yay-swatches--plus-btn {
  cursor: pointer;
}

.yay-swatches-swatch.yay-swatches--plus-btn {
  text-align: center;
  line-height: var(--yay-swatches-swatch-size);
}

.yay-swatches-swatch-variant-image.yay-swatches--plus-btn {
  text-align: center;
  line-height: var(--yay-swatches-swatch-size);
}

.yay-swatches-swatch.yay-swatches-active,
.yay-swatches-swatch-variant-image.yay-swatches-active {
  /* box-shadow: 0px 0px 0px 2px var(--yay-swatches-swatch-border-active); */
  box-shadow: 0px 0px 0px 3px #fff, 0 0 0px 5px var(--yay-swatches-swatch-border-active);
}

.yay-swatches-swatch:last-child,
.yay-swatches-swatch-automated:last-child,
.yay-swatches-button:last-child,
.yay-swatches-swatch-variant-image:last-child {
  margin-right: 0px;
}

.yay-swatches-swatch-radio {
  margin-right: 0.4rem;
}

.yay-swatches-radio-label {
  margin-right: 1rem;
}

.yay-swatches-swatch-radio {
  height: 20px;
  width: 20px;
  vertical-align: middle;
}

.yay-swatches-swatch-radio,
.yay-swatches-swatch-radio:focus {
  outline: none;
  box-shadow: none;
}

.yay-swatches-active .yay-swatches-variant-img {
  /* border: 2px solid #7b6c6c; */
  border-radius: var(--yay-swatches-swatch-border-radius);
}

.yay-swatches-button {
  display: inline-block;
  border: 1px solid var(--yay-swatches-button-border);
  border-radius: var(--yay-swatches-button-border-radius);
  background-color: var(--yay-swatches-button);
  color: var(--yay-swatches-button-text);
  font-size: var(--yay-swatches-button-font-size);
  margin-right: 7px;
  padding: var(--yay-swatches-button-padding);
  overflow: hidden;
  line-height: 1;
}

.yay-swatches-button.yay-swatches-active {
  background-color: var(--yay-swatches-button-active);
  border: 1px solid var(--yay-swatches-button-border-active);
  border-radius: var(--yay-swatches-button-border-radius);
  color: var(--yay-swatches-button-text-active);
}

.yay-swatches-swatch-variant-image.yay-swatches-active {
  border: none !important;
}

.yay-swatches-out-of-stock {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.yay-swatches-out-of-stock:before {
  background-color: #eee;
  border-top: 2px solid red;
  content: "";
  left: 0;
  opacity: .5;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: rotate(45deg);
  transition: .25s linear;
  z-index: 2;
}

/*******SOLD OUT SWATCHES******/
.yay-swatches-disabled {
  overflow: hidden;
  position: relative;
}

.yay-swatches-disabled-opacity {
  opacity: 0.6 !important;
}

.yay-swatches-disabled-opacity img.yay-swatches-variant-img {
  opacity: 0.5 !important;
}

.yay-swatches-disabled:before {
  background-color: #eee;
  border-top: 2px solid red;
  content: "";
  left: 0;
  opacity: .5;
  position: absolute;
  right: 2px;
  top: 50%;
  transform: rotate(45deg);
  transition: .25s linear;
  z-index: 2;
  background: transparent;
}

.yay-swatches-disabled-grayout {
  filter: grayscale(100%);
  opacity: 0.6;
}

.yay-swatches-disabled-grayout.yay-swatches-button {
  background: #fafbfb;
  border-color: #d2d5d8;
  box-shadow: none;
  color: #8c9196;
  transition: none;
}

.yay-swatches-disabled-grayout.yay-swatches-button.yay-swatches-active {
  background-color: var(--yay-swatches-button-active);
  border: 1px solid var(--yay-swatches-button-border-active);
}

.yay-swatches-disabled-grayout.yay-swatches-swatch.yay-swatches-active {
  box-shadow: 0px 0px 0px 3px #fff, 0 0 0px 5px var(--yay-swatches-swatch-border-active);
}

.yay-swatches-disabled-grayout.yay-swatches-swatch {
  box-shadow: 0px 0px 0px 2px rgb(0 0 0 / 30%);
}

.yay-swatches-disabled-hide,
.yay-swatches-pl-hiden {
  display: none;
}

/*******SOLD OUT SWATCHES******/
.yay-swatches-wc-archive-page {
  display: flex;
  flex-direction: column;
}

.yay-swatches-wrapper .variations_form.cart {
  border: none;
  border-style: none !important;
  background: unset;
}

.yay-swatches-wrapper .price {
  display: block;
}

.yay-swatches-product .price p,
.yay-swatches-product .price p.out-of-stock,
.yay-swatches-product .price p.in-stock {
  font-size: 14px;
  margin: 0.5em 0;
}

.yay-swatches-product .price p {
  color: #6d6d6d;
}

.yay-swatches-product .price p.out-of-stock {
  color: #e2401c;
}

.yay-swatches-product .price p.in-stock {
  color: #0f834d;
}

.yay-swatches-wrapper.yay-swatches-wrapper-porto tr.yay-swatches-wc-archive-page td,
.yay-swatches-wrapper.yay-swatches-wrapper-storefront tr.yay-swatches-wc-archive-page td,
.yay-swatches-wrapper.yay-swatches-wrapper-grocery-store tr.yay-swatches-wc-archive-page td {
  text-align: center;
}

.yay-swatches-wrapper .variations_form.cart .variations th.label,
.yay-swatches-wrapper .variations_form.cart .variations td.label {
  padding-left: 0px;
  margin-left: 0px;
  text-transform: unset;
  margin-bottom: 7px;
  font-size: inherit;
  font-weight: unset;
  color: unset;
  display: unset !important;
  text-align: inherit;
}

.yay-swatches-product-details-wrapper .variations_form.cart .variations th.label,
.yay-swatches-product-details-wrapper .variations_form.cart .variations td.label {
  /* text-align: left; */
  text-align: inherit;
}

.yay-swatches-wrapper .variations_form.cart .variations .value {
  margin-bottom: 1em;
  text-align: inherit;
}

.yay-reset-impreza .reset_variations:before {
  content: unset !important;
}

.yay-reset-impreza a.reset_variations {
  font-size: inherit !important;
  position: unset !important;
  width: 100% !important;
  text-align: left !important;
  margin: 0px !important;
  padding: 0px !important;
}

/* .yay-swatches-wrapper .variations_form.cart .variations .value span.yay-swatches-attribute-term {
  margin-bottom: 5px;
} */
.yay-swatches-attribute-term .yay-swatches-variant-img {
  pointer-events: none;
}

.yay-swatches-wrapper .variations_form.cart .variations .reset_variations {
  float: unset !important;
  display: inline-block !important;
  margin-left: 1em;
}

.yay-swatches-wrapper .variations_form.cart::before,
.variations_form.cart::after {
  content: "";
  display: table;
}

.yay-swatches-wrapper .variations_form.cart table.variations {
  table-layout: fixed;
  margin: 0;
  background-color: unset;
  border: none;
}

.yay-swatches-wrapper .variations_form.cart table.variations th,
.variations_form.cart table.variations td {
  display: list-item;
  padding: 0;
  list-style: none;
  background-color: rgba(0, 0, 0, 0);
}


.variations_form.cart table,
.variations_form.cart table tr,
.variations_form.cart table td,
.variations_form.cart table th {
  border: none;
}

span.yay-swatches-attribute-preview-wrapper .yay-swatches-attribute-preview {
  display: unset !important;
}

/*** SUPPORT THEME***/
.yay-swatches-wrapper-twentytwenty .yay-variant-wrapper {
  padding-left: 3px;
}

.yay-swatches-wrapper-twentytwentytwo .variations_form.cart table.variations {
  display: grid;
}

.yay-swatches-wrapper-zella-theme .variations_form.cart table.variations {
  text-align: center;
  margin: auto !important;
}

.yay-swatches-wrapper-savoy .yay-swatches-wc-archive-page .yay-swatches-swatch {
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 2px;
}

.yay-swatches-wrapper-savoy .yay-swatches-wc-archive-page .yay-swatches-swatch-variant-image {
  margin-left: 5px;
  margin-right: 2px;
}

.yay-swatches-wrapper-savoy .variations_form.cart .variations th.label,
.yay-swatches-wrapper-savoy .variations_form.cart .variations .value,
.yay-swatches-wrapper-savoy .variations_form.cart .single_variation {
  border: none;
}

.yay-swatches-wrapper-savoy .yay-swatches-wc-archive-page td.label {
  width: 100% !important;
}

.yay-swatches-wrapper-betheme .variations_form.cart .variations td.label,
.yay-swatches-wrapper-betheme .variations_form.cart .variations .value {
  box-shadow: none;
}

/* css for tippy tooltip */
.tippy-box[data-animation=fade][data-state=hidden] {
  opacity: 0
}

[data-tippy-root] {
  max-width: calc(100vw - 10px)
}

.tippy-box {
  position: relative;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  outline: 0;
  transition-property: transform, visibility, opacity
}

.tippy-box[data-placement^=top]>.tippy-arrow {
  bottom: 0
}

.tippy-box[data-placement^=top]>.tippy-arrow:before {
  bottom: -7px;
  left: 0;
  border-width: 8px 8px 0;
  border-top-color: initial;
  transform-origin: center top
}

.tippy-box[data-placement^=bottom]>.tippy-arrow {
  top: 0
}

.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
  top: -7px;
  left: 0;
  border-width: 0 8px 8px;
  border-bottom-color: initial;
  transform-origin: center bottom
}

.tippy-box[data-placement^=left]>.tippy-arrow {
  right: 0
}

.tippy-box[data-placement^=left]>.tippy-arrow:before {
  border-width: 8px 0 8px 8px;
  border-left-color: initial;
  right: -7px;
  transform-origin: center left
}

.tippy-box[data-placement^=right]>.tippy-arrow {
  left: 0
}

.tippy-box[data-placement^=right]>.tippy-arrow:before {
  left: -7px;
  border-width: 8px 8px 8px 0;
  border-right-color: initial;
  transform-origin: center right
}

.tippy-box[data-inertia][data-state=visible] {
  transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11)
}

.tippy-arrow {
  width: 16px;
  height: 16px;
  color: #333
}

.tippy-arrow:before {
  content: "";
  position: absolute;
  border-color: transparent;
  border-style: solid
}

.tippy-content {
  position: relative;
  padding: 5px 9px;
  z-index: 1
}