/* Карточки цен задают собственные светлые фоны в компоненте. Переопределяем
   их вместе с цветом текста в режиме доступности, чтобы глобальная белая
   типографика не терялась на белой карточке. */
html[data-a11y-theme="bw"] .pricing { background-color: #fff !important; }
html[data-a11y-theme="bw"] .pricing,
html[data-a11y-theme="bw"] .pricing .price-card,
html[data-a11y-theme="bw"] .pricing .price-card :is(.price-tag, .price-name, .price-desc, .price-amount, .price-period) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}
html[data-a11y-theme="bw"] .pricing .price-card .price-btn {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
html[data-a11y-theme="bw"] .pricing .price-card :is(.price-btn, a):focus-visible {
  outline: 3px solid #000 !important;
  outline-offset: 3px;
}

html[data-a11y-theme="wb"] .pricing { background-color: #111 !important; }
html[data-a11y-theme="wb"] .pricing,
html[data-a11y-theme="wb"] .pricing .price-card,
html[data-a11y-theme="wb"] .pricing .price-card :is(.price-tag, .price-name, .price-desc, .price-amount, .price-period) {
  background-color: #111 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html[data-a11y-theme="wb"] .pricing .price-card .price-btn {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}
html[data-a11y-theme="wb"] .pricing .price-card :is(.price-btn, a):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px;
}

html[data-a11y-theme="contrast"] .pricing { background-color: #003b65 !important; }
html[data-a11y-theme="contrast"] .pricing,
html[data-a11y-theme="contrast"] .pricing .price-card,
html[data-a11y-theme="contrast"] .pricing .price-card :is(.price-tag, .price-name, .price-desc, .price-amount, .price-period) {
  background-color: #003b65 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html[data-a11y-theme="contrast"] .pricing .price-card .price-btn {
  background-color: #fff !important;
  color: #003b65 !important;
  border-color: #fff !important;
}
html[data-a11y-theme="contrast"] .pricing .price-card :is(.price-btn, a):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px;
}

/* На главной компоненты задают собственные белые и светло-серые фоны.
   В специальных схемах приводим секции и карточные поверхности к фону
   выбранной схемы, чтобы глобальный цвет текста оставался читаемым. */
html[data-a11y-theme="bw"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) {
  background-color: #fff !important;
  color: #000 !important;
}
html[data-a11y-theme="bw"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.price-card, .diag-card, .goal-card, .trust-item, .team-card, .faq-item, .faq-question, .faq-answer, .blog-card, .social-card, .comfort-carousel, .comfort-slide, .comfort-arrow, .comfort-dot, .gallery-btn, .video-placeholder) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}
html[data-a11y-theme="bw"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.btn-primary, .btn-secondary, .price-btn, .gallery-btn, .comfort-arrow, .comfort-dot) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
html[data-a11y-theme="bw"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #000 !important;
  outline-offset: 3px;
}

html[data-a11y-theme="wb"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) {
  background-color: #111 !important;
  color: #fff !important;
}
html[data-a11y-theme="wb"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.price-card, .diag-card, .goal-card, .trust-item, .team-card, .faq-item, .faq-question, .faq-answer, .blog-card, .social-card, .comfort-carousel, .comfort-slide, .comfort-arrow, .comfort-dot, .gallery-btn, .video-placeholder) {
  background-color: #111 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html[data-a11y-theme="wb"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.btn-primary, .btn-secondary, .price-btn, .gallery-btn, .comfort-arrow, .comfort-dot) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}
html[data-a11y-theme="wb"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px;
}

html[data-a11y-theme="contrast"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) {
  background-color: #003b65 !important;
  color: #fff !important;
}
html[data-a11y-theme="contrast"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.price-card, .diag-card, .goal-card, .trust-item, .team-card, .faq-item, .faq-question, .faq-answer, .blog-card, .social-card, .comfort-carousel, .comfort-slide, .comfort-arrow, .comfort-dot, .gallery-btn, .video-placeholder) {
  background-color: #003b65 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html[data-a11y-theme="contrast"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(.btn-primary, .btn-secondary, .price-btn, .gallery-btn, .comfort-arrow, .comfort-dot) {
  background-color: #fff !important;
  color: #003b65 !important;
  border-color: #fff !important;
}
html[data-a11y-theme="contrast"] body > :is(.pricing, .diagnoses, .steps-section, .goals-section, .form-section, .comfort, .equipment-section, .gallery-section, .trust, .faq, .team-section, .yandex-reviews, .blog-section, .socials) :is(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #fff !important;
  outline-offset: 3px;
}

