.ch-single {
  background: #f4f6fb;
  min-height: calc(100vh - nav-height);
  font-family: 'Exo 2', sans-serif;
}
.ch-single__breadcrumb {
  margin-bottom: 20px;
}
.ch-single__breadcrumb .breadcrumb {
  font-size: 0.82rem;
  background: none;
  padding: 0;
  margin: 0;
}
.ch-single__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #6c757d;
}
.ch-single__breadcrumb .breadcrumb-item a {
  color: #3b66f5;
  text-decoration: none;
}
.ch-single__breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}
.ch-single__breadcrumb .breadcrumb-item.active {
  color: #6c757d;
}
.ch-single__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: flex-start;
}
.ch-single__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ch-single__hero {
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ch-single__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.ch-single__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e4e8f0;
  display: block;
}
.ch-single__net-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ch-single__hero-body {
  flex: 1;
  min-width: 0;
}
.ch-single__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
  line-height: 1.3;
}
.ch-single__desc {
  font-size: 1rem;
  color: #888;
  line-height: 1.6;
  margin: 8px 0 0;
}
.ch-single__stats {
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(130px, auto);
}
.ch-single__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 12px;
  gap: 5px;
  border-right: 1px solid #f0f2f7;
  border-bottom: 1px solid #f0f2f7;
  cursor: help;
}
.ch-single__stat-tip {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ch-single__stat-tip::after,
.ch-single__stat-tip::before {
  left: 50%;
}
.ch-single__stat-tip::after {
  width: 240px;
}
.ch-single__stat-tip:nth-child(3n) {
  border-right: none;
}
.ch-single__stat-tip:nth-last-child(-n+3):nth-child(3n+1),
.ch-single__stat-tip:nth-last-child(-n+3):nth-child(3n+2),
.ch-single__stat-tip:nth-last-child(-n+3):nth-child(3n) {
  border-bottom: none;
}
.ch-single__stat-icon {
  font-size: 1.4rem;
  color: #3b66f5;
  line-height: 1;
}
.ch-single__stat-val {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}
.ch-single__stat-lbl {
  font-size: 0.68rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ch-single__right {
  position: sticky;
  top: 20px;
}
.ch-single__buy-box {
  background: #fff;
  border: 1.5px solid #e4e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ch-single__formats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ch-single__format-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid #e4e8f0;
  cursor: pointer;
  transition: border-color border-color 0.15s, background 0.15s, color 0.15s, background border-color 0.15s, background 0.15s, color 0.15s;
}
.ch-single__format-row:hover {
  border-color: #3b66f5;
}
.ch-single__format-row--active {
  border-color: #3b66f5;
  background: #eef2ff;
}
.ch-single__format-name {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a2e;
}
.ch-single__format-price {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
}
.ch-single__format-req {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
}
.ch-single__buy-total {
  text-align: center;
}
.ch-single__total-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a2e;
}
.ch-single__total-req {
  font-size: 1rem;
  font-weight: 500;
  color: #6c757d;
}
.ch-single__cart-btn {
  padding: 11px;
  font-size: 1rem;
  font-weight: 700;
}
.ch-single__cart-btn.added {
  background: #3b66f5 !important;
  border-color: #3b66f5 !important;
  color: #fff !important;
}
.ch-single__wish-btn {
  position: static !important;
  width: 100%;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid #d0d0d0 !important;
  background: rgba(255,255,255,0.9) !important;
  color: #b0b0b0 !important;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color border-color 0.15s, background 0.15s, color 0.15s, background border-color 0.15s, background 0.15s, color 0.15s, color border-color 0.15s, background 0.15s, color 0.15s;
}
.ch-single__wish-btn::after {
  content: 'В избранное';
}
.ch-single__wish-btn:hover {
  border-color: #3b66f5 !important;
  color: #3b66f5 !important;
  background: #fff !important;
}
.ch-single__wish-btn.active {
  border-color: #3b66f5 !important;
  background: #3b66f5 !important;
  color: #fff !important;
}
@media (max-width: 900px) {
  .ch-single__layout {
    grid-template-columns: 1fr;
  }
  .ch-single__right {
    position: static;
  }
  .ch-single__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ch-single__stats .ch-single__stat:nth-child(2n) {
    border-right: none;
  }
  .ch-single__stats .ch-single__stat:nth-child(3n) {
    border-right: 1px solid #f0f2f7;
  }
  .ch-single__stats .ch-single__stat:nth-child(odd):nth-last-child(-n+2),
  .ch-single__stats .ch-single__stat:nth-child(even):nth-last-child(-n+2) {
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  .ch-single__hero {
    flex-direction: column;
  }
  .ch-single__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ch-single__title {
    font-size: 1.05rem;
  }
}

