/* Product set — сопутствующие */
.product-page .product-set{margin-top:8px}
.product-page .product-set__box{
  display:grid;
  grid-template-columns:minmax(240px,280px) minmax(0,1fr);
  gap:28px 32px;
  align-items:center;
  padding:28px 32px;
  border:1px solid #e8ecef;
  border-radius:4px;
  background:#fff;
  box-shadow:0 8px 28px rgba(33,40,43,.06);
}
.product-page .product-set__summary{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}
.product-page .product-set h2.product-set__heading{
  margin:0 0 6px !important;
  font-size:20px !important;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-.02em;
  color:#21282b;
  text-transform:none !important;
}
.product-page .product-set__summary-label{
  color:#8a9196;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
}
.product-page .product-set__summary-price{
  margin:2px 0 6px;
  font-size:32px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.03em;
  color:#21282b;
}
.product-page .product-set__cart{
  appearance:none;
  border:0;
  border-radius:3px;
  background:#4b5560;
  color:#fff;
  font-weight:650;
  font-size:15px;
  line-height:1;
  padding:14px 22px;
  min-width:148px;
  transition:background .15s ease,opacity .15s ease;
}
.product-page .product-set__cart:hover{background:#343c44}
.product-page .product-set__cart:disabled{opacity:.5;cursor:not-allowed}
.product-page .product-set__items{
  display:flex;
  gap:8px 18px;
  align-items:stretch;
  overflow-x:auto;
  padding:2px 2px 8px;
  scrollbar-width:thin;
  min-width:0;
}
.product-page .product-set__item{
  flex:0 0 168px;
  width:168px;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
  background:transparent;
  border:0;
  padding:0;
}
.product-page .product-set__media-wrap{
  position:relative;
  width:100%;
  aspect-ratio:1;
  border-radius:2px;
  background:#f7f8f9;
  overflow:hidden;
}
.product-page .product-set__media{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
}
.product-page .product-set__media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.product-page .product-set__check{
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  width:22px;
  height:22px;
  margin:0;
  display:block;
  cursor:pointer;
}
.product-page .product-set__check input{
  position:absolute;
  inset:0;
  opacity:0;
  margin:0;
  cursor:pointer;
}
.product-page .product-set__check-ui{
  display:block;
  width:22px;
  height:22px;
  border:1.5px solid #5b6570;
  border-radius:2px;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.08);
}
.product-page .product-set__check input:checked + .product-set__check-ui{
  background:#4b5560;
  border-color:#4b5560;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2l2.8 2.8 6.2-6.2'/%3E%3C/svg%3E");
  background-size:14px 14px;
  background-position:center;
  background-repeat:no-repeat;
}
.product-page .product-set__check input:focus-visible + .product-set__check-ui{
  outline:2px solid #21282b;
  outline-offset:2px;
}
.product-page .product-set__qty-badge{
  position:absolute;
  left:8px;
  bottom:8px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  max-width:calc(100% - 16px);
  padding:4px 8px;
  border-radius:3px;
  background:#21282b;
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.01em;
  white-space:nowrap;
  box-shadow:0 1px 3px rgba(0,0,0,.18);
}
.product-page .product-set__price{
  margin-top:4px;
  font-size:16px;
  font-weight:700;
  color:#21282b;
  line-height:1.2;
}
.product-page .product-set__price span{
  margin-left:2px;
  font-size:13px;
  font-weight:500;
  color:#8a9196;
}
.product-page .product-set__title{
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  color:#3a4248;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.product-page .product-set__title:hover{text-decoration:underline}
.product-page .product-set .visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}
@media (max-width:900px){
  .product-page .product-set__box{
    grid-template-columns:1fr;
    padding:20px;
    gap:18px;
  }
  .product-page .product-set__heading{font-size:18px}
  .product-page .product-set__summary{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    column-gap:16px;
    row-gap:8px;
  }
  .product-page .product-set__heading{flex:1 1 100%}
  .product-page .product-set__summary-price{margin:0;font-size:26px}
  .product-page .product-set__item{flex-basis:146px;width:146px}
}
