.s-products-wrapper .s-products-list.swiper-wrapper {
  overflow: visible;
}

.s-product-page .s-related-products .s-products-wrapper {
  overflow: visible;
}

.s-product-page .swiper-related .swiper-wrapper {
  align-items: stretch;
}

.s-product-page .swiper-related .swiper-slide {
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
}

.s-product-page .swiper-related .s-info-wrapper {
  flex: 1 1 auto;
}

.s-product-page .swiper-related .s-offers-wrapper {
  margin-top: auto;
}

.btn-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: auto;
  margin: 16px 0 0;
  padding: 16px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--main-color, #fcc717);
  color: #111;
  font: 700 18px/1.2 "Trebuchet MS", sans-serif;
  text-align: center;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 10px 24px rgba(252, 199, 23, 0.45);
  transition: box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-cta::after,
.s-product-cart .purchase .add2cart .add-form-wrapper .submit-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.55) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}

.btn-cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(252, 199, 23, 0.55);
}

.s-product-cart .purchase .add2cart .add-form-wrapper .submit-wrapper:hover {
  box-shadow: 0 14px 28px rgba(252, 199, 23, 0.55);
}

.s-product-cart .add2cart button.btn-cart:hover {
  filter: brightness(1.06);
}

.btn-cta:hover::after,
.s-product-cart .purchase .add2cart .add-form-wrapper .submit-wrapper:hover::after {
  animation: btn-shine 0.7s ease;
}

@keyframes btn-shine {
  to {
    transform: translateX(130%);
  }
}

.btn-cta--block {
  width: 100%;
}

.buy-mode {
  margin-top: 16px;
}

.buy-mode__tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 16px;
  padding: 4px;
  background: #f4f5f7;
  border-radius: 12px;
}

.buy-mode__tab {
  flex: 1 1 0;
  height: auto;
  margin: 0;
  padding: 10px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  white-space: normal;
  cursor: pointer;
}

.buy-mode__tab.is-active {
  background: var(--main-color, #fcc717);
  box-shadow: 0 6px 16px rgba(252, 199, 23, 0.45);
}

.buy-mode__hint {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #f6f7f9;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.buy-mode__hint p {
  margin: 0;
}

.buy-mode__price-note {
  margin: 0 0 26px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.buy-mode__label,
.quote-summary__label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.buy-mode__wish {
  display: block;
  width: 100%;
  min-height: 110px;
  margin: 0;
  resize: vertical;
}

.modal--quote {
  justify-content: safe center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 16px;
}

.modal--quote .modal-window {
  width: 100%;
  max-width: 520px;
  max-height: none;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
}

.quote-summary {
  display: flex;
  align-items: stretch;
  gap: 12px;
  background: #f6f7f9;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.quote-summary__photo {
  position: relative;
  flex: 0 0 96px;
  width: 96px;
  align-self: stretch;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.quote-summary__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-summary__text {
  flex: 1 1 auto;
  min-width: 0;
}

.quote-summary__product {
  margin: 0 0 8px;
  font-weight: 600;
}

.quote-summary__from {
  margin: 0 0 8px;
  font-weight: 700;
}

.quote-summary__params {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
}

.quote-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.quote-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quote-contact {
  height: auto;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.quote-contact.is-active {
  background: var(--main-color, #fcc717);
  border-color: var(--main-color, #fcc717);
}

.quote-summary__wish {
  display: block;
  width: 100%;
  min-height: 72px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  resize: vertical;
}

.icon--cart {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: inherit;
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.15' fill='%23000' stroke='none'/%3E%3Ccircle cx='18' cy='20' r='1.15' fill='%23000' stroke='none'/%3E%3Cpath d='M2.5 3.5h2.2l1.7 9.2a1.6 1.6 0 0 0 1.6 1.3h9.3a1.6 1.6 0 0 0 1.55-1.2L20.2 7H6.2'/%3E%3C/svg%3E");
}

.icon--cart::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.s-price-from {
  display: block;
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #666;
}

.s-products-wrapper .s-products-list .s-product-wrapper .s-offers-wrapper .s-pricing-wrapper.s-pricing-wrapper--individual {
  overflow: visible;
  text-overflow: clip;
}

.s-products-wrapper .s-products-list .s-product-wrapper .s-offers-wrapper .s-pricing-wrapper .s-price.s-price--individual {
  display: block;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
  font-size: 1.05rem;
  line-height: 1.3;
}

.s-products-list .s-quote-button {
  margin: 0;
  height: auto;
  padding: 10px 16px;
  border: 0;
  cursor: pointer;
}

.s-products-wrapper .s-products-list.table-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper {
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-image-wrapper {
  width: 180px;
  height: 160px;
  flex: 0 0 180px;
  padding: 0;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-details-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  height: auto;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-info-wrapper,
.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-offers-wrapper {
  padding: 0;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-info-wrapper {
  flex: 1 1 auto;
  min-width: 0;
}

.s-products-wrapper .s-products-list.table-view .s-product-description,
.s-products-wrapper .s-products-list.table-view .s-rating-wrapper,
.s-products-wrapper .s-products-list.table-view .s-quantity-wrapper {
  display: none;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-offers-wrapper {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-offers-wrapper form.add-to-cart {
  display: flex;
  align-items: center;
  gap: 16px;
}

.s-products-wrapper .s-products-list.table-view .s-offers-wrapper .s-pricing-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-offers-wrapper .s-buttons-wrapper {
  position: static;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

@media (max-width: 767px) {
  .s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-details-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .s-products-wrapper .s-products-list.table-view .s-product-wrapper .s-offers-wrapper {
    justify-content: space-between;
    margin-left: 0;
  }

  .s-products-wrapper .s-products-list.table-view .s-offers-wrapper .s-pricing-wrapper {
    align-items: flex-start;
  }

  .modal--quote {
    height: 100dvh;
    padding: 16px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .modal--quote .modal-window {
    max-width: 100%;
    padding: 16px 14px 14px;
  }

  .s-products-wrapper .s-products-list.thumbs-view .s-product-wrapper {
    padding: 10px;
  }

  .s-products-wrapper .s-products-list .s-product-wrapper .s-offers-wrapper .s-pricing-wrapper .s-price.s-price--individual {
    white-space: nowrap;
    font-size: 12px;
  }

  .s-products-wrapper .s-products-list.thumbs-view .s-product-wrapper .s-offers-wrapper .s-buttons-wrapper {
    gap: 6px;
  }

  .s-products-wrapper .s-products-list .s-product-wrapper .s-offers-wrapper .s-buttons-wrapper .s-quote-button {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 8px 8px;
    font-size: 13px;
  }

  .s-products-wrapper .s-products-list .s-product-wrapper .s-offers-wrapper .s-buttons-wrapper .s-button.s-compare-button {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
  }

  .modal--quote .modal-title {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .quote-summary {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .quote-summary__photo {
    width: min(100%, 280px);
    height: auto;
    aspect-ratio: 1;
    flex: none;
    margin: 0 auto;
  }

  .quote-contacts {
    gap: 6px;
  }

  .quote-contact {
    padding: 6px 10px;
    font-size: 13px;
  }

  .modal--quote input,
  .modal--quote textarea,
  .modal--quote .button {
    max-width: 100%;
    box-sizing: border-box;
  }
}

.s-product-page .s-product-info .s-tabs-wrapper .s-tab-item {
  padding: 12px 26px;
  font-size: 16px;
}

.s-product-cart .s-product-h2 {
  font-weight: 700;
}

.s-product-cart .s-product-price-stock {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 6px;
  padding: 0;
}

.s-product-cart .s-product-price-stock .price-wrapper {
  margin: 0;
}

.s-product-cart .s-product-price-stock:has(.price:not(.is-hidden)) .s-stocks-wrapper {
  margin-left: auto;
}

.s-product-photos .product__images.is-single {
  display: flex;
  justify-content: center;
}

.s-product-photos .product__images.is-single .s-photo-main,
.s-product-photos .product__images.is-single .s-photo-main a {
  width: 100%;
  text-align: center;
}

.s-product-cart .purchase .add2cart .add-form-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 0;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper {
  display: flex;
  flex: 1 1 0;
  align-items: stretch;
  min-width: 0;
  width: auto;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper .volume-buttons {
  display: flex;
  flex: 0 0 auto;
  align-self: stretch;
  position: relative;
  z-index: 1;
  margin: 0;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper .volume-buttons input[type="button"] {
  display: block;
  box-sizing: border-box;
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border-radius: 12px;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper .volume-buttons:first-child input[type="button"] {
  margin-right: -14px;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper .volume-buttons:last-child input[type="button"] {
  margin-left: -14px;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .quantity-wrapper input[type="text"] {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0 10px;
  border-radius: 12px;
  text-align: center;
}

.s-product-cart .purchase .add2cart .add-form-wrapper .submit-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(252, 199, 23, 0.45);
  transition: box-shadow 0.4s ease;
}

.s-product-cart .add2cart button.btn-cart {
  width: 100%;
  height: auto;
  margin: 0;
  transition: filter 0.4s ease;
}

.s-product-cart .s-stocks-wrapper {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3faf4;
}

.s-product-cart .s-options-wrapper {
  margin-top: 18px;
}

.s-product-cart .js-product-code {
  margin: 0 0 8px;
  font-weight: 600;
}

.s-product-cart .add2cart button.btn-cart {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: auto;
  margin: 0;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  background: var(--main-color, #fcc717);
  box-shadow: none;
}

.s-product-cart .s-stocks-wrapper strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.s-product-cart .s-stocks-wrapper .icon16 {
  display: none;
}

.s-product-cart .s-stocks-wrapper strong:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.s-product-cart .s-stocks-wrapper .stock-none {
  background: transparent;
}

.s-product-cart .s-options-wrapper .option-custom {
  display: inline-flex;
  align-items: center;
  height: auto;
  margin: 0.5em 0 0;
  padding: 8px 12px;
  border: 1px dashed rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.2;
  vertical-align: middle;
  cursor: pointer;
}

.s-product-cart .s-options-wrapper .inline-select.color .option-custom {
  border-radius: 999px;
}

.s-product-cart .s-options-wrapper .option-custom.is-active {
  border-style: solid;
  border-color: var(--main-color, #fcc717);
  background: var(--main-color, #fcc717);
}

.s-product-cart .option-custom-field {
  margin-top: 8px;
}

.s-product-cart .option-custom-input {
  width: 100%;
  min-width: 0;
}
