/* «Возврат и обмен» — тот же язык, что у «Доставки и оплаты»: белые островки,
   красная нить шагов, спокойная типографика Manrope. */
.returns-body {
  background: #f5f7fa;
  color: #171519;
}

.returns-main {
  display: block;
  padding: 0 0 68px;
  background: #f5f7fa;
}

.returns-page {
  display: grid;
  width: min(1240px, calc(100% - 40px));
  padding-top: 30px;
  gap: 34px;
}

.returns-intro {
  max-width: 760px;
  padding: 4px 0 0;
}

.returns-intro h1 {
  margin: 0;
  color: #171519;
  font-size: 42px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: -1.8px;
}

.returns-intro p {
  margin: 14px 0 0;
  color: #4e5359;
  font-size: 15px;
  font-weight: 550;
  line-height: 24px;
}

.returns-intro a,
.returns-step-content a,
.returns-card a,
.returns-legal-note a {
  color: #bd0828;
  font-weight: 750;
  text-decoration: none;
}

.returns-intro a:hover,
.returns-step-content a:hover,
.returns-card a:hover,
.returns-legal-note a:hover {
  text-decoration: underline;
}

.returns-page h2:not(.visually-hidden) {
  margin: 0 0 18px;
  color: #222024;
  font-size: 21px;
  font-weight: 800;
  line-height: 26px;
  letter-spacing: -.45px;
}

/* Островки */
.returns-fact,
.returns-step-content,
.returns-card,
.returns-exceptions,
.returns-business,
.returns-support {
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(45, 26, 32, .025);
}

.returns-fact-icon,
.returns-card-icon,
.returns-business-icon,
.returns-claims > i,
.returns-manager > i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #fff0f3;
  color: #cf0a2c;
}

/* Главное о возврате */
.returns-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.returns-fact {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
}

.returns-fact-icon {
  margin-top: 2px;
}

.returns-fact-icon {
  width: 56px;
  height: 56px;
  font-size: 27px;
}

.returns-fact h3 {
  margin: 0 0 5px;
  color: #262327;
  font-size: 20px;
  font-weight: 800;
  line-height: 25px;
}

.returns-fact strong {
  display: block;
  margin-bottom: 5px;
  color: #cf0a2c;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.returns-fact p {
  margin: 0;
  color: #4e5359;
  font-size: 12px;
  font-weight: 550;
  line-height: 18px;
}

/* Шаги */
.returns-steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.returns-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 32px;
}

.returns-step:not(:last-child)::after {
  position: absolute;
  top: 40px;
  bottom: -24px;
  left: 19px;
  width: 2px;
  background: #cf0a2c;
  content: "";
}

.returns-step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid #cf0a2c;
  border-radius: 50%;
  background: #fff;
  color: #cf0a2c;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
}

.returns-step-content {
  min-width: 0;
  padding: 20px 24px;
}

.returns-step-content h3 {
  margin: 0 0 8px;
  color: #262327;
  font-size: 17px;
  font-weight: 800;
  line-height: 23px;
}

.returns-step-content p {
  max-width: 920px;
  margin: 0;
  color: #4e5359;
  font-size: 13px;
  font-weight: 550;
  line-height: 20px;
}

/* Товар с недостатком */
.returns-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.returns-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
  padding: 22px 24px;
}

.returns-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  font-size: 24px;
}

.returns-card h3 {
  margin: 0;
  color: #262327;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.returns-card p {
  margin: 0;
  color: #4e5359;
  font-size: 12px;
  font-weight: 550;
  line-height: 18px;
}

/* Что нельзя вернуть */
.returns-exceptions {
  padding: 24px 26px 26px;
}

.returns-exceptions-head p {
  margin: -8px 0 0;
  color: #4e5359;
  font-size: 13px;
  font-weight: 550;
  line-height: 20px;
}

.returns-exceptions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.returns-exceptions-list li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  color: #302d31;
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
}

.returns-exceptions-list i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #cf0a2c;
  font-size: 18px;
  line-height: 1;
}

/* Юридическим лицам */
.returns-business {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
}

.returns-business-icon {
  width: 56px;
  height: 56px;
  font-size: 27px;
}

.returns-business h2 {
  margin-bottom: 8px !important;
  font-size: 18px !important;
  line-height: 24px !important;
}

.returns-business p {
  max-width: 920px;
  margin: 0;
  color: #4e5359;
  font-size: 13px;
  font-weight: 550;
  line-height: 20px;
}

/* Помощь */
.returns-support {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1fr 1.18fr;
  overflow: hidden;
}

.returns-claims,
.returns-manager {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}

.returns-claims {
  background: #fff9fa;
}

.returns-claims > i,
.returns-manager > i {
  width: 52px;
  height: 52px;
  font-size: 25px;
}

.returns-manager {
  border-left: 1px solid #e1e5e9;
}

.returns-claims > div,
.returns-manager > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.returns-claims span,
.returns-manager span {
  color: #7a8087;
  font-size: 10px;
  font-weight: 550;
  line-height: 15px;
}

.returns-claims a,
.returns-manager a {
  color: #222024;
  font-size: 16px;
  font-weight: 800;
  line-height: 21px;
  text-decoration: none;
  white-space: nowrap;
}

.returns-claims a span,
.returns-manager a span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.returns-manager button {
  min-height: 44px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 17px;
  border: 1px solid #cf0a2c;
  border-radius: 9px;
  background: #cf0a2c;
  color: #fff;
  font: 750 11px Manrope, sans-serif;
  cursor: pointer;
}

.returns-manager button:hover {
  background: #ad0624;
}

.returns-manager button:focus-visible,
.returns-page a:focus-visible {
  outline: 2px solid #cf0a2c;
  outline-offset: 3px;
}

.returns-legal-note {
  margin: -14px 4px 0;
  color: #7c8289;
  font-size: 10px;
  font-weight: 500;
  line-height: 17px;
}

@media (max-width: 900px) {
  .returns-facts,
  .returns-cards,
  .returns-exceptions-list {
    grid-template-columns: 1fr;
  }

  .returns-support {
    grid-template-columns: 1fr;
  }

  .returns-manager {
    border-top: 1px solid #e1e5e9;
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .returns-main {
    padding-bottom: 38px;
  }

  .returns-page {
    width: calc(100% - 24px);
    padding-top: 14px;
    gap: 24px;
  }

  .returns-intro h1 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -1px;
  }

  .returns-intro p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 22px;
  }

  .returns-page h2:not(.visually-hidden) {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -.25px;
  }

  .returns-fact {
    gap: 13px;
    padding: 16px;
  }

  .returns-fact-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .returns-fact h3 {
    font-size: 17px;
    line-height: 22px;
  }

  .returns-fact strong,
  .returns-fact p {
    font-size: 11px;
    line-height: 16px;
  }

  .returns-steps {
    gap: 18px;
  }

  .returns-step {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
  }

  .returns-step:not(:last-child)::after {
    top: 32px;
    bottom: -18px;
    left: 15px;
  }

  .returns-step-marker {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .returns-step-content {
    padding: 16px;
  }

  .returns-step-content h3 {
    font-size: 15px;
    line-height: 21px;
  }

  .returns-step-content p,
  .returns-business p,
  .returns-exceptions-head p {
    font-size: 12px;
    line-height: 18px;
  }

  .returns-card {
    padding: 16px;
  }

  .returns-exceptions {
    padding: 18px 16px 20px;
  }

  .returns-exceptions-list {
    gap: 10px;
  }

  .returns-exceptions-list li {
    font-size: 12px;
    line-height: 18px;
  }

  .returns-business {
    gap: 13px;
    padding: 16px;
  }

  .returns-business-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .returns-claims,
  .returns-manager {
    align-items: flex-start;
    padding: 16px;
  }

  .returns-claims > i,
  .returns-manager > i {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .returns-manager {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .returns-manager button {
    width: 100%;
    grid-column: 1 / -1;
    margin: 0;
  }

  .returns-legal-note {
    margin: -8px 2px 0;
  }
}
