body:has(.product-page) {
  overflow-x: clip;
}

.main.product-page {
  overflow-x: clip;
}

.product-page {
  background-color: var(--primary-white);
  padding-bottom: 60px;
  overflow-x: visible;
}
.product-page__container {
  padding-top: 0;
}
.product-page__breadcrumbs {
  padding-top: 60px;
}
@media (max-width: 767px) {
  .product-page__breadcrumbs {
    padding-top: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.55;
    color: var(--line);
  }
  .product-page__breadcrumbs .breadcrumbs__link,
  .product-page__breadcrumbs .breadcrumbs__sep {
    display: inline;
    vertical-align: middle;
    color: var(--line);
    margin-right: 13px;
  }
  .product-page__breadcrumbs .breadcrumbs__link:last-child,
  .product-page__breadcrumbs .breadcrumbs__sep:last-child {
    margin-right: 0;
  }
  .product-page__breadcrumbs .breadcrumbs__link img {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
  }
}
.product-page__title {
  margin-top: 23px;
  font-family: var(--TildaSans);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #1a1a1a;
  max-width: 1340px;
}
@media (max-width: 767px) {
  .product-page__title {
    font-size: 24px;
    margin-top: 16px;
  }
}
.product-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 432px;
  gap: 30px 48px;
  align-items: start;
  margin-top: 38px;
}
@media (max-width: 1439px) {
  .product-page__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 1023px) {
  .product-page__grid {
    grid-template-columns: 1fr;
  }
}
.product-page__main {
  display: grid;
  grid-template-columns: 433px minmax(0, 1fr);
  gap: 30px 48px;
  align-items: start;
  min-width: 0;
}
@media (max-width: 1439px) {
  .product-page__main {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 1023px) {
  .product-page__main {
    display: contents;
  }
}

.product-page__col {
  min-width: 0;
}
@media (max-width: 1439px) {
  .product-page__col--gallery {
    grid-column: 1/-1;
  }
}
@media (max-width: 1023px) {
  .product-page__col--gallery {
    grid-column: 1;
    order: 1;
    width: 100%;
    max-width: 100%;
  }
}
.product-page__col--config {
  width: 100%;
}
@media (max-width: 1439px) {
  .product-page__col--config {
    grid-column: 1;
  }
}
@media (max-width: 1023px) {
  .product-page__col--config {
    grid-column: 1;
    order: 2;
  }
}
.product-page__col--description {
  width: 100%;
  grid-column: 1/-1;
}
@media (max-width: 1439px) {
  .product-page__col--description {
    grid-column: 1/-1;
  }
}
@media (max-width: 1023px) {
  .product-page__col--description {
    grid-column: 1;
    order: 4;
  }
}
.product-page__col--sidebar {
  align-self: stretch;
}
@media (max-width: 1439px) {
  .product-page__col--sidebar {
    grid-column: 1;
    align-self: start;
  }
}
@media (max-width: 1023px) {
  .product-page__col--sidebar {
    grid-column: 1;
    order: 3;
  }
}

.product-page__sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height, 0px) + 24px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1439px) {
  .product-page__sidebar-sticky {
    position: static;
  }
}

.product-gallery {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.product-gallery__main {
  background: #fff;
  border: 0.8px solid #cacccf;
  border-radius: 7px;
  height: 440px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1023px) {
  .product-gallery__main {
    height: auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }
}
@media (max-width: 767px) {
  .product-gallery__main {
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 0;
    background: #fff;
    margin: 0;
  }
}
.product-gallery__main-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  cursor: pointer;
  background: #fff;
}
.product-gallery__main-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 1023px) {
  .product-gallery__main-img {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 767px) {
  .product-gallery__main-img {
    transform: scale(1.15);
    transform-origin: center center;
  }
}
.product-gallery__thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.product-gallery__thumbs-prev,
.product-gallery__thumbs-next {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0.8px solid #cacccf;
  border-radius: 50%;
  background: #fff url("../../images/svg/arrow-slider.svg") center / 10px 10px no-repeat;
  cursor: pointer;
  transition: var(--transition);
}
.product-gallery__thumbs-prev.swiper-button-disabled,
.product-gallery__thumbs-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
@media (hover: hover) {
  .product-gallery__thumbs-prev:not(.swiper-button-disabled):hover,
  .product-gallery__thumbs-next:not(.swiper-button-disabled):hover {
    border-color: var(--primary);
  }
}
.product-gallery__thumbs-prev {
  transform: none;
}
.product-gallery__thumbs-next {
  transform: rotate(180deg);
}
.product-gallery__thumbs.swiper {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}
.product-gallery__thumbs .swiper-wrapper {
  align-items: stretch;
}
.product-gallery__thumbs.swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}
.product-gallery__thumb-slide {
  width: 79px;
  flex-shrink: 0;
}
.product-gallery__thumb {
  flex: 0 0 79px;
  width: 79px;
  height: 79px;
  padding: 0;
  border: 0.8px solid #cacccf;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff;
}
.product-gallery__thumb--active {
  border-color: var(--primary);
}
@media (hover: hover) {
  .product-gallery__thumb:hover {
    border-color: var(--primary);
  }
}

.product-features {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.product-features__item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.product-features__icon {
  flex-shrink: 0;
  width: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-features__icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.product-features__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-features__title {
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
}
.product-features__desc {
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1;
}

.product-desc {
  margin-top: 24px;
}
.product-desc--empty {
  display: none;
}
.product-desc__title {
  font-family: var(--TildaSans);
  font-size: 24px;
  font-weight: 600;
  color: #232324;
  line-height: 1;
  margin: 0 0 10px;
}
.product-desc__text {
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 400;
  color: #999999;
  line-height: 1.35;
  max-width: none;
  width: 100%;
}

.product-packaging {
  margin-top: 30px;
  width: 100%;
}
.product-packaging__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
@media (max-width: 1023px) {
  .product-packaging__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.product-packaging__item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.product-packaging__item--placeholder {
  min-height: 280px;
  background: #f4f4f4;
  border: 0.8px solid #cacccf;
}
.product-packaging__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-related {
  margin-top: 80px;
}
@media (max-width: 1023px) {
  .product-related {
    margin-top: 56px;
  }
}
@media (max-width: 767px) {
  .product-related {
    margin-top: 48px;
  }
}
.product-related__title {
  margin: 0 0 15px;
  font-family: var(--TildaSans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #232324;
}
@media (max-width: 767px) {
  .product-related__title {
    margin-bottom: 24px;
    font-size: 22px;
  }
}
.product-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1279px) {
  .product-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .product-related__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.product-related__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-related__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 472px;
  border-radius: 20px;
  background-color: #ffffff;
  padding: 20px 4%;
  overflow: hidden;
  text-decoration: none;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .product-related__image-wrap {
    height: auto;
    aspect-ratio: 320/472;
  }
}
.product-related__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 355px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .product-related__image {
    height: 78%;
  }
}
.product-related__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 30px 10px 0;
}
.product-related__name {
  margin: 0;
  font-family: var(--TildaSans);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.18;
  color: #1a1a1a;
}
.product-related__name-link {
  color: inherit;
  text-decoration: none;
}
.product-related__price {
  margin: 24px 0 0;
  font-family: var(--TildaSans);
  font-size: 32px;
  font-weight: 600;
  line-height: 0.95;
  color: #1a1a1a;
}
@media (max-width: 767px) {
  .product-related__price {
    margin-top: 20px;
    font-size: 30px;
  }
}
.product-related__meta {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-related__meta-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 10px;
  margin: 0;
  align-items: baseline;
}
.product-related__meta-label,
.product-related__meta-value {
  margin: 0;
  font-family: var(--TildaSans);
  font-size: 14px;
  line-height: 1.25;
  color: #1a1a1a;
}
.product-related__meta-label {
  font-weight: 600;
}
.product-related__meta-value {
  font-weight: 400;
}
.product-related__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 20px;
  padding: 11px 25px;
  border-radius: 3px;
  background: var(--primary);
  color: #f4f4f4;
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}
@media (hover: hover) {
  .product-related__button:hover {
    background: var(--primary-hover);
  }
}

.product-page__col--config {
  width: 100%;
}

.product-meta {
  margin: 0 0 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-meta__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  width: 100%;
  margin: 0;
}
.product-meta__label {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #999999;
  font-weight: 400;
  white-space: nowrap;
}
.product-meta__value {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
  font-weight: 400;
  margin: 0;
}

.product-config__sizes-link {
  display: inline-block;
  margin-top: 17px;
  margin-bottom: 30px;
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
  transition: var(--transition);
}
@media (hover: hover) {
  .product-config__sizes-link:hover {
    color: var(--primary-hover);
  }
}

.product-config {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  width: 100%;
}
.product-config .product-chip__text,
.product-config .product-color__swatch,
.product-config .product-glazing__item {
  transition: none;
}

.product-option {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
}
.product-option:first-child {
  margin-top: 0;
}
.product-option__title {
  font-family: var(--TildaSans);
  font-size: 18px;
  font-weight: 500;
  color: #232324;
  margin-bottom: 10px;
  padding: 0;
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-chip {
  position: relative;
  cursor: pointer;
}
.product-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.product-chip__text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 9px;
  background: #f4f4f4;
  border: 1px solid transparent;
  box-sizing: border-box;
  font-family: var(--TildaSans);
  font-size: 16px;
  line-height: 1.2;
  color: #000;
  white-space: nowrap;
  user-select: none;
}
input:checked + .product-chip__text {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-white);
  font-weight: 500;
}
@media (hover: hover) {
  .product-chip:hover .product-chip__text {
    background: var(--primary);
    color: var(--primary-white);
  }
}

.product-chip--disabled {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: none;
}

.product-color {
  position: relative;
  cursor: pointer;
}
.product-color input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.product-color__swatch {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1.5px solid #cacccf;
  box-sizing: border-box;
}
.product-color__swatch--rainbow {
  background: linear-gradient(90deg, #ff3131 0%, #ffb41d 14.88%, #e9ff46 35.57%, #64ff83 45.68%, #58f7ff 59.78%, #6348fc 78.79%, #e74aff 100%);
}
input:checked + .product-color__swatch, .product-color--active .product-color__swatch {
  border-color: var(--primary);
}

.product-glazing {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 366px;
}
.product-glazing__item {
  position: relative;
  width: 55px;
  height: 55px;
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.product-glazing__item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  pointer-events: none;
}
.product-glazing__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}
.product-glazing__item:has(input:checked),
.product-glazing__item--active {
  border-color: var(--primary);
}

.product-color[data-name]:hover::after,
.product-color[data-name]:focus-within::after,
.product-glazing__item[data-name]:hover::after,
.product-glazing__item[data-name]:focus-within::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: var(--TildaSans);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}

.product-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-services__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.product-services__checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #abb5be;
  border-radius: 2px;
  background: #fff;
  margin-top: 3px;
  position: relative;
  transition: var(--transition);
}
.product-services input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.product-services input:checked + .product-services__checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.product-services input:checked + .product-services__checkbox::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.product-services__text {
  font-family: var(--MontSerrat);
  font-size: 16px;
  color: #343a40;
  line-height: 1.4;
}

.product-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 170px;
  width: 130px;
}
.product-qty__btn {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f7f5f9;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
@media (hover: hover) {
  .product-qty__btn:hover {
    background: #ece8f0;
  }
}
.product-qty__btn--minus span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
}
.product-qty__btn--plus span:first-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
}
.product-qty__btn--plus span:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 1px;
}
.product-qty__value {
  flex: 1;
  text-align: center;
  font-family: "Poppins", var(--TildaSans);
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.5;
  min-width: 40px;
}

.product-card {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 30px;
  position: relative;
}
.product-card--cart {
  background: var(--primary-white);
  border: 0.8px solid #cacccf;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
}
.product-card__badge {
  position: absolute;
  top: 30px;
  right: 30px;
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 500;
  color: #8ec67a;
}
.product-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__price-label {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
}
.product-card__price {
  font-family: var(--TildaSans);
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
}
.product-card__qty-block {
  margin-top: 23px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__qty-label {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
}
.product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  border-radius: 9px;
  font-family: var(--TildaSans);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  margin-top: 20px;
}
.product-card__btn--primary {
  background: var(--primary);
  color: var(--primary-white);
}
@media (hover: hover) {
  .product-card__btn--primary:hover {
    background: var(--primary-hover);
  }
}
.product-card__btn--secondary {
  background: #fcfcfc;
  border: 1px solid #f0f5ff;
  color: var(--primary);
  margin-top: 10px;
}
@media (hover: hover) {
  .product-card__btn--secondary:hover {
    background: #f0f5ff;
  }
}
.product-card__heading {
  font-family: var(--TildaSans);
  font-size: 24px;
  font-weight: 600;
  color: #232324;
  margin-bottom: 19px;
  line-height: 1;
}
.product-card__addons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-card__total {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__total-label {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
}
.product-card__total-price {
  font-family: var(--TildaSans);
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1;
}
.product-card--pogonazh .product-card__btn, .product-card--hardware .product-card__btn {
  margin-top: 24px;
}
.product-card__phone-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card__phone-label {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
}
.product-card__phone {
  font-family: var(--TildaSans);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  line-height: 1;
  transition: var(--transition);
}
@media (hover: hover) {
  .product-card__phone:hover {
    color: var(--primary-hover);
  }
}
.product-card__social-label {
  margin-top: 18px;
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
}
.product-card__socials {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.product-card__social {
  display: block;
  width: 50px;
  height: 50px;
  transition: var(--transition);
}
.product-card__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (hover: hover) {
  .product-card__social:hover {
    opacity: 0.85;
    transform: translateY(-2px);
  }
}
.product-card__social--static {
  cursor: default;
}
@media (hover: hover) {
  .product-card__social--static:hover {
    opacity: 1;
    transform: none;
  }
}

.product-addon {
  display: grid;
  grid-template-columns: 99px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 0;
  align-items: start;
}
.product-addon__image {
  grid-row: 1/3;
  width: 99px;
  height: 99px;
  background: var(--primary-white);
  border: 1px solid #cacccf;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-addon__image img {
  max-width: 66px;
  max-height: 66px;
  object-fit: contain;
}
.product-addon__body {
  min-width: 0;
}
.product-addon__title {
  font-family: var(--TildaSans);
  font-size: 16px;
  color: #232324;
  line-height: 1.25;
  margin: 0;
}
.product-addon__replace {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--TildaSans);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition);
}
@media (hover: hover) {
  .product-addon__replace:hover {
    color: var(--primary-hover);
  }
}
.product-addon .product-qty {
  margin-top: 8px;
}
.product-addon__price {
  grid-column: 3;
  grid-row: 2;
  font-family: var(--TildaSans);
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  align-self: end;
  margin: 0;
}

.fancybox__overlay {
  background: rgba(0, 0, 0, 0.1) !important;
}

.product-page {
  position: relative;
}
.product-page.is-loading {
  pointer-events: none;
}
.product-page.is-loading .product-page__loader {
  display: flex;
}
.product-page__loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(248, 248, 248, 0.55);
}
.product-page__loader-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #e6e6e6;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: product-spin 0.8s linear infinite;
}
.product-page__notice {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 10px;
  background: #fff5f5;
  border: 1px solid #f3d0d0;
  font-family: var(--TildaSans);
}
.product-page__notice--error {
  color: #7a1f1f;
}
.product-page__notice--warning {
  background: #fff9eb;
  border-color: #f0dfa0;
  color: #6b4f00;
}
.product-page__notice-detail {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
}
.product-page__notice-hint {
  margin-top: 12px;
  font-size: 14px;
}
.product-page__notice-hint code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-chip.is-blocked,
.product-color.is-blocked,
.product-glazing__item.is-blocked {
  opacity: 0.45;
  pointer-events: none;
}

.product-glazing__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  text-align: center;
  padding: 4px;
}

.product-card__btn--in-cart {
  background: var(--primary-white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.product-card__btn--hidden,
.product-card__btn[data-action=quick-order][hidden] {
  display: none !important;
}

body.kit-modal-open {
  overflow: hidden;
}

.kit-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kit-modal[hidden] {
  display: none;
}
.kit-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
.kit-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 509px;
  min-height: 314px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 45px 25px 25px;
  box-sizing: border-box;
}
.kit-modal__title {
  margin: 0;
  font-family: var(--TildaSans);
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: #1a1a1a;
}
.kit-modal__body {
  margin-top: 19px;
  font-family: var(--TildaSans);
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #999999;
}
.kit-modal__lead {
  margin: 0;
}
.kit-modal__list {
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}
.kit-modal__list li {
  margin: 0;
  padding: 0;
  line-height: 19px;
}
.kit-modal__list li::before {
  content: "— ";
}
.kit-modal__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 40px;
}
.kit-modal__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 56px;
  height: 56px;
  padding: 11px 25px;
  border-radius: 9px;
  font-family: var(--TildaSans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.kit-modal__btn--outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: #1a1a1a;
}
.kit-modal__btn--outline:hover {
  background: rgba(0, 113, 216, 0.06);
}
.kit-modal__btn--primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #f8f8f8;
}
.kit-modal__btn--primary:hover {
  filter: brightness(1.05);
}
@media (max-width: 767px) {
  .kit-modal {
    align-items: flex-end;
    padding: 0;
  }
  .kit-modal__dialog {
    max-width: 100%;
    min-height: 0;
    border-radius: 16px 16px 0 0;
    padding: 32px 20px 24px;
  }
  .kit-modal__title {
    font-size: 22px;
    line-height: 1.1;
  }
  .kit-modal__actions {
    margin-top: 28px;
    padding-top: 0;
    flex-direction: column-reverse;
    gap: 10px;
  }
  .kit-modal__btn {
    flex: 1 1 auto;
    width: 100%;
  }
}

@keyframes product-spin {
  to {
    transform: rotate(360deg);
  }
}
