/* ---- Product form ---- */
body.template-product .product__section #breadcrumb {
  margin-top: 0;
  margin-bottom: 30px;
}

.active img {
  border: 1px solid #e6e6e6 !important;
}

.thumbnail {
  margin-bottom: 10px;
  border: 1px solid #fff;
}

#product-price,
.product-price {
  font-size: calc(var(--font-size) + 2px);
}

.product__section-details,
.product-description {
  text-align: center;
}

@media screen and (max-width: 740px) {
  .product__section--desc.product__description-container.rte {
    text-align: left !important;
    clear: left;
    width: 100%;
  }
  .product__section-container.grid__wrapper {
    grid-row-gap: 0;
  }
}

.selector-wrapper {
  margin-bottom: 12px;
}

.product-add h5 {
  font-weight: bold;
  font-size: var(--font-size);
}

.qty-selection {
  margin-top: 15px;
}

.quantity {
  text-align: center;
  display: inline-block !important;
  padding: 10px 0 !important;
  text-indent: 0 !important;
  background: transparent;
  padding: 0 !important;
  width: 50px !important;
  height: 46px !important;
  margin: 0 !important;
  border-left: 0;
  border-right: 0;
}

.down,
.up {
  display: inline-block;
  vertical-align: top;
  line-height: 44px;
  padding: 0;
  width: 44px;
  color: var(--text-color);
  border: 1px solid var(--dotted-color);
  text-align: center;
  background: #fff;
  height: 46px;
  margin-bottom: 0;
  border-radius: 0;
}

.theme-buttons-curved .down,
.theme-buttons-curved .up {
  border-radius: 0;
}

.up:hover,
.down:hover {
  cursor: pointer;
}

.add {
margin: 0 auto;
display: block !important;
clear: left;
}

.lms-payment-button {
clear: left;
margin-top: 15px;
}

.lms-payment-button__button--hidden {
  display: none !important;
}


button.lms-payment-button__button--unbranded,
button.lms-payment-button__button--branded {
border-radius: 0 !important;
min-height: 50px;
height: 50px;
}
.theme-buttons-curved .lms-payment-button__button--branded,
.theme-buttons-curved .lms-payment-button__button--unbranded {
border-radius: 3px !important;
-moz-border-radius: 3px !important;
-webkit-border-radius: 3px !important;
}

.lms-payment-button__button--unbranded {
color: var(--button-text) !important;
background: var(--button-color) !important;
font-size: var(--font-size) !important;
}

.lms-payment-button__button--unbranded:hover {
color: var(--button-text) !important;
background: var(--button-hover) !important;
}

button.lms-payment-button__more-options, button.lms-payment-button__more-options:hover {
background: transparent !important;
color: #000 !important;
padding: 0px 0 10px !important;
font-size: 12px;
height: initial;
}

.rte-description {
margin-bottom: 15px;
}

.desc {
padding-top: 10px;
}

.full-click {
display: block;
text-align: center;
margin-top: 20px;
}

#related {
margin-top: 20px;
padding: 20px 0;
float: left;
text-align: center;
}

#social {
float: left;
width: 100%;
padding-bottom: 10px;
}

#product-navigation {
text-align: center;
}

#back-forth img {
margin: 0 5px;
vertical-align: middle;
max-width: 160px;
}

.backto {
margin-bottom: 10px;
display: block;
}

.prev-prod {
margin-right: 10px;
}

.next-prod {
margin-left: 10px;
}

.prev-prod,
.next-prod {
display: inline-block;
}

.share-icons a {
margin: 0 5px;
}

#product__section-lowerDescription {
text-align: left;
}

.single-option-selector {
border: 1px solid #ddd;
border-radius: 1px;
-webkit-appearance: none;
-moz-appearance: none;
padding-left: 12px;
font-size: var(--font-size);
height: 48px;
line-height: 46px;
background: var(--select-arrow-bg) no-repeat right #fff;
margin: 5px auto 10px;
}

.single-option-selecter::-ms-expand {
display: none;
}

.what-is-it label {
display: inline;
margin-right: 10px;
}

/* New Product Quick View Image Gallery */
.product-image-container {
width: 100%;
position: relative;
overflow: hidden;
width: 100%;
}

/* New Product Image Gallery */
@media screen and (min-width: 980px) {
.product-image-container.show-all {
  overflow: initial !important;
  height: initial !important;
}

.product-image-container.show-all .product_image.product-main-image {
  position: relative !important;
  top: initial !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.product__section-image--scroll_small .product-image-container,
.product__section-image--scroll_full .product-image-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.product__section-image--scroll_small .product-image-container li {
    flex: 1 0 calc(50% - 10px);
}
.product__section-image--scroll_small .product-image-container li:first-child {
  flex: 1 1 100%;
}
.product__section-image--scroll_full .product-image-container li {
  flex: 1 1 calc(100% - 10px);
}
}

.product__section--buttons {
  margin: 25px 0 10px 0;
}

.product__section--buttons button,
.product__section--buttons #addToCart {
  margin-bottom: 0 !important;
}

.product__section-details .product__section--app {
  margin-top: 15px;
}

.product__section--desc.product__description-container.rte {
  margin-top: 15px;
}

.rte.accordion__active {
  margin-top: 15px;
}

.product__line-item {
  margin-top: 15px;
}

.product__line-item label,
.qty-selection label,
.selector-wrapper label {
font-family: var(--main-family) !important;
font-weight: 500;
font-size: var(--font-size);
margin-bottom: 5px;
}

.product__line-item span.required-label {
  font-size: 12px;
  font-style: italic;
  position: absolute;
  right: 0;
  top: 0;
}

.product__line-item p.line-item-property__field {
  position: relative;
}

.line-item-property__field .required-error {
border-color: var(--error-msg-dark, #cc0000)!important;
}

.sku label {
font-family: var(--main-family) !important;
font-weight: 500;
font-size: var(--font-size);
margin-bottom: 0;
}

/* ---- Product text with icon ---- */

.product-text__block {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.product-text__block-icon,
.product-text__block-image {
  flex: 0 0 20px;
  margin-right: 10px;
  display: flex;
}

.product-text__block-content {
  flex: 0 0 auto;
}

.product-text__block-content a:hover {
text-decoration: underline;
}

.product-text__block-image img {
 max-height: 18px;
}

@media (max-width: 740px){
.product-text__block-content{
  flex: none;
}
}

/* ----- Set elements to center align on mobile ---- */
@media screen and (max-width: 740px) {
  .product-text__block {
      justify-content: center;
  }
  .variant-stock-levels__inner.product__section--element {
      justify-content: center;
  }
  .spr-starrating {
      justify-content: center !important;
  }
}

/* ---- Product upsell ---- */

.product__upsell-item {
  margin-top: 35px;
  margin-bottom: 10px;
  display: flex;
  position:relative;
  border: 1px solid var(--dotted-color);
  padding: 15px;
}

.product__upsell-container {
  display: flex;
  flex-direction: row;
  flex-basis: 100%;
  text-align: left;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.product__upsell-item .prod-image {
  flex: 1;
}

@media screen and (max-width: 740px) {
  .product__upsell-item .prod-image {
    flex: 1 1 50px;
  }
}

.product__upsell-item .product-info {
  display: flex;
  flex-direction: column;
  flex: 4;
  gap: 15px;
  text-align: left;
  padding: 0;
  align-items: flex-start;
}
.product__upsell-item .product-info .product-info-inner {
   width: 100%;
}
.product__upsell-item .price {
  align-items: start;
}
.product__upsell-item .product-info form {
    margin-top: 5px;
}
.product__upsell-item button.button-as-link,
.product__upsell-item input {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
.product__upsell-item .note-error {
    border: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.4em;
    margin-bottom: 0;
}


/* Product Form Swatches */
.swatches__container {
  margin: 10px 0 0 0;
  display: inline-block;
  width: 100%;
  position: relative;
}

.swatches__container[data-option-index="2"],
.swatches__container[data-option-index="3"] {
    margin-top:25px;
}

/* Hide radio buttons */
.swatches__form--input {
  display: none;
}

/* Swatch Label */
.swatches__form--label {
  display: -moz-inline-stack;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  zoom: 1;
  margin: 10px 8px 0 0;
  padding: 0 15px;
  color: #000;
  background-color: var(--background);
  border: 1px solid var(--dotted-color);
  cursor: pointer;
  position: relative;
  font-size: var(--font-size);
  font-weight: var(--main-weight);
  text-align: center;
  min-width: 50px;
  white-space: nowrap;
  line-height: 1em;
}

.swatches__form--label.focus-visible {
  transform: scale(1.08);
}

.swatches__shape--circle .swatches__form--label {
  min-width: 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  vertical-align: middle;
}

.swatches__shape--square .swatches__form--label {
  min-width: 34px;
  width: 34px;
  height: 34px;
  vertical-align: middle;
}

.swatches__shape--rectangle .swatches__form--label {
  height: 34px;
  min-width: 44px;
  width: 44px;
  vertical-align: middle;
}

.swatches__swatch--regular .swatches__form--label {
  height: 40px;
}

.swatches__form--input:checked + .swatches__form--label {
  background: var(--text-color);
  color: var(--background);
}

.swatches__swatch--color .swatches__form--input:checked + .swatches__form--label {
  box-shadow: 0px 0px 2px 2px #d6d6d6;
}

.swatches__form--label:hover {
  background: #eee;
  color: #000;
}

.swatches__swatch--regular,
.swatches__swatch--color {
  display: inline-block;
  -webkit-transform:translateZ(0); /* webkit flicker fix */
  -webkit-font-smoothing:antialiased; /* webkit text rendering fix */
  position:relative;
}

/* Image with the cross in it */
.swatches__sold-out--image {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.swatches__sold-out--image {
  display: none;
}

.swatches__swatch--color.soldout .swatches__sold-out--image,
.swatches__swatch--regular.soldout .swatches__sold-out--image {
  display: block;
}

.swatch-element:not(.soldout) .label-unavailable {
  display: none;
}

.swatches__swatch--regular.soldout label,
.swatches__swatch--color.soldout label  {
  filter: alpha(opacity=60);
  /* internet explorer */
  -khtml-opacity: 0.6;
  /* khtml, old safari */
  -moz-opacity: 0.6;
  /* mozilla, netscape */
  opacity: 0.6;
  /* fx, safari, opera */
}

.swatches__container.error {
  background-color: #E8D2D2 !important;
  color: #333 !important;
  padding: 1em;
  border-radius: 5px;
}

.swatches__container.error p {
  margin: 0.7em 0;
}

.swatches__container.error p:first-child {
  margin-top: 0;
}

.swatches__container.error p:last-child {
  margin-bottom: 0;
}

.swatches__container.error code {
  font-family: monospace;
}

.swatches__option-name {
  margin-bottom: -5px;
  border-bottom: 1px solid transparent;
  display: block;
  font-size: var(--font-size);
  font-weight: 400 !important;
}

.swatches__option-name span.swatches__option-value {
  margin-left: 2px;
}

.color.swatch-element label {
  padding: 0;
}

.swatch-element.soldout .swatches__form--label:before {
  content: '';
  height: 2em;
  width: 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -1em 0 0;
  border-right: 1px solid;
  transform: rotate(45deg);
}

.swatch-element.soldout .swatches__form--label:after {
  content: '';
  height: 2em;
  width: 1px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -1em 0 0;
  border-right: 1px solid;
  transform: rotate(135deg);
}

/* ---- Variant images ---- */

.product__variants-select {
    position: relative;
}

span.variant--images-drawer {
  display: block;
}

@media (min-width:741px) {
  span.variant--images-drawer {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
  }
}

span.variant--images-drawer button {
  font-size: calc(var(--font-size) - 2px);
  opacity: 0.75;
}

.variant--image-heading {
  padding: 0 10px;
}

.variant--image {
  position: relative;
  padding: 5px;
}

span.variant--image-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: var(--font-size-sm);
  background: rgba(0,0,0,0.5);
  line-height: 1;
  padding: 4px 5px;
  color: #fff;
  border-radius: 3px;
}

/* ---- Payment icons ---- */

.product__section--payment-icons.product__section--element {
    margin: 15px 0;
    padding: 15px;
}

/* ---- Size and fit --- */

.product__section--range-indicator {
  margin: 15px 0 0;
}

.product__section--range-indicator .block--title {
  margin-bottom: 5px;
}

.product__section--range-indicator .range--container {
  display: flex;
  height: 5px;
  width: 100%;
  border: 0;
}

.product__section--range-indicator .range--container.has-gaps {
  gap: 5px;
}

.product__section--range-indicator .range--integer {
  flex-grow: 1;
  height: 100%;
  background: var(--range-bg);
}

.product__section--range-indicator .range--integer.fill--range {
  background: var(--range-bg-fill);
}

.product__section--range-indicator .range--labels {
  display: flex;
  width: 100%;
  font-size: var(--font-size-sm);
  margin-top: 5px;
}

.product__section--range-indicator .range--label:first-child {
  margin-right: auto;
}

.product__section--range-indicator .range--label:last-child {
  margin-left: auto;
}

/* ---- Product page ---- */

.product__section-container {
  clear: both;
  position: relative;
  align-items: start;
}

.product__description-container.rte ul {
  list-style: disc;
  list-style-position: outside;
  margin-left: 20px;
}

span.popup_content_link {
  margin: 15px 0 0 0;
  display: inline-block;
}

span.popup_content_link button {
  margin: 0 10px 0 0;
  padding: 0;
}

.product__section-details .share-icons {
  margin-top: 15px;
}

.product__section-lowerDescription {
  margin-bottom: 50px;
}

.product__section-details .rte-accordion {
  text-align: left;
}

.product__section-details .c-accordion__panel .c-accordion__inner {
text-align: left;
}

/* --- Product Ratings Block --- */
.product__section-rating {
  display: inline-block;
  margin: 0 0 10px 0;
}

.product__section-rating-star {
  --letter-spacing: 0.2;
  --font-size: 1;
}

.product__section-rating-star {
--percent: calc(
  (
      var(--rating) / var(--rating-max) + var(--rating-decimal) *
        var(--font-size) /
        (var(--rating-max) * (var(--letter-spacing) + var(--font-size)))
  ) * 100%
);
  letter-spacing: calc(var(--letter-spacing) * 1rem);
  font-size: calc(var(--font-size) * 1rem);
  line-height: 1;
  display: inline-block;
  font-family: Times;
  margin: 0;
}

.product__section-rating-star::before {
  content: '★★★★★';
  background: linear-gradient(
    90deg,
    var(--star-active) var(--percent),
    var(--star-inactive) var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product__section-rating-text,
.product__section-rating-count {
  display: none;
}

@media (forced-colors: active) {
  .product__section-rating {
    display: none;
  }
  .product__section-rating-text {
    display: block;
  }
}

/* ---- SPI banner ---- */

.spi-banner {
  margin-top: 8px;
  margin-bottom: 12px;
}


/* ---- Complementary products ---- */

.complementary__products {
  margin: 15px 0;
}

.complementary__products .complementary__grid--loop {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.complementary__products .product__complementary-item {
  display: flex;
  flex-direction: row;
  flex-basis: 100%;
  text-align: left;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--dotted-color);
  gap: 15px;
}

/* Item width when single item */
.complementary__products .product__complementary-item {
  width: 100%;
}

/* Item width + spacing when more than 1 item with carousel */
@media screen and (min-width: 741px) {
  .complementary__grid--loop.flickity__section .product__complementary-item {
    width: 100%;
    margin-right: 10px;
  }
}

@media screen and (max-width: 740px) {
  .complementary__products {
    margin: 15px 0 40px;
  }
  .complementary__products .product__complementary-item {
    width: 100%;
  }
}

.complementary__products .product__complementary-item .prod-image {
  flex: 2;
}

.complementary__products .product__complementary-item .product-info {
  display: flex;
  flex-direction: column;
  flex: 4;
  gap: 15px;
  text-align: left;
  padding: 0;
  align-items: flex-start;
}

.product__complementary-item .product-info .product-info-inner {
   width: 100%;
}

.product__complementary-item .price {
  align-items: start;
}

.product__complementary-item .product-info form {
    margin-top: 5px;
}

.product__complementary-item button.button-as-link,
.product__complementary-item input {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.product__complementary-item .note-error {
    border: 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.4em;
    margin-bottom: 10px;
    margin-top: -15px;
}

.complementary__products .flickity-prev-next-button {
  width: 40px;
  height: 40px;
}

.complementary__products .flickity-prev-next-button.previous {
    left: auto;
    right: 50px;
    top: 25px;
}
.complementary__products .flickity-prev-next-button.next {
    right: 5px;
    top: 25px;
}

@media screen and (min-width: 741px) {
  .complementary__products .flickity-page-dots {
    display: none;
  }
}
@media screen and (max-width: 740px) {
  .complementary__products .flickity-prev-next-button {
      display: none;
  }
  .complementary__products .flickity-page-dots {
    display: block;
  }
}

/* ---- Product stock levels ---- */
.product__section-stockLevels {
  margin-top: 25px;
}

.variant-stock-levels__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.stock_icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  overflow: hidden;
}

span.js-variant-stock-levels__message {
  margin-left: 5px;
}

@keyframes pulse-orange {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 177, 66, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 177, 66, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 177, 66, 0);
  }
}

/* ---- Product list block ---- */

.product__section-product-list {
  margin-top: 15px;
  margin-bottom: 5px;
}

.product--list-item_image {
  margin-bottom: 5px;
}
.product--list-item .price.price--listing {
  font-size: calc(var(--font-size) - 2px);
}

.product--list-item .price--on-sale .price__sale {
  justify-content: flex-start;
}

.product--list-item p {
  font-size: calc(var(--font-size) - 2px);
  margin-bottom: 0;
}

.product--list-item.show-as-swatch.swatches__swatch--color .swatches__form--label {
  padding: 0;
  overflow: hidden;
  margin-top: 0;
}

.product--list-item.show-as-swatch .swatches__form--label img {
  scale: 1.5;
}

.product--list-item.show-as-swatch .swatches__form--label.current--item {
  box-shadow: 0 0 2px 2px #d6d6d6;
}

.product--list-item.swatches__swatch--regular .swatches__form--label.current--item {
  background: var(--text-color);
  color: var(--background);
  box-shadow: 0 0 0 0;
}

.swatch--tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(calc(-50% - 5px));
  border: 1px solid var(--dotted-color);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: calc(var(--font-size) - 2px);
  color:var(--text-color);
  background: var(--background);
  white-space: nowrap;
}

.swatch--tooltip::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--dotted-color) transparent transparent transparent;
}

.product--list-item.show-as-swatch:hover .swatch--tooltip {
  display: block;
}


/*---- Recipient form ----*/
.recipient-form {
  display: block;
  position: relative;
  margin-bottom: 20px;
}

.recipient-form-field-label {
  margin: 0.6rem 0;
}

.recipient-form-field-label--space-between {
  display: flex;
  justify-content: space-between;
}

.recipient-checkbox {
  flex-grow: 1;
  display: flex;
  word-break: break-word;
  align-items: center;
  max-width: inherit;
  position: relative;
  cursor: pointer;
}

.no-js .recipient-checkbox {
  display: none;
}

.recipient-form > input[type='checkbox'] {
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  top: 0;
  left: 0;
  z-index: -1;
  appearance: none;
  -webkit-appearance: none;
}

.recipient-fields__field {
  margin: 0 0 2rem 0;
}

.recipient-fields .field__label {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
}

.recipient-checkbox > svg {
  margin-right: 1.2rem;
  flex-shrink: 0;
}

.recipient-form .icon-checkmark {
  visibility: hidden;
  position: absolute;
  left: 0.28rem;
  z-index: 5;
  top: 0.4rem;
}

.recipient-form > input[type='checkbox']:checked + label .icon-checkmark {
  visibility: visible;
}

.js .recipient-fields {
  display: none;
}

.recipient-form > input[type='checkbox']:checked ~ .recipient-fields {
  display: block;
}
.recipient-form > input[type='checkbox']:not(:checked, :disabled) ~ .recipient-fields,
.recipient-email-label {
  display: none;
}

.js .recipient-email-label.required,
.no-js .recipient-email-label.optional {
  display: inline;
}

.recipient-form ul {
  padding-left: 4.4rem;
  text-align: left;
}

.recipient-form ul a {
  display: inline;
}

.recipient-form .error-message {
  margin-bottom: 10px;
  display: block;
  color: var(--error-color, red);
}

.recipient-form .error-message::first-letter {
  text-transform: capitalize;
}

@media screen and (forced-colors: active) {
  .recipient-fields > hr {
  }

  .recipient-checkbox > svg {
    background-color: inherit;
  }

  .recipient-form > input[type='checkbox']:checked + label .icon-checkmark {
    border: none;
  }
}

.send_on--date-picker {
  padding: 15px;
  border: 1px solid var(--dotted-color);
  font-family: var(--main-family);
  font-size: var(--font-size);
}


/* ============================ */
/* = Featured Product Section = */
/* ============================ */
.homepage-featured-product .featured-product-gallery {
  position: relative;
  margin-bottom: 10px;
}

.homepage-featured-product h4.product-vendor {
  font-size: 16px;
}

.homepage-featured-product .product-description .rte {
  max-width: 600px;
  margin: 0 auto;
}

.homepage-featured-product .product-details {
  padding: 16px;
  margin-bottom: 0px;
  margin-top: 15px;
  display: inline-block;
}

.homepage-featured-product .product-details li {
  display: block;
}


/* ---- Product images ---- */
.thumbnail-icon {
  position: absolute;
  top: 0px;
  right: 2px;
  z-index: 2;
  width: 25%;
  line-height: 0;
}

.thumbnail-icon svg {
  height: 100%;
  width: 100%;
  background: var(--background) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--icon-border-color);
}

.thumbnail-icon svg {
  fill-opacity: 0.6;
}

.thumbnail-icon svg:hover {
  fill-opacity: 0.85;
}

.product-media-container {
  position: relative;
}
.product-video,
.product-media-container,
.plyr--video {
  outline: none;
}

.plyr video,
.plyr__video-wrapper,
.plyr__poster {
  background-color: var(--background);
}

.product-video > video {
  width: 100%;
}

.product-model {
  margin: 0 auto;
  min-height: 1px;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-model model-viewer,
.product-model .lms-model-viewer-ui,
.product-model .media-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.product-model model-viewer,
.product-model .lms-model-viewer-ui,
.product-model .media-item
{
  height: 100%;
}

button.media-button.view-in-space {
  background: transparent;
  width: initial !important;
  text-align: center;
  width: 60px;
  max-width: 60px;
  height: 60px;
  line-height: 60px;
  padding: 0;
  margin: 0 auto;
  display: inherit;
  z-index: 2;
  position: relative;
}

button.media-button.view-in-space[data-lms-xr-hidden] {
  visibility: hidden;
}

.product-video button {
  width: initial;
  width: 52px;
  height: 52px;
  padding: 0;
  margin-bottom: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.plyr--video .plyr__control:not(.plyr__control--overlaid).plyr__tab-focus svg, .plyr--video .plyr__control:not(.plyr__control--overlaid):hover svg, .plyr--video .plyr__control:not(.plyr__control--overlaid)[aria-expanded=true] svg,
.plyr--audio .plyr__control.plyr__tab-focus svg,
.plyr--audio .plyr__control:hover svg,
.plyr--audio .plyr__control[aria-expanded=true] svg {
  stroke: none !important;
}

.plyr__control--overlaid.plyr__tab-focus, .plyr__control--overlaid:hover {
  background: var(--direction-background);
  color: var(--direciton-color);
}

.product-video .plyr button svg {
    border: 0 !important;
    height: 40px;
    width: 40px;
}

button[hidden] {
  visibility: hidden;
}
.product-single__view-in-space {
	 background-color: var(--dotted-color);
	 border: none;
	 width: 100%;
	 min-height: unset;
	 padding-top: 10px;
	 padding-bottom: 10px;
	 display: block;
	 font-size: 14px;
	 color: var(--text-color);
   z-index: 1;
   position: relative;
}
 .product-single__view-in-space[data-lms-xr-hidden] {
	 visibility: hidden;
}

.product-single__view-in-space:hover svg .hover-fill {
  fill: var(--button-text);
}
.product-single__view-in-space:hover .product-single__view-in-space-text,
.product-single__view-in-space:focus .product-single__view-in-space-text {
  border-bottom-color: var(--button-text);
}
 .product-single__view-in-space svg.icon .icon-3d-badge-full-color-outline {
	 stroke: none;
}
.product-single__view-in-space svg.icon .icon-3d-badge-full-color-element {
  fill: var(--text-color);
  opacity: 1;
}
.product-single__view-in-space-text {
  border-bottom: 1px solid transparent;
  display: inline-block;
  width: auto;
  vertical-align: middle;
}
.product-single__view-in-space svg {
  margin-right: 2.43px;
  fill: transparent;
  display: inline-block;
  width: 24px !important;
  height: 24px !important;
  vertical-align: middle;
}
.product-single__view-in-space svg rect {
  fill: transparent !important;
}
.product-single__view-in-space:hover #three-d-icon path,
.product-single__view-in-space:focus #three-d-icon path {
  fill: var(--button-text);
}
.product-model model-viewer, .product-model .lms-model-viewer-ui, .product-model .media-item {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  max-width: 100%;
}


/* ---- Custom Thumbnail Slider ----*/
body .focus-visible,
.product-video .plyr:focus,
.plyr__video-wrapper.plyr__tab-focus:focus {
  outline: var(--keyboard-focus-color) var(--keyboard-focus-border-style) calc(var(--keyboard-focus-border-weight) * 1px) !important;
  outline-offset: calc(var(--keyboard-focus-border-weight) * -1px) !important;
}

.vertical-carousel .thumb-slider-wrapper {
    overflow: hidden;
}

.thumb-slider.vertical-carousel .thumb-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

div#thumb-slider-wrapper::-webkit-scrollbar {
  display: none;
}

#thumb-slider-wrapper .product-single__thumbnails-item {
  position: relative;
  display: block;
  width: 100%;
}

#thumb-slider-wrapper .product-single__thumbnails-item img {
  width: 100%;
  cursor: pointer;
}

.thumb-slider-slides {
  position: relative;
  top: 0;
  left: 0;
  list-style: none;
}

.thumb-slider-slides li {
  margin-bottom: 5px;
}

/* horizontal thumbnail slider */
.horizontal-carousel #thumb-slider-wrapper .product-single__thumbnails-item {
  max-width: unset;
  height: unset;
  margin: 5px;
  padding: 0;
  width: 20%;
}

.horizontal-carousel #thumb-slider-wrapper .product-single__thumbnails-item.thumb__first {
  margin-left: 0;
}

.horizontal-carousel #thumb-slider-wrapper .product-single__thumbnails-item.thumb__last {
  margin-right: 0;
}

.horizontal-carousel.flickity-slider--false #thumb-slider-wrapper .product-single__thumbnails-item {
  float: left;
}

.horizontal-carousel.flickity-slider--false #thumb-slider-wrapper .product-single__thumbnails-item {
  width: 110px;
}

.product-single__thumbnails-item:focus img {
  opacity: 1 !important;
}

.product__section-images {
  margin-bottom: 20px;
}

.product__section-images .carousel-container {
  display: flex;
}

.product__gallery--container {
    display: flex;
    width: 100%;
}

.thumb-slider.vertical-carousel {
    order: -1;
    flex: 0 0 100px;
    position: relative;
    max-width: 100px;
}

.thumb-slider.vertical-carousel[data-thumbnail-position="right"] {
  order: 1;
}

.thumb-slider.horizontal-carousel {
  flex: 1 1 auto;
  position: relative;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

div#slider {
    flex: 1 1 auto;
    position: relative;
}

.product__section-images .carousel {
  flex-grow: 1;
  list-style-type: none;
}

.product__section-images .carousel-cell {
  width: 100%;
  outline: none !important;
}

.product__section-images .vertical-carousel .carousel-nav {
  box-sizing: content-box; /* So the width will be 100% + 17px */
  padding: calc(var(--keyboard-focus-border-weight) * 1px) 5px calc(var(--keyboard-focus-border-weight) * 1px) calc(var(--keyboard-focus-border-weight) * 1px);
}

div#thumbnails.thumb-slider[data-thumbnail-position="right"] .carousel-nav {
  padding: calc(var(--keyboard-focus-border-weight) * 1px) calc(var(--keyboard-focus-border-weight) * 1px) calc(var(--keyboard-focus-border-weight) * 1px) 5px;
}

div#thumb-slider-wrapper.js-thumb-horizontal-wrapper .carousel-nav {
  margin-top: 5px;
}

div#thumb-slider-wrapper.js-thumb-horizontal-wrapper .carousel-nav.js-thumb-carousel-nav.no_carousel {
    display: flex;
    flex-direction: row;
}

.product__section-images .carousel-nav .carousel-cell {
  margin: 0 0 10px 0;
  cursor: pointer;
}

.product__section-images .carousel-nav .carousel-cell:before {
  font-size: 50px;
  line-height: 80px;
}

.product__section-images li.carousel-cell.is-selected {
  z-index: 99;
}

.product__section-images button.zoom_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  background-color: var(--direction-background);
  color: var(--direction-color);
  border: 1px solid var(--direction-hover);
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: initial;
  letter-spacing: initial;
  margin-bottom: unset;
  transition: unset;
  font-weight: unset;
  line-height: unset;
}

#slider .carousel-cell.is-selected button.zoom_btn {
  display: flex;
}

.zoom_btn .testament--icon-theme-search {
  pointer-events: none;
}

.zoom_btn svg {
  pointer-events: none;
}

.product__section-images .zoom_btn:hover {
  background-color: var(--direction-hover);
}

#slider .flickity-prev-next-button {
  top: 32px;
}
#slider .flickity-prev-next-button.next {
  left: 59px;
  right: unset;
}

@keyframes slidefadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slidefadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
/*
#slider .carousel-cell {
  opacity: 0 !important;
}
#slider .carousel-cell:not(.is-selected){
  animation: slidefadeOut ease 0.2s;
}
*/
#slider .carousel-cell.is-selected,
#slider.single-media .carousel-cell {
  z-index: 99;
  opacity: 1 !important;
  animation: slidefadeIn ease 0.2s;
}
#slider .flickity-enabled:focus {
  outline: 0 !important;
}
#slider .flickity-slider {
  top: 0 !important;
  height: auto !important;
}
#slider .flickity-viewport {
  height: 300px;
}
button.flickity-button:disabled {
  display: none;
}


/* ---- Product options ---- */

.sku {
  margin-top: 15px;
}

.product-variant-type--swatches .select,
.product-variant-type--swatches .product_variants,
.product-variant-type--swatches .selector-wrapper,
.product-variant-type--swatches .select {
  display: none !important;
}

.modal-quickview-cart {
  min-height: 640px;
}

#modal-quickview-cart .product__section-details {
  padding: 0 20px;
}

#modal-quickview-cart .product__section-content {
  padding: 0;
}

#modal-quickview-cart .product__section-details form {
  border-bottom: none;
}

#modal-quickview-cart .product__section-details,
#modal-quickview-cart .product-description {
  text-align: left !important;
}

#modal-quickview-cart .price {
  align-items: flex-start !important;
}

@media (min-width: 740px ) {
  #modal-quickview-cart .product-quickview__container {
    overflow-y: auto;
    max-height: 800px;
    margin: 12px;
  }
  .product-quickview__container .product__section-container {
    grid-template-columns: 5fr 5fr;
    grid-column-gap: 40px;
    display: grid;
  }
  #modal-quickview-cart .modal__inner-wrapper {
    padding: 10px !important;
  }
}
#modal-quickview-cart .product__section-images {
  animation: fadeIn; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 3s; /* don't forget to set a duration! */
}
#modal-quickview-cart .product__section-content {
  animation: fadeIn; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 2s; /* don't forget to set a duration! */
}
@media (max-width: 739px ) {
  #modal-quickview-cart .product-quickview__container {
    overflow-y: auto;
    max-height: 560px;
    margin: 10px;
    padding-right: 10px;
  }
}

/* ---- Drawer quick view ---- */
.slideout .product-quickview__container .product__section-container {
    grid-template-columns: repeat(1, 12fr);
    padding: 0;
    grid-row-gap: 0px;
}

.slideout .product-quickview__container .product__section-container .product__section-content {
    padding: 0 20px;
}


.slideout__drawer-right .product-quickview__container .product__section-details,
.slideout__drawer-right .product-quickview__container .product__section-details
.slideout__drawer-right .product-quickview__container .rte,
.slideout__drawer-right .product-quickview__container .product__section-details h1 {
    text-align: left;
}

.slideout__drawer-right .product-quickview__container .add {
    margin: 0;
}
.slideout__drawer-right .product-quickview__container .price {
    align-items: flex-start;
}

a.view-full {
    text-decoration: underline;
    margin-top: 15px;
    display: block;
}

/* ---- Product video updated styles ---- */

.product-loop__video-outer-wrapper {
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 0;
}
.product-loop__video-outer-wrapper .vidbg-container {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.product-loop__video-outer-wrapper .vidbg-container video {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.25s opacity ease-in-out;
  max-width: none;
  opacity: 0;
}

/* Store Availability */
.store-availability-information-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.store-availability-icons {
  margin-right: 8px;
}
.store-availability-information-container button {
  padding: 0;
  font-size: calc(var(--font-size) - 2px);
}
.store-availability-information-container p {
  font-size: calc(var(--font-size) - 2px);
}
.store-availabilities-modal {
  left: unset;
  background-color: var(--background);
  text-align: left;
}

@media only screen and (max-width: 740px) {
  .store-availabilities-modal {
    width: 100%;
    z-index: 9999;
  }
}

.store-availabilities-modal__header {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 16px 0;
  padding-left: 20px;
  padding-right: 20px;
}

.store-availabilities-modal__product-title {
  font-size: 17px;
  text-transform: none;
  margin-bottom: 0;
}

.store-availabilities-list {
  overflow: auto;
  padding: 0 10px;
}

.store-availabilities-modal__close {
  margin-bottom: 13px;
  cursor: pointer;
}

.store-availability-list__item {
  padding: 0 10px;
  border-bottom: 1px solid var(--dotted-color);
  margin-bottom: 20px;
}

.store-availability-list__item > p {
  font-size: 13px;
  margin-bottom: 0;
}

.store-availability-list__location {
  display: flex;
  justify-content: space-between;
}

.store-availability-list__stock {
  display: block; 
  width: 100%;
  margin-bottom: 15px;
}

.store-availability-list__stock.store-availability-small-text svg {
    margin-right: 5px;
}

.store-availability-container {
  padding: 15px 0;
  margin-top: 15px;
  border-bottom: 1px solid var(--dotted-color);
}

/* ---- Flickity inside grid ---- */
.product-loop .flickity-viewport {
  grid-column: auto / span 12;
  width: 100%;
}

/* ---- Product policies ---- */
.product__policies.rte {
    font-size: var(--font-size-sm);
}

/* ---- Product section header ---- */
.product__section--header {
  border-bottom: 1px solid var(--dotted-color);
  margin-bottom: 10px;
}

/*---- High product variant loading class ----*/
.product__variants-select.is-loading,
.product__variants-swatches.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s ease;
}