/* AUTOCOMPLETE */
.search-form.find input[type="text"], .page-form-search.find input[type="text"]{
  -webkit-border-radius: 20px 20px 0 0;
          border-radius: 20px 20px 0 0;
  border-bottom: 1px solid #e7f2f8;
  transition: none;
}
.search-form.find input[type="text"]:focus, .page-form-search.find input[type="text"]:focus {
  border-bottom: 1px solid #e7f2f8 !important;
  transition: none;
}
.search-form.find button, .page-form-search.find button {
  -webkit-border-radius: 20px 20px 0 20px;
          border-radius: 20px 20px 0 20px;
      transition: none;
}

.suggestions {
	position: absolute;
    width: 100%;
    padding: 0;
    z-index: 2;  
    opacity: 0;
	  -webkit-transition: opacity .35s linear;
	  -o-transition: opacity .35s linear;
	  -moz-transition: opacity .35s linear;
	  transition: opacity .35s linear;
}

.suggestions.visible {
	opacity: 1;	
}

.suggestions ul{
	background: #fff;
    padding: 0;
    list-style: none;
    box-shadow: 0px 5px 15px -5px #000;
    border: 1px solid #000;
    border-top: 1px solid #fff;
}

.suggestions ul>li{
	width: 100%;
}

.suggestions ul>li>a {
	padding: 8px 25px;
	display: block;
	transition: none;
	color:#000;
	text-decoration: none;
}

.suggestions ul>li>a:hover{
	background:#ff0043;
	color:#fff;
}

.suggestions ul>li>a span.highlight {
	font-weight: bold;
	color:#ff0043;
}

.suggestions ul>li>a:hover span.highlight{
	color:#fff;
}

.formErrors {
	color: red;
    list-style: none;
    margin: 15px 0;
    padding: 0;
}


.review-modal-clinic.default-modal .uk-modal-header{
  margin: 0;
  background: none;
  border-bottom: 0;
}

.reviews-filter__form .reviews-form-reset {
    position: relative;
    padding-right: 25px;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    color: #9b9b9b;
    font-size: 16px;
    font-family: "Proxima Nova" !important;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

.reviews-filter__form .reviews-form-reset:before {
    font-family: 'icomoon' !important;
    position: absolute;
    top: 13.5px;
    right: 0;
    display: block;
    width: 13px;
    height: 13px;
    font-size: 13px;
    line-height: 1;
    color: #ff0044;
}

.reviews-filter__form form,
.reviews-filter__form .eFiltr_reset{
  display: inline-block;
  vertical-align: middle;
}
.reviews-filter__form form{width: 80%;}

/* .review-grid>div{
  display: none;
}
.review-grid>div:first-child,
.review-grid>div:nth-child(2){
  display: block;
} */

.reviewForm label.custom-checkbox-wrapper input[type="checkbox"] {
  display: block;
  opacity: 0;
  position: absolute;
}
.specbutton {
	text-align: center !important;
	margin-top: -30px;
}

/* =====================================================================
 * Cookie Consent Center — cmclinic.ru
 * Вёрстка 1:1 с medgrade.pro (cookies.banner). Палитра адаптирована:
 *   #5AAA28 → #ff0043 (primary brand cmclinic)
 *   #4a9220 → #dd0039 (hover)
 *   #3d7d1a → #b8002f (active)
 * Шрифт: "Unbounded" (cmclinic) вместо "Manrope"
 * ===================================================================== */

.cookie-banner {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 16px;
    right: auto;
    max-width: 420px;
    background: #ffffff;
    border: 1px solid #c0c0c0;
    z-index: 2147483647;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(calc(100% + 32px));
    opacity: 0;
    isolation: isolate;
    contain: layout;
    will-change: transform, opacity;
}

.cookie-banner--visible {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner--hidden {
    transform: translateY(calc(100% + 32px));
    opacity: 0;
}

/* Container */
.cookie-banner__container {
    padding: 20px;
}

/* Row: vertical stack inside card */
.cookie-banner__row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Text block */
.cookie-banner__group {
    min-width: 0;
}

.cookie-banner__policy-text {
    margin: 0;
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
    color: #555;
}

.cookie-banner__policy-text a {
    color: #ff0043;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.cookie-banner__policy-text a:hover {
    color: #dd0039;
}

/* Buttons block */
.cookie-banner__buttons {
    flex-shrink: 0;
}

.cookie-banner__button-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Base button */
.cookie-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.2px;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

/* Primary (accept) */
.cookie-banner__button--primary {
    background-color: #ff0043;
    color: #ffffff;
    min-width: 120px;
    height: 40px;
}

.cookie-banner__button--primary:hover {
    background-color: #dd0039;
    box-shadow: 0 2px 8px rgba(255, 0, 67, 0.3);
}

.cookie-banner__button--primary:active {
    background-color: #b8002f;
}

/* Outline (reject) */
.cookie-banner__button--outline {
    background-color: transparent;
    color: #555;
    border: 1px solid #d8d8d8;
    height: 40px;
}

.cookie-banner__button--outline:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;
    color: #333;
}

.cookie-banner__button--outline:active {
    background-color: #ebebeb;
}

/* Secondary (policy link) */
.cookie-banner__button--secondary {
    background-color: transparent;
    color: #555;
    border: 1px solid #d8d8d8;
    height: 40px;
    font-size: 12px;
}

.cookie-banner__button--secondary:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;
    color: #333;
}

.cookie-banner__button--secondary:active {
    background-color: #ebebeb;
}

/* Focus states (accessibility) */
.cookie-banner__button:focus-visible {
    outline: 2px solid #ff0043;
    outline-offset: 2px;
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        right: 12px;
        max-width: none;
    }

    .cookie-banner__container {
        padding: 16px;
    }

    .cookie-banner__policy-text {
        font-size: 12px;
        line-height: 1.5;
    }

    .cookie-banner__button-group {
        gap: 8px;
    }

    .cookie-banner__button {
        padding: 10px 16px;
        font-size: 12px;
        height: 38px;
    }

    .cookie-banner__button--primary {
        min-width: 100px;
        height: 38px;
    }

    .cookie-banner__button--secondary {
        height: 38px;
    }
}

/* ===== Cookie Preferences Modal ===== */

.cookie-prefs {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookie-prefs--open {
    display: flex;
}

.cookie-prefs__body {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cookie-prefs__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    font-size: 22px;
    line-height: 1;
    padding: 0;
}

.cookie-prefs__close:hover {
    color: #333;
}

.cookie-prefs__close svg {
    width: 14px;
    height: 14px;
}

.cookie-prefs__content {
    padding: 28px 24px 24px;
}

.cookie-prefs__title {
    font-family: "Unbounded", -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #222;
    margin: 0 0 8px;
}

.cookie-prefs__desc {
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    margin: 0 0 20px;
}

/* Categories */
.cookie-prefs__categories {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cookie-prefs__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-prefs__category:first-child {
    padding-top: 0;
}

.cookie-prefs__category:last-child {
    border-bottom: none;
}

.cookie-prefs__category-info {
    flex: 1;
    min-width: 0;
}

.cookie-prefs__category-name {
    display: block;
    font-family: "Unbounded", -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: #333;
    margin-bottom: 2px;
}

.cookie-prefs__category-desc {
    display: block;
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: #888;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.cookie-toggle__slider {
    position: absolute;
    inset: 0;
    background-color: #d0d0d0;
    border-radius: 24px;
    transition: background-color 0.25s;
}

.cookie-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background-color: #ff0043;
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
    transform: translateX(20px);
}

.cookie-toggle input:focus-visible + .cookie-toggle__slider {
    outline: 2px solid #ff0043;
    outline-offset: 2px;
}

.cookie-toggle--disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Action buttons */
.cookie-prefs__actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cookie-prefs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.2px;
    transition: background-color 0.2s, color 0.2s;
}

.cookie-prefs__btn--primary {
    background-color: #ff0043;
    color: #ffffff;
    flex: 1;
}

.cookie-prefs__btn--primary:hover {
    background-color: #dd0039;
}

.cookie-prefs__btn--secondary {
    background-color: transparent;
    color: #555;
    border: 1px solid #d8d8d8;
}

.cookie-prefs__btn--secondary:hover {
    background-color: #f5f5f5;
    border-color: #b0b0b0;
}

.cookie-prefs__delete-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.cookie-prefs__btn--danger {
    background: none;
    color: #c0392b;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 0;
}

.cookie-prefs__btn--danger:hover {
    color: #922b21;
}

.cookie-prefs__btn--danger:disabled {
    color: #999;
    cursor: default;
}

.cookie-prefs__policy {
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin: 12px 0 0;
}

.cookie-prefs__policy a {
    color: #ff0043;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-prefs__policy a:hover {
    color: #dd0039;
}

/* Cookie prefs modal responsive */
@media (max-width: 480px) {
    .cookie-prefs__content {
        padding: 24px 16px 20px;
    }

    .cookie-prefs__actions {
        flex-direction: column;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .cookie-banner {
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 8px;
        right: 8px;
    }

    .cookie-banner__container {
        padding: 14px;
    }

    .cookie-banner__button-group {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner__button {
        width: 100%;
        text-align: center;
    }
}

/* ----- Reduced motion (a11y) ----- */
@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-prefs__backdrop,
    .cookie-prefs__body,
    .cookie-toggle__slider {
        transition: none !important;
        animation: none !important;
    }
}
/* === /Cookie Consent Center === */
/* === Footer policy links cleanup === */
.thirdLinefooter {
    max-width: none !important;
}
.thirdLinefooter a {
    font-family: "Proxima Nova", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2a3246;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.thirdLinefooter a:hover {
    color: #ff0043;
    text-decoration: underline;
}
.thirdLinefooter > div {
    margin-bottom: 6px;
}
.thirdLinefooter > div:last-child {
    margin-bottom: 0;
}
