.single-product__links {
  display: flex;
  gap: 24px;
  /* border-bottom: 1px solid var(--border-border-tertiary, #e5e6e6); */
  padding: 8px 0;
}
.single-header__inner{
  border-bottom: 1px solid var(--border-border-tertiary, #e5e6e6);
}
.single-header.is-sticky .single-header__inner{
  border-color: #fff;
}
.single-product__link {
  color: var(--text-secondary, #323433);
  text-align: center;
  position: relative;
  transition: color 0.3s ease;
}
.single-product__link:not(.--active):hover {
  color: var(--text-action, #048601);
}
.single-product__link:after {
  content: "";
  display: block;
  width: 100%;
  background: var(--text-action, #048601);
  height: 2px;
  position: absolute;
  bottom: -9px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.single-product__link.--active {
  color: var(--text-primary, #323433);
  font-weight: 700;
}
.single-product__link.--active:after {
  transform: scaleX(1);
}
.product-main-meta__rating svg {
  width: 120px;
  height: auto;
}
.product-main-meta__rating .product-card__rating-count {
  font-size: 14px;
}
.product-main-meta__rating .product-card__rating-count .material-symbols-outlined {
  font-size: 16px;
}

.product-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-border-tertiary, #e5e6e6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
}
.product-row.--single {
  display: block;
}
.product-row__cell:first-child {
  padding-right: 24px;
  min-width: 0;
}

.product-row__cell:last-child {
  padding-left: 24px;
  border-left: 1px solid var(--border-border-tertiary, #e5e6e6);
}

.product-gallery {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  min-width: 0;
  position: relative;
}

.product-gallery .product-card__badges {
  position: absolute;
  top: 0;
  left: calc(64px + 16px);
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 8px;
}

.product-gallery .product-card__badge-delivery {
  align-self: flex-start;
}

.product-gallery .product-card__badges-all {
  display: flex;
  gap: 8px;
}

.product-thumbs-slider .swiper-slide {
  width: 64px;
  height: 64px;
  overflow: hidden;
  cursor: pointer;
}
.product-thumbs-slider .swiper-slide.--active {
  border: 1px solid var(--text-primary, #191a1a);
}
.product-thumbs-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.product-main-slider .swiper-slide a {
  display: block;
  width: 100%;
}
.product-main-slider .swiper-slide a img {
  display: block;
  width: 100%;
  height: auto;
}

.product-main-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-main-price:has(.product-main-price__discount) .product-main-price__new {
  color: var(--text-sale, #e12c44);
}
.product-main-price__discount {
  display: inline-block;
  background: linear-gradient(0deg, rgba(225, 44, 68, 0.1) 0%, rgba(225, 44, 68, 0.1) 100%), var(--container-cont-01, #fff);
  color: var(--text-sale, #e12c44);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px; /* 133.333% */
  text-transform: uppercase;
  padding: 0 4px;
}

.product-main-price__old {
  color: var(--text-tertiary, #656766);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration-line: line-through;
}

.product-main-cart form {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 17px;
}
.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.quantity-button {
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid var(--border-border-primary, #191a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.quantity-button.--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-main-cart .input-text.qty {
  padding: 0;
  flex-grow: 1;
  text-align: center;
  color: var(--text-tertiary, #656766);
  text-align: center;
  font-size: 16px;
  line-height: 24px; /* 150% */
  border: none;
  /* Hide native number input arrows */
  -moz-appearance: textfield;
}
.product-main-cart .input-text.qty::-webkit-outer-spin-button,
.product-main-cart .input-text.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#product-crossell {
  padding-top: 24px;
}

.single-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 9;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  transition: box-shadow 0.3s ease;
}

.single-header.is-sticky {
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.12);
}
.single-product__title {
  transition: font-size 0.3s ease, margin-top 0.3s ease;
}
.single-header.is-sticky .single-product__title {
  font-size: 18px;
  line-height: 24px; /* 133.333% */

  margin-top: 8px;
}
.single-product__links {
  transition: margin-top 0.3s ease;
}
.single-header.is-sticky .single-product__links {
  margin-top: 0px;
}
.single-header__image {
  width: 0;
  flex: 0 0 0;
  height: 80px;
  overflow: hidden;
  transition: width 0.3s ease, flex 0.3s ease;
}
.single-header.is-sticky .single-header__image {
  width: 80px;
  flex: 0 0 80px;
}
.single-header__image img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}
.single-header__right {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.single-header.is-sticky .single-header__right {
  visibility: visible;
  opacity: 1;
}
.single-header.is-sticky .single-header__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.single-header.is-sticky .single-header__left {
  align-items: stretch;
}
/* reviews */
.reviews-summary__box {
  border: 1px solid var(--border-border-primary, #191a1a);
  background: var(--surface-surface-primary, #fff);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reviews-wrap {
  display: grid;
  grid-template-columns: 1.03fr 2fr;
}

.reviews-wrap__left {
  padding-right: 24px;
}
.reviews-wrap__right {
  border-left: 1px solid var(--border-border-tertiary, #e5e6e6);
  padding-left: 24px;
}

.reviews-summary__stars svg {
  width: 120px;
  height: auto;
}
.reviews-summary-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reviwes-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reviwes-summary-item__r {
  display: flex;
  align-items: center;
  gap: 4px;
}
.reviwes-summary-item__line {
  background: var(--container-cont-02, #f8f8f8);
  height: 8px;
  border-radius: 100px;
  flex-grow: 1;
  position: relative;
}
.reviwes-summary-item__fill {
  background: var(--container-cont-inverted-secondary, #323433);
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.reviwes-summary-item__percent {
  flex: 0 0 44px;
  text-align: right;
}
.review-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-item__stars svg {
  width: 120px;
  height: auto;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item:not(:first-child) {
  padding-top: 24px;
  border-top: 1px solid var(--border-border-tertiary, #e5e6e6);
}

.review-item--reply {
  margin-left: 32px;
  padding-top: 16px !important;
  border-top: none !important;
  position: relative;
}

#product-reviews {
  padding-bottom: 40px;
}

.variation-option {
  border: 1px solid var(--border-border-tertiary, #e5e6e6);
  background: #fff;
  padding: 8px 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.variation-option:has(input:checked) {
  border: 1px solid var(--border-border-primary, #191a1a);
  background: var(--surface-surface-primary, #fff);
  font-weight: 700;
}
.variation-option:has(img){
  width: 72px;
  flex: 0 0 72px;
  height: 72px;
  overflow: hidden;
  position: relative;
}
.variation-option:has(img) img{
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.variation-option.--out-of-stock{
  opacity: 0.5;
  position: relative;
}
.variation-option.--out-of-stock:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(145deg, transparent 48%, #e5e6e6 50%, transparent 52%);
  z-index: 2;
}