﻿body.light {
  background: #eeeeee;
}

.b-article-club {
  background: #fff;
}

.b-article__title article {
  padding-top: 8px;
}

.b-article__title article > p {
  margin: 0 0 18px;
  padding: 0 4px;
  color: #1f2933;
  font-size: 18px;
  line-height: 1.62;
}

.b-article__title article > p span:first-child {
  font-weight: 700;
}

.b-article__title article > p[style*="font-size: 24px"] {
  margin: 26px 0 14px;
  padding: 14px 18px;
  color: #151515;
  background: #fff7e7;
  border-left: 5px solid #ff9f1c;
  border-radius: 4px;
  font-size: 25px !important;
  line-height: 1.25;
}

.wrapper-wide,
.wrapper-image {
  margin: 24px 0;
}

.wrapper-wide img,
.wrapper-image img {
  border-radius: 6px;
}

.feedback-form.main-order-form {
  position: relative;
  border: 1px solid #e7d4b8;
  background: linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%);
  margin-top: 24px;
  margin-bottom: 28px;
}

.feedback-form.main-order-form::before {
  content: "Официальное оформление Кинжал";
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px;
  color: #ffffff;
  background: #141414;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

.free-course-offer {
  margin: 0 0 18px;
  padding: 16px 14px;
  color: #0f172a;
  background: #fff3c4;
  border: 1px solid #e7bc55;
  border-radius: 6px;
  text-align: center;
}

.free-course-label {
  color: #d8212f;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.free-course-text {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
}

.feedback-form.main-order-form .feedback-fio,
.feedback-form.main-order-form .feedback-phone {
  border-color: #d8d8d8;
  border-radius: 4px;
}

.feedback-form.main-order-form .feedback-fio.input-error,
.feedback-form.main-order-form .feedback-phone.input-error {
  border-color: #d8212f;
  background: #fff5f5;
}

.order-phone-error,
.form-field-error {
  margin: -16px 0 14px;
  color: #d8212f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.feedback-form.main-order-form .feedback-btn {
  min-height: 48px;
  border-radius: 4px;
  background: #d8212f;
  color: #fff;
  font-weight: 700;
}

.feedback-form.main-order-form .feedback-btn:hover {
  background: #a91420;
  color: #fff;
}

.feedback-form.main-order-form .feedback-btn:disabled {
  cursor: wait;
  opacity: .75;
}

.b-comments-3-comments {
  margin-top: 34px;
  padding: 20px;
  background: #f7f8fa;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
}

.b-comments-3-comments__comments__title {
  display: block;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #111827 !important;
  background: #fff;
  border-left: 5px solid #ff9f1c;
  border-radius: 5px;
  font-size: 20px;
}

.b-comment.comment {
  margin: 0 0 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.b-comment__head {
  min-height: 44px;
}

.b-comment__user span {
  color: #111827;
  font-weight: 700;
}

.b-comment__datetime {
  color: #64748b;
}

.b-comment__text p {
  margin: 8px 0 0;
  color: #243041;
  font-size: 16px;
  line-height: 1.5;
}

.b-comment__rating__count {
  background: #eef8ef;
  border-radius: 4px;
}

.order-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(360px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.order-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-dot {
  width: 12px;
  height: 12px;
  background: #20b15a;
  border-radius: 50%;
}

.order-toast strong,
.order-toast span {
  display: block;
}

.order-toast span {
  color: #555;
  font-size: 13px;
}

@media (max-width: 720px) {
  .b-article__title article > p {
    font-size: 16px;
    line-height: 1.55;
  }

  .b-article__title article > p[style*="font-size: 24px"] {
    font-size: 21px !important;
  }

  .free-course-label {
    font-size: 21px;
  }

  .b-comments-3-comments {
    padding: 12px;
  }
}

.b-nav,
.b-feed-tabs-w {
  display: none !important;
}

.medical-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 28px auto 18px;
  padding: 18px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #101827 0%, #243447 58%, #152230 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
}

.medical-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.medical-logo {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #132033;
  background: linear-gradient(180deg, #f9d777 0%, #d9a331 100%);
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 20px rgba(0, 0, 0, .22);
}

.medical-kicker {
  margin-bottom: 3px;
  color: #f6d37a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.medical-title {
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.1;
}

.medical-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.3;
}

.medical-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.medical-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.medical-nav a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .36);
}

.medical-nav .medical-cta {
  color: #151515;
  background: #f6c24a;
  border-color: #f6c24a;
}

.feedback-form.main-order-form::before {
  content: "Официальное оформление Кинжал";
}

.b-article__title article > p:not([style*="font-size: 24px"]) {
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.b-article__title article > p strong,
.b-article__title article > p b {
  color: #111827;
}

.b-article__title article > p[style*="font-size: 24px"] {
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(245, 158, 11, .12);
}

.article-cta-box {
  margin: 26px 0;
  padding: 22px 20px;
  text-align: center;
  background: linear-gradient(180deg, #fffaf0 0%, #fff2d8 100%);
  border: 1px solid #ebc36c;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(146, 102, 20, .12);
}

.article-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  color: #ffffff !important;
  background: #d8212f;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(216, 33, 47, .22);
}

.article-cta-link:hover {
  background: #a91420;
  color: #ffffff !important;
}

.article-cta-box p {
  max-width: 540px;
  margin: 12px auto 0 !important;
  padding: 0 !important;
  color: #2d3748 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.b-comments-3-comments__comments__title .icon-chat-1 {
  color: #d99a19;
}

.b-comment.comment {
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 720px) {
  .container,
  .b-content,
  .b-content-container,
  .b-content-wrapper,
  .b-content__b1,
  .b-block-article-club,
  .b-article-club {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .medical-header {
    margin: 0 0 16px;
    padding: 16px 14px;
    border-radius: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .medical-logo {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 16px;
  }

  .medical-title {
    font-size: 20px;
  }

  .medical-subtitle {
    font-size: 13px;
  }

  .medical-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .medical-nav a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .b-article__title article > p:not([style*="font-size: 24px"]) {
    padding: 14px;
  }

  .article-cta-box {
    margin: 20px 0;
    padding: 18px 14px;
  }

  .article-cta-link {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 18px;
  }

  .b-comments-3-comments {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .b-comments-3-comments__comments__title {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
    padding: 11px 12px;
    font-size: 18px;
  }

  .b-comments-3-comments__comments,
  .b-comment.comment,
  .b-comment__wrapper,
  .b-comment__text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .b-comment.comment {
    margin: 0 0 12px !important;
    padding: 14px 12px !important;
    overflow: hidden;
  }

  .b-comment__wrapper {
    margin-left: 0 !important;
  }

  .b-comment__head {
    min-height: 42px;
    padding: 0 48px 8px 44px !important;
    margin: 0 0 10px !important;
  }

  .b-comment__user__pic {
    left: 0 !important;
    top: 0 !important;
    width: 34px !important;
    margin-left: 0 !important;
    border-radius: 50% !important;
  }

  .b-comment__user__pic img {
    width: 34px !important;
  }

  .b-comment__user__pic::after {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
  }

  .b-comment__datetime {
    display: block;
    margin-top: 2px;
  }

  .b-comment__text {
    padding-right: 0 !important;
  }

  .b-comment__text p {
    font-size: 15px;
    line-height: 1.48;
  }

  .b-comment__rating {
    right: 0 !important;
    top: 0 !important;
  }

  .b-comment__rating__count {
    width: 40px !important;
  }
}

.feedback-form.main-order-form::before {
  content: "Официальное оформление Кинжал";
  letter-spacing: 0;
}

@media (min-width: 721px) {
  .medical-header {
    width: 640px;
    max-width: 640px;
    margin: 28px auto 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .medical-brand {
    width: 100%;
  }

  .medical-nav {
    width: 100%;
    justify-content: flex-start;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }
}

@media (min-width: 721px) {
  html body.light .container > .medical-header {
    width: 640px !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
  }

  html body.light .container > .medical-header .medical-nav {
    justify-content: flex-start !important;
  }

}

html body.light .container > .medical-header,
html body.light .container .premium-footer {
  width: 640px !important;
  max-width: calc(100% - 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

html body.light .container .premium-footer {
  margin-top: 38px !important;
  margin-bottom: 38px !important;
  padding: 0 !important;
  color: #ffffff;
  background: linear-gradient(135deg, #101827 0%, #1f3145 62%, #101a26 100%) !important;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

.premium-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
}

.premium-footer__eyebrow {
  margin-bottom: 5px;
  color: #f6c24a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.premium-footer__name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.premium-footer__copy p {
  max-width: 390px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.45;
}

.premium-footer__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.premium-footer__link {
  color: rgba(255, 255, 255, .86) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .30);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  white-space: nowrap;
}

.premium-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #151515 !important;
  background: #f6c24a;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(246, 194, 74, .22);
  white-space: nowrap;
}

@media (max-width: 720px) {
  html body.light .container > .medical-header,
  html body.light .container .premium-footer {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .premium-footer__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 16px;
  }

  .premium-footer__actions {
    width: 100%;
    align-items: stretch;
  }

  .premium-footer__cta {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 721px) {
  html body.light .container {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  html body.light .b-content {
    width: 100% !important;
    background: transparent !important;
  }

  html body.light .b-content-container,
  html body.light .b-content-wrapper {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body.light .b-content__b1 {
    width: 640px !important;
    min-width: 0 !important;
    max-width: 640px !important;
    float: none !important;
    margin: 18px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  html body.light .b-w-article-club {
    margin-top: 0 !important;
  }

  html body.light .b-block-article-club,
  html body.light .b-article-club {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  html body.light .container > .medical-header,
  html body.light .container > .premium-footer {
    width: 640px !important;
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.feedback-form.main-order-form::before {
  content: "Официальное оформление Кинжал" !important;
}
