/* v. 0.7.8 */
body .bg_biege, body .bg_biege th, body .bg_biege td {background: var(--biege);}
small, .small {font-size: 12px!important;}

.site-header {position: relative;}

/* Global button baseline.
   Bootstrap CSS is enqueued after this file, so sizing uses !important.
   Colors are applied only for non-Bootstrap buttons (without .btn / .btn-*). */
#page :is(button, a.btn, input[type="submit"], input[type="button"]):not(.btn_close):not(.btn-close):not(.accordion-button):not(.btn_tooltip):not(.mc-order-image-trigger):not(.toggle_search) {
  display:flex;
  align-items:center !important;
  justify-content:center !important;
  height:56px !important;
  border-radius:10px !important;
  padding:10px 16px !important;
  font-weight:700 !important;
  font-size:16px !important;
  text-decoration:none !important;
  border: 0;
  width: fit-content;
}
.btn_tooltip {border: 0!important;background: transparent!important;padding: 0!important;}

/* Custom button color helpers (used in templates/JS) */
body .lblue_btn, .med-cert-btn-secondary {background: var(--lblue)!important; color: var(--white)!important;} 
body .dbiege_btn{background: var(--dbiege)!important; color: var(--white)!important;} 
body .green_btn, #wp-submit {background: var(--green)!important; color: var(--white)!important;} 
body .lblue_btn:hover, body .lblue_btn:focus, .med-cert-btn-secondary:hover, .med-cert-btn-secondary:focus {background: var(--green)!important; color: var(--white)!important;} 
body .dbiege_btn:hover, body .dbiege_btn:focus{background: var(--lblue)!important; color: var(--white)!important;} 
body .green_btn:hover, body .green_btn:focus, #wp-submit:hover, #wp-submit:focus {background: var(--lblue)!important; color: var(--white)!important;}

.med-cert-btn-secondary svg * {fill: #fff!important;stroke: #fff!important;}

#login-popup .modal-dialog,
#register-popup .modal-dialog {
  max-width: 430px;
  width: min(430px, calc(100% - 24px));
  margin: 1rem auto;
}

#login-popup .modal-content,
#register-popup .modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

#login-popup .modal-body,
#register-popup .modal-body {
  position: relative;
}
#login-popup .med-cert-captcha,
#register-popup .med-cert-captcha {
  display: grid;
  gap: 8px;
  min-height: 86px;
  width: 100%;
  overflow: hidden;
}
#login-popup .med-cert-captcha-widget,
#register-popup .med-cert-captcha-widget {
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}
#login-popup .med-cert-captcha-widget > *,
#register-popup .med-cert-captcha-widget > * {
  max-width: 100%;
}
#login-popup .med-cert-captcha-msg,
#register-popup .med-cert-captcha-msg {
  color: #b42318;
  font-size: 13px;
}
#login-popup .modal-content,
#register-popup .modal-content {
  transition: height .2s ease, transform .2s ease;
}

#login-popup .modal-backdrop,
#register-popup .modal-backdrop {
  cursor: pointer;
}

#login-popup #wp-submit {width: 100%;}

@media (max-width: 420px) {
  #login-popup .modal-dialog,
  #register-popup .modal-dialog {
    width: calc(100% - 16px);
  }
}

label {width: 100%;}
label div {font-size: 16px;font-weight: 700;margin-bottom: 8px;}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select {width: 100%;height: 56px;border-radius: 12px;border: 0;background: var(--biege);padding: 10px 16px;outline: 0!important;box-shadow: none!important;color: var(--blue);}
:is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select):focus {outline: 1px solid #ccc !important;}
.med-cert-auth {display: flex;gap: 16px;}


.block_filter {background-color: var(--white);padding: 24px 32px;border-radius: 12px;box-shadow: 0 7px 15px 0 rgba(0, 0, 0, 0.1);margin-top: -66px;}

body .med-cert-block {background: #fff;border-radius: 12px;padding: 48px;margin: 24px 0;box-shadow: 0 7px 15px rgba(0, 0, 0, .1);}
body div#med-cert-items {display: grid;gap: 24px;}
body .med-cert-card {background: #fff;border-radius: 12px;padding: 48px;box-shadow: 0 7px 15px rgba(0, 0, 0, .1);margin-bottom: 24px;}

body .picker-row {gap:inherit;}

body #med-cert-add-item {width: 100%;background: var(--dbiege);color: #fff;border-radius: 10px;}
body #med-cert-add-item:hover {background: var(--lblue);}
body #med-cert-picker-add {background: var(--green);color: #fff;}
body .med-cert-submit {background: var(--lblue);width: 100%;color: #fff;}
body #med-cert-picker-add:hover, body .med-cert-submit:hover {background: var(--dbiege);}

body .med-cert-consent {margin: 0;font-size: 12px;}
body #med-cert-picker {background: #fff;border-radius: 12px;padding: 48px;margin: 24px 0;box-shadow: 0 7px 15px rgba(0, 0, 0, .1);}
body .header_search .ajax-search-wrapper {position: relative;width: 100%;}
body .header_search .ajax-search-input {height: 32px;border-bottom: 1px solid var(--dbiege);background-color: transparent!important;background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 2C13.1765 2 16.4 5.22355 16.4 9.2C16.4 10.8998 15.811 12.4621 14.8258 13.6937L17.7657 16.6343C18.0781 16.9467 18.0781 17.4533 17.7657 17.7657C17.4773 18.0541 17.0235 18.0763 16.7097 17.8322L16.6343 17.7657L13.6937 14.8258C12.4621 15.811 10.8998 16.4 9.2 16.4C5.22355 16.4 2 13.1765 2 9.2C2 5.22355 5.22355 2 9.2 2ZM9.2 3.6C6.10721 3.6 3.6 6.10721 3.6 9.2C3.6 12.2928 6.10721 14.8 9.2 14.8C12.2928 14.8 14.8 12.2928 14.8 9.2C14.8 6.10721 12.2928 3.6 9.2 3.6Z' fill='%23708C69'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;border-radius:0!important;padding:10px 36px 10px 0;outline:0!important}
body .toggle_search {display:none;border:0;background:transparent!important;padding:0!important;width:24px!important;height:24px!important;align-items:center;justify-content:center}
body .icon_search {display:block;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.2 2C13.1765 2 16.4 5.22355 16.4 9.2C16.4 10.8998 15.811 12.4621 14.8258 13.6937L17.7657 16.6343C18.0781 16.9467 18.0781 17.4533 17.7657 17.7657C17.4773 18.0541 17.0235 18.0763 16.7097 17.8322L16.6343 17.7657L13.6937 14.8258C12.4621 15.811 10.8998 16.4 9.2 16.4C5.22355 16.4 2 13.1765 2 9.2C2 5.22355 5.22355 2 9.2 2ZM9.2 3.6C6.10721 3.6 3.6 6.10721 3.6 9.2C3.6 12.2928 6.10721 14.8 9.2 14.8C12.2928 14.8 14.8 12.2928 14.8 9.2C14.8 6.10721 12.2928 3.6 9.2 3.6Z' fill='%23577C8E'/%3E%3C/svg%3E") no-repeat center;background-size:20px 20px}
body .search_mobile {display:none;position:absolute;left:0;top:0;width:100%;transition:.3s ease;background:var(--dbiege);z-index:20;padding:12px 0}
body .search_mobile.show {display:block;top:100%}
body .search_mobile .ajax-search-wrapper {position:relative;width:100%}
body .search_mobile .ajax-search-input {background:#fff!important;border:0;border-radius:10px!important;padding:10px 16px!important;background-image:none!important;height:48px}
body .ajax-search-results {position:absolute;background:#fff;border:1px solid #ccc;z-index:1000;width:100%;min-width:280px;max-width:300px;max-height:300px;overflow-y:auto;box-shadow:0 2px 8px rgba(0,0,0,.2)}
body .ajax-search-results ul {list-style:none;margin:0;padding:0}
body .search-corrected-note {padding:10px 10px 6px;color:var(--blue);font-size:13px;border-bottom:1px solid #eee;background:#fff}
body .ajax-search-results li a {display:block;padding:10px;border-bottom:1px solid #eee;text-decoration:none;color:#333}
body .ajax-search-results li a:hover {background:#f0f0f0}
body .search-footer {padding:10px;text-align:center;background:#fafafa;font-weight:700}
body .no-results {padding:10px;color:#333}

@media (max-width: 575.98px) {
  body .header_search .ajax-search-wrapper {display:none}
  body .toggle_search {display:flex}
}

.mc-account-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 6px;
  background: red;
  margin-bottom: 1px;
  vertical-align: middle;
  animation: mc-order-update-pulse 1.9s ease-in-out infinite;
}

.header_myaccount {
  position: relative;
}

.mc-header-account-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4d5f;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92);
  animation: mc-order-update-pulse 1.9s ease-in-out infinite;
}

.med-cert-result:empty {display: none;}
.med-cert-result {position: fixed;z-index: 100000;left: 50%;top: 50%;transform: translate(-50%, -50%);padding: 96px;background: #fff;border-radius: 24px;box-shadow: 0 15px 15px rgba(0, 0, 0, .2);color: var(--green);font-size: 24px;font-weight: 700;}
.med-cert-result .btn_close {position: absolute;right: 24px;top: 24px;width: 24px;height: 24px;background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.4143 12.0002L18.7073 6.70725C19.0983 6.31625 19.0983 5.68425 18.7073 5.29325C18.3163 4.90225 17.6842 4.90225 17.2932 5.29325L12.0002 10.5863L6.70725 5.29325C6.31625 4.90225 5.68425 4.90225 5.29325 5.29325C4.90225 5.68425 4.90225 6.31625 5.29325 6.70725L10.5863 12.0002L5.29325 17.2932C4.90225 17.6842 4.90225 18.3163 5.29325 18.7073C5.48825 18.9023 5.74425 19.0002 6.00025 19.0002C6.25625 19.0002 6.51225 18.9023 6.70725 18.7073L12.0002 13.4143L17.2932 18.7073C17.4882 18.9023 17.7443 19.0002 18.0002 19.0002C18.2562 19.0002 18.5123 18.9023 18.7073 18.7073C19.0983 18.3163 19.0983 17.6842 18.7073 17.2932L13.4143 12.0002Z' fill='red'/%3E%3C/svg%3E")no-repeat center;border: 0;}

#page .nav-link {color: var(--blue);font-weight: 500;font-size: 16px;}
#page .nav-link.active, #page .nav-link:hover {color: var(--dbiege);}
.block_biege {background-color: var(--biege)!important;padding: 48px;border-radius: 12px;}

:is(.block_biege, .bg_biege) :is(input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select) {background: #fff;}


.accordion-item {background: var(--white);border-radius: 12px!important;border: 2px solid var(--biege)!important;}
.accordion-item.is-open {box-shadow: 0 7px 15px 0 rgba(0, 0, 0, 0.1);}
body button.accordion-button {border: 0!important; background: transparent!important;padding: 32px;font-weight: 700;font-size: 24px;color: var(--blue);border-radius: 12px!important;box-shadow: none!important;outline: none!important}
body .accordion-body {padding: 0 32px!important;}


body .med-spravki-list-head, body .med-spravki-list-head th {border: 0!important}
body .med-spravki-list-head th {color: var(--lblue);font-weight: 700;font-size: 16px;padding: 16px!important}
body .med-spravki-list-head th:first-child {border-radius: 12px 0 0 12px;}
body .med-spravki-list-head th:last-child {border-radius: 0 12px 12px 0;}
body .med-spravki-list-body td {padding: 24px!important;vertical-align: middle;}


.mc-orders-list {
  display: grid;
  gap: 18px;
}

.mc-order-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.mc-order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}

.mc-order-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  width: 208px;
}

.mc-order-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1 1 auto;
}

.mc-order-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--blue);
}

.mc-order-card__meta-label,
.mc-order-item-card__label {
  font-size: 12px;
  line-height: 1.2;
  color: #8a8f99;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.mc-order-card__meta-item strong,
.mc-order-item-card__price {
  font-size: 18px;
  line-height: 1.25;
  color: var(--blue);
}

#page .mc-order-card__toggle {
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--lblue);
  color: #fff;
}

#page .mc-order-card__toggle:hover,
#page .mc-order-card__toggle:focus {
  background: var(--green);
  color: #fff;
}

.mc-order-update-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 83, 99, .08), rgba(164, 94, 229, .08), rgba(36, 183, 227, .08));
  box-shadow: 0 0 0 0 rgba(164, 94, 229, .28);
  animation: mc-order-update-pulse 1.9s ease-in-out infinite;
  flex: 0 0 48px;
}

.mc-order-update-badge__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.mc-order-update-badge__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes mc-order-update-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(164, 94, 229, .28);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(164, 94, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(164, 94, 229, 0);
  }
}

.mc-order-card__toggle-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
}

.mc-order-card.is-open .mc-order-card__toggle-icon {
  transform: rotate(-135deg) translateY(-1px);
}

.mc-order-card__body {
  display: none;
  padding: 0 24px 24px;
}

.mc-order-card.is-open .mc-order-card__body {
  display: block;
}

.mc-order-items-list {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.mc-order-item-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  background: #f8f4ef;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 12px;
  padding: 18px 20px;
}

.mc-order-item-card__main {
  flex: 1 1 auto;
  min-width: 0;
}

.mc-order-image-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mc-order-image-trigger__count {
  position: absolute;
  right: -9px;
  top: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--lblue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
}

#mc-order-image-modal .modal-dialog {
  max-width: min(92vw, 980px);
  margin: 1rem auto;
}

.mc-order-image-modal__content {
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
}

.mc-order-image-modal__body {
  position: relative;
  padding: 48px 56px 24px;
}

.mc-order-image-modal__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 720px);
}

.mc-order-image-modal__img {
  display: block;
  max-width: 100%;
  max-height: min(70vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.mc-order-image-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--blue);
}

.mc-order-image-modal__title {
  font-size: 16px;
  line-height: 1.4;
}

.mc-order-image-modal__counter {
  font-size: 13px;
  color: #6f7782;
  white-space: nowrap;
}

.mc-order-image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, .78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}

.mc-order-image-modal__nav:hover,
.mc-order-image-modal__nav:focus {
  background: rgba(17, 24, 39, .92);
}

.mc-order-image-modal__nav[hidden] {
  display: none;
}

.mc-order-image-modal__nav--prev {
  left: 12px;
}

.mc-order-image-modal__nav--next {
  right: 12px;
}

.mc-order-image-modal__nav span {
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 767px) {
  .mc-order-image-modal__body {
    padding: 44px 16px 16px;
  }

  .mc-order-image-modal__stage {
    min-height: 50vh;
  }

  .mc-order-image-modal__nav {
    width: 38px;
    height: 38px;
  }

  .mc-order-image-modal__nav--prev {
    left: 8px;
  }

  .mc-order-image-modal__nav--next {
    right: 8px;
  }

  .mc-order-image-modal__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mc-order-item-card__title {
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 12px;
}


.mc-order-item-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mc-order-item-card__meta-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--blue);
}

.mc-order-item-card__meta-block strong,
.mc-order-item-card__meta-block span:last-child {
  line-height: 1.4;
}

.mc-order-item-card__side {
  width: 110px;
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 10px;
}

.mc-order-item-card__tooltip {
  align-self: flex-end;
  margin-top: 2px;
}

.mc-order-item-card__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mc-order-card__empty {
  background: #f8f4ef;
  border-radius: 18px;
  padding: 18px 20px;
}

@media (max-width: 991.98px) {
  .mc-order-card__head {
    flex-direction: column;
    align-items: stretch;
  }

  .mc-order-card__actions {
    width: 100%;
    justify-content: space-between;
  }

  .mc-order-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #page .mc-order-card__toggle {
    width: 100%;
  }

  .mc-order-update-badge {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .mc-order-item-card {
    flex-direction: column;
  }

  .mc-order-item-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-order-item-card__side {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .mc-order-item-card__price-wrap {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .mc-order-card__head {
    padding: 18px;
  }

  .mc-order-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .mc-order-update-badge {
    align-self: flex-start;
  }

  .mc-order-card__body {
    padding: 0 18px 18px;
  }

  .mc-order-card__meta,
  .mc-order-item-card__meta {
    grid-template-columns: 1fr;
  }

  .mc-order-item-card {
    padding: 16px;
  }
}

#med-cert-picker {position: relative;}
.closePicker {position: absolute;cursor: pointer;right: 24px;top: 24px;}

/* MedCert: required highlight only after submit attempt */
#med-cert-order-form.mc-attempted .mc-invalid{
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.18rem rgba(220,53,69,.18) !important;
  outline: none !important;
}
#med-cert-order-form.mc-attempted .mc-invalid:focus{
  box-shadow: 0 0 0 0.22rem rgba(220,53,69,.25) !important;
}

/* Guest lock for order form */
#med-cert-order-form { position: relative; }

.med-cert-order-overlay{
  display:none;
  position:absolute;
  inset:0;
  z-index:20;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
}

.med-cert-order-overlay__inner{
  font-size:32px;
  font-weight:600;
  color:#b42318;
  background: rgba(255,255,255,.8);
  padding:18px 20px;
  border-radius: 12px;
  max-width: 860px;
}

#med-cert-order-form.is-locked {
  filter: blur(2px);
  pointer-events:none;
  user-select:none;
}

#med-cert-order-form.is-locked .med-cert-order-overlay{
  display:flex;
}


/* ===== MedCert: Guest lock + auth overlay (v0.4.17+) ===== */

.med-cert-auth { position: relative; }

/* Верхний блок-оверлей с кнопками (он у тебя в разметке) */
.mc-auth-overlay{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.mc-auth-overlay__text{
  font-weight: 700;
  margin-bottom: 10px;
}

.mc-auth-overlay__actions .btn{
  white-space: nowrap;
}

/* Блокировка формы для гостей.
   JS должен поставить классы:
   - body.mc-guest (или html/body)
   - и/или #med-cert-order-form.is-locked
*/
#med-cert-order-form{
  position: relative;
}

/* Размытие/блок кликов только по контенту, а не по псевдоэлементам */
body.mc-guest #med-cert-order-form .mc-form-inner,
#med-cert-order-form.is-locked .mc-form-inner{
  filter: blur(2px);
  opacity: .55;
  pointer-events: none;
  user-select: none;
}

/* Текст поверх формы */
body.mc-guest #med-cert-order-form::after,
#med-cert-order-form.is-locked::after{
  content: "Вы должны авторизоваться";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.15;
  color: #b42318;
  pointer-events: none; /* чтобы клики не ловил текст */
}

/* Чуть аккуратнее на мобиле */
@media (max-width: 576px){
  body.mc-guest #med-cert-order-form::after,
  #med-cert-order-form.is-locked::after{
    font-size: 22px;
    padding: 16px;
  }
}
