:root {
  --skeletonBg: #dddbdd;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.size-sold-out {
  opacity: 0.5;
}

.related__showcase .size-sold-out,
.related__showcase .size-sold-out-partial {
  opacity: 1;
}

.size-sold-out-partial {
  opacity: 0.5;
}


.related__loading .skeleton-effect {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.related__loading .skeleton-effect::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer 2s infinite;
  content: '';
}

#relatedColorSizes,
.related__placeholder-container {
  border-top: 1px #dddbdd solid;
  padding: 15px 0 20px;
  text-align: left;
}

.related__loading .related__price {
  color: transparent;
  width: 120px;
  height: 35px;
  display: block;
  background: var(--skeletonBg);
}

.related__loading .related__size-container {
  width: 100%;
  height: 52px;
  display: block;
  background: var(--skeletonBg);
}

.related__loading .related__select {
  display: none;
}

.related__loading .related__color-wrapper>div {
  display: flex;
  flex-direction: column;
}

.related__loading .related__color-img {
  background: var(--skeletonBg);
  border-color: transparent !important;
}

.related__loading .related__color-name {
  background: var(--skeletonBg);
  height: 17px;
  display: block !important;
  width: 60px;
  margin-top: 4px;
}


.related__color-container-loading {
  display: none;
}

.related__loading .related__color-container-loading {
  background: var(--skeletonBg);
  display: block;
  height: 87.5px;
  width: 100%;
}

.related__loading .related__on-sale {
  display: none
}

#relatedColorSizes h3 {
  margin: 0;
}

.related__section-container h3 {
  margin: 0;
}

.related__section-container {
  margin-top: 15px;
}

.related__section-container-size {
  margin-top: 15px !important;
}

.related__size-label-container,
.related__color-label-container {
  margin-bottom: 20px !important;
  text-align: left;
}

.related__price,
.related__sale-percent {
  font-size: 28px;
  font-weight: bold;
  color: #111;
}

/* .related__price {
  margin: 0 5px;
} */

.related__sale-percent.sale {
  color: #f30000;
}

.related__price-from.hidden {
  display: none;
}

.related__omnibus-container.hidden {
  display: none;
}

.related__omnibus-container {
  display: inline-block;
}

.related__omnibus-container p {
  color: grey;
  font-size: 9pt;
  font-weight: lighter;
  margin-top: 0;
}

.related__select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.related__select.disabled .related__select-trigger {
  background-color: #f4f4f4;
  cursor: auto;
}

.related__select-trigger {
  position: relative;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
}

.related__selected-option {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.related__selected-option.related__placeholder {
  font-size: 16px;
  font-weight: 500;
}

.related__select-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  width: 15px;
  transition: all 0.3s linear;
}

.related__select-arrow.open {
  transform: translateY(-50%) rotate(-180deg);
  transition: all 0.3s linear;
}

.related__select-options {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 300;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
}

.related__select-options.open {
  display: block;
}

.related__select-optgroup {
  padding: 10px;
}

.related__select-optgroup-label {
  font-size: 14px;
  font-weight: bold;
}

.related__select-optgroup-price {
  color: #111;
  margin-left: 5px;
}

.related__select-optgroup-options {
  margin: 0;
  padding: 0;
}

.related__select-optgroup-options li {
  padding: 10px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111;
  font-weight: 500;
  border-bottom: 1px solid #dddbdd;
  font-size: 14px;
}

.related__select-optgroup-options .sold-out,
.related__select-optgroup-options .quantity-available {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.related__select-optgroup-options .sold-out-text {
  margin-right: 5px;
}

.related__select-optgroup-options li.disabled {
  color: #dddbdd;
}

.related__select-optgroup-options li:hover,
.related__select-optgroup-options li.selected {
  background-color: #f4f4f4;
}

.related__select-optgroup-options .sold-out {
  font-weight: 600;
  color: #ff6a00ae;

}

.related__color-container {
  padding: 2px 0;
  margin: 0;
  display: grid;
  grid-auto-flow: dense;
  overflow: hidden;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 4px;
  max-height: 230px;
  overflow-y: auto;
}


.related__color-container.related__light_color_scroll {
  max-height: 215px;
}


.related__color-container::-webkit-scrollbar {
  width: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  transition: all 0.2s linear;
}

.related__color-container:hover::-webkit-scrollbar {
  /* overflow-y: auto; */
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}

.related__color-container::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 10px;
  transition: all 0.2s linear;
}

.related__color-container:hover::-webkit-scrollbar-thumb {
  background-color: #ccc;
}

.related__color-label-container {
  display: flex;
  align-items: flex-end;
}

.related__color-label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-left: 10px;
}

.related__color-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  list-style: none;
}

.related__color-wrapper.hidden {
  display: none;
}

.related__color-wrapper a {
  text-decoration: none;
}

.related__color-img {
  overflow: hidden;
  width: 60px;
  height: 60px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #bdbdbd;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

.related__color-img.selected,
.related__color-img:hover {
  border-color: #000;
}

.related__color-img:hover {
  padding: 3px;
}

.related__color-wrapper.disabled {
  opacity: 0.7;
}

.related__showcase .related__color-wrapper.disabled {
  opacity: 1;
}

.related__color-wrapper.disabled .related__color-img,
.related__color-wrapper.disabled .related__color-img:hover {
  border-color: #ccc;
  border-style: dashed;
}

.related__showcase .related__color-wrapper.disabled .related__color-img,
.related__showcase .related__color-wrapper.disabled .related__color-img:hover {
  border-style: solid;
}

.related__color-img img {
  max-width: 100%;
}

.related__color-name {
  display: flex !important;
  align-items: center;
}

.related__color-name span {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111;
  width: 60px;
  padding-top: 3px;
}

.related__color-show-more {
  cursor: pointer;
}

.mr {
  margin-right: 5px;
}

@media (min-width: 768px) {
  .related__color-name span {
    width: 70px;
  }

  .related__color-img {
    width: 70px;
    height: 70px;
    border: 3px solid #bdbdbd;
  }

  .related__color-container {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .related__loading .related__color-container-loading {
    height: 107px;
  }

  .related__authentic .related__title {
    height: 30vh;
    align-items: center !important;
    /* flex-direction: row !important; */
    gap: 0 !important;
    flex-wrap: wrap;
  }

  .related__authentic-titles {
    flex-direction: row !important;
  }

  .related__authentic .related__color-container {
    flex-wrap: wrap;
  }

  .related__authentic .related__size-selector {
    flex-wrap: wrap;
  }

  .related__authentic .related__title-left {
    width: 70% !important;
  }

  .related__authentic .related__price-container {
    align-items: end !important;
  }

  .related__authentic .related__prices p,
  .related__authentic .related__prices span,
  .related__authentic #related__omnibus-price-container {
    text-align: end;
  }

  .related__authentic .related__price-container {
    max-width: 50% !important;
  }
}

@media (hover: none) {
  .related__color-container::-webkit-scrollbar {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
  }

  .related__color-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
  }
}

.klaviyo-bis-trigger {
  color: white;
  display: none;
}

.klaviyo-bis-trigger:hover {
  color: white;
}

.notify-text {
  display: flex;
  justify-content: center;
  align-items: end;
}

.btn-back-in-stock {
  display: none;
}

.btn-select-size-trigger {
  display: none;
}

.svg-bell {
  margin-right: 10px;
  height: .95rem;
}

/*discount badge*/
.related__authentic .related__custom-discount-container {
  background-color: rgba(0, 0, 0, 0.05);
}

.related__custom-discount-container {
  margin-top: 10px;
  cursor: pointer;
  padding: 15px;
  background-color: var(--colorBorder);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.related__authentic .related__custom-discount-container {
  width: 100%;
  margin-top: 0;
}

.related__custom-discount-container span {
  display: flex;
  align-items: center;
}

.related__custom-discount-container svg {
  width: 35px;
}

.related__custom-discount-texts {
  display: flex;
  flex-direction: column;
}

.related__custom-discount-texts p {
  margin: 0
}

.related__custom-discount-container:hover .related__custom-discount-texts b {
  text-decoration: underline;
}

.related__discount_label {
  top: 0;
  right: 0;
  position: absolute;
  background: black;
  color: white;
  padding: 5px 8px;
}

.related__copied {
  font-size: .8rem;
}


/* authentic */

#relatedColorSizes.related__authentic {
  border-top: none;
  margin: 0;
  padding: 0;
}

.related__authentic .related__section-container {
  border-bottom: 1px solid black;
  margin: 0;
  width: 100%;
  padding: 15px;
}

.related__authentic {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.related__authentic.related__loading .related__title {
  background: var(--skeletonBg);
  background-clip: content-box;
  padding: 15px;
  border-bottom: 1px black solid;
}

.related__authentic.related__loading p,
.related__authentic.related__loading .related__size-selector,
.related__authentic.related__loading .related__select-groups {
  display: none;
}

.related__authentic .related__title {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.related__authentic>.related__title h1,
.related__authentic span,
.related__authentic p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--typeBaseSize);
  font-weight: 400;
  line-height: calc(var(--typeBaseLineHeight)*0.7);
}

.related__authentic .related__title-left {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.related__authentic>.related__title span {
  opacity: .4;
}

.related__authentic-titles {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-direction: column;
}

.related__authentic .related__price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  gap: 5px;
}

.related__authentic .related__prices {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  flex-wrap: wrap;
  max-width: 100%;
}

.related__authentic .related__prices span {
  text-decoration: line-through;
}

.related__authentic .related__price-container.related__on-sale p {
  color: #f30000;
}

.related__authentic .related__price-container p {
  margin: 0;
}

.related__authentic .related__color-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 15px;
  padding-bottom: 5px;
}

.related__authentic .related__color-img {
  width: 50px;
  height: 50px;
  border-radius: 0;
  border: 2px solid #bdbdbd;
}

.related__authentic .related__color-label-container {
  margin-bottom: 10px !important;
}

.related__authentic .related__section-title {
  margin: 0 0 5px 0 !important;
  padding: 0;
}

.related__authentic .related__section-title p {
  margin: 0;
}

.related__authentic .related__select-groups {
  display: flex;
  gap: 15px;
}

.related__authentic .related__select-groups p {
  opacity: .30;
  cursor: pointer;
}

.related__authentic .related__select-groups p.related__selected {
  opacity: 1;
}

.related__authentic .related__section-container-size p {
  margin: 0;
}

.related__authentic .related__section-container-size {
  margin-top: 0 !important;
}

.related__authentic .related__size-block {
  border: 2px solid #bdbdbd;
  padding: 6px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 39px;
  height: 39px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.related__crossed {
  display: none;
}

.related__authentic .related__size-block.related__selected {
  border: 2px solid #000000;
  color: #000000;
}

.related__authentic .related__out-of-stock {
  border-style: dashed;
  color: #bdbdbd
}

.related__authentic .related__size-label-container {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
}

.related__authentic .quantity-available {
  color: #f30000;
}

.related__authentic .related__size-selector {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scrollbar-width: none;
  width: auto;
  max-width: 100%;
}

.related__authentic .related__color-img.selected {
  border: 2px #000000 solid;
}

.related__authentic .related__price-sales-container {
  text-align: end;
  display: flex;
  gap: 5px;
}

.related__authentic .related__omnibus-container {
  text-align: end;
}

.related__authentic .related__omnibus-container span {
  text-align: end;
}

.related__authentic .related__prices p,
.related__authentic .related__prices span,
.related__authentic #related__omnibus-price-container {
  max-width: 100%;
}

.related__authentic .sold-out-text {
  color: #f30000;
}

.related__authentic .related__size-footer-container {
  width: 100%;
  height: 26px;
  position: relative;
}

.related__authentic .related__size-footer {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.related__extra-padding {
  padding: 15px;
}


.bn-sizes-skeleton.skeleton-effect {
  display: none;
}

.related__authentic.related__loading .bn-sizes-skeleton.skeleton-effect {
  display: none;
}

.pdp-h2 {
  font-size: 14px;
  font-weight: 400;
  color: #444444;
  margin: 0 0 5px 0;
}