/*
Theme Name: Madmuzel SPB
Theme URI:
Description: Дочерняя тема Doctors: вёрстка в стиле spb-es, палитра madmuzel.
Author: madmuzel
Template: doctors-1
Version: 1.0.0
Text Domain: escortwp
*/

/* ==========================================================================
   Палитра madmuzel
   ========================================================================== */
:root {
    --mm-bg-top: #727272;
    --mm-bg-bottom: #545454;
    --mm-panel: #3f3f3f;
    --mm-panel-2: #4d4d4d;
    --mm-panel-3: #5f5f5f;
    --mm-accent: #e0006c;
    --mm-accent-dark: #cd006f;
    --mm-accent-2: #fc5e1f;
    --mm-accent-light: #fe5acb;
    --mm-green: #30ce73;
    --mm-text: #fcfcff;
    --mm-muted: #d2d2d2;
    --mm-dim: #aaa;
    --mm-border: rgba(255, 255, 255, .2);
    --mm-radius: 3px;
}

/* ==========================================================================
   База
   ========================================================================== */
body.mm-skin {
    background: var(--mm-bg-top);
    background: linear-gradient(180deg, var(--mm-bg-top) 0%, var(--mm-bg-bottom) 100%);
    background-attachment: fixed;
    color: var(--mm-muted);
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
}

body.mm-skin.mm-locked {
    overflow: hidden;
}

.mm-skin a {
    color: var(--mm-text);
    text-decoration: none;
}

.mm-skin a:hover {
    color: var(--mm-accent);
}

.mm-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.mm-sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.mm-wrap {
    background: var(--mm-panel);
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 42px;
}

.mm-wrap_flat {
    background: transparent;
    padding: 0;
}

/* ==========================================================================
   Шапка
   ========================================================================== */
.mm-header {
    background-color: var(--mm-panel);
    padding-top: 28px;
}

.mm-header__row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}

.mm-header__logo {
    text-decoration: none;
}

.mm-header__logo-title {
    color: var(--mm-text);
    display: block;
    font-family: 'Times New Roman', Times, serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 32px;
    text-decoration: none;
}

.mm-header__logo-title em {
    color: var(--mm-accent);
    font-style: normal;
}

.mm-header__logo img {
    display: block;
    max-height: 54px;
    width: auto;
}

.mm-header__logo-descr {
    clear: both;
    color: var(--mm-muted);
    display: block;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 5px;
    text-transform: uppercase;
}

.mm-header__right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mm-header__tools {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.mm-header__tools a {
    color: var(--mm-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.mm-header__tools a:hover {
    color: var(--mm-accent);
}

/* Меню */
.mm-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-nav li {
    margin-right: 8px;
    position: relative;
}

.mm-nav > li:last-child {
    margin-right: 0;
}

.mm-nav > li:after {
    border-bottom: 8px solid var(--mm-accent);
    border-left: 12px solid transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    bottom: 0;
    content: "";
    height: 0;
    position: absolute;
    right: 0;
    transition: border-color .25s linear;
    width: 0;
}

.mm-nav a {
    align-items: center;
    background-color: var(--mm-panel-2);
    color: var(--mm-text);
    display: flex;
    font-size: 14px;
    justify-content: center;
    line-height: 1.7;
    padding: 7px 14px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .3s ease;
}

.mm-nav a:hover {
    background-color: var(--mm-accent);
    color: #fff;
}

.mm-nav a:hover:after {
    opacity: 0;
}

.mm-nav .mm-dropmenu > a:after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    display: inline-block;
    margin-left: 7px;
    transition: all .3s ease;
}

.mm-nav .mm-dropmenu:hover > ul {
    opacity: 1;
    pointer-events: auto;
}

.mm-dropdown {
    background: var(--mm-panel-2);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, .3);
    display: flex;
    flex-wrap: wrap;
    left: auto;
    right: 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    transition: opacity .2s ease;
    width: 762px;
    z-index: 50;
}

.mm-dropdown li {
    margin-right: 0;
    text-align: left;
    width: 33.333%;
}

.mm-dropdown li a {
    justify-content: flex-start;
    overflow: hidden;
    padding: 5px 14px;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
    width: 100%;
}

.mm-dropdown_cols2 {
    width: 508px;
}

.mm-dropdown_cols2 > li {
    width: 50%;
}

.mm-dropdown_cols1 {
    width: 280px;
}

.mm-dropdown_cols1 > li {
    width: 100%;
}

/* ==========================================================================
   Мобильное меню
   ========================================================================== */
.mm-burger {
    display: none;
}

.mm-burger__btn {
    background: var(--mm-panel-2);
    border: 0;
    cursor: pointer;
    height: 40px;
    padding: 0;
    position: relative;
    width: 46px;
    z-index: 95;
}

.mm-burger__btn span,
.mm-burger__btn span:before,
.mm-burger__btn span:after {
    background: var(--mm-text);
    display: block;
    height: 2px;
    left: 13px;
    position: absolute;
    transition: all .25s ease;
    width: 20px;
}

.mm-burger__btn span {
    top: 19px;
}

.mm-burger__btn span:before {
    content: "";
    left: 0;
    top: -6px;
}

.mm-burger__btn span:after {
    content: "";
    left: 0;
    top: 6px;
}

.mm-mobnav {
    background: var(--mm-panel);
    height: 100vh;
    left: 0;
    opacity: 0;
    overflow: auto;
    padding: 80px 20px 40px;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: all .3s ease;
    width: 100vw;
    z-index: 90;
}

.mm-mobnav.mm-open {
    opacity: 1;
    pointer-events: auto;
}

.mm-mobnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-mobnav > ul > li {
    border-bottom: 1px solid var(--mm-border);
}

.mm-mobnav a {
    color: var(--mm-text);
    display: block;
    padding: 12px 0;
    text-transform: uppercase;
}

.mm-mobnav ul ul {
    display: none;
    padding-bottom: 10px;
    padding-left: 18px;
}

.mm-mobnav li.mm-open > ul {
    display: block;
}

.mm-mobnav ul ul a {
    font-size: 14px;
    padding: 6px 0;
    text-transform: none;
}

.mm-mobnav__close {
    background: none;
    border: 0;
    color: var(--mm-text);
    cursor: pointer;
    font-size: 34px;
    left: 20px;
    line-height: 1;
    position: absolute;
    top: 16px;
}

.mm-mobnav .mm-has-sub > a:after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.mm-mobnav .mm-has-sub.mm-open > a:after {
    border-bottom: 5px solid currentColor;
    border-top: 0;
}

/* ==========================================================================
   Каталог
   ========================================================================== */
.mm-catalog__title {
    color: var(--mm-text);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 30px;
    padding: 0;
    text-align: center;
    word-wrap: break-word;
}

.mm-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.mm-subnav a {
    border: 1px solid var(--mm-border);
    border-radius: 100px;
    color: var(--mm-text);
    display: inline-block;
    font-size: 13px;
    padding: 6px 18px;
    transition: all .25s ease;
}

.mm-subnav a:hover,
.mm-subnav .mm-current a {
    background: var(--mm-accent);
    border-color: var(--mm-accent);
    color: #fff;
}

.mm-subnav .mm-online a:before {
    background: var(--mm-green);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 8px;
    margin-right: 7px;
    vertical-align: middle;
    width: 8px;
}

.mm-catalog {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.mm-catalog__col {
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    width: 25%;
}

.mm-girl {
    background: var(--mm-panel-2);
    display: block;
    height: 374px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    width: 100%;
}

.mm-girl,
.mm-girl:hover {
    color: #fff;
}

.mm-girl:hover .mm-girl__bg img {
    transform: scale(1.08);
}

.mm-girl__bg {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.mm-girl__bg:after {
    background-image: linear-gradient(0deg, rgba(20, 20, 20, .95) 0, rgba(40, 40, 40, .55) 52%, rgba(40, 40, 40, 0));
    bottom: 0;
    content: "";
    display: block;
    height: 175px;
    left: 0;
    position: absolute;
    right: 0;
}

.mm-girl__bg img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all .3s ease;
    width: 100%;
}

.mm-girl__content {
    bottom: 6px;
    left: 13px;
    position: absolute;
    right: 13px;
}

.mm-girl__name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-girl__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mm-girl__info-item {
    border: 1px solid var(--mm-border);
    color: var(--mm-accent-light);
    font-size: 10px;
    line-height: 1;
    margin: 0 0 4px;
    padding: 6px;
    text-transform: uppercase;
    width: calc(50% - 2px);
}

.mm-girl__info-item span {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    margin-top: 4px;
}

.mm-girl__info-item:last-child {
    width: 100%;
}

.mm-girl__bottom {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.mm-girl__metro,
.mm-girl__age {
    font-size: 12px;
    line-height: 1.3;
    margin-right: 5px;
}

.mm-girl__metro {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mm-girl__age {
    color: var(--mm-dim);
    white-space: nowrap;
}

.mm-badge {
    border-radius: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    left: 10px;
    letter-spacing: .5px;
    line-height: 1;
    padding: 5px 8px;
    position: absolute;
    text-transform: uppercase;
    top: 10px;
    z-index: 2;
}

.mm-badge_vip {
    background: var(--mm-accent-2);
}

.mm-badge_new {
    background: var(--mm-green);
    left: auto;
    right: 10px;
}

.mm-empty {
    color: var(--mm-muted);
    padding: 40px 0;
    text-align: center;
}

/* ==========================================================================
   Пагинация
   ========================================================================== */
.mm-pagination {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-top: 20px;
}

.mm-pagination ul {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-pagination a,
.mm-pagination span {
    align-items: center;
    background-color: var(--mm-panel-2);
    color: #fff;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    margin: 1px;
    min-width: 50px;
    padding: 0 10px;
    text-decoration: none;
    transition: background .3s ease-in-out;
}

.mm-pagination a:hover {
    background-color: var(--mm-accent);
    color: #fff;
}

.mm-pagination span.current {
    background-color: var(--mm-accent);
}

/* ==========================================================================
   Хлебные крошки и текстовые блоки
   ========================================================================== */
.mm-breadcrumbs {
    color: var(--mm-dim);
    font-size: 13px;
    padding: 14px 0 0;
}

.mm-breadcrumbs a {
    color: var(--mm-muted);
}

.mm-breadcrumbs a:hover {
    color: var(--mm-accent);
}

.mm-breadcrumbs span + span:before {
    content: "/";
    margin: 0 7px;
}

.mm-pageinfo {
    color: var(--mm-muted);
    padding-bottom: 30px;
}

.mm-pageinfo h2,
.mm-pageinfo h3 {
    color: var(--mm-text);
    font-weight: 400;
    margin: 24px 0 12px;
}

.mm-pageinfo h2 {
    font-size: 24px;
}

.mm-pageinfo h3 {
    font-size: 19px;
}

.mm-pageinfo p {
    line-height: 1.7;
    margin: 0 0 12px;
}

.mm-pageinfo a {
    color: var(--mm-accent);
}

.mm-pageinfo ul,
.mm-pageinfo ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

/* ==========================================================================
   Подвал
   ========================================================================== */
.mm-footer {
    background-color: var(--mm-panel);
    color: var(--mm-muted);
    margin-top: 20px;
    padding: 30px 0;
}

.mm-footer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.mm-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-footer__nav a {
    color: var(--mm-muted);
    font-size: 13px;
}

.mm-footer__nav a:hover {
    color: var(--mm-accent);
}

.mm-footer__copy {
    font-size: 13px;
}

.mm-totop {
    background: var(--mm-accent);
    border-radius: 2px;
    bottom: 30px;
    color: #fff;
    display: none;
    height: 42px;
    line-height: 42px;
    position: fixed;
    right: 30px;
    text-align: center;
    width: 42px;
    z-index: 60;
}

.mm-totop.mm-show {
    display: block;
}

/* ==========================================================================
   Карточка анкеты
   ========================================================================== */
.mm-card__title {
    color: var(--mm-text);
    text-align: left;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
}

.mm-card__subtitle {
    color: var(--mm-dim);
    font-size: 14px;
    margin: 0 0 24px;
}

.mm-card__row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.mm-card__gallery {
    padding-left: 15px;
    padding-right: 15px;
    width: 42%;
}

.mm-card__content {
    padding-left: 15px;
    padding-right: 15px;
    width: 58%;
}

.mm-card__photo {
    display: block;
    margin-bottom: 10px;
    position: relative;
}

.mm-card__photo img {
    display: block;
    height: auto;
    width: 100%;
}

.mm-card__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mm-card__thumbs a {
    display: block;
    width: calc(25% - 6px);
}

.mm-card__thumbs img {
    display: block;
    height: auto;
    width: 100%;
}

.mm-card__price-title,
.mm-card__services-title,
.mm-card__about-title {
    color: var(--mm-text);
    font-size: 20px;
    font-weight: 600;
    margin: 26px 0 14px;
}

.mm-card__price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mm-card__price-item {
    border: 1px solid var(--mm-border);
    color: var(--mm-accent-light);
    flex: 1 1 140px;
    font-size: 11px;
    padding: 10px 12px;
    text-transform: uppercase;
}

.mm-card__price-item span {
    color: var(--mm-text);
    display: block;
    font-size: 21px;
    font-weight: 600;
    margin-top: 6px;
}

.mm-card__info {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-card__info li {
    border-bottom: 1px solid var(--mm-border);
    color: var(--mm-text);
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    width: 100%;
}

.mm-card__info li span {
    color: var(--mm-dim);
    margin-right: 14px;
}

.mm-card__info li a {
    color: var(--mm-accent);
}

.mm-card__services-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.mm-card__services-col {
    padding: 0 10px;
    width: 50%;
}

.mm-card__services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mm-card__services-list li {
    color: var(--mm-muted);
    padding: 5px 0 5px 20px;
    position: relative;
}

.mm-card__services-list li:before {
    color: var(--mm-accent);
    content: "✓";
    left: 0;
    position: absolute;
}

.mm-card__services-list li a {
    color: var(--mm-muted);
}

.mm-card__services-list li a:hover {
    color: var(--mm-accent);
}

.mm-card__tel {
    align-items: center;
    background: var(--mm-accent);
    color: #fff;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 28px;
    transition: background .25s ease;
}

.mm-card__tel:hover {
    background: var(--mm-accent-dark);
    color: #fff;
}

.mm-card__descr {
    color: var(--mm-muted);
    line-height: 1.7;
}

.mm-card__descr p {
    margin: 0 0 12px;
}

/* ==========================================================================
   Услуги — список разделов
   ========================================================================== */
.mm-servgrid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.mm-servgrid__col {
    padding: 0 10px 20px;
    width: 33.333%;
}

.mm-servgrid__col a {
    background: var(--mm-panel-2);
    border: 1px solid transparent;
    display: block;
    padding: 14px 16px;
    transition: all .25s ease;
}

.mm-servgrid__col a:hover {
    border-color: var(--mm-accent);
    color: var(--mm-accent);
}

.mm-servgrid__count {
    color: var(--mm-dim);
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

/* ==========================================================================
   Отзывы
   ========================================================================== */
.mm-reviews {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.mm-review {
    background: var(--mm-panel-2);
    border-left: 3px solid var(--mm-accent);
    margin-bottom: 16px;
    padding: 20px 24px;
}

.mm-review__head {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mm-review__author {
    color: var(--mm-text);
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.mm-review__date {
    color: var(--mm-dim);
    font-size: 13px;
}

.mm-review__rating {
    color: var(--mm-accent-2);
    font-size: 16px;
    letter-spacing: 2px;
}

.mm-review__rating i {
    color: rgba(255, 255, 255, .25);
    font-style: normal;
}

.mm-review__subject {
    color: var(--mm-dim);
    font-size: 13px;
    margin: 0 0 8px;
}

.mm-review__subject a {
    color: var(--mm-accent);
}

.mm-review__text {
    color: var(--mm-muted);
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

/* Форма */
.mm-form {
    background: var(--mm-panel-2);
    padding: 28px;
}

.mm-form__title {
    color: var(--mm-text);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 6px;
}

.mm-form__note {
    color: var(--mm-dim);
    font-size: 13px;
    margin: 0 0 20px;
}

.mm-form__group {
    margin-bottom: 16px;
}

.mm-form__label {
    color: var(--mm-text);
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.mm-form__control {
    background: var(--mm-panel);
    border: 1px solid var(--mm-border);
    color: var(--mm-text);
    display: block;
    font-family: inherit;
    font-size: 15px;
    padding: 10px 12px;
    width: 100%;
}

.mm-form__control:focus {
    border-color: var(--mm-accent);
    outline: none;
}

textarea.mm-form__control {
    min-height: 140px;
    resize: vertical;
}

.mm-form__hp {
    left: -9999px;
    position: absolute;
}

.mm-form__submit {
    background: var(--mm-accent);
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    text-transform: uppercase;
    transition: background .25s ease;
}

.mm-form__submit:hover {
    background: var(--mm-accent-dark);
}

.mm-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.mm-stars input {
    left: -9999px;
    position: absolute;
}

.mm-stars label {
    color: rgba(255, 255, 255, .3);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.mm-stars input:checked ~ label,
.mm-stars label:hover,
.mm-stars label:hover ~ label {
    color: var(--mm-accent-2);
}

.mm-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
}

.mm-alert_ok {
    background: rgba(48, 206, 115, .15);
    border-left: 3px solid var(--mm-green);
    color: #d8ffe7;
}

.mm-alert_err {
    background: rgba(224, 0, 108, .15);
    border-left: 3px solid var(--mm-accent);
    color: #ffd8ea;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1250px) {
    .mm-dropdown {
        width: 620px;
    }
}

@media (max-width: 1100px) {
    .mm-catalog__col {
        width: 33.333%;
    }
}

@media (max-width: 991px) {
    .mm-nav,
    .mm-header__tools {
        display: none;
    }

    .mm-burger {
        align-items: center;
        display: flex;
    }

    .mm-header {
        padding-top: 16px;
    }

    .mm-header__row {
        align-items: center;
    }

    .mm-wrap {
        padding: 20px 15px;
    }

    .mm-card__gallery,
    .mm-card__content {
        width: 100%;
    }

    .mm-card__content {
        margin-top: 24px;
    }

    .mm-servgrid__col {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .mm-catalog__col {
        width: 100%;
    }

    .mm-catalog__title {
        font-size: 24px;
    }

    .mm-header__logo-title {
        font-size: 30px;
    }

    .mm-card__services-col {
        width: 100%;
    }

    .mm-form {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .mm-girl {
        height: 440px;
    }

    .mm-servgrid__col {
        width: 100%;
    }
}

/* Плотная типографика карточек на узких экранах */
@media (max-width: 575px) {
    .mm-catalog {
        margin-left: -5px;
        margin-right: -5px;
    }

    .mm-catalog__col {
        margin-bottom: 16px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .mm-girl {
        height: 440px;
    }

    .mm-girl__content {
        left: 8px;
        right: 8px;
    }

    .mm-girl__name {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .mm-girl__info-item {
        font-size: 10px;
        padding: 6px;
    }

    .mm-girl__info-item span {
        font-size: 16px;
        margin-top: 4px;
    }

    .mm-girl__metro,
    .mm-girl__age {
        font-size: 13px;
    }

    .mm-badge {
        font-size: 9px;
        left: 6px;
        padding: 3px 6px;
        top: 6px;
    }

    .mm-subnav {
        gap: 6px;
    }

    .mm-subnav a {
        font-size: 12px;
        padding: 5px 12px;
    }

    .mm-card__price-item {
        flex-basis: 100px;
    }

    .mm-card__thumbs a {
        width: calc(33.333% - 6px);
    }
}

/* ==========================================================================
   Легаси-страницы родительской темы (поиск, регистрация, кабинет, блог):
   приводим к общей сетке и палитре, не переписывая шаблоны.
   ========================================================================== */
.mm-skin .mm-page > .contentwrapper {
    float: none;
    margin: 20px auto;
    max-width: 1200px;
    min-height: 0;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.mm-skin .mm-page > .contentwrapper > .body {
    margin: 0;
    width: auto;
}

.mm-skin .mm-page .bodybox {
    background: var(--mm-panel);
    color: var(--mm-muted);
    padding: 32px;
}

.mm-skin .mm-page .bodybox h1,
.mm-skin .mm-page .bodybox h2,
.mm-skin .mm-page .bodybox h3,
.mm-skin .mm-page .bodybox h4,
.mm-skin .mm-page .bodybox label,
.mm-skin .mm-page .bodybox legend,
.mm-skin .mm-page .bodybox strong,
.mm-skin .mm-page .bodybox p,
.mm-skin .mm-page .bodybox li,
.mm-skin .mm-page .bodybox td,
.mm-skin .mm-page .bodybox th {
    color: var(--mm-text);
}

.mm-skin .mm-page .bodybox a {
    color: var(--mm-accent-light);
}

.mm-skin .mm-page .bodybox .pinkbutton,
.mm-skin .mm-page .bodybox input[type="submit"],
.mm-skin .mm-page .bodybox button[type="submit"] {
    background: var(--mm-accent);
    border: 0;
    color: #fff;
    cursor: pointer;
}

.mm-skin .mm-page .bodybox .pinkbutton:hover,
.mm-skin .mm-page .bodybox input[type="submit"]:hover,
.mm-skin .mm-page .bodybox button[type="submit"]:hover {
    background: var(--mm-accent-dark);
    color: #fff;
}

.mm-skin .mm-page .sidebar-left,
.mm-skin .mm-page .sidebar-right {
    display: none;
}

.mm-skin .mm-page .widgetbox {
    background: var(--mm-panel-2);
    color: var(--mm-muted);
}

/* ==========================================================================
   Режим правки анкеты (?edit=1): работает родительский шаблон EscortWP,
   поэтому отменяем правила, которыми новая тема переоформляет легаси-страницы.
   Класс mm-profile-edit на body даёт нужную специфичность.

   Важно: родительский responsive.css ниже 960px переводит .contentwrapper
   в display: table-footer-group — старый приём для перестановки колонок.
   В нашей обёртке это схлопывает колонку до ширины содержимого, поэтому
   display задаём явно и на всех ширинах.
   ========================================================================== */
.mm-skin.mm-profile-edit .mm-page > .contentwrapper {
    display: block;
    float: left;
    margin: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
    width: 100%;
}

.mm-skin.mm-profile-edit .mm-page > .contentwrapper > .body {
    margin: 0;
    width: auto;
}

/* Левый сайдбар — пустая область виджетов, в правке не нужен. */
.mm-skin.mm-profile-edit .mm-page .sidebar-left {
    display: none;
}

/* Правый — это и есть панель управления анкетой. */
.mm-skin.mm-profile-edit .mm-page .sidebar-right {
    display: block;
}

.mm-skin.mm-profile-edit .mm-page .bodybox {
    margin: 0 270px 0 0;
    padding: 20px;
}

@media (max-width: 991px) {
    .mm-skin.mm-profile-edit .mm-page .sidebar-right {
        clear: both;
        margin: 16px 0 0;
        position: static;
        width: 100%;
    }

    .mm-skin.mm-profile-edit .mm-page .bodybox {
        margin: 0;
    }
}

/* Плавающая кнопка перехода в режим правки */
.mm-edit-fab {
    background: var(--mm-accent);
    border-radius: 2px;
    bottom: 84px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 18px;
    position: fixed;
    right: 30px;
    text-decoration: none;
    z-index: 70;
}

.mm-edit-fab:hover {
    background: var(--mm-accent-dark);
    color: #fff;
}

@media (max-width: 575px) {
    .mm-edit-fab {
        bottom: 76px;
        font-size: 13px;
        padding: 10px 14px;
        right: 15px;
    }
}

/* ==========================================================================
   Слайдер фотографий в карточке анкеты
   ========================================================================== */
.mm-slider {
    background: var(--mm-panel-2);
    overflow: hidden;
    position: relative;
}

.mm-slider__track {
    display: flex;
    transition: transform .35s ease;
}

.mm-slider__slide {
    flex: 0 0 100%;
    width: 100%;
}

.mm-slider__slide img {
    aspect-ratio: 2 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.mm-slider__nav {
    align-items: center;
    background: rgba(0, 0, 0, .45);
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 30px;
    height: 54px;
    justify-content: center;
    line-height: 1;
    margin-top: -27px;
    padding: 0;
    position: absolute;
    top: 50%;
    transition: background .2s ease;
    width: 38px;
    z-index: 2;
}

.mm-slider__nav:hover {
    background: var(--mm-accent);
}

.mm-slider__nav_prev { left: 0; }
.mm-slider__nav_next { right: 0; }

.mm-slider__counter {
    background: rgba(0, 0, 0, .55);
    bottom: 10px;
    color: #fff;
    font-size: 12px;
    left: 10px;
    padding: 4px 9px;
    position: absolute;
    z-index: 2;
}

.mm-slider__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mm-slider__thumb {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    display: block;
    padding: 0;
    transition: border-color .2s ease;
    width: calc(25% - 6px);
}

.mm-slider__thumb img {
    aspect-ratio: 2 / 3;
    display: block;
    object-fit: cover;
    width: 100%;
}

.mm-slider__thumb.is-active,
.mm-slider__thumb:hover {
    border-color: var(--mm-accent);
}

@media (max-width: 575px) {
    .mm-slider__thumb {
        width: calc(33.333% - 6px);
    }
}

/* ==========================================================================
   Контакты в карточке: телефон и мессенджеры одной строкой
   ========================================================================== */
.mm-card__contacts {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mm-card__contacts .mm-card__tel {
    margin-top: 0;
}

.mm-msg {
    align-items: center;
    border-radius: 2px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    text-decoration: none;
    transition: opacity .2s ease;
    width: 48px;
}

.mm-msg:hover {
    color: #fff;
    opacity: .85;
}

.mm-msg__icon {
    display: block;
    height: 24px;
    width: 24px;
}

.mm-msg__icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.mm-msg_wa { background: #25d366; }
.mm-msg_tg { background: #2aabee; }
.mm-msg_max { background: #7c4dff; }

@media (max-width: 575px) {
    .mm-card__contacts .mm-card__tel {
        flex: 1 1 100%;
        justify-content: center;
    }
}

/* ---------------------------------------------------------------
   Видео в карточке анкеты
   --------------------------------------------------------------- */
.mm-skin .mm-card__videos {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	margin: 0 0 18px;
}

.mm-skin .mm-card__video {
	background: #000;
	border-radius: 8px;
	display: block;
	max-height: 320px;
	width: 100%;
}
