/*
Theme Name: Miracle
Theme URI: https://baggyweb.ru/
Author: Evgeniy_Bezhencev
Author URI: https://baggyweb.ru/
Description: Тема для общения
Version: 1.0
License: Evgeniy_Lock
*/


/* =========================================================
   ГЛОБАЛЬНАЯ ТЁМНАЯ ТЕМА MIRACLE
   ========================================================= */

:root {
    --bg-body: #1a1a1a;
    --bg-panel: #232220;
    --bg-panel-soft: rgba(35, 34, 32, 0.96);
    --bg-sidebar: #1a1a1a;
    --bg-input: rgba(0, 0, 0, 0.45);

    --accent: #d75970;
    --accent-soft: rgba(215, 89, 112, 0.85);
    --accent-strong: #d75970;

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-soft: rgba(255, 255, 255, 0.5);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.14);

    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --shadow-soft: 0 26px 70px rgba(0, 0, 0, 0.85);
    --shadow-small: 0 14px 30px rgba(0, 0, 0, 0.85);
}

/* =========================================================
   СБРОС / БАЗА
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: #1a1a1a;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

main {
    min-height: calc(100vh - 72px);
    display: block;
}




/*ВОДЯНОЙ ЗНАК начало*/

.anketa-card::after {
    content: "Miracle-ladies";
    position: absolute;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 35px;
    font-weight: 900;
    color: rgb(255 255 255 / 17%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
	
     @media (max-width: 767px) {
        font-size: 30px;
        left: 50%;
        top: 30%;
    }
}

.anketa-gallery-item::after {
    content: "Miracle-ladies";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
	font-size: 40px;
	
     @media (max-width: 767px) {
       font-size: 20px;
    }
}


.fancybox__content::after {
    content: "Miracle-ladies";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
	font-size: 40px;
	
     @media (max-width: 767px) {
       font-size: 20px;
    }
}

/*ВОДЯНОЙ ЗНАК конец*/


 .wm-top-wrap {
    position: relative;
    overflow: hidden; 
    min-height: 300px; 
  }

  .wm-top-wrap::before {
    content: "ТОП АНКЕТЫ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg); 
    
    font-size: 120px; 
    font-weight: 900;
    color: rgba(255, 59, 114, 0.07);
    
    white-space: nowrap;
    z-index: 0; 
    pointer-events: none; 
    
    
    text-shadow: 0 0 20px rgba(255, 59, 114, 0.2);
    letter-spacing: 5px;
  }


  .wm-top-wrap > * {
    position: relative;
    z-index: 1;
  }



/*ШАПКА САЙНА НАЧАЛО*/

/* КНОПКА SHORTS В ШАПКЕ */
.header-shorts-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 69, 92, 0.1);
    color: #c4455c;
    border: 1px solid rgba(196, 69, 92, 0.3);
    border-radius: 20px;
    padding: 8px 14px !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.header-shorts-button:hover {
    background: rgba(196, 69, 92, 0.2);
    border-color: rgba(196, 69, 92, 0.5);
    color: #fff;
}

.header-shorts-button:active {
    transform: translateY(0);
}

.header-shorts-icon {
    width: 20px;
    height: 20px;
    color: currentColor;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.header-shorts-button:hover .header-shorts-icon {
    transform: scale(1.1);
}

/* Эффект градиента при наведении */
.header-shorts-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.header-shorts-button:hover::before {
    left: 100%;
}

/* ИКОНКА ИЗБРАННОГО В ШАПКЕ */
.header-favorites-link {
    margin-left: 10px;
    text-decoration: none;
}

.header-favorites {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-favorites:hover {
    background: rgba(196, 69, 92, 0.2);
    border-color: rgba(196, 69, 92, 0.5);
}

.header-favorites-icon {
    width: 20px;
    height: 20px;
    stroke: #c4455c;
    fill: none;
    transition: all 0.3s ease;
}

.header-favorites:hover .header-favorites-icon {
    stroke: #fff;
    fill: #c4455c;
}

.header-favorites-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: #c4455c;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #232220;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.header-favorites:hover .header-favorites-count {
    transform: scale(1.1);
}

/* Анимация при добавлении в избранное */
.header-favorites-count.pulse {
    animation: favoritesPulse 0.6s ease;
}

@keyframes favoritesPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Мобильная версия Shorts */
.mobile-shorts-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-shorts-button:hover {
    background: rgba(196, 69, 92, 0.1);
    color: #ffffff;
    border-left-color: #c4455c;
}

.mobile-shorts-icon {
    width: 20px;
    height: 20px;
    color: #c4455c;
}

.mobile-shorts-button:hover .mobile-shorts-icon {
    color: #fff;
}

/* Мобильная версия избранного */
.mobile-favorites {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-favorites:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: #c4455c;
}

.mobile-favorites svg {
    width: 20px;
    height: 20px;
    stroke: #c4455c;
    fill: none;
}

.mobile-favorites-count {
    margin-left: auto;
    background: #c4455c;
    color: white;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    padding: 0 5px;
}

/* Обновляем стили для header-nav чтобы вместить иконки */
.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Минималистичная шапка с тёмным фоном */
header {
    background: #232220;
    border-bottom: 1px solid #2a2a2a;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип - изображение */
.header-logo a {
    display: flex;
    align-items: center;
    padding: 0;
}

.header-logo-image {
    height: 70px; /* Регулируйте по необходимости */
    width: auto;
    max-width: 200px; /* Ограничиваем максимальную ширину */
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.header-logo-image:hover {
    opacity: 0.9;
}

/* Логотип - светлый текст */
.header-logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.5px;
    transition: color 0.2s ease;
    padding: 4px 0;
    display: inline-block;
}

.header-logo a:hover {
    color: #c4455c;
}

/* Правая часть */
.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Основная навигация */
.header-nav {
    display: flex;
    gap: 24px;
}

.header-nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: #ffffff;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #c4455c;
    transition: width 0.2s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Аккаунт */
.header-account {
    position: relative;
}

.header-account-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.header-account-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.header-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #444;
}

.header-account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-account-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #e0e0e0;
}

.header-account-label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-account-name {
    font-weight: 500;
    font-size: 13px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
}

/* Выпадающее меню */
.header-account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 220px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.header-account:hover .header-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-account-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #333;
}

.header-account-menu-item:first-child {
    border-radius: 6px 6px 0 0;
}

.header-account-menu-item:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

.header-account-menu-item:hover {
    background-color: #333;
    color: #ffffff;
}

.header-account-menu-title {
    font-weight: 400;
    font-size: 13px;
}

.header-account-menu-amount {
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
}

.header-account-menu-divider {
    height: 1px;
    background: #333;
    margin: 4px 0;
}

.header-account-menu-item--logout:hover {
    background-color: rgba(196, 69, 92, 0.1);
    color: #c4455c;
}

/* Стили для гостей */
.header-auth-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-auth-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    padding: 6px 0;
    transition: color 0.2s ease;
    position: relative;
}

.header-auth-links a:hover {
    color: #ffffff;
}

.header-auth-register {
    color: #c4455c;
    font-weight: 500;
}

.header-auth-register:hover {
    color: #ffffff;
}

.header-auth-sep {
    color: #555;
}

/* Кнопка меню для мобильных */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1002;
}

.mobile-menu-toggle-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Мобильное меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #232220;
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #2a2a2a;
}

.mobile-menu-header {
    padding: 20px 16px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #2a2a2a;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: #c4455c;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-menu-link {
    display: block;
    padding: 14px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: #c4455c;
}

.mobile-menu-link--register {
    color: #c4455c;
    font-weight: 500;
}

.mobile-menu-link--logout {
    color: #c4455c;
}

.mobile-menu-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 15px 20px;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    margin-bottom: 10px;
}

.mobile-menu-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #c4455c;
    object-fit: cover;
}

.mobile-menu-user-info {
    display: flex;
    flex-direction: column;
}

.mobile-menu-user-name {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 4px;
}

.mobile-menu-user-balance {
    color: #888;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-inner {
        padding: 14px 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-right {
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-menu.active {
        left: 0;
    }

    /* Анимация кнопки меню */
    .mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .mobile-menu-toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Адаптация кнопки Shorts в мобильном меню */
    .mobile-shorts-button {
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .header-logo a {
        font-size: 18px;
    }

    .mobile-menu {
        width: 100%;
        left: -100%;
    }
}

/* Простые переходы */
.header-account-toggle,
.header-account-menu-item,
.header-nav a,
.header-auth-links a,
.mobile-menu-link {
    transition: all 0.2s ease;
}

/* Минимальная тень для меню */
.header-account-menu {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Цветовые акценты на тёмном фоне */
.header-account-menu-item:hover .header-account-menu-amount {
    color: #c4455c;
}

/* Индикатор текущей страницы */
.header-nav a.current-page {
    color: #ffffff;
    font-weight: 500;
}

.header-nav a.current-page::after {
    width: 100%;
    background: #c4455c;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-logo-image {
        height: 50px; /* Немного меньше на мобильных */
        max-width: 150px;
    }
}

/*ШАПКА САЙНА КОНЕЦ*/


/*ПОДВАЛ САЙТА НАЧАЛО*/

.footer {
  background: #242220;
  padding: 50px 20px 30px;
  color: #fff;
  border-top: 1px solid #2a2a2a;
}

.footer__inner {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 300px;
}

/* Логотип в футере */
.footer__left-logo {
  margin-bottom: 25px;
}

.footer__left-logo a {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer__left-logo a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer__left-logo img {
  display: block;
  height: 60px; /* Уменьшил для баланса */
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer__left-text {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  color: #b0b0b0;
  margin-top: 10px;
}

/* Колонки */
.footer__column {
  flex: 1;
  min-width: 180px;
}

.footer__column-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.footer__column-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #c4455c;
  transition: width 0.3s ease;
}

.footer__column:hover .footer__column-title::after {
  width: 60px;
}

/* Меню футера */
.footer__menu,
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__menu a,
.footer__info a {
  font-size: 14px;
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
  position: relative;
}

.footer__menu a::before,
.footer__info a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  color: #c4455c;
  transition: all 0.3s ease;
}

.footer__menu a:hover,
.footer__info a:hover {
  color: #ffffff;
  padding-left: 20px;
}

.footer__menu a:hover::before,
.footer__info a:hover::before {
  left: 0;
  opacity: 1;
}

/* Нижняя часть футера */
.footer__bottom {
  max-width: 1350px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__bottom-copy {
  color: #888;
  width: 48vw;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer__bottom-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 13px;
}

.footer__bottom-links a:hover {
  color: #ffffff;
}

.footer__bottom-links span {
  color: #555;
  font-size: 12px;
}

/* Адаптивность */
@media (max-width: 900px) {
  .footer {
    padding: 40px 20px 30px;
  }
  
  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer__column {
    width: 100%;
    max-width: 250px;
  }
  
  .footer__left {
    width: 100%;
  }
  
  .footer__left-text {
    max-width: 100%;
  }
  
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 40px;
    padding-top: 25px;
  }
  
  .footer__bottom-links {
    flex-wrap: nowrap;
    gap: 10px 15px;
  }
}

@media (max-width: 480px) {
  .footer__left-logo img {
    height: 50px;
  }
  
  .footer__column-title {
    font-size: 15px;
  }
  
  .footer__menu a,
  .footer__info a {
    font-size: 13px;
  }
	.footer__bottom-copy{
		width: 100%;
	}
}

/*ПОДВАЛ САЙТА КОНЕЦ*/


/*ДИЗАЙН СТРАНИЦЫ ВСЕ АНКЕТЫ / ДИЗАЙН КАРТОЧЕК НАЧАЛО*/



/* Попап карты */
.wm-map-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wm-map-popup-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 800px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.wm-map-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    color: #333;
    z-index: 2;
}
.wm-map-popup-close:hover {
    color: #000;
}
#wm-map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}
.map-stat .v {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
}
.map-stat .v svg {
    width: 18px;
    height: 18px;
}

/* Иконка карты в блоке anketa-icons */
.anketa-icon.map-stat {
    background: transparent !important;  /* убираем фон, если он был */
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anketa-icon.map-stat .v.map-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.anketa-icon.map-stat .v.map-trigger svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    stroke-width: 2;
}


/* Стили для блока информации об анкете в попапе карты */
.wm-map-anketa-info {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #eaeaea;
}

.wm-map-anketa-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.wm-map-photo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.wm-map-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wm-map-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.wm-map-details {
    flex: 1;
}

.wm-map-details h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.wm-map-prices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
}

.wm-map-price {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.wm-map-price span {
    color: #888;
}

.wm-map-price strong {
    color: var(--accent);
    font-weight: 700;
}

/* Мобильная адаптация */
@media (max-width: 600px) {

    .wm-map-photo {
        width: 80px;
        height: 80px;
    }
    .wm-map-prices {
        grid-template-columns: 1fr;
    }
}

:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --chip: #2a2a2a;
    --line: #333333;
    --text: #f0f0f0;
    --muted: #888888;
    --accent: #c4455c;
    --wa: #5bbf3a;
    --tg: #2aa6ff;
}

* {
    box-sizing: border-box;
}

/*body {
    margin: 0;
    background: var(--bg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    padding: 20px;
}*/

/* =========================
   ОБЩИЕ СТИЛИ СТРАНИЦЫ
   ========================= */
.ankety-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 80px);
}

.ankety-wrapper_top {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 80px);
}

.ankety-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.ankety-title {
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.5px;
    flex: 1;
    min-width: 0;
}

.ankety-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(196, 69, 92, 0.1);
    border: 1px solid rgba(196, 69, 92, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.counter-number {
    font-size: 28px;
    font-weight: 800;
    color: #c4455c;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.counter-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* =========================
   ОСНОВНАЯ СЕТКА АНКЕТ
   ========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================
   КАРТОЧКА АНКЕТЫ
   ========================= */
.card {
    background: var(--card);
    border-radius: 26px;
    padding: 16px;
    border: 1px solid var(--line);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.name {
    margin: 0;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .2px;
    color: var(--text);
}

.fav {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.fav svg {
    width: 18px;
    height: 18px;
    transition: fill 0.3s ease;
}

.fav.active svg {
    fill: var(--accent);
}

.anketa-icons {
    position: absolute;
    top: 50px;
    right: 100px;
    display: flex;
    flex-direction: column;
    background: #ffffff2e;
    border-radius: 30px;
    z-index: 2;
}

.anketa-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    padding: 6px;
    transition: all 0.3s ease;
}

.anketa-icon:hover {
    transform: scale(1.1);
}

.anketa-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.media {
    width: 500px;
    height: 550px;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    display: block;
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.media:hover img {
    transform: scale(1.05);
}

.stats {
    width: 78px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat {
    background: var(--chip);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px 8px;
    text-align: center;
    line-height: 1.05;
}

.stat .k {
    font-size: 12px;
    color: var(--text);
    opacity: .85;
    margin-bottom: 10px;
    display: block;
}

.stat .v {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .2px;
}

.actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-main {
    flex: 1;
    height: 44px;
    border-radius: 20px;
    background: var(--accent);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-main svg {
    width: 18px;
    height: 18px;
    stroke: var(--text);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon.wa {
    border-color: rgba(91, 191, 58, .65);
}

.btn-icon.tg {
    border-color: rgba(42, 166, 255, .65);
}

.btn-icon:hover {
    transform: scale(1.1);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.prices {
    margin-top: 12px;
    background: var(--chip);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    white-space: nowrap;
}

.meta svg {
    width: 16px;
    height: 16px;
    opacity: .85;
    stroke: var(--muted);
}

.amount {
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: .2px;
}

.amount.hot {
    color: var(--accent);
}

.amount.no {
    color: var(--muted);
}

/* =========================
   ФИЛЬТР
   ========================= */
.wm-filter-panel {
    background: #2a2a2a;
    padding: 20px;
    margin-bottom: 28px;
    border-radius: 20px;
}

.wm-filter-row {
    display: grid;
    gap: 28px;
}

.wm-filter-row--sliders {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    margin-bottom: 18px;
}

.wm-filter-row--inputs {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    margin-bottom: 14px;
}

.wm-filter-row--services {
    grid-template-columns: 1fr;
    margin-bottom: 14px;
}

.wm-filter-row--bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
}

.wm-filter-block,
.wm-filter-block--services {
    min-width: 0;
}

.wm-filter-label {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 6px;
}

.wm-services-desktop {
    display: block;
}

.wm-services-mobile {
    display: none;
}

.wm-services-grid {
    margin: 0 auto;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .12);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    max-height: 125px;
    overflow: auto;
}

.wm-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .10);
    cursor: pointer;
    user-select: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.wm-service-item:hover {
    border-color: rgba(196, 69, 92, .55);
    background: rgba(196, 69, 92, .10);
}

.wm-service-check {
    width: 18px;
    height: 18px;
    accent-color: #c4455c;
    cursor: pointer;
    flex: 0 0 auto;
}

.wm-service-text {
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.wm-range {
    user-select: none;
}

.wm-range-current {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 6px;
}

.wm-range-wrap {
    position: relative;
    height: 22px;
}

.wm-range-track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    background: #c4455c5e;
    border-radius: 999px;
}

.wm-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #c4455c;
    border-radius: 999px;
}

.wm-range-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 22px;
    margin: 0;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

.wm-range-input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: none;
}

.wm-range-input::-moz-range-track {
    height: 4px;
    background: transparent;
    border: none;
}

.wm-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid #bdbdbd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: pointer;
    margin-top: -7px;
}

.wm-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid #bdbdbd;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: pointer;
}

.wm-range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #b5b5b5;
    margin-top: 4px;
}

.wm-two-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wm-input {
    width: 100%;
    height: 36px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 13px;
    color: #111;
    background: #fff;
}

.wm-input:focus {
    outline: none;
    border-color: #c4455c;
}

.wm-input-search {
    width: 100%;
}

.wm-input-select {
    height: auto;
    min-height: 120px;
    padding: 8px 10px;
}

.wm-checks {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.wm-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
}

.wm-check input {
    width: 22px;
    height: 22px;
    accent-color: #c4455c;
    cursor: pointer;
}

.wm-check-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wm-check-ico {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
    opacity: .95;
}

.wm-actions {
    display: flex;
    gap: 16px;
}

.wm-btn {
    min-width: 170px;
    height: 44px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    color: #fff;
}

.wm-btn-apply {
    background: #c4455c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wm-btn-reset {
    background: #2a2a2a;
    border: 1px solid;
}

.wm-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

.wm-apply-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    font-weight: 800;
}

.wm-results {
    position: relative;
}

.wm-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.wm-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: rgba(0, 0, 0, 0.7);
    border-radius: 999px;
    animation: wmSpin 0.8s linear infinite;
}

@keyframes wmSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   ТОП-СЛАЙДЕР
   ========================= */
.wm-top-wrap {
    margin: 10px 0 22px;
}

.wm-top-head {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}

.wm-top-title {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0;
    padding-bottom: 20px;
    position: relative;
}

.wm-top-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #c4455c;
    border-radius: 1px;
}

.wm-top-slider {
    position: relative;
    width: 100%;
    padding: 10px 0 40px;
    margin: 0 0 20px;
}

.wm-top-slider .swiper-slide {
    height: auto;
}

/* =========================
   ПАГИНАЦИЯ
   ========================= */
.ankety-pagination ul {
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 0;
    margin: 24px 0 0;
}

.ankety-pagination li {
    margin: 0;
}

.ankety-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #fff;
    text-decoration: none;
    background: #262222;
}

.ankety-pagination .page-numbers.current {
    border-color: #c4455c;
    box-shadow: 0 0 0 2px rgba(196, 69, 92, 0.15);
}

/* =========================
   ПЛАШКИ
   ========================= */
.top-card::before {
    content: "ТОП";
    position: absolute;
    top: 50px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    z-index: 10;
    letter-spacing: 0.5px;
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 410px;
    z-index: 3;
    background: #c4455c;
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    animation: wmNewPulse 2s infinite;
}

.new-icon {
    display: inline-block;
    animation: wmStarSpin 3s linear infinite;
}

@keyframes wmNewPulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.28);
    }
    50% {
        box-shadow: 0 4px 22px rgba(255, 107, 107, 0.52);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.28);
    }
}

@keyframes wmStarSpin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   СТАТЬЯ
   ========================= */
.ml-section {
    --card: #2b262b;
    --card2: #272227;
    --stroke: rgba(255, 255, 255, .10);
    --stroke2: rgba(255, 255, 255, .08);
    --pink: #c04c74;
    --pink2: #a93f63;
    --text: #ece7ef;
    --muted: rgba(236, 231, 239, .75);
    --shadow: 0 18px 40px rgba(0, 0, 0, .40);
    --radius: 18px;

    padding: 28px 18px;
    background:
        radial-gradient(1000px 420px at 50% 0%, rgba(255, 255, 255, .06), transparent 60%),
        linear-gradient(180deg, var(--bg1), var(--bg0));
    border-radius: 18px;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ml-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.ml-title {
    margin: 8px 0 10px;
    text-align: center;
    font-weight: 700;
    letter-spacing: .2px;
    font-size: clamp(22px, 2.4vw, 28px);
}

.ml-star {
    display: flex;
    justify-content: center;
    margin: 8px 0 18px;
}

.ml-star svg {
    fill: none;
    stroke: var(--pink);
    stroke-width: 2;
    filter: drop-shadow(0 6px 14px rgba(192, 76, 116, .25));
}

.ml-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 10px;
}

.ml-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    border: 1px solid var(--stroke2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 22px 20px;
    position: relative;
    overflow: hidden;
}

.ml-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(400px 160px at 20% 0%, rgba(192, 76, 116, .10), transparent 60%),
        radial-gradient(320px 140px at 90% 10%, rgba(192, 76, 116, .08), transparent 55%);
    pointer-events: none;
}

.ml-card__head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.ml-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(192, 76, 116, .10);
    border: 1px solid rgba(192, 76, 116, .22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.ml-ico img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(192, 76, 116, .25));
}

.ml-card__title {
    position: relative;
    font-weight: 700;
    color: var(--pink);
    font-size: 18px;
    line-height: 1.2;
}

.ml-card__text {
    position: relative;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 52ch;
}

.ml-note {
    margin-top: 22px;
    padding: 22px 26px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    border: 1px solid var(--stroke2);
    box-shadow: var(--shadow);
}

.ml-note p {
    margin: 0;
    text-align: center;
    color: rgba(236, 231, 239, .80);
    font-size: 15px;
    line-height: 1.75;
}

.ml-alert {
    margin-top: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .95);
    color: #2a222a;
    border: 2px solid #e23a3a;
    padding: 12px 16px 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .30);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ml-alert__x {
    width: 40px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-2px);
}

.ml-alert__x svg {
    fill: #e23a3a;
}

.ml-alert__text {
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

/* =========================
   FAQ
   ========================= */
.faq-wrap {
    min-height: calc(100vh - 80px);
    padding: 30px 20px;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-main-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.faq-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #c4455c;
    border-radius: 1px;
}

.faq-content {
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 40px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    padding: 25px;
}

.faq-question-item {
    margin-bottom: 15px;
    background: #252525;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-item:last-child {
    margin-bottom: 0;
}

.faq-question-item.active {
    border-color: #c4455c;
}

.faq-question-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question-marker {
    margin-right: 15px;
}

.marker-number {
    width: 32px;
    height: 32px;
    background: #333;
    color: #9ca3af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.faq-question-item.active .marker-number {
    background: #c4455c;
    color: #ffffff;
}

.faq-question-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.faq-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.faq-question-item.active .faq-toggle-btn .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 20px 20px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.faq-answer-content p {
    margin-bottom: 15px;
}

.faq-help {
    margin-top: 50px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    padding: 30px;
    text-align: center;
}

.faq-help-content {
    max-width: 500px;
    margin: 0 auto;
}

.faq-help-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.faq-help-text {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.faq-help-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #c4455c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #c4455c;
    transition: all 0.2s ease;
}

.faq-help-btn:hover {
    background: #d4566d;
    transform: translateY(-1px);
}

/* =========================
   DESKTOP: ФИЛЬТР СЛЕВА,
   АНКЕТЫ СПРАВА ПО 2
   ========================= */
@media (min-width: 769px) {
    .ankety-wrapper {
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }

    .ankety-header,
    .wm-mobile-toolbar {
        grid-column: 1 / -1;
    }

    .wm-filter-panel {
        grid-column: 1;
        margin-bottom: 0;
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow: auto;
    }

    .wm-filter-row {
        gap: 18px;
    }

    .wm-filter-row--sliders,
    .wm-filter-row--inputs,
    .wm-filter-row--services {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 16px;
    }

    .wm-services-grid {
        grid-template-columns: 1fr;
        max-height: 260px;
    }

    .wm-filter-row--bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .wm-checks {
        gap: 12px;
    }

    .wm-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .wm-btn {
        width: 100%;
        min-width: 0;
    }

    .wm-top-wrap,
    .wm-results,
    .ankety-pagination {
        grid-column: 2;
        min-width: 0;
    }

    .wm-top-wrap {
        margin: 0 0 22px;
    }

    .wm-top-slider {
        margin: 0 0 20px;
        padding: 10px 0 40px;
    }

    .wm-top-slider .swiper-wrapper {
        align-items: stretch;
    }


    .wm-top-slider .card {
        height: 100%;
    }

    .grid {
        max-width: none;
        margin: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* =========================
   ПЛАНШЕТ / СРЕДНИЙ ЭКРАН
   ========================= */
@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .top {
        flex-direction: column;
    }

    .media {
        width: 100%;
        height: 300px;
    }

    .stats {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .stat {
        flex: 1;
    }

    .anketa-icons {
        top: 10px;
        right: 10px;
    }

    .anketa-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 992px) {
    .ankety-counter {
        display: none;
    }

    .wm-filter-row--sliders,
    .wm-filter-row--inputs {
        grid-template-columns: repeat(2, 1fr);
    }

    .wm-filter-row--services {
        grid-template-columns: 1fr;
    }

    .wm-filter-row--bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .wm-actions {
        justify-content: flex-end;
    }
}

/* =========================
   MOBILE FILTER UI
   ========================= */
.wm-mobile-toolbar {
    display: none;
}

.wm-filter-overlay {
    display: none;
}

.wm-filter-mobile-head {
    display: none;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .ankety-title {
        font-size: 30px;
    }

    .ankety-counter {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .media {
        height: 500px;
    }

    .stats {
        flex-wrap: wrap;
    }

    .stat {
        flex: 0 0 calc(50% - 5px);
    }

    .prices {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .anketa-icons {
        top: 50px;
        right: 8px;
        gap: 6px;
    }

    .anketa-icon {
        width: 50px;
        height: 50px;
        padding: 4px;
    }

    .wm-services-desktop {
        display: none;
    }

    .wm-services-mobile {
        display: block;
    }

    .wm-mobile-toolbar {
        display: flex;
        justify-content: space-between;
        margin: -8px 0 14px;
    }

    .wm-mobile-filter-toggle {
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        border: 1px solid #3a3a3a;
        background: #262222;
        color: #fff;
        font-weight: 700;
        letter-spacing: .3px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .wm-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 9998;
    }

    .wm-filter-overlay.wm-show {
        opacity: 1;
        pointer-events: auto;
    }

    .wm-filter-panel {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(92vw, 380px);
        max-width: 380px;
        margin: 0;
        border-radius: 0;
        border-bottom: none;
        transform: translateX(110%);
        transition: transform .35s cubic-bezier(.2, .9, .2, 1);
        z-index: 9999;
        box-shadow: -18px 0 40px rgba(0, 0, 0, .45);
        overflow: auto;
        padding: 16px 16px 18px;
        -webkit-overflow-scrolling: touch;
    }

    .wm-filter-panel.wm-open {
        transform: translateX(0);
    }

    body.wm-filter-lock {
        overflow: hidden;
        touch-action: none;
    }

    .wm-filter-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 0;
        background: #2a2a2a;
        padding: 4px 0 12px;
        margin: 0 0 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        z-index: 2;
    }

    .wm-filter-mobile-title {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: .2px;
    }

    .wm-filter-mobile-close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, .12);
        background: rgba(0, 0, 0, .15);
        color: #fff;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .wm-filter-row--sliders,
    .wm-filter-row--inputs,
    .wm-filter-row--services {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 16px;
    }

    .wm-filter-row--bottom {
        position: sticky;
        bottom: 0;
        background: #2a2a2a;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        z-index: 2;
    }

    .wm-checks {
        gap: 12px;
    }

    .wm-actions {
        width: 100%;
        gap: 10px;
    }

    .wm-btn {
        width: 100%;
        min-width: unset;
        border-radius: 12px;
    }
    
    .new-badge {
    left: 260px;
}
}

@media (max-width: 576px) {
    .ankety-counter {
        display: none;
    }

    .wm-filter-row--sliders,
    .wm-filter-row--inputs,
    .wm-filter-row--services {
        grid-template-columns: 1fr;
    }

    .wm-btn {
        width: 100%;
        min-width: unset;
    }

    .wm-actions {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .ml-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ml-card__text {
        max-width: none;
    }

    .ml-note {
        padding: 18px;
    }
}

@media (max-width: 520px) {
    .ml-section {
        padding: 18px 12px;
        border-radius: 16px;
    }

    .ml-card {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .ml-ico {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .ml-card__title {
        font-size: 17px;
    }

    .ml-card__text {
        font-size: 14px;
    }

    .ml-note p {
        font-size: 14px;
    }

    .ml-alert {
        padding: 12px 12px 14px;
    }
}

/*ДИЗАЙН СТРАНИЦЫ ВСЕ АНКЕТЫ / ДИЗАЙН КАРТОЧЕК КОНЕЦ*/


/*ЛИЧНЫЙ КАБИНЕТ НАЧАЛО*/




/*ЛИЧНЫЙ КАБИНЕТ КОНЕЦ*/



















