/* shop.koshelek63.ru — выбор продавца на странице «О компании».
   CSS-only: два независимых блока с переключением по radio-кнопкам. */
.custom-about-block .seller-tabs {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 16px 0 24px;
  box-sizing: border-box;
}

/* Оставляем radio доступными с клавиатуры, но визуально скрываем. */
.custom-about-block .seller-tabs > input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.custom-about-block .seller-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 12px;
}
.custom-about-block .seller-tabs__label {
  display: flex;
  flex: 1 1 150px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
  color: #252525;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.custom-about-block .seller-tabs__label:hover {
  border-color: #f3b300;
}
.custom-about-block .seller-tabs > input:first-of-type:checked ~ .seller-tabs__nav .seller-tabs__label:first-child,
.custom-about-block .seller-tabs > input:nth-of-type(2):checked ~ .seller-tabs__nav .seller-tabs__label:nth-child(2) {
  background: #ffb800;
  border-color: #ffb800;
  color: #191919;
}
.custom-about-block .seller-tabs > input:first-of-type:focus-visible ~ .seller-tabs__nav .seller-tabs__label:first-child,
.custom-about-block .seller-tabs > input:nth-of-type(2):focus-visible ~ .seller-tabs__nav .seller-tabs__label:nth-child(2) {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.custom-about-block .seller-tabs__panels {
  padding: 16px 18px;
  border: 1px solid #ededed;
  border-radius: 12px;
  background: #fafafa;
}
.custom-about-block .seller-tabs__panel { display: none; }
.custom-about-block .seller-tabs > input:first-of-type:checked ~ .seller-tabs__panels .seller-tabs__panel--jewelry,
.custom-about-block .seller-tabs > input:nth-of-type(2):checked ~ .seller-tabs__panels .seller-tabs__panel--tech {
  display: block;
}
.custom-about-block .seller-tabs__panel p {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}
.custom-about-block .seller-tabs__panel p:last-child { margin-bottom: 0; }
.custom-about-block .seller-tabs__company { font-weight: 700; }

@media (max-width: 540px) {
  .custom-about-block .seller-tabs { margin: 14px 0 20px; }
  .custom-about-block .seller-tabs__label { flex-basis: 100%; }
  .custom-about-block .seller-tabs__panels { padding: 14px; }
}
